From a567f68b811e0e9199f513eda7b3a1b35f47658f Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 26 Jun 2008 19:16:25 +0000 Subject: Rewrite of DNScache. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1262 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lib/viewfunctions.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/viewfunctions.lua') 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 -- cgit v1.2.3