summaryrefslogtreecommitdiffstats
path: root/squid-basic-html.lsp
diff options
context:
space:
mode:
authorAndreas Brodmann <andreas.brodmann@gmail.com>2008-01-16 13:31:59 +0000
committerAndreas Brodmann <andreas.brodmann@gmail.com>2008-01-16 13:31:59 +0000
commita6120a0548246e75dbc247e15326821a7043df34 (patch)
treec2dfcbabd347a680fa1617381006176a4f52fc7d /squid-basic-html.lsp
parent2e98280f07da84950af2fa5c2cdadfedf3590c05 (diff)
downloadacf-squid-a6120a0548246e75dbc247e15326821a7043df34.tar.bz2
acf-squid-a6120a0548246e75dbc247e15326821a7043df34.tar.xz
updates to the squid/dansguardian gui, e.g. get_version stuff, unified the apps to look the same as the others
git-svn-id: svn://svn.alpinelinux.org/acf/squid/trunk@589 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'squid-basic-html.lsp')
-rw-r--r--squid-basic-html.lsp6
1 files changed, 3 insertions, 3 deletions
diff --git a/squid-basic-html.lsp b/squid-basic-html.lsp
index f4676dd..2d5fbac 100644
--- a/squid-basic-html.lsp
+++ b/squid-basic-html.lsp
@@ -6,7 +6,7 @@
local srv1fill = ""
local srv2fill = "disabled"
- if service.status == "running" then
+ if form.info.status.value == "running" then
srv1fill = "disabled"
srv2fill = ""
end
@@ -31,8 +31,8 @@ such as DansGuardian.</p>
<h2>Status</h2>
<form action="" method="POST">
-<dt>Program version</dt><DD>?</DD>
-<dt>Process status</dt><DD><? io.write( service.status ) ?></DD>
+<dt>Program version</dt><DD><? io.write( form.info.version.value ) ?></DD>
+<dt>Process status</dt><DD><? io.write( form.info.status.value ) ?></DD>
<DT>Process information</DT><DD>This process runs as a service. When you make and save changes, the configuration
files for the service are changed. However, the changes will not be <i>applied</i>
until you restart the service.</DD>