diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-06-26 19:16:25 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-06-26 19:16:25 +0000 |
commit | a567f68b811e0e9199f513eda7b3a1b35f47658f (patch) | |
tree | 80a6a648bd05a5495d499c257f3fe2923507e089 /lib/viewfunctions.lua | |
parent | 5dc852723da4fbf7b98bbcb0c8d258062d12684f (diff) | |
download | acf-core-a567f68b811e0e9199f513eda7b3a1b35f47658f.tar.bz2 acf-core-a567f68b811e0e9199f513eda7b3a1b35f47658f.tar.xz |
Rewrite of DNScache.
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1262 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lib/viewfunctions.lua')
-rw-r--r-- | lib/viewfunctions.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/viewfunctions.lua b/lib/viewfunctions.lua index a8ad444..e927e2b 100644 --- a/lib/viewfunctions.lua +++ b/lib/viewfunctions.lua @@ -134,6 +134,9 @@ function displayformitem(myitem, name, viewtype) if (myitem.value == true) then myitem.checked = "" end myitem.value = "true" io.write(html.form.checkbox(myitem) .. "\n") + elseif myitem.type == "list" then + myitem.value = table.concat(myitem.value, "\n") + io.write(html.form.longtext(myitem) .. "\n") else io.write((html.form[myitem.type](myitem) or "") .. "\n") end |