summaryrefslogtreecommitdiffstats
path: root/tinydns-controller.lua
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
commitd9a9c68eecd41c0e8a95a3d379797380760c90e9 (patch)
tree6335f5011f39c6a65fced445e47a9a2e357986ed /tinydns-controller.lua
parentbaac30e2eea27c97de2583b530911a9d987b4f9e (diff)
downloadacf-tinydns-d9a9c68eecd41c0e8a95a3d379797380760c90e9.tar.bz2
acf-tinydns-d9a9c68eecd41c0e8a95a3d379797380760c90e9.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/tinydns/trunk@1052 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'tinydns-controller.lua')
-rw-r--r--tinydns-controller.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/tinydns-controller.lua b/tinydns-controller.lua
index a617cf0..640fbe7 100644
--- a/tinydns-controller.lua
+++ b/tinydns-controller.lua
@@ -84,8 +84,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
@@ -263,7 +261,7 @@ function expert(self)
else
create.name.errtxt = "Incorrect filename"
end
- if (#create.name.errtxt == 0) then
+ if (create.name.errtxt) then
create.cmdnew.descr = "* File was created"
redirect(self, "edit?name=" .. (self.clientdata.name or ""))
end