From f83a1a729f68ab79138857a884308084e23cd595 Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Wed, 9 Apr 2008 13:23:31 +0000 Subject: Cleaning up the code. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@966 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lbu-config-html.lsp | 52 ++++++++++++++++------------------------------------ 1 file changed, 16 insertions(+), 36 deletions(-) (limited to 'lbu-config-html.lsp') diff --git a/lbu-config-html.lsp b/lbu-config-html.lsp index 22c1405..d9e1491 100644 --- a/lbu-config-html.lsp +++ b/lbu-config-html.lsp @@ -1,4 +1,6 @@ - + DEBUGGING

DEBUG INFO: CFE

") @@ -6,80 +8,58 @@ 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 -?>

SYSTEM INFO

+
+

CONFIG

Advanced config

Storage media

- + +

Included list

+
+

Excluded list

+
+

Security/Encryption

+
+

Save and apply above settings

+
- +
- -DEBUGGING

DEBUG INFO: CFE

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