diff options
author | deva <deva> | 2009-07-24 11:28:37 +0000 |
---|---|---|
committer | deva <deva> | 2009-07-24 11:28:37 +0000 |
commit | a81fd2a780e59ab918d172d0b4cc08be8780ec68 (patch) | |
tree | 27457634a83963b0fdb8baa4f7081439f1b90d34 /server/xml/macros/amdinformation-1.0.xml | |
parent | 1d8429d8d3981dd027cdb7e160dd614ebf6c8ded (diff) |
Changed all names to something less magical.
Diffstat (limited to 'server/xml/macros/amdinformation-1.0.xml')
-rw-r--r-- | server/xml/macros/amdinformation-1.0.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/server/xml/macros/amdinformation-1.0.xml b/server/xml/macros/amdinformation-1.0.xml new file mode 100644 index 0000000..4eaa6e6 --- /dev/null +++ b/server/xml/macros/amdinformation-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="amdinformation" 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> |