summaryrefslogtreecommitdiffstats
path: root/squid-status-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'squid-status-html.lsp')
-rw-r--r--squid-status-html.lsp30
1 files changed, 30 insertions, 0 deletions
diff --git a/squid-status-html.lsp b/squid-status-html.lsp
new file mode 100644
index 0000000..806318f
--- /dev/null
+++ b/squid-status-html.lsp
@@ -0,0 +1,30 @@
+<? local form = ...
+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>")
+--]]
+?>
+
+<H1>SYSTEM INFO</H1>
+<DL>
+<?
+local myform = form.info
+local tags = { "status", "version", "autostart", }
+displayinfo(myform,tags,"viewonly")
+?>
+</DL>
+
+<H2>General information</H2>
+<p>
+Squid is a web proxy server. It makes web requests in behalf of the client, and
+inspecting the returned and optionally caches that content so that the next time
+a client request is made, the content can be served from local disk. This can make
+web surfing faster. Squid can also forward its requests on to a content filter,
+such as DansGuardian.</p>
+
+