summaryrefslogtreecommitdiffstats
path: root/freeswitch-listfiles-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2011-10-03 19:07:21 +0000
committerTed Trask <ttrask01@yahoo.com>2011-10-03 19:07:21 +0000
commit178ffd23c68e3afdd67186ac2b9c3d99e0ea8253 (patch)
tree57948bb694f7b07a24be69f60ed2f7405edf9ac9 /freeswitch-listfiles-html.lsp
parent435378557b71bc71a0e5caed5a8c335b28f98a00 (diff)
downloadacf-freeswitch-178ffd23c68e3afdd67186ac2b9c3d99e0ea8253.tar.bz2
acf-freeswitch-178ffd23c68e3afdd67186ac2b9c3d99e0ea8253.tar.xz
Added reloadxml function
Diffstat (limited to 'freeswitch-listfiles-html.lsp')
-rw-r--r--freeswitch-listfiles-html.lsp11
1 files changed, 10 insertions, 1 deletions
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 %>
+<H1>Reload XML</H1>
+<DL>
+ <DT>Reload XML</DT>
+ <DD><form action="<%= html.html_escape(page_info.script .. page_info.prefix) %>freeswitch/reloadxml" method="POST">
+ <input class="submit" type="submit" name="reloadxml" value="Reload"></form></DD>
+</DL>
+<% end %>