summaryrefslogtreecommitdiffstats
path: root/lib/viewfunctions.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-05-23 14:20:00 +0000
committerTed Trask <ttrask01@yahoo.com>2008-05-23 14:20:00 +0000
commit7975ee62879b8833b1a6f8330af6611fbedf4f32 (patch)
treedd3be0e3f497a2752ba504d95b2ba3188ffb1f1c /lib/viewfunctions.lua
parented5607e0a2f72fa2040944a589237640e8611e92 (diff)
downloadacf-core-7975ee62879b8833b1a6f8330af6611fbedf4f32.tar.bz2
acf-core-7975ee62879b8833b1a6f8330af6611fbedf4f32.tar.xz
Mod openssl to restrict users to only see and delete their own requests.
Moved apk to apk-tools. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1179 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lib/viewfunctions.lua')
-rw-r--r--lib/viewfunctions.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/viewfunctions.lua b/lib/viewfunctions.lua
index 819135e..d6b5061 100644
--- a/lib/viewfunctions.lua
+++ b/lib/viewfunctions.lua
@@ -89,7 +89,7 @@ function displayitem(myitem)
end
io.write(">" .. myitem.label .. "</DT>\n")
io.write("<DD>")
- io.write(myitem.value .. "\n")
+ io.write(string.gsub(myitem.value, "\n", "<BR>") .. "\n")
if myitem.descr then io.write("<P CLASS='descr'>" .. string.gsub(myitem.descr, "\n", "<BR>") .. "</P>\n") end
if myitem.errtxt then io.write("<P CLASS='error'>" .. string.gsub(myitem.errtxt, "\n", "<BR>") .. "</P>\n") end
io.write("</DD>\n")