diff options
Diffstat (limited to 'shorewall-status-html.lsp')
-rw-r--r-- | shorewall-status-html.lsp | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/shorewall-status-html.lsp b/shorewall-status-html.lsp index 9122797..d670e47 100644 --- a/shorewall-status-html.lsp +++ b/shorewall-status-html.lsp @@ -1,22 +1,17 @@ -<? local form = ... +<? local form, viewlibrary = ... require("viewfunctions") -?> -<? --[[ DEBUG INFORMATION io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>") +io.write(html.cfe_unpack(viewlibrary)) +io.write("----------") io.write(html.cfe_unpack(form)) io.write("</span>") --]] ?> -<H1>SYSTEM INFO</H1> -<DL> -<? -local myform = form.status -local tags = { "status", "version", "autostart", } -displayinfo(myform,tags,"viewonly") -?> -</DL> +<? if viewlibrary and viewlibrary.dispatch_component then + viewlibrary.dispatch_component("statusbasic") +end ?> <H2>PROGRAM SPECIFIC OPTIONS/INFORMATION</H2> <DL> @@ -26,4 +21,3 @@ local tags = { "state", } displayinfo(myform,tags,"viewonly") ?> </DL> - |