summaryrefslogtreecommitdiff
path: root/server/xml/macros/visus-ou-1.0.xml
diff options
context:
space:
mode:
authorsenator <senator>2009-12-09 10:48:51 +0000
committersenator <senator>2009-12-09 10:48:51 +0000
commite3b89a6ff248301fe26fa0aed661d175e8efd4f8 (patch)
tree9d6de4d91e8917c8dd427f2cc94e0b579cdb5030 /server/xml/macros/visus-ou-1.0.xml
parent6a747f3ac701db5b2b2875163bd28bc4d3661cfd (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-ou-1.0.xml')
-rw-r--r--server/xml/macros/visus-ou-1.0.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/server/xml/macros/visus-ou-1.0.xml b/server/xml/macros/visus-ou-1.0.xml
index d03607f..3382b4d 100644
--- a/server/xml/macros/visus-ou-1.0.xml
+++ b/server/xml/macros/visus-ou-1.0.xml
@@ -1,6 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<macro name="visus-ou" version="1.0">
<resume language="lua">
+ function lttoxml(value)
+ return string.gsub(value, '&lt;', '&amp;lt;')
+ end
+
out = ''
out = out .. 'Visus, o.u.'
if ( getValue('visus.ou.kontrast') ~= '' )
@@ -14,7 +18,7 @@
out = out .. ':\n'
if ( getValue('visus.ou.snellen') ~= '' )
then
- out = out .. 'Snellen: ' .. getValue('visus.ou.snellen') .. '\n'
+ out = out .. 'Snellen: ' .. lttoxml(getValue('visus.ou.snellen')) .. '\n'
end
if ( getValue('visus.ou.etdrs') ~= '' )
then
@@ -136,6 +140,7 @@
<item caption="0,1" value="0,1"/>
<item caption="0,08" value="0,08"/>
<item caption="0,05" value="0,05"/>
+ <item caption="&amp;lt;0,05" value="&amp;lt;0,05"/>
<item caption="6/60" value="6/60"/>
<item caption="3/60" value="3/60"/>
<item caption="1/18" value="1/18"/>