From ce08ba4689b54f8e27a5418f490d9c87fe71cc78 Mon Sep 17 00:00:00 2001 From: senator Date: Tue, 17 Nov 2009 10:43:45 +0000 Subject: moved all .osin. instances from any instance containing it to the end of the instance. I have checked to find errors but NOT very thoroughly. The XML files might contain errors, but i will correct these, if any, when i encounter them later on --- server/xml/macros/central_corneatykkelse-1.0.xml | 50 ++++++++++++------------ 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'server/xml/macros/central_corneatykkelse-1.0.xml') diff --git a/server/xml/macros/central_corneatykkelse-1.0.xml b/server/xml/macros/central_corneatykkelse-1.0.xml index 12ef584..2abf1c7 100644 --- a/server/xml/macros/central_corneatykkelse-1.0.xml +++ b/server/xml/macros/central_corneatykkelse-1.0.xml @@ -2,19 +2,19 @@ out = '' - if ( getValue('central_corneatykkelse.odxt.missing') == '' or getValue('central_corneatykkelse.osin.missing') == '' ) + if ( getValue('central_corneatykkelse.mangler.odxt') == '' or getValue('central_corneatykkelse.mangler.osin') == '' ) then out = out .. 'Central corneatykkelse, ' .. getValue('central_corneatykkelse.method') .. ':\n' end - if ( getValue('central_corneatykkelse.odxt.missing') == '' ) + if ( getValue('central_corneatykkelse.mangler.odxt') == '' ) then - out = out .. 'o.dxt: ' .. getValue('central_corneatykkelse.odxt.thickness') .. ' mm\n' + out = out .. 'o.dxt: ' .. getValue('central_corneatykkelse.thickness.odxt') .. ' mm\n' end - if ( getValue('central_corneatykkelse.osin.missing') == '' ) + if ( getValue('central_corneatykkelse.mangler.osin') == '' ) then - out = out .. 'o.sin: ' .. getValue('central_corneatykkelse.osin.thickness') .. ' mm\n' + out = out .. 'o.sin: ' .. getValue('central_corneatykkelse.thickness.osin') .. ' mm\n' end return out @@ -22,42 +22,42 @@ - + value = 0 timestamp = 0 source = '' - if( missing_eye_right ) + if( missing_eye_odxt ) then - if( missing_eye_right.value and missing_eye_right.value == '' ) + if( missing_eye_odxt.value and missing_eye_odxt.value == '' ) then value = '' - timestamp = missing_eye_right.timestamp - source = missing_eye_right.source + timestamp = missing_eye_odxt.timestamp + source = missing_eye_odxt.source else value = 'mangler' - timestamp = missing_eye_right.timestamp - source = missing_eye_right.source + timestamp = missing_eye_odxt.timestamp + source = missing_eye_odxt.source end end return value, timestamp, source - + value = 0 timestamp = 0 source = '' - if( missing_eye_left ) + if( missing_eye_osin ) then - if( missing_eye_left.value and missing_eye_left.value == '' ) + if( missing_eye_osin.value and missing_eye_osin.value == '' ) then value = '' - timestamp = missing_eye_left.timestamp - source = missing_eye_left.source + timestamp = missing_eye_osin.timestamp + source = missing_eye_osin.source else value = 'mangler' - timestamp = missing_eye_left.timestamp - source = missing_eye_left.source + timestamp = missing_eye_osin.timestamp + source = missing_eye_osin.source end end return value, timestamp, source @@ -105,14 +105,14 @@