summaryrefslogtreecommitdiffstats
path: root/shorewall-check-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'shorewall-check-html.lsp')
-rw-r--r--shorewall-check-html.lsp22
1 files changed, 11 insertions, 11 deletions
diff --git a/shorewall-check-html.lsp b/shorewall-check-html.lsp
index f970a97..6e39399 100644
--- a/shorewall-check-html.lsp
+++ b/shorewall-check-html.lsp
@@ -1,26 +1,26 @@
-<? local form, viewlibrary = ...
+<% 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))
io.write("</span>")
--]]
-?>
+%>
-<? if viewlibrary and viewlibrary.dispatch_component then
+<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("statusbasic")
-end ?>
+end %>
<H1>CONFIGURATION</H1>
-<? local myform = form.config ?>
+<% local myform = form.config %>
<H2>CHECK CONFIGURATION</H2>
-<?
+<%
io.write(html.form[form.config.checkresult.type](form.config.checkresult))
-?>
+%>
<form name="management" action="" method="POST">
-<?
+<%
-- Management buttons
local myform = form.management
local tags = { "restart" }
@@ -29,10 +29,10 @@ if (myform) then
displaymanagement(myform,tags)
io.write("</DL>")
end
-?>
+%>
</form>
-<? if viewlibrary and viewlibrary.dispatch_component then
+<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("startstop")
-end ?>
+end %>