diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-04-18 01:02:28 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-04-18 01:02:28 +0000 |
commit | b0f5d4a3e85032894ec394e929ffc475d685ab0c (patch) | |
tree | be6ba065708dd9affd7bc2177e058feb0134dfe7 /dansguardian-general-html.lsp | |
parent | b621e263aee67bf6fbffddf4cbd79455f9c98a01 (diff) | |
download | acf-dansguardian-b0f5d4a3e85032894ec394e929ffc475d685ab0c.tar.bz2 acf-dansguardian-b0f5d4a3e85032894ec394e929ffc475d685ab0c.tar.xz |
Started work on updating for acf-core-0.15
Removed controllerfunctions library (still needs more work and corresponding work in model)
Updated startstop functionality and deleted view
Updated for viewfunctions to htmlviewfunctions and modified require statements for acf libraries
Diffstat (limited to 'dansguardian-general-html.lsp')
-rw-r--r-- | dansguardian-general-html.lsp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/dansguardian-general-html.lsp b/dansguardian-general-html.lsp index 3adff09..e83ff4c 100644 --- a/dansguardian-general-html.lsp +++ b/dansguardian-general-html.lsp @@ -1,5 +1,5 @@ <% -require("viewfunctions") +require("htmlviewfunctions") local form, viewlibrary, page_info, session = ... %> @@ -10,7 +10,7 @@ end %> <h1>Configuration</h1> <% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action - displayformstart(form) + htmlviewfunctions.displayformstart(form) for field,val in pairs(form.value) do val.name = field end @@ -24,8 +24,8 @@ These parameters define the interface and port that Dansguardian uses to accept </p> <% - displayformitem(form.value.filterip) - displayformitem(form.value.filterport) + htmlviewfunctions.displayformitem(form.value.filterip) + htmlviewfunctions.displayformitem(form.value.filterport) %> </dl> @@ -36,8 +36,8 @@ These parameters define the ip address and port that Dansguardian should forward </p> <% - displayformitem(form.value.proxyip) - displayformitem(form.value.proxyport) + htmlviewfunctions.displayformitem(form.value.proxyip) + htmlviewfunctions.displayformitem(form.value.proxyport) %> </dl> @@ -50,12 +50,12 @@ The author recommends 50 for "young children", 100 for "older children" and 160 </p> <% - displayformitem(form.value.accessdeniedaddress) - displayformitem(form.value.naughtynesslimit) + htmlviewfunctions.displayformitem(form.value.accessdeniedaddress) + htmlviewfunctions.displayformitem(form.value.naughtynesslimit) %> </dl> <h2>Save Changes</h2> <DL> -<% displayformend(form) %> +<% htmlviewfunctions.displayformend(form) %> </DL> |