summaryrefslogtreecommitdiff
path: root/server/xml/macros/visus-uden_korr-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-uden_korr-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-uden_korr-1.0.xml')
-rw-r--r--server/xml/macros/visus-uden_korr-1.0.xml20
1 files changed, 15 insertions, 5 deletions
diff --git a/server/xml/macros/visus-uden_korr-1.0.xml b/server/xml/macros/visus-uden_korr-1.0.xml
index 05d0d39..886b262 100644
--- a/server/xml/macros/visus-uden_korr-1.0.xml
+++ b/server/xml/macros/visus-uden_korr-1.0.xml
@@ -10,6 +10,11 @@
fjern tilsvarende GUI felter der ikke skal bruges
-->
<resume language="lua">
+ function lttoxml(value)
+ value = string.gsub(value, '&lt;', '&amp;lt;')
+ return value
+ end
+
out = ''
if ( getValue('visus.uden_korr.mangler.odxt') == '' or getValue('visus.uden_korr.mangler.osin') == '' or getValue('visus.uden_korr.ou') ~= '' )
then
@@ -21,7 +26,7 @@
out = out .. 'o.dxt: '
if ( getValue('visus.uden_korr.snellen.odxt') ~= '' )
then
- out = out .. getValue('visus.uden_korr.snellen.odxt')
+ out = out .. lttoxml(getValue('visus.uden_korr.snellen.odxt'))
if ( getValue('visus.uden_korr.etdrs.odxt') == '' )
then
out = out .. ', '
@@ -44,7 +49,7 @@
then
if ( getValue('visus.uden_korr.st_hul.snellen.odxt') ~= '' )
then
- out = out .. ', ' .. getValue('visus.uden_korr.st_hul.snellen.odxt')
+ out = out .. ', ' .. lttoxml(getValue('visus.uden_korr.st_hul.snellen.odxt'))
end
if ( getValue('visus.uden_korr.st_hul.etdrs.odxt') ~= '' )
then
@@ -64,7 +69,7 @@
out = out .. 'o.sin: '
if ( getValue('visus.uden_korr.snellen.osin') ~= '' )
then
- out = out .. getValue('visus.uden_korr.snellen.osin')
+ out = out .. lttoxml(getValue('visus.uden_korr.snellen.osin'))
if ( getValue('visus.uden_korr.etdrs.osin') == '' )
then
out = out .. ', '
@@ -87,7 +92,7 @@
then
if ( getValue('visus.uden_korr.st_hul.snellen.osin') ~= '' )
then
- out = out .. ', ' .. getValue('visus.uden_korr.st_hul.snellen.osin')
+ out = out .. ', ' .. lttoxml(getValue('visus.uden_korr.st_hul.snellen.osin'))
end
if ( getValue('visus.uden_korr.st_hul.etdrs.osin') ~= '' )
then
@@ -108,7 +113,7 @@
out = out .. 'o.u: '
if ( getValue('visus.uden_korr.snellen.ou') ~= '' )
then
- out = out .. getValue('visus.uden_korr.snellen.ou')
+ out = out .. lttoxml(getValue('visus.uden_korr.snellen.ou'))
end
if ( getValue('visus.uden_korr.etdrs.ou') ~= '' )
then
@@ -413,6 +418,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"/>
@@ -559,6 +565,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"/>
@@ -722,6 +729,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"/>
@@ -868,6 +876,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"/>
@@ -1034,6 +1043,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"/>