From 85879d3866b136ab26bd7be8e2b78d9a671b24d7 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 30 Mar 2011 14:38:50 +0000 Subject: Modified for acf-core-0.13.0 --- squid-config-html.lsp | 6 ------ squid-listfiles-html.lsp | 6 +----- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/squid-config-html.lsp b/squid-config-html.lsp index 3f2c786..750718b 100644 --- a/squid-config-html.lsp +++ b/squid-config-html.lsp @@ -2,8 +2,6 @@ require("viewfunctions") %> -<% displaycommandresults({"startstop"}, session) %> - <% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("status") end %> @@ -14,7 +12,3 @@ end %> local order = {"httpports", "accesslog", "diskcache", "authmethod"} displayform(form, order) %> - -<% if viewlibrary and viewlibrary.dispatch_component then - viewlibrary.dispatch_component("startstop") -end %> diff --git a/squid-listfiles-html.lsp b/squid-listfiles-html.lsp index c28f60d..aff271b 100644 --- a/squid-listfiles-html.lsp +++ b/squid-listfiles-html.lsp @@ -2,7 +2,7 @@ require("viewfunctions") %> -<% displaycommandresults({"editfile", "deletefile", "startstop"}, session) %> +<% displaycommandresults({"editfile", "deletefile"}, session) %> <% displaycommandresults({"createfile"}, session, true) %> <% if viewlibrary and viewlibrary.dispatch_component then @@ -39,7 +39,3 @@ end %> createform.action = page_info.script .. page_info.prefix .. page_info.controller .. "/createfile" displayform(createform) end %> - -<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("startstop") then - viewlibrary.dispatch_component("startstop") -end %> -- cgit v1.2.3