From 378e53f20a0f11c36afffbaef78f47a5303df9ce 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/core/trunk@1052 ab2d0c66-481e-0410-8bed-d214d4d58bed --- app/acf_www-controller.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'app/acf_www-controller.lua') diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua index 9983293..98b732f 100644 --- a/app/acf_www-controller.lua +++ b/app/acf_www-controller.lua @@ -275,15 +275,12 @@ exception_handler = function (self, message ) end end --- create a Configuration Framework Entity (cfe) --- returns a table with at least "value", "type", "option" and "errtxt" +-- create a Configuration Framework Entity (cfe) +-- returns a table with at least "value", "type", and "label" cfe = function ( optiontable ) optiontable = optiontable or {} me = { value="", type="text", - option="", - errtxt="", - name="", label="" } for key,value in pairs(optiontable) do me[key] = value -- cgit v1.2.3