diff options
-rw-r--r-- | squid-config-html.lsp | 6 | ||||
-rw-r--r-- | squid-listfiles-html.lsp | 6 |
2 files changed, 1 insertions, 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 %> |