From 2764edeac9b4b54096f7a3c5eaa5b202e0c32f01 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 11 Sep 2008 14:31:28 +0000 Subject: Modified dansguardian. Changed advanced to listfiles and expert to listconfigfiles. Made general and edit be normal forms. Removed categories, which didn't work. git-svn-id: svn://svn.alpinelinux.org/acf/dansguardian/trunk@1465 ab2d0c66-481e-0410-8bed-d214d4d58bed --- dansguardian-editcategories-html.lsp | 98 ------------------------------------ 1 file changed, 98 deletions(-) delete mode 100644 dansguardian-editcategories-html.lsp (limited to 'dansguardian-editcategories-html.lsp') diff --git a/dansguardian-editcategories-html.lsp b/dansguardian-editcategories-html.lsp deleted file mode 100644 index 63087bf..0000000 --- a/dansguardian-editcategories-html.lsp +++ /dev/null @@ -1,98 +0,0 @@ -<% local form = ... -require("viewfunctions") -%> -<% ---[[ DEBUG INFORMATION -io.write("

DEBUGGING

DEBUG INFO: CFE

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

INFO

-
-<% -local myform = form.info -local tags = { "configfile","mtime","category", "name", "activestatus", } -displayinfo(myform,tags,"viewonly") -%> -
- -

CONFIGURE

-

General

-
-<% -local myform = form.info -local tags = { "activate" } -displayinfo(myform,tags) -%> -
- -

Details

-<% -local myform = form.info -io.write('') -io.write(html.form[myform.filecontent.type](myform.filecontent)) -%> - -

Save

-
-<% -local myform = form.info -local tags = { "cmdsave" } -displayinfo(myform,tags) -%> -
- -

Delete

-

You can delete this object. This will result in erazing instead of deactivating it.

-

When deleting a object, you will not be able to get it back! If you are unsure, it's better to only deactivate this object instead of deleting it.

-
-<% -local myform = form.info -local tags = { "cmddelete" } -displayinfo(myform,tags) -%> -
- -<% --[[ %> -
-

CONFIGURATION

-

Expert config

-

File details

-
-<% -local myform = form.file -local tags = { "filename", "filesize", "mtime", "sumerrors", } -displayinfo(myform,tags,"viewonly") -%> -
- -

FILE CONTENT

-<% -local myform = form.file -io.write('') -io.write(html.form[myform.filecontent.type](myform.filecontent)) -%> - -

SAVE AND APPLY ABOVE SETTINGS

-
-<% -local tags = { "cmddelete", "cmdsave", } -displayinfo(myform,tags) -%> -
- -<% --- Management buttons -local myform = form.management -local tags = { "start", "stop", "restart" } -if (myform) then - io.write("

MANAGEMENT

\n
") - displaymanagement(myform,tags) - io.write("
") -end -%> -
-<% --]] %> - -- cgit v1.2.3