diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-11-02 16:31:56 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-11-02 16:31:56 +0000 |
commit | cee5338e45ca922f3586516729fc59637d7991db (patch) | |
tree | 56a4e9955b0f671bd5d10df7de3652b4f5ed6bff | |
parent | b0d750205f83b296c85051f83a3617533283835a (diff) | |
download | acf-squid-cee5338e45ca922f3586516729fc59637d7991db.tar.bz2 acf-squid-cee5338e45ca922f3586516729fc59637d7991db.tar.xz |
Added status and startstop to listfiles view.
-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 %> |