diff options
-rw-r--r-- | postfix-listfiles-html.lsp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/postfix-listfiles-html.lsp b/postfix-listfiles-html.lsp index dfca40c..782b7bc 100644 --- a/postfix-listfiles-html.lsp +++ b/postfix-listfiles-html.lsp @@ -1,13 +1,6 @@ <% local data, viewlibrary, page_info, session = ... require("viewfunctions") %> -<% ---[[ DEBUG INFORMATION -io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>") -io.write(html.cfe_unpack(data)) -io.write("</span>") ---]] -%> <% displaycommandresults({"deletefile", "expert", "startstop", "rebuilddatabases"}, session) %> <% displaycommandresults({"createfile"}, session, true) %> @@ -46,7 +39,7 @@ end %> </form> </DL> -<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].createfile then +<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("createfile") then local newfileform = viewlibrary.dispatch_component("createfile", nil, true) %> <h2>Create new file</h2> <% |