From 3d45676a1116e285018c0072ebd23f2095523bff Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Mon, 18 Feb 2008 19:52:34 +0000 Subject: Moved password-manager to core git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@750 ab2d0c66-481e-0410-8bed-d214d4d58bed --- app/acf-util/password-edit-html.lsp | 72 +++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100755 app/acf-util/password-edit-html.lsp (limited to 'app/acf-util/password-edit-html.lsp') diff --git a/app/acf-util/password-edit-html.lsp b/app/acf-util/password-edit-html.lsp new file mode 100755 index 0000000..8b295b5 --- /dev/null +++ b/app/acf-util/password-edit-html.lsp @@ -0,0 +1,72 @@ + +DEBUGGING

DEBUG INFO: CFE

") +io.write(html.cfe_unpack(form)) +io.write("
") +--]] +?> +") + for k,v in pairs(tags) do + if (myform[v]) and (myform[v]["value"]) then + local val = myform[v] + io.write("\n\t 0) then + val.class = "error" + io.write(" class='error'") + end + io.write(">" .. val.label .. "\n") + if (viewonly) then + io.write("\t\t
" .. val.value .. "\n") + else + io.write("\t\t
" .. html.form[val.type](val) .. "\n") + end + if (#val.errtxt > 0) then io.write("\t\t

" .. string.gsub(val.errtxt, "\n", "
") .. "

\n") end + io.write("\t\t
\n") + end + end + io.write("") +end +?> + +

CONFIG

+

Settings

+ + +") +io.write("\n\t 0) then + myform.class = "error" + io.write(" class='error'") +end +io.write(">" .. myform.label .. "") +io.write("\n\t\t
") +for k,v in pairs(myform.option) do + local checked = "" + if (form.config.userid.roles[v]) then checked = "checked='yes'" end + io.write("\n\t\t\t" ..v .. ": ") +end +if (#myform.errtxt > 0) then io.write("\t\t

" .. string.gsub(myform.errtxt, "\n", "
") .. "

\n") end +io.write("\n\t\t
\n") +io.write("") +?> + +

Actions

+ + -- cgit v1.2.3