From 05ba1c56a685c78f86bc634b5de9bc66057ad386 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/alpine-baselayout/trunk@750 ab2d0c66-481e-0410-8bed-d214d4d58bed --- tmppassword-status-html.lsp | 82 --------------------------------------------- 1 file changed, 82 deletions(-) delete mode 100755 tmppassword-status-html.lsp (limited to 'tmppassword-status-html.lsp') diff --git a/tmppassword-status-html.lsp b/tmppassword-status-html.lsp deleted file mode 100755 index 45bed4f..0000000 --- a/tmppassword-status-html.lsp +++ /dev/null @@ -1,82 +0,0 @@ - -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("\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.descr) and (#val.descr > 0) then io.write("\t\t

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

\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 -?> - -

USER ACCOUNTS

-

Create new account

- - -

Existing account

-") -if (type(myform) == "table") then - for k,v in pairs(myform) do - local myform = myform[k] - io.write("\t 0) then - myform.class = "error" - io.write(" class='error'") - end - io.write("> " .. myform.label .. "\n") - io.write("\t\t
\n\t\t") - io.write("\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t") - io.write("\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t") - io.write("\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t") - io.write("\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t") - io.write("\n\t\t
Account name:" .. myform.value .. "
Description:" .. (myform.descr or "") .. "
Roles:") - io.write(tostring(myform.roles)) - io.write("
Options:[Edit this account]
\n") - if (#myform.errtxt > 0) then io.write("\t\t

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

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

DEBUG INFO: CFE

") -io.write(html.cfe_unpack(form)) -io.write("
") ---]] -?> - -- cgit v1.2.3