From 178ffd23c68e3afdd67186ac2b9c3d99e0ea8253 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 3 Oct 2011 19:07:21 +0000 Subject: Added reloadxml function --- freeswitch-listfiles-html.lsp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'freeswitch-listfiles-html.lsp') diff --git a/freeswitch-listfiles-html.lsp b/freeswitch-listfiles-html.lsp index e742961..ae47535 100644 --- a/freeswitch-listfiles-html.lsp +++ b/freeswitch-listfiles-html.lsp @@ -2,7 +2,7 @@ require("viewfunctions") %> -<% displaycommandresults({"editfile", "deletefile"}, session) %> +<% displaycommandresults({"editfile", "deletefile", "reloadxml"}, session) %> <% displaycommandresults({"createfile"}, session, true) %> <% if viewlibrary and viewlibrary.dispatch_component then @@ -42,3 +42,12 @@ end %> createform.action = page_info.script .. page_info.prefix .. page_info.controller .. "/createfile" displayform(createform) end %> + +<% if viewlibrary.check_permission("reloadxml") then %> +

Reload XML

+
+
Reload XML
+
+
+
+<% end %> -- cgit v1.2.3