summaryrefslogtreecommitdiff
path: root/server/xml/macros/keratometri-1.0.xml
diff options
context:
space:
mode:
authorsenator <senator>2009-11-16 10:50:00 +0000
committersenator <senator>2009-11-16 10:50:00 +0000
commit36492da266df3f7e66ad5a330c76af285d765fa7 (patch)
tree38e39e1635eea60bb7aa5e2c8af22f38e8d960ae /server/xml/macros/keratometri-1.0.xml
parent7864f9d561657a5b7d557268c50837ef3ee585f9 (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/keratometri-1.0.xml')
-rw-r--r--server/xml/macros/keratometri-1.0.xml40
1 files changed, 20 insertions, 20 deletions
diff --git a/server/xml/macros/keratometri-1.0.xml b/server/xml/macros/keratometri-1.0.xml
index 581dadf..07459ae 100644
--- a/server/xml/macros/keratometri-1.0.xml
+++ b/server/xml/macros/keratometri-1.0.xml
@@ -14,12 +14,12 @@
out = ''
- if ( getValue('keratometri.right.missing') == '' )
+ if ( getValue('keratometri.odxt.missing') == '' )
then
- rr1 = tonmb(getValue('keratometri.right.r1'))
- rr2 = tonmb(getValue('keratometri.right.r2'))
- rx1 = tonmb(getValue('keratometri.right.x1'))
+ rr1 = tonmb(getValue('keratometri.odxt.r1'))
+ rr2 = tonmb(getValue('keratometri.odxt.r2'))
+ rx1 = tonmb(getValue('keratometri.odxt.x1'))
if ( rx1 &gt;= 0 and rx1 &lt; 90 ) then
rx2 = rx1 + 90
@@ -53,12 +53,12 @@
end
- if ( getValue('keratometri.left.missing') == '' )
+ if ( getValue('keratometri.osin.missing') == '' )
then
- lr1 = tonmb(getValue('keratometri.left.r1'))
- lr2 = tonmb(getValue('keratometri.left.r2'))
- lx1 = tonmb(getValue('keratometri.left.x1'))
+ lr1 = tonmb(getValue('keratometri.osin.r1'))
+ lr2 = tonmb(getValue('keratometri.osin.r2'))
+ lx1 = tonmb(getValue('keratometri.osin.x1'))
if ( lx1 &gt;= 0 and lx1 &lt; 90 ) then
lx2 = lx1 + 90
@@ -190,48 +190,48 @@
<frame layout="hbox">
- <!-- Højre øje -->
+ <!-- o.dxt -->
<frame layout="vbox">
<checkbox caption="Der er ikke målt på højre øje"
- name="keratometri.right.missing" script="right_eye"
+ name="keratometri.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="R1:"/>
- <lineedit name="keratometri.right.r1" regexp="[+-]{0,1}\d{1,2},\d{2}" script="lt20gt0" value=""/>
+ <lineedit name="keratometri.odxt.r1" regexp="[+-]{0,1}\d{1,2},\d{2}" script="lt20gt0" value=""/>
</frame>
<frame layout="vbox">
<label caption="R2:"/>
- <lineedit name="keratometri.right.r2" regexp="[+-]{0,1}\d{1,2},\d{2}" script="lt20gt0" value=""/>
+ <lineedit name="keratometri.odxt.r2" regexp="[+-]{0,1}\d{1,2},\d{2}" script="lt20gt0" value=""/>
</frame>
<frame layout="vbox">
<label caption="X1 (fladeste akse):"/>
- <lineedit name="keratometri.right.x1" regexp="[\d]+" script="lt180gt0" value=""/>
+ <lineedit name="keratometri.odxt.x1" regexp="[\d]+" script="lt180gt0" value=""/>
</frame>
</frame>
</frame>
- <!-- Venstre øje -->
+ <!-- o.sin -->
<frame layout="vbox">
<checkbox caption="Der er ikke målt på venstre øje"
- name="keratometri.left.missing" script="left_eye"
+ name="keratometri.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="R1:"/>
- <lineedit name="keratometri.left.r1" regexp="\d{1,2},\d{2}" script="lt20gt0" value=""/>
+ <lineedit name="keratometri.osin.r1" regexp="\d{1,2},\d{2}" script="lt20gt0" value=""/>
</frame>
<frame layout="vbox">
<label caption="R2:"/>
- <lineedit name="keratometri.left.r2" regexp="\d{1,2},\d{2}" script="lt20gt0" value=""/>
+ <lineedit name="keratometri.osin.r2" regexp="\d{1,2},\d{2}" script="lt20gt0" value=""/>
</frame>
<frame layout="vbox">
<label caption="X1 (fladeste akse):"/>
- <lineedit name="keratometri.left.x1" regexp="[\d]+" script="lt180gt0" value=""/>
+ <lineedit name="keratometri.osin.x1" regexp="[\d]+" script="lt180gt0" value=""/>
</frame>
</frame>
</frame>