diff options
author | deva <deva> | 2009-03-02 07:52:10 +0000 |
---|---|---|
committer | deva <deva> | 2009-03-02 07:52:10 +0000 |
commit | df88d843e13bcd3da067b882d91fc4c02365a1af (patch) | |
tree | 99d848a78cdd95aa1413f21066340e90451539de /server/xml/macros/B.3.1.2.xml | |
parent | 4c61472e47253bb21a7196d5bbe727ed91d72b08 (diff) |
Macro fix
Diffstat (limited to 'server/xml/macros/B.3.1.2.xml')
-rw-r--r-- | server/xml/macros/B.3.1.2.xml | 19 |
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> |