From d7dd7e74c68f715655c5c4e497b9f82ef336202e Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 25 Sep 2008 18:35:42 +0000 Subject: Moved cfe into mvc.lua and removed cfe.lua. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1518 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lib/Makefile | 1 - lib/README | 1 - lib/cfe.lua | 15 --------------- lib/html.lua | 2 +- 4 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 lib/cfe.lua (limited to 'lib') diff --git a/lib/Makefile b/lib/Makefile index bd14934..409cf4e 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -17,7 +17,6 @@ LIB_DIST=fs.lua\ viewfunctions.lua\ controllerfunctions.lua\ modelfunctions.lua\ - cfe.lua\ apk.lua\ EXTRA_DIST=README Makefile diff --git a/lib/README b/lib/README index af7df38..91b522b 100644 --- a/lib/README +++ b/lib/README @@ -13,7 +13,6 @@ authenticator-plaintext.lua - Used to parse through the username:password file a validator.lua - Validate web input for ACF. html.lua - Helps with form building in ACF. menubuilder.lua -Helps create the menus on left window in ACF -web_elements.lua - More web functionality for ACF. privsep.lua - Helps with authorization with ACF session.lua -Helps with Session mangement in ACF diff --git a/lib/cfe.lua b/lib/cfe.lua deleted file mode 100644 index 34a249d..0000000 --- a/lib/cfe.lua +++ /dev/null @@ -1,15 +0,0 @@ -module(..., package.seeall) - --- 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", - label="" } - for key,value in pairs(optiontable) do - me[key] = value - end - return me -end -_G.cfe = cfe diff --git a/lib/html.lua b/lib/html.lua index de69046..d6f968a 100644 --- a/lib/html.lua +++ b/lib/html.lua @@ -107,7 +107,7 @@ end --[[ Form functions ]]------------------------------------------------------ --- These expect something like a cfe to work (see acf_www-controller.lua) +-- These expect something like a cfe to work (see mvc.lua) form = {} form.text = function ( v ) -- cgit v1.2.3