summaryrefslogtreecommitdiffstats
path: root/squid-authentication-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-05-06 07:45:08 +0000
committerMika Havela <mika.havela@gmail.com>2008-05-06 07:45:08 +0000
commit26a72bf1519a8933e3fabc884a024e72947008e0 (patch)
treeb669c81220f0885a37faf8acf3ddb7c02bd8fc19 /squid-authentication-html.lsp
parent1b8bad95d1204e4f3f90bfe4f212870d09c44918 (diff)
downloadacf-squid-26a72bf1519a8933e3fabc884a024e72947008e0.tar.bz2
acf-squid-26a72bf1519a8933e3fabc884a024e72947008e0.tar.xz
Changing start/stop/restart process to show stderr to the user (as for all other ACF's)
git-svn-id: svn://svn.alpinelinux.org/acf/squid/trunk@1103 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'squid-authentication-html.lsp')
-rw-r--r--squid-authentication-html.lsp5
1 files changed, 2 insertions, 3 deletions
diff --git a/squid-authentication-html.lsp b/squid-authentication-html.lsp
index e3eac32..3835be6 100644
--- a/squid-authentication-html.lsp
+++ b/squid-authentication-html.lsp
@@ -115,10 +115,9 @@ the changes will not be <i>applied</i> until you restart the service.</dd>
<h1>MANAGEMENT</h1>
<form action="" method="POST">
<dl>
-<DT>Daemon control</DT>
-<dd><input class="submit" type="submit" name="srvcmd" value="start" <? io.write( srv1fill ) ?>>
+<DT>Daemon control</DT><dd><input class="submit" type="submit" name="srvcmd" value="start" <? io.write( srv1fill ) ?>>
<input class="submit" type="submit" name="srvcmd" value="stop" <? io.write( srv2fill ) ?>>
<input class="submit" type="submit" name="srvcmd" value="restart" <? io.write( srv2fill ) ?>>
-<pre class="attention"><? io.write( service.message ) ?></pre></dd>
+<? if (service.message) and (service.message.descr) and (#service.message.descr > 0) then ?><pre><? io.write( service.message.descr ) ?></pre><? end ?></dd>
</dl>
</form>