summaryrefslogtreecommitdiffstats
path: root/lbu-expert-html.lsp
diff options
context:
space:
mode:
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>