diff options
Diffstat (limited to 'server/xml/macros/information-1.0.xml')
-rw-r--r-- | server/xml/macros/information-1.0.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/server/xml/macros/information-1.0.xml b/server/xml/macros/information-1.0.xml new file mode 100644 index 0000000..f6cb7ab --- /dev/null +++ b/server/xml/macros/information-1.0.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="information" 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> + <widgets 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> + + </widgets> +</macro> |