diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-09-11 14:31:28 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-09-11 14:31:28 +0000 |
commit | 2764edeac9b4b54096f7a3c5eaa5b202e0c32f01 (patch) | |
tree | 97cef2733c05861c8e6b9062a2d5bafda694a7a3 /dansguardian-editcategories-html.lsp | |
parent | 6d20b13cb8257b69654e508383eac0acaa135889 (diff) | |
download | acf-dansguardian-2764edeac9b4b54096f7a3c5eaa5b202e0c32f01.tar.bz2 acf-dansguardian-2764edeac9b4b54096f7a3c5eaa5b202e0c32f01.tar.xz |
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
Diffstat (limited to 'dansguardian-editcategories-html.lsp')
-rw-r--r-- | dansguardian-editcategories-html.lsp | 98 |
1 files changed, 0 insertions, 98 deletions
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("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>") -io.write(html.cfe_unpack(form)) -io.write("</span>") ---]] -%> - -<H1>INFO</H1> -<DL> -<% -local myform = form.info -local tags = { "configfile","mtime","category", "name", "activestatus", } -displayinfo(myform,tags,"viewonly") -%> -</DL> - -<H1>CONFIGURE</H1> -<H2>General</H2> -<DL> -<% -local myform = form.info -local tags = { "activate" } -displayinfo(myform,tags) -%> -</DL> - -<H2>Details</H2> -<% -local myform = form.info -io.write('<input type="hidden" value="' .. myform.filename.value .. '" name="name">') -io.write(html.form[myform.filecontent.type](myform.filecontent)) -%> - -<H2>Save</H2> -<DL> -<% -local myform = form.info -local tags = { "cmdsave" } -displayinfo(myform,tags) -%> -</DL> - -<H1>Delete</H1> -<p>You can delete this object. This will result in erazing instead of deactivating it.</p> -<p>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.</p> -<DL> -<% -local myform = form.info -local tags = { "cmddelete" } -displayinfo(myform,tags) -%> -</DL> - -<% --[[ %> -<form name="myform" action="" method="POST"> -<h1>CONFIGURATION</h1> -<H2>Expert config</H2> -<h3>File details</h3> -<DL> -<% -local myform = form.file -local tags = { "filename", "filesize", "mtime", "sumerrors", } -displayinfo(myform,tags,"viewonly") -%> -</DL> - -<H3>FILE CONTENT</H3> -<% -local myform = form.file -io.write('<input type="hidden" value="' .. myform.filename.value .. '" name="name">') -io.write(html.form[myform.filecontent.type](myform.filecontent)) -%> - -<H2>SAVE AND APPLY ABOVE SETTINGS</H2> -<DL> -<% -local tags = { "cmddelete", "cmdsave", } -displayinfo(myform,tags) -%> -</DL> - -<% --- Management buttons -local myform = form.management -local tags = { "start", "stop", "restart" } -if (myform) then - io.write("<H1>MANAGEMENT</H1>\n<DL>") - displaymanagement(myform,tags) - io.write("</DL>") -end -%> -</form> -<% --]] %> - |