diff options
author | senator <senator> | 2009-11-16 10:50:00 +0000 |
---|---|---|
committer | senator <senator> | 2009-11-16 10:50:00 +0000 |
commit | 36492da266df3f7e66ad5a330c76af285d765fa7 (patch) | |
tree | 38e39e1635eea60bb7aa5e2c8af22f38e8d960ae /server/xml/macros/oejentryk-1.0.xml | |
parent | 7864f9d561657a5b7d557268c50837ef3ee585f9 (diff) |
auto-replaced all instances of Højre øje and Venstre øje with o.dxt and o.sin. This was done using sed. These changes are not verified 100%, but i assume it went well. A quick check showed no errors.
Diffstat (limited to 'server/xml/macros/oejentryk-1.0.xml')
-rw-r--r-- | server/xml/macros/oejentryk-1.0.xml | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/server/xml/macros/oejentryk-1.0.xml b/server/xml/macros/oejentryk-1.0.xml index b0c0e67..1d671bc 100644 --- a/server/xml/macros/oejentryk-1.0.xml +++ b/server/xml/macros/oejentryk-1.0.xml @@ -15,22 +15,22 @@ <resume language="lua"> out = '' - if ( getValue('tonometer.right.missing') == '' or getValue('tonometer.left.missing') == '' ) + if ( getValue('tonometer.odxt.missing') == '' or getValue('tonometer.osin.missing') == '' ) then out = out .. 'Øjentryk:\n' end - if ( getValue('tonometer.right.missing') == '' ) + if ( getValue('tonometer.odxt.missing') == '' ) then - out = out .. 'Højre øje: ' .. getValue('tonometer.pressure.right') .. ' mmHg\n' + out = out .. 'o.dxt: ' .. getValue('tonometer.pressure.odxt') .. ' mmHg\n' end - if ( getValue('tonometer.left.missing') == '' ) + if ( getValue('tonometer.osin.missing') == '' ) then - out = out .. 'Venstre øje: ' .. getValue('tonometer.pressure.right') .. ' mmHg\n' + out = out .. 'o.sin: ' .. getValue('tonometer.pressure.odxt') .. ' mmHg\n' end - if ( getValue('tonometer.right.missing') == '' or getValue('tonometer.left.missing') == '' ) + if ( getValue('tonometer.odxt.missing') == '' or getValue('tonometer.osin.missing') == '' ) then out = out .. getValue('tonometer.device') .. '.\n' end @@ -106,7 +106,7 @@ enable('right_eye_frame') end - if( getValue('tonometer.right.missing') == 'mangler' and getValue('tonometer.left.missing') == 'mangler' ) + if( getValue('tonometer.odxt.missing') == 'mangler' and getValue('tonometer.osin.missing') == 'mangler' ) then disable('device_frame') else @@ -123,7 +123,7 @@ enable('left_eye_frame') end - if( getValue('tonometer.right.missing') == 'mangler' and getValue('tonometer.left.missing') == 'mangler' ) + if( getValue('tonometer.odxt.missing') == 'mangler' and getValue('tonometer.osin.missing') == 'mangler' ) then disable('device_frame') else @@ -138,31 +138,31 @@ <frame layout="hbox"> - <!-- Højre øje --> + <!-- o.dxt --> <frame layout="vbox"> <checkbox caption="Der er ikke målt på højre øje" - name="tonometer.right.missing" script="right_eye" + name="tonometer.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"> <label caption="Tryk:"/> <spacer/> - <lineedit name="tonometer.pressure.right" regexp="\d{1,2}" script="lt80gt0" value=""/> + <lineedit name="tonometer.pressure.odxt" regexp="\d{1,2}" script="lt80gt0" value=""/> <label caption="mmHg"/> <spacer/> </frame> </frame> - <!-- Venstre øje --> + <!-- o.sin --> <frame layout="vbox"> <checkbox caption="Der er ikke målt på venstre øje" - name="tonometer.left.missing" script="left_eye" + name="tonometer.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"> <label caption="Tryk:"/> <spacer/> - <lineedit name="tonometer.pressure.left" regexp="\d{1,2}" script="lt80gt0" value=""/> + <lineedit name="tonometer.pressure.osin" regexp="\d{1,2}" script="lt80gt0" value=""/> <label caption="mmHg"/> <spacer/> </frame> |