summaryrefslogtreecommitdiffstats
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
commita9b397e0711b80320cf74e4610fdc27791c84729 (patch)
tree49411e46b2f2d22878a615adbc71ae1ae7034ba5
parent429c9ce3598fa0d1cda08700949458829e294f05 (diff)
downloadacf-opennhrp-a9b397e0711b80320cf74e4610fdc27791c84729.tar.bz2
acf-opennhrp-a9b397e0711b80320cf74e4610fdc27791c84729.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/opennhrp/trunk@1052 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--opennhrp-controller.lua2
-rw-r--r--opennhrp-status-html.lsp2
2 files changed, 1 insertions, 3 deletions
diff --git a/opennhrp-controller.lua b/opennhrp-controller.lua
index 366e87a..2bb03c8 100644
--- a/opennhrp-controller.lua
+++ b/opennhrp-controller.lua
@@ -30,8 +30,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/opennhrp-status-html.lsp b/opennhrp-status-html.lsp
index 5c16c8f..2c1a531 100644
--- a/opennhrp-status-html.lsp
+++ b/opennhrp-status-html.lsp
@@ -24,7 +24,7 @@ displayinfo(myform,tags,"viewonly")
local myform = form.status.show
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")
for k,v in pairs(myform.option or {}) do