summaryrefslogtreecommitdiffstats
path: root/shorewall-edit-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-05-15 15:12:42 +0000
committerMika Havela <mika.havela@gmail.com>2008-05-15 15:12:42 +0000
commita3965b138f8c37b32cc28889250d55e20124983f (patch)
tree158a140cab494c92f9a03f3fa953b45465a3ce14 /shorewall-edit-html.lsp
parent2019d21baffd94e03608d28eba103150fb1ba1cd (diff)
downloadacf-shorewall-a3965b138f8c37b32cc28889250d55e20124983f.tar.bz2
acf-shorewall-a3965b138f8c37b32cc28889250d55e20124983f.tar.xz
Saving work for today.
Applying the component functionallity to acf-shorewall. Cleaning up and rebuilding the view-files. git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1121 ab2d0c66-481e-0410-8bed-d214d4d58bed
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 ?>