summaryrefslogtreecommitdiff
path: root/server/xml/macros/de_5_trin-1.0.xml
diff options
context:
space:
mode:
Diffstat (limited to 'server/xml/macros/de_5_trin-1.0.xml')
-rw-r--r--server/xml/macros/de_5_trin-1.0.xml35
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>