From 71c3bf43a63682d2079612d7dc93550871766a62 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/quagga/trunk@1052 ab2d0c66-481e-0410-8bed-d214d4d58bed --- quagga-controller.lua | 2 -- quagga-status-html.lsp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/quagga-controller.lua b/quagga-controller.lua index a9024f0..1d0915f 100644 --- a/quagga-controller.lua +++ b/quagga-controller.lua @@ -31,8 +31,6 @@ local function displaycmdmanagement(pidofstatus) -- next CFE can be used to present the result of the previous action management.actionresult = cfe({ name="actionresult", label="Previous action result", - descr="", --Content of this variable is displayed as
 ... 
in BLACK text - errtxt="", --Content of this variable is displayed as
 ... 
in RED text }) -- Disable management buttons based on if the process is running or not 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 0) then io.write(" class='error'") end + if (myform.errtxt) then io.write(" class='error'") end io.write(">" .. myform.label .. "\n") io.write("\t\t
\n") io.write("\t\t
"..myform.value.."
\n") -- cgit v1.2.3