diff options
Diffstat (limited to 'ipsectools-status-html.lsp')
-rw-r--r-- | ipsectools-status-html.lsp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ipsectools-status-html.lsp b/ipsectools-status-html.lsp index cd12835..83e1474 100644 --- a/ipsectools-status-html.lsp +++ b/ipsectools-status-html.lsp @@ -1,21 +1,21 @@ -<? local form = ... ?> -<? +<% local form = ... %> +<% require("viewfunctions") -?> +%> <H1>SYSTEM INFO</H1> <DL> -<? +<% local myform = form.status local tags = { "status", "version", "autostart", } displayinfo(myform,tags,"viewonly") -?> +%> </DL> <H2>PROGRAM SPECIFIC OPTIONS/INFORMATION</H2> <H3>Phase1 and Phase2 information</H3> <DL> -<? +<% local myform = form.status.show_isakmp.option for k,v in pairs(myform) do if (type(v) == "table") and (v.Destination) and (v.Destination.value) and (#v.Destination.value > 0) then @@ -43,5 +43,5 @@ for k,v in pairs(myform) do io.write("</TABLE></DD>") end end -?> +%> </DL> |