diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-04-30 20:36:02 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-04-30 20:36:02 +0000 |
commit | 71c3bf43a63682d2079612d7dc93550871766a62 (patch) | |
tree | 23e9227c30ef117d08fb7eef94ff6273695dcff9 | |
parent | 6bf5df06f38aac4cf3e6c5450872838d273baae6 (diff) | |
download | acf-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
-rw-r--r-- | quagga-controller.lua | 2 | ||||
-rw-r--r-- | quagga-status-html.lsp | 2 |
2 files changed, 1 insertions, 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 <PRE> ... </PRE> in BLACK text - errtxt="", --Content of this variable is displayed as <PRE> ... </PRE> 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<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") |