From 36492da266df3f7e66ad5a330c76af285d765fa7 Mon Sep 17 00:00:00 2001 From: senator Date: Mon, 16 Nov 2009 10:50:00 +0000 Subject: =?UTF-8?q?auto-replaced=20all=20instances=20of=20H=F8jre=20=F8je?= =?UTF-8?q?=20and=20Venstre=20=F8je=20with=20o.dxt=20and=20o.sin.=20This?= =?UTF-8?q?=20was=20done=20using=20sed.=20These=20changes=20are=20not=20ve?= =?UTF-8?q?rified=20100%,=20but=20i=20assume=20it=20went=20well.=20A=20qui?= =?UTF-8?q?ck=20check=20showed=20no=20errors.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/xml/macros/visus-template-1.0.xml | 206 +++++++++++++++---------------- 1 file changed, 103 insertions(+), 103 deletions(-) (limited to 'server/xml/macros/visus-template-1.0.xml') diff --git a/server/xml/macros/visus-template-1.0.xml b/server/xml/macros/visus-template-1.0.xml index 7818e5a..9e6794a 100644 --- a/server/xml/macros/visus-template-1.0.xml +++ b/server/xml/macros/visus-template-1.0.xml @@ -11,64 +11,64 @@ --> out = '' - if ( getValue('visus.template.missing.right') == '' or getValue('visus.template.missing.left') == '' or getValue('visus.template.ou') ~= '' ) + if ( getValue('visus.template.missing.odxt') == '' or getValue('visus.template.missing.osin') == '' or getValue('visus.template.ou') ~= '' ) then out = out .. 'Visus template:\n' end - if ( getValue('visus.template.missing.right') == '' ) + if ( getValue('visus.template.missing.odxt') == '' ) then out = out .. 'o.dxt: ' - if ( getValue('visus.template.snellen.right') ~= '' ) + if ( getValue('visus.template.snellen.odxt') ~= '' ) then - out = out .. getValue('visus.template.snellen.right') - if ( getValue('visus.template.etdrs.right') == '' ) + out = out .. getValue('visus.template.snellen.odxt') + if ( getValue('visus.template.etdrs.odxt') == '' ) then out = out .. ', ' end end - if ( getValue('visus.template.etdrs.right') ~= '' ) + if ( getValue('visus.template.etdrs.odxt') ~= '' ) then - if ( getValue('visus.template.snellen.right') ~= '' ) + if ( getValue('visus.template.snellen.odxt') ~= '' ) then out = out .. ', ' end - out = out .. getValue('visus.template.etdrs.right') .. ' ETDRS, ' + out = out .. getValue('visus.template.etdrs.odxt') .. ' ETDRS, ' end - if ( getValue('visus.template.kontrast.right') ~= '' ) + if ( getValue('visus.template.kontrast.odxt') ~= '' ) then - out = out .. getValue('visus.template.kontrast.right') .. ' kontrast, ' + out = out .. getValue('visus.template.kontrast.odxt') .. ' kontrast, ' end - out = out .. 'cc ' .. getValue('visus.template.korr.sf.right') .. ' sf' - if ( getValue('visus.template.korr.cyl.right') ~= '' ) + out = out .. 'cc ' .. getValue('visus.template.korr.sf.odxt') .. ' sf' + if ( getValue('visus.template.korr.cyl.odxt') ~= '' ) then - out = out .. ', ' .. getValue('visus.template.korr.cyl.right') .. ' cyl' + out = out .. ', ' .. getValue('visus.template.korr.cyl.odxt') .. ' cyl' end - if ( getValue('visus.template.korr.grader.right') ~= '' ) + if ( getValue('visus.template.korr.grader.odxt') ~= '' ) then - out = out .. ', ' .. getValue('visus.template.korr.grader.right') .. ' grader' + out = out .. ', ' .. getValue('visus.template.korr.grader.odxt') .. ' grader' end - out = out .. ', add ' .. getValue('visus.template.add.sf.right') .. ' sf' - if ( getValue('visus.template.add.cyl.right') ~= '' ) + out = out .. ', add ' .. getValue('visus.template.add.sf.odxt') .. ' sf' + if ( getValue('visus.template.add.cyl.odxt') ~= '' ) then - out = out .. ', ' .. getValue('visus.template.add.cyl.right') .. ' cyl' + out = out .. ', ' .. getValue('visus.template.add.cyl.odxt') .. ' cyl' end - if ( getValue('visus.template.add.grader.right') ~= '' ) + if ( getValue('visus.template.add.grader.odxt') ~= '' ) then - out = out .. ', ' .. getValue('visus.template.add.grader.right') .. ' grader' + out = out .. ', ' .. getValue('visus.template.add.grader.odxt') .. ' grader' end - if ( getValue('visus.template.st_hul.right') ~= '' ) + if ( getValue('visus.template.st_hul.odxt') ~= '' ) then - if ( getValue('visus.template.st_hul.snellen.right') ~= '' ) + if ( getValue('visus.template.st_hul.snellen.odxt') ~= '' ) then - out = out .. ', ' .. getValue('visus.template.st_hul.snellen.right') + out = out .. ', ' .. getValue('visus.template.st_hul.snellen.odxt') end - if ( getValue('visus.template.st_hul.etdrs.right') ~= '' ) + if ( getValue('visus.template.st_hul.etdrs.odxt') ~= '' ) then - out = out .. ', ' .. getValue('visus.template.st_hul.etdrs.right') .. ' ETDRS' + out = out .. ', ' .. getValue('visus.template.st_hul.etdrs.odxt') .. ' ETDRS' end out = out .. ' st.h.' end @@ -79,59 +79,59 @@ - if ( getValue('visus.template.missing.left') == '' ) + if ( getValue('visus.template.missing.osin') == '' ) then out = out .. 'o.sin: ' - if ( getValue('visus.template.snellen.left') ~= '' ) + if ( getValue('visus.template.snellen.osin') ~= '' ) then - out = out .. getValue('visus.template.snellen.left') - if ( getValue('visus.template.etdrs.left') == '' ) + out = out .. getValue('visus.template.snellen.osin') + if ( getValue('visus.template.etdrs.osin') == '' ) then out = out .. ', ' end end - if ( getValue('visus.template.etdrs.left') ~= '' ) + if ( getValue('visus.template.etdrs.osin') ~= '' ) then - if ( getValue('visus.template.snellen.left') ~= '' ) + if ( getValue('visus.template.snellen.osin') ~= '' ) then out = out .. ', ' end - out = out .. getValue('visus.template.etdrs.left') .. ' ETDRS, ' + out = out .. getValue('visus.template.etdrs.osin') .. ' ETDRS, ' end - if ( getValue('visus.template.kontrast.left') ~= '' ) + if ( getValue('visus.template.kontrast.osin') ~= '' ) then - out = out .. getValue('visus.template.kontrast.left') .. ' kontrast, ' + out = out .. getValue('visus.template.kontrast.osin') .. ' kontrast, ' end - out = out .. 'cc ' .. getValue('visus.template.korr.sf.left') .. ' sf' - if ( getValue('visus.template.korr.cyl.left') ~= '' ) + out = out .. 'cc ' .. getValue('visus.template.korr.sf.osin') .. ' sf' + if ( getValue('visus.template.korr.cyl.osin') ~= '' ) then - out = out .. ', ' .. getValue('visus.template.korr.cyl.left') .. ' cyl' + out = out .. ', ' .. getValue('visus.template.korr.cyl.osin') .. ' cyl' end - if ( getValue('visus.template.korr.grader.left') ~= '' ) + if ( getValue('visus.template.korr.grader.osin') ~= '' ) then - out = out .. ', ' .. getValue('visus.template.korr.grader.left') .. ' grader' + out = out .. ', ' .. getValue('visus.template.korr.grader.osin') .. ' grader' end - out = out .. ', add ' .. getValue('visus.template.add.sf.left') .. ' sf' - if ( getValue('visus.template.add.cyl.left') ~= '' ) + out = out .. ', add ' .. getValue('visus.template.add.sf.osin') .. ' sf' + if ( getValue('visus.template.add.cyl.osin') ~= '' ) then - out = out .. ', ' .. getValue('visus.template.add.cyl.left') .. ' cyl' + out = out .. ', ' .. getValue('visus.template.add.cyl.osin') .. ' cyl' end - if ( getValue('visus.template.add.grader.left') ~= '' ) + if ( getValue('visus.template.add.grader.osin') ~= '' ) then - out = out .. ', ' .. getValue('visus.template.add.grader.left') .. ' grader' + out = out .. ', ' .. getValue('visus.template.add.grader.osin') .. ' grader' end - if ( getValue('visus.template.st_hul.left') ~= '' ) + if ( getValue('visus.template.st_hul.osin') ~= '' ) then - if ( getValue('visus.template.st_hul.snellen.left') ~= '' ) + if ( getValue('visus.template.st_hul.snellen.osin') ~= '' ) then - out = out .. ', ' .. getValue('visus.template.st_hul.snellen.left') + out = out .. ', ' .. getValue('visus.template.st_hul.snellen.osin') end - if ( getValue('visus.template.st_hul.etdrs.left') ~= '' ) + if ( getValue('visus.template.st_hul.etdrs.osin') ~= '' ) then - out = out .. ', ' .. getValue('visus.template.st_hul.etdrs.left') .. ' ETDRS' + out = out .. ', ' .. getValue('visus.template.st_hul.etdrs.osin') .. ' ETDRS' end out = out .. ' st.h.\n' end @@ -255,80 +255,80 @@ return false end - - - - - - - - - - @@ -415,16 +415,16 @@ - +