diff options
author | senator <senator> | 2009-10-06 09:16:00 +0000 |
---|---|---|
committer | senator <senator> | 2009-10-06 09:16:00 +0000 |
commit | 5d3f428da7d295dcaf32c1559fd3b3780d6bb686 (patch) | |
tree | 51f1784f4b27b615b252470515e061e307a12084 /server/xml/macros/de_5_trin-1.0.xml | |
parent | fb0757765c999ee5c2a2c54e1aa546a77bc43e9e (diff) |
Added ref_behandling macros
Diffstat (limited to 'server/xml/macros/de_5_trin-1.0.xml')
-rw-r--r-- | server/xml/macros/de_5_trin-1.0.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/server/xml/macros/de_5_trin-1.0.xml b/server/xml/macros/de_5_trin-1.0.xml new file mode 100644 index 0000000..08c698a --- /dev/null +++ b/server/xml/macros/de_5_trin-1.0.xml @@ -0,0 +1,35 @@ +<?xml version='1.0' encoding='UTF-8'?> +<macro name="de_5_trin" version="1.0"> + <resume language="lua"> + out = '' + if ( getValue('de_5_trin.checkbox') ~= '' ) + then + out = out .. getValue('de_5_trin.checkbox') + end + + return out + </resume> + <queries> + </queries> + <maps> + </maps> + <scripts> + <script language="lua" name="de_5_trin"> + if ( getValue('de_5_trin.checkbox') ~= '' ) + then + return true + else + return false + end + </script> + </scripts> + <widgets caption="De 5 trin" layout="vbox"> + <checkbox name="de_5_trin.checkbox" caption="De 5 trin til forebyggelse af forveksling af øjnene er gennemgået." truevalue="De 5 trin til forebyggelse af forveksling af øjnene er gennemgået." falsevalue="" script="de_5_trin"/> + + <!-- Knapper --> + <frame layout="hbox"> + <spacer /> + <button caption="Gem" action="commit"/> + </frame> + </widgets> +</macro> |