diff options
author | senator <senator> | 2009-12-09 10:48:51 +0000 |
---|---|---|
committer | senator <senator> | 2009-12-09 10:48:51 +0000 |
commit | e3b89a6ff248301fe26fa0aed661d175e8efd4f8 (patch) | |
tree | 9d6de4d91e8917c8dd427f2cc94e0b579cdb5030 /server/xml/macros/visus-autoref-1.0.xml | |
parent | 6a747f3ac701db5b2b2875163bd28bc4d3661cfd (diff) |
added less than 0,05 to snelle list. a seemingly unrelated problem exist in the form of ou not being able to be enabled while both st_hul is enabled in odxt and osin of template. i have no idea why
Diffstat (limited to 'server/xml/macros/visus-autoref-1.0.xml')
-rw-r--r-- | server/xml/macros/visus-autoref-1.0.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/server/xml/macros/visus-autoref-1.0.xml b/server/xml/macros/visus-autoref-1.0.xml index b64e476..439e5b0 100644 --- a/server/xml/macros/visus-autoref-1.0.xml +++ b/server/xml/macros/visus-autoref-1.0.xml @@ -9,6 +9,10 @@ fjern tilsvarende GUI felter der ikke skal bruges --> <resume language="lua"> + function lttoxml(value) + return string.gsub(value, '<', '&lt;') + end + out = '' if ( getValue('visus.autoref.mangler.odxt') == '' ) then @@ -24,7 +28,7 @@ out = out .. ':\n' if ( getValue('visus.autoref.snellen.odxt') ~= '' ) then - out = out .. 'Snellen: ' .. getValue('visus.autoref.snellen.odxt') .. '\n' + out = out .. 'Snellen: ' .. lttoxml(getValue('visus.autoref.snellen.odxt')) .. '\n' end if ( getValue('visus.autoref.etdrs.odxt') ~= '' ) then @@ -61,7 +65,7 @@ out = out .. ':\n' if ( getValue('visus.autoref.snellen.osin') ~= '' ) then - out = out .. 'Snellen: ' .. getValue('visus.autoref.snellen.osin') .. '\n' + out = out .. 'Snellen: ' .. lttoxml(getValue('visus.autoref.snellen.osin')) .. '\n' end if ( getValue('visus.autoref.etdrs.osin') ~= '' ) then @@ -280,6 +284,7 @@ <item caption="0,1" value="0,1"/> <item caption="0,08" value="0,08"/> <item caption="0,05" value="0,05"/> + <item caption="&lt;0,05" value="&lt;0,05"/> <item caption="6/60" value="6/60"/> <item caption="3/60" value="3/60"/> <item caption="1/18" value="1/18"/> @@ -465,6 +470,7 @@ <item caption="0,1" value="0,1"/> <item caption="0,08" value="0,08"/> <item caption="0,05" value="0,05"/> + <item caption="&lt;0,05" value="&lt;0,05"/> <item caption="6/60" value="6/60"/> <item caption="3/60" value="3/60"/> <item caption="1/18" value="1/18"/> |