diff options
-rw-r--r-- | squid-listfiles-html.lsp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/squid-listfiles-html.lsp b/squid-listfiles-html.lsp index 1fbc41a..f9bae19 100644 --- a/squid-listfiles-html.lsp +++ b/squid-listfiles-html.lsp @@ -2,9 +2,13 @@ require("viewfunctions") %> -<% displaycommandresults({"editfile", "deletefile"}, session) %> +<% displaycommandresults({"editfile", "deletefile", "startstop"}, session) %> <% displaycommandresults({"createfile"}, session, true) %> +<% if viewlibrary and viewlibrary.dispatch_component then + viewlibrary.dispatch_component("status") +end %> + <H1>Files</H1> <DL> <TABLE> @@ -35,3 +39,7 @@ require("viewfunctions") createform.action = page_info.script .. page_info.prefix .. page_info.controller .. "/createfile" displayform(createform) end %> + +<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].startstop then + viewlibrary.dispatch_component("startstop") +end %> |