From 7ccca7213d3137b0764ef02165c44f4bd3373f45 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 12 Aug 2008 15:53:20 +0000 Subject: Modified dansguardian to use new status, startstop, and expert (replaced plain) actions. git-svn-id: svn://svn.alpinelinux.org/acf/dansguardian/trunk@1380 ab2d0c66-481e-0410-8bed-d214d4d58bed --- dansguardian-plain-html.lsp | 83 --------------------------------------------- 1 file changed, 83 deletions(-) delete mode 100644 dansguardian-plain-html.lsp (limited to 'dansguardian-plain-html.lsp') diff --git a/dansguardian-plain-html.lsp b/dansguardian-plain-html.lsp deleted file mode 100644 index 5ad57b9..0000000 --- a/dansguardian-plain-html.lsp +++ /dev/null @@ -1,83 +0,0 @@ -<% -require("viewfunctions") - local form = ... - local data = form.option - local service = form.service - local config = form.service.config - - local srv1fill = "" - local srv2fill = "disabled" - if form.info.status.value == "Enabled" then - srv1fill = "disabled" - srv2fill = "" - end - - local ifthen = function( variable, value, result ) - if variable == value then - io.write( result ) - end - end - -%> - -<% ---[[ DEBUG INFORMATION -io.write("

DEBUGGING

DEBUG INFO: CFE

") -io.write(html.cfe_unpack(form)) -io.write("
") ---]] -%> - -

SYSTEM INFO

-
-<% -local myform = form.info -local tags = { "status", "version", "autostart", } -displayinfo(myform,tags,"viewonly") -%> -
- -

Content Filter (Plain Config File)

-
-
Warning
-
Modifying the DansGuardian configuration file is generally not necessary. -You must be familiar with the configuration file before proceeding.
-
Information
-
These parameters define the interface and port that Dansguardian uses to accept connections.
-
- -
-

Configuration

- - - -

Save changes

-
-<% -local myform = form.service -local tags = { "cmdsave", } -displayinfo(myform,tags) -%> -<% if (service) and (service.error) and (#service.error > 0) then %> -
Config status
<% io.write(service.error ) %>
-<% end %> -<% if (service) and (service.cfgerr) and (#service.cfgerr > 0) then %> -
Config status
<% io.write(service.cfgerr ) %>
-<% end %> - -
Process information
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 applied -until you restart the service.
- -
-
- -

MANAGEMENT

-
-
-
Daemon control
> -> -> -<% if (service.message) and (service.message.descr) and (#service.message.descr > 0) then %>
<% io.write( service.message.descr ) %>
<% end %>
-
-
-- cgit v1.2.3