diff options
Diffstat (limited to 'ipsectools-expert-html.lsp')
-rw-r--r-- | ipsectools-expert-html.lsp | 19 |
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> |