diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-09-25 18:35:42 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-09-25 18:35:42 +0000 |
commit | d7dd7e74c68f715655c5c4e497b9f82ef336202e (patch) | |
tree | 50e55dc7e7044e361e4016a7d7cb4ca3470252c6 /lib | |
parent | 2c4affc87e47ee7de9fd63d62b5f1c45e28b778b (diff) | |
download | acf-core-d7dd7e74c68f715655c5c4e497b9f82ef336202e.tar.bz2 acf-core-d7dd7e74c68f715655c5c4e497b9f82ef336202e.tar.xz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 1 | ||||
-rw-r--r-- | lib/README | 1 | ||||
-rw-r--r-- | lib/cfe.lua | 15 | ||||
-rw-r--r-- | lib/html.lua | 2 |
4 files changed, 1 insertions, 18 deletions
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 @@ -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 ) |