summaryrefslogtreecommitdiffstats
path: root/dnscache-config-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-06-26 19:16:25 +0000
committerTed Trask <ttrask01@yahoo.com>2008-06-26 19:16:25 +0000
commit337584d2a16c3a22551ab31c6eff7beb1c942815 (patch)
treeaf0e254f7f4ba070f087fa722b9c513152f9e55c /dnscache-config-html.lsp
parent30aaf3f8be724ddbf38dfe5c67b0123cd07d7e1d (diff)
downloadacf-dnscache-337584d2a16c3a22551ab31c6eff7beb1c942815.tar.bz2
acf-dnscache-337584d2a16c3a22551ab31c6eff7beb1c942815.tar.xz
Rewrite of DNScache.
git-svn-id: svn://svn.alpinelinux.org/acf/dnscache/trunk@1262 ab2d0c66-481e-0410-8bed-d214d4d58bed
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 ?>