summaryrefslogtreecommitdiffstats
path: root/quagga-status-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-04-30 20:36:02 +0000
committerTed Trask <ttrask01@yahoo.com>2008-04-30 20:36:02 +0000
commit71c3bf43a63682d2079612d7dc93550871766a62 (patch)
tree23e9227c30ef117d08fb7eef94ff6273695dcff9 /quagga-status-html.lsp
parent6bf5df06f38aac4cf3e6c5450872838d273baae6 (diff)
downloadacf-quagga-71c3bf43a63682d2079612d7dc93550871766a62.tar.bz2
acf-quagga-71c3bf43a63682d2079612d7dc93550871766a62.tar.xz
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/quagga/trunk@1052 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'quagga-status-html.lsp')
-rw-r--r--quagga-status-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/quagga-status-html.lsp b/quagga-status-html.lsp
index c70ea95..6f882d9 100644
--- a/quagga-status-html.lsp
+++ b/quagga-status-html.lsp
@@ -26,7 +26,7 @@ for k,v in pairs(tags) do
local myform = form.status[v]
if (myform) then
io.write("\t<DT")
- if (#myform.errtxt > 0) then io.write(" class='error'") end
+ if (myform.errtxt) then io.write(" class='error'") end
io.write(">" .. myform.label .. "</DT>\n")
io.write("\t\t<DD>\n")
io.write("\t\t<PRE>"..myform.value.."</PRE>\n")