summaryrefslogtreecommitdiffstats
path: root/ipsectools-expert-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-04-04 13:28:55 +0000
committerMika Havela <mika.havela@gmail.com>2008-04-04 13:28:55 +0000
commit0a0ca2621d63d04a64004616c13253826c187e1d (patch)
treed45a123f153f7c224ac91e808c56525445593ce3 /ipsectools-expert-html.lsp
parent4f54a99126e25b88258c0a31cea66d7259a6fede (diff)
downloadacf-ipsec-tools-0a0ca2621d63d04a64004616c13253826c187e1d.tar.bz2
acf-ipsec-tools-0a0ca2621d63d04a64004616c13253826c187e1d.tar.xz
Show config errors in expert-tab.
git-svn-id: svn://svn.alpinelinux.org/acf/ipsec-tools/trunk@926 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'ipsectools-expert-html.lsp')
-rw-r--r--ipsectools-expert-html.lsp19
1 files changed, 4 insertions, 15 deletions
diff --git a/ipsectools-expert-html.lsp b/ipsectools-expert-html.lsp
index 604a276..39c45cd 100644
--- a/ipsectools-expert-html.lsp
+++ b/ipsectools-expert-html.lsp
@@ -68,22 +68,11 @@ local myform = form.file
io.write(html.form[myform.filecontent.type](myform.filecontent))
?>
-<H3>SAVE AND APPLY ABOVE SETTINGS</H3>
-<DL>
-<?
-local tags = { "cmdsave", }
-displayinfo(myform,tags)
-?>
-</DL>
-
-</form>
-
-<form name="myform" action="" method="POST">
<H2>Expert config - Policy</H2>
<h3>File details</h3>
<DL>
<?
-local myform = form.file
+local myform = form.file2
local tags = { "filename2", "filesize2", "mtime2", "sumerrors2", }
displayinfo(myform,tags,"viewonly")
?>
@@ -91,14 +80,14 @@ displayinfo(myform,tags,"viewonly")
<H3>FILE CONTENT</H3>
<?
-local myform = form.file
io.write(html.form[myform.filecontent2.type](myform.filecontent2))
?>
-<H3>SAVE AND APPLY ABOVE SETTINGS</H3>
+<H2>SAVE AND APPLY ABOVE SETTINGS</H2>
<DL>
<?
-local tags = { "cmdsave2", }
+local myform = form.file
+local tags = { "cmdsave", }
displayinfo(myform,tags)
?>
</DL>