summaryrefslogtreecommitdiffstats
path: root/lbu-expert-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-04-04 13:00:17 +0000
committerMika Havela <mika.havela@gmail.com>2008-04-04 13:00:17 +0000
commitc69ac570705d815f6c0406169f307c71b8376398 (patch)
tree94621c01f0e1e290f3f3153a2c002cadd2f04824 /lbu-expert-html.lsp
parentbf7784e516f27f72fc3443873a2ac04f4d6e7e19 (diff)
downloadacf-alpine-conf-c69ac570705d815f6c0406169f307c71b8376398.tar.bz2
acf-alpine-conf-c69ac570705d815f6c0406169f307c71b8376398.tar.xz
Showing config errors in expert tab.
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@922 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lbu-expert-html.lsp')
-rw-r--r--lbu-expert-html.lsp14
1 files changed, 6 insertions, 8 deletions
diff --git a/lbu-expert-html.lsp b/lbu-expert-html.lsp
index cea7e4c..219d748 100644
--- a/lbu-expert-html.lsp
+++ b/lbu-expert-html.lsp
@@ -42,21 +42,19 @@ displayinfo(myform,tags,"viewonly")
<h1>CONFIGURATION</h1>
-<H2>Expert config</H2>
-<h3>File details</h3>
+<form name="myform" action="" method="POST">
+<H2>EXPERT CONFIGURATION</H2>
+<H3>FILE DETAILS</H3>
<?
local myform = form.file
-local tags = { "name", "size", "mtime", }
+local tags = { "filename", "filesize", "mtime", "sumerrors" }
displayinfo(myform,tags,"viewonly")
?>
-
-<h3>File content</h3>
-<form name="myform" action="" method="POST">
+<H3>FILE CONTENT</H3>
<?
-local myform = form.file.modifications
-io.write(html.form[myform.type](myform))
+io.write(html.form[myform.filecontent.type](myform.filecontent))
?>
<H2>Save and apply above settings</H2>