summaryrefslogtreecommitdiffstats
path: root/shorewall-edit-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'shorewall-edit-html.lsp')
-rw-r--r--shorewall-edit-html.lsp13
1 files changed, 4 insertions, 9 deletions
diff --git a/shorewall-edit-html.lsp b/shorewall-edit-html.lsp
index 6fde10f..e6231b0 100644
--- a/shorewall-edit-html.lsp
+++ b/shorewall-edit-html.lsp
@@ -1,15 +1,10 @@
-<? local form = ...
+<? local form, viewlibrary = ...
require("viewfunctions")
?>
-<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>CONFIGURATION</H1>
<? local myform = form.config ?>