diff options
Diffstat (limited to 'server/xml/macros/aktuelle-1.0.xml')
-rw-r--r-- | server/xml/macros/aktuelle-1.0.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/server/xml/macros/aktuelle-1.0.xml b/server/xml/macros/aktuelle-1.0.xml index 444d450..252b52d 100644 --- a/server/xml/macros/aktuelle-1.0.xml +++ b/server/xml/macros/aktuelle-1.0.xml @@ -24,24 +24,24 @@ <resume language="lua"> out = 'Aktuelle:\n' - if ( getValue('current.symptoms.right') == '' and getValue('current.symptoms.left') == '' ) + if ( getValue('current.symptoms.odxt') == '' and getValue('current.symptoms.osin') == '' ) then out = out .. 'ingen\n' end - if ( getValue('current.symptoms.right') ~= '' ) + if ( getValue('current.symptoms.odxt') ~= '' ) then out = out .. 'På højre øje har der været\n' - out = out .. getValue('current.symptoms.right') .. '\n' + out = out .. getValue('current.symptoms.odxt') .. '\n' end - if ( getValue('current.symptoms.left') ~= '' ) + if ( getValue('current.symptoms.osin') ~= '' ) then out = out .. 'På venstre øje har der været\n' - out = out .. getValue('current.symptoms.left') .. '\n' + out = out .. getValue('current.symptoms.osin') .. '\n' end - if ( getValue('current.symptoms.right') ~= '' or getValue('current.symptoms.left') ~= '' ) + if ( getValue('current.symptoms.odxt') ~= '' or getValue('current.symptoms.osin') ~= '' ) then out = out .. 'Symptomerne er opstået ' .. getValue('current.when') .. ' og efterfølgende ' .. getValue('current.then') @@ -59,7 +59,7 @@ </maps> <scripts> <script language="lua" name="evolution_enable"> - if( getValue('current.symptoms.right') ~= '' or getValue('current.symptoms.left') ~= '' ) + if( getValue('current.symptoms.odxt') ~= '' or getValue('current.symptoms.osin') ~= '' ) then enable('evolution') else @@ -78,7 +78,7 @@ <frame layout="hbox"> <frame caption="Højre" layout="vbox"> - <multilist name="current.symptoms.right" value="" + <multilist name="current.symptoms.odxt" value="" innerwidget="aktuelle_entry_right" script="evolution_enable"> <metawidget name="aktuelle_entry_right" layout="hbox" @@ -162,7 +162,7 @@ </frame> <frame caption="Venstre" layout="vbox"> - <multilist name="current.symptoms.left" value="" + <multilist name="current.symptoms.osin" value="" innerwidget="aktuelle_entry_left" script="evolution_enable"> <metawidget name="aktuelle_entry_left" layout="hbox" |