summaryrefslogtreecommitdiffstats
path: root/shorewall-logfile-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'shorewall-logfile-html.lsp')
-rw-r--r--shorewall-logfile-html.lsp15
1 files changed, 4 insertions, 11 deletions
diff --git a/shorewall-logfile-html.lsp b/shorewall-logfile-html.lsp
index 38b41d8..4f35c40 100644
--- a/shorewall-logfile-html.lsp
+++ b/shorewall-logfile-html.lsp
@@ -1,7 +1,5 @@
-<? 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(view))
@@ -9,14 +7,9 @@ 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 ?>
<H1>LOGIFLES</H1>
<H2>DETAILS</H2>