From 730eb796bbce6f124be9194f1565b7dda1daddf1 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 1 Jun 2010 13:02:23 +0000 Subject: Afdj macros/templates are now located in their own repo. --- server/xml/macros/topografi-1.0.xml | 166 ------------------------------------ 1 file changed, 166 deletions(-) delete mode 100644 server/xml/macros/topografi-1.0.xml (limited to 'server/xml/macros/topografi-1.0.xml') diff --git a/server/xml/macros/topografi-1.0.xml b/server/xml/macros/topografi-1.0.xml deleted file mode 100644 index fea95a2..0000000 --- a/server/xml/macros/topografi-1.0.xml +++ /dev/null @@ -1,166 +0,0 @@ - - - - out = '' - if ( getValue('topografi.mangler.odxt') == '' or getValue('topografi.mangler.osin') == '' ) - then - out = out .. 'Topografi, ' .. getValue('topografi.metode') .. ':\n' - end - - if ( getValue('topografi.mangler.odxt') == '' ) - then - out = out .. 'o.dxt: ' .. getValue('topografi.bedoemmelse.odxt') .. '\n' - end - - if ( getValue('topografi.mangler.osin') == '' ) - then - out = out .. 'o.sin: ' .. getValue('topografi.bedoemmelse.osin') .. '\n' - end - - return out - - - - - - - - value = 0 - timestamp = 0 - source = '' - - if( missing_eye_odxt ) - then - if( missing_eye_odxt.value and missing_eye_odxt.value == '' ) - then - value = '' - timestamp = missing_eye_odxt.timestamp - else - value = 'mangler' - timestamp = missing_eye_odxt.timestamp - end - end - return value, timestamp, source - - - value = 0 - timestamp = 0 - source = 'pracro' - - if( missing_eye_osin ) - then - if( missing_eye_osin.value and missing_eye_osin.value == '' ) - then - value = '' - timestamp = missing_eye_osin.timestamp - else - value = 'mangler' - timestamp = missing_eye_osin.timestamp - end - end - return value, timestamp, source - - - - - - - - - -