summaryrefslogtreecommitdiff
path: root/server/xml/macros/B.3.1.2.xml
diff options
context:
space:
mode:
authordeva <deva>2009-03-02 07:52:10 +0000
committerdeva <deva>2009-03-02 07:52:10 +0000
commitdf88d843e13bcd3da067b882d91fc4c02365a1af (patch)
tree99d848a78cdd95aa1413f21066340e90451539de /server/xml/macros/B.3.1.2.xml
parent4c61472e47253bb21a7196d5bbe727ed91d72b08 (diff)
Macro fix
Diffstat (limited to 'server/xml/macros/B.3.1.2.xml')
-rw-r--r--server/xml/macros/B.3.1.2.xml19
1 files changed, 13 insertions, 6 deletions
diff --git a/server/xml/macros/B.3.1.2.xml b/server/xml/macros/B.3.1.2.xml
index 2391b0e..bf4058f 100644
--- a/server/xml/macros/B.3.1.2.xml
+++ b/server/xml/macros/B.3.1.2.xml
@@ -1,11 +1,18 @@
<?xml version='1.0' encoding='UTF-8'?>
<macro name="B.3.1.2" version="1.0">
- <resume store_in_journal="false"></resume>
- <queries>
- </queries>
+ <resume>De 5 trin til forebyggelse af forveksling af øjnene er gennemgået.</resume>
+ <queries></queries>
<maps>
</maps>
<scripts>
+ <script language="lua" name="yes_only">
+ if ( value == 'ja' )
+ then
+ return true
+ else
+ return false
+ end
+ </script>
</scripts>
<window caption="Gennemgang af de 5 trin (B.3.1.2)" layout="vbox">
<frame layout="vbox">
@@ -13,9 +20,9 @@
<label caption="De 5 trin til forebyggelse af forveksling af øjnene er gennemgået:"/>
</frame>
<frame layout="hbox">
- <radiobuttons name="five_steps_radiobutton">
- <radiobutton value="five_steps_yes" caption="Ja"/>
- <radiobutton value="five_steps_no" caption="Nej"/>
+ <radiobuttons name="five_steps" script="yes_only">
+ <radiobutton value="ja" caption="Ja"/>
+ <radiobutton value="nej" caption="Nej"/>
</radiobuttons>
<spacer />
</frame>