From 431ddffe689166eecf58b990bc938fa151b63de1 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Sat, 27 Oct 2012 02:36:59 +0000 Subject: Removed unneeded views by updating CFE for autoview --- squid-config-html.lsp | 15 --------------- squid-model.lua | 8 ++++---- 2 files changed, 4 insertions(+), 19 deletions(-) delete mode 100644 squid-config-html.lsp diff --git a/squid-config-html.lsp b/squid-config-html.lsp deleted file mode 100644 index 22d8bf4..0000000 --- a/squid-config-html.lsp +++ /dev/null @@ -1,15 +0,0 @@ -<% local form, viewlibrary, page_info, session = ... -require("htmlviewfunctions") -html = require("acf.html") -%> - -<% if viewlibrary and viewlibrary.dispatch_component then - viewlibrary.dispatch_component("status") -end %> - -

<%= html.html_escape(form.label) %>

-<% - form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action - local order = {"httpports", "accesslog", "diskcache", "authmethod"} - htmlviewfunctions.displayform(form, order) -%> diff --git a/squid-model.lua b/squid-model.lua index 525f034..2529e09 100644 --- a/squid-model.lua +++ b/squid-model.lua @@ -176,10 +176,10 @@ end read_config = function() local retval = { - httpports = { type="list", value={}, label="HTTP Ports", descr="List of port, IP:port, or hostname:port entries that Squid will listen on" }, - accesslog = { type="boolean", value=false, label="Log Access" }, - diskcache = { type="boolean", value=false, label="Disk Cache" }, - authmethod = { type="multi", value={}, label="Authentication Methods", option={"negotiate", "ntlm", "digest", "basic"} }, + httpports = { type="list", value={}, label="HTTP Ports", descr="List of port, IP:port, or hostname:port entries that Squid will listen on", seq=0 }, + accesslog = { type="boolean", value=false, label="Log Access", seq=1 }, + diskcache = { type="boolean", value=false, label="Disk Cache", seq=2 }, + authmethod = { type="multi", value={}, label="Authentication Methods", option={"negotiate", "ntlm", "digest", "basic"}, seq=3 }, } configcontent = configcontent or fs.read_file(squidconf) or "" -- cgit v1.2.3