From b99d78fdfcda5ebdc8a19876c910cc44f62c7a81 Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Tue, 20 May 2008 14:16:39 +0000 Subject: Added class=error to the DD part in the viewfunction. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1126 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lib/viewfunctions.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/viewfunctions.lua') diff --git a/lib/viewfunctions.lua b/lib/viewfunctions.lua index 801e7e4..819135e 100644 --- a/lib/viewfunctions.lua +++ b/lib/viewfunctions.lua @@ -9,7 +9,12 @@ function displayinfo(myform,tags,viewtype) io.write(" class='error'") end io.write(">" .. val.label .. "") - io.write("\n\t\t
") + io.write("\n\t\t") if (viewtype == "viewonly") then if (val.value == "") and (val.errtxt == nil) and ((val.descr) and (val.descr == "")) then val.value = " " end io.write(val.value) -- cgit v1.2.3