diff options
Diffstat (limited to 'squid-basic-html.lsp')
-rw-r--r-- | squid-basic-html.lsp | 6 |
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> |