diff options
Diffstat (limited to 'dansguardian-edit-html.lsp')
-rw-r--r-- | dansguardian-edit-html.lsp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/dansguardian-edit-html.lsp b/dansguardian-edit-html.lsp deleted file mode 100644 index fe6205c..0000000 --- a/dansguardian-edit-html.lsp +++ /dev/null @@ -1,35 +0,0 @@ -<? - local form = ... - local data = form.option - local service = form.service - local config = form.service.config - - local srv1fill = "" - local srv2fill = "disabled" - if service.status == "running" then - srv1fill = "disabled" - srv2fill = "" - end - - local ifthen = function( variable, value, result ) - if variable == value then - io.write( result ) - end - end - -?> -<h1>Content Filter (<? io.write( service.name ) ?>)</h1> - -<form action="" method="POST"> -<pre style="color: #ff2020;"><? io.write( service.cfgerr ) ?></pre><br> -These parameters define the interface and port that Dansguardian uses to accept connections.<br><br> - -<table> -<tr><td><textarea name="config" style="width:100%"><? io.write( service.config ) ?></textarea></td></tr> -</table><br> -<input class="text" type="hidden" name="name" value="<? io.write( service.name ) ?>"> - -<h3>Save Changes</h3> -<dt>Save the content of the above box</dt><dd><input class="submit" type="submit" name="cmd" value="save" style="width:100px"></dd> -</form> - |