From d9a9c68eecd41c0e8a95a3d379797380760c90e9 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 30 Apr 2008 20:36:02 +0000 Subject: Modified cfe, removing option, errtxt, and name, and adding label - This may break things. Rewrote password module, adding model Modified authenticator to make password module work git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1052 ab2d0c66-481e-0410-8bed-d214d4d58bed --- tinydns-status-html.lsp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tinydns-status-html.lsp') diff --git a/tinydns-status-html.lsp b/tinydns-status-html.lsp index d659aa7..90b7179 100644 --- a/tinydns-status-html.lsp +++ b/tinydns-status-html.lsp @@ -28,7 +28,7 @@ io.write("
") if (myform) and (myform.value) then local val = myform io.write("\n\t 0) then + if (val.errtxt) then io.write(" class='error'") end io.write(">" .. val.label .. "") @@ -43,7 +43,7 @@ if (myform) and (myform.value) then end if (val.descr) and (#val.descr > 0) then io.write("\n\t\t

" .. string.gsub(val.descr, "\n", "
") .. "

") end - if (#val.errtxt > 0) then io.write("\n\t\t

" .. string.gsub(val.errtxt, "\n", "
") .. "

") end + if (val.errtxt) then io.write("\n\t\t

" .. string.gsub(val.errtxt, "\n", "
") .. "

") end io.write("\n\t\t") end io.write("
") -- cgit v1.2.3