diff options
author | Natanael Copa <natanael.copa@gmail.com> | 2008-07-28 06:48:16 +0000 |
---|---|---|
committer | Natanael Copa <natanael.copa@gmail.com> | 2008-07-28 06:48:16 +0000 |
commit | e18b8b342356814b0e022cd75a0c778bfef50e9c (patch) | |
tree | 26c2e1150617849a08d525063407708066f721cc /ipsectools-status-html.lsp | |
parent | f063c936fa438ad1069c5de9383c79b11bcbcf5a (diff) | |
download | acf-ipsec-tools-e18b8b342356814b0e022cd75a0c778bfef50e9c.tar.bz2 acf-ipsec-tools-e18b8b342356814b0e022cd75a0c778bfef50e9c.tar.xz |
use <% %> instead of <? ?>
git-svn-id: svn://svn.alpinelinux.org/acf/ipsec-tools/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed
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> |