summaryrefslogtreecommitdiff
path: root/server/xml
diff options
context:
space:
mode:
authordeva <deva>2009-02-25 09:37:00 +0000
committerdeva <deva>2009-02-25 09:37:00 +0000
commitf35cc4e3cdef7765f96a3713908b28cf0a3233cd (patch)
treec5193d62b950387c462354ccfc1528020379f604 /server/xml
parentb542d8c9797ffc4ef3ca441f39ca561b4c0260a2 (diff)
Changed resume output.
Diffstat (limited to 'server/xml')
-rw-r--r--server/xml/macros/B.2.1.3.xml34
1 files changed, 23 insertions, 11 deletions
diff --git a/server/xml/macros/B.2.1.3.xml b/server/xml/macros/B.2.1.3.xml
index fa2871a..6d3d29c 100644
--- a/server/xml/macros/B.2.1.3.xml
+++ b/server/xml/macros/B.2.1.3.xml
@@ -8,6 +8,10 @@
Alt tekst ændret.
Layout af multilist input er ændret så det er liniebaseret.
-->
+<!--
+ 20090225: Bent Bisballe Nyeng
+ Resume format ændret så det er parsbart.
+ -->
<macro name="B.2.1.3" version="1.0">
<resume>Aktuelle:
${current_eye_disease}</resume>
@@ -36,6 +40,13 @@ ${current_eye_disease}</resume>
identifier = ''
suffix = ''
+ if(num == 0 and days == 0)
+ then
+ num = 0
+ identifier = 'dag'
+ suffix = 'e'
+ end
+
if(num == 0 and math.floor(days/7) == 0)
then
num = days
@@ -86,8 +97,8 @@ ${current_eye_disease}</resume>
<frame layout="vbox">
<label caption="Aktuelt øje:"/>
<radiobuttons name="eye" value="." layout="hbox">
- <radiobutton caption="o.dxt" value="højre"/>
- <radiobutton caption="o.sin" value="venstre"/>
+ <radiobutton caption="o.dxt" value="HØJRE"/>
+ <radiobutton caption="o.sin" value="VENSTRE"/>
</radiobuttons>
<label caption=""/>
</frame>
@@ -95,10 +106,11 @@ ${current_eye_disease}</resume>
<frame layout="vbox">
<label caption="Observeret:"/>
<altcombobox name="observeret" layout="vbox" value="mørk plet i synsfeltet">
- <item caption="Mørk plet i synsfeltet" value="mørk plet i synsfeltet"/>
- <item caption="Metamorfopsier" value="metamorfopsier"/>
- <item caption="Mikropsi" value="mikropsier"/>
- <item caption="Dyskromatopsi" value="dyskromatopsi"/>
+ <item caption="Sløret syn" value="SLØRET SYN"/>
+ <item caption="Mørk plet i synsfeltet" value="MØRK PLET I SYNSFELTET"/>
+ <item caption="Metamorfopsier" value="METAMORFOPSIER"/>
+ <item caption="Mikropsi" value="MIKROPSI"/>
+ <item caption="Dyskromatopsi" value="DYSKROMATOPSI"/>
<altitem caption="Andet" value="andet" layout="hbox" innerwidget="andet">
<label caption="Andet:"/>
<lineedit name="andet" value=""/>
@@ -109,18 +121,18 @@ ${current_eye_disease}</resume>
<frame layout="vbox">
<label caption="Opstået:"/>
<radiobuttons name="when" value="." layout="hbox">
- <radiobutton caption="Pludseligt" value="pludseligt"/>
- <radiobutton caption="Gradvist" value="gradvist"/>
+ <radiobutton caption="Pludseligt" value="PLUDSELIGT"/>
+ <radiobutton caption="Gradvist" value="GRADVIST"/>
</radiobuttons>
<label caption=""/>
</frame>
<frame layout="vbox">
<label caption="Efterfølgende:"/>
- <combobox name="then" value="uændret.">
+ <combobox name="then" value="UÆNDREDE">
<item caption="Uændret" value="uændret."/>
- <item caption="Forværret" value="forværret."/>
- <item caption="Forbedret" value="forbedret."/>
+ <item caption="Forværret" value="FORVÆRRET"/>
+ <item caption="Forbedret" value="FORBEDRET"/>
</combobox>
<label caption=""/>
</frame>