diff options
Diffstat (limited to 'server/xml/macros/B.2.10.1.xml')
-rw-r--r-- | server/xml/macros/B.2.10.1.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/server/xml/macros/B.2.10.1.xml b/server/xml/macros/B.2.10.1.xml new file mode 100644 index 0000000..aaf3c37 --- /dev/null +++ b/server/xml/macros/B.2.10.1.xml @@ -0,0 +1,41 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- + 20081202: Lars Bisballe Jensen + Ændret til nyt format i resume og naming scheme. + + 20081203: Bent Bisballe Nyeng + LUA script til validering af checkbox, så den ikke bliver godkendt + hvis den ikke er aktiveret. + --> +<macro name="B.2.10.1" version="1.0"> + <resume>${amd.information}</resume> + <queries> + </queries> + <maps> + </maps> + <scripts> + <script language="lua" name="check"> + if(value == '') + then + return false + end + return true + </script> + </scripts> + <window caption="Information (B.2.10.1)" + layout="vbox"> + + <frame layout="hbox"> + <checkbox name="amd.information" script="check" + truevalue="Der er udleveret informationsfolder." + falsevalue="" + caption="Der er udleveret informationsfolder"/> + </frame> + + <frame layout="hbox"> + <spacer/> + <button caption="Gem" action="commit"/> + </frame> + + </window> +</macro> |