diff options
Diffstat (limited to 'server/xml/macros/pupilstoerrelse-1.0.xml')
-rw-r--r-- | server/xml/macros/pupilstoerrelse-1.0.xml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/server/xml/macros/pupilstoerrelse-1.0.xml b/server/xml/macros/pupilstoerrelse-1.0.xml index 4fe4b53..93ed6bc 100644 --- a/server/xml/macros/pupilstoerrelse-1.0.xml +++ b/server/xml/macros/pupilstoerrelse-1.0.xml @@ -2,19 +2,19 @@ <macro name="pupilstoerrelse" version="1.0"> <resume language="lua"> out = '' - if ( getValue('pupilstoerrelse.right.missing') == '' or getValue('pupilstoerrelse.left.missing') == '' ) + if ( getValue('pupilstoerrelse.odxt.missing') == '' or getValue('pupilstoerrelse.osin.missing') == '' ) then out = out .. 'Pupilstørrelse, ' .. getValue('pupilstoerrelse.method') .. ':\n' end - if ( getValue('pupilstoerrelse.right.missing') == '' ) + if ( getValue('pupilstoerrelse.odxt.missing') == '' ) then - out = out .. 'Højre øje: ' .. getValue('pupilstoerrelse.right.diameter') .. ' mm\n' + out = out .. 'o.dxt: ' .. getValue('pupilstoerrelse.odxt.diameter') .. ' mm\n' end - if ( getValue('pupilstoerrelse.left.missing') == '' ) + if ( getValue('pupilstoerrelse.osin.missing') == '' ) then - out = out .. 'Venstre øje: ' .. getValue('pupilstoerrelse.left.diameter') .. ' mm\n' + out = out .. 'o.sin: ' .. getValue('pupilstoerrelse.osin.diameter') .. ' mm\n' end return out @@ -102,17 +102,17 @@ <frame layout="hbox"> - <!-- Højre øje --> + <!-- o.dxt --> <frame layout="vbox"> <checkbox caption="Der er ikke målt på højre øje" - name="pupilstoerrelse.right.missing" script="right_eye" + name="pupilstoerrelse.odxt.missing" script="right_eye" map="missing_eye_right_map" truevalue="mangler" falsevalue="" value=""/> - <frame name="right_eye_frame" caption="Højre øje" layout="hbox"> + <frame name="right_eye_frame" caption="o.dxt" layout="hbox"> <frame layout="vbox"> <label caption="Diameter:"/> <frame layout="hbox"> - <lineedit name="pupilstoerrelse.right.diameter" script="lt12gt0" + <lineedit name="pupilstoerrelse.odxt.diameter" script="lt12gt0" regexp="\d{1,2},\d{1}" value=""/> <label caption="mm"/> </frame> @@ -120,17 +120,17 @@ </frame> </frame> - <!-- Venstre øje --> + <!-- o.sin --> <frame layout="vbox"> <checkbox caption="Der er ikke målt på venstre øje" - name="pupilstoerrelse.left.missing" script="left_eye" + name="pupilstoerrelse.osin.missing" script="left_eye" map="missing_eye_left_map" truevalue="mangler" falsevalue="" value=""/> - <frame name="left_eye_frame" caption="Venstre øje" layout="hbox"> + <frame name="left_eye_frame" caption="o.sin" layout="hbox"> <frame layout="vbox"> <label caption="Diameter:"/> <frame layout="hbox"> - <lineedit name="pupilstoerrelse.left.diameter" script="lt12gt0" + <lineedit name="pupilstoerrelse.osin.diameter" script="lt12gt0" regexp="\d{1,2},\d{1}" value=""/> <label caption="mm"/> </frame> |