summaryrefslogtreecommitdiffstats
path: root/dnscache-config-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'dnscache-config-html.lsp')
-rw-r--r--dnscache-config-html.lsp23
1 files changed, 23 insertions, 0 deletions
diff --git a/dnscache-config-html.lsp b/dnscache-config-html.lsp
new file mode 100644
index 0000000..d1e414d
--- /dev/null
+++ b/dnscache-config-html.lsp
@@ -0,0 +1,23 @@
+<? 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(form))
+io.write("</span>")
+--]]
+?>
+
+<? if viewlibrary and viewlibrary.dispatch_component then
+ viewlibrary.dispatch_component("status")
+end ?>
+
+<H1>Config</H1>
+<?
+ displayform(form)
+?>
+
+<? if viewlibrary and viewlibrary.dispatch_component then
+ viewlibrary.dispatch_component("startstop")
+end ?>