summaryrefslogtreecommitdiffstats
path: root/kamailio-status-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-06-20 15:19:24 +0000
committerTed Trask <ttrask01@yahoo.com>2012-06-20 15:19:24 +0000
commitb963f85bac515410282ae6ff2395785017bbfcd7 (patch)
tree89bdee7c66722c9a0d556e620236974862cffae0 /kamailio-status-html.lsp
parent47f495bc3d32b1c167f225d47bf6fb5619e47e67 (diff)
downloadacf-kamailio-b963f85bac515410282ae6ff2395785017bbfcd7.tar.bz2
acf-kamailio-b963f85bac515410282ae6ff2395785017bbfcd7.tar.xz
Removed reloadplan action because duplicates feature of startstop
Diffstat (limited to 'kamailio-status-html.lsp')
l---------[-rw-r--r--]kamailio-status-html.lsp47
1 files changed, 1 insertions, 46 deletions
diff --git a/kamailio-status-html.lsp b/kamailio-status-html.lsp
index 65f4a8b..b2f8480 100644..120000
--- a/kamailio-status-html.lsp
+++ b/kamailio-status-html.lsp
@@ -1,46 +1 @@
-<% local data, viewlibrary, page_info, session = ...
-require("htmlviewfunctions")
-%>
-
-<% htmlviewfunctions.displaycommandresults({"install","edit"}, session) %>
-<% htmlviewfunctions.displaycommandresults({"startstop"}, session) %>
-<% htmlviewfunctions.displaycommandresults({"reloadplan"}, session) %>
-
-<H1>System Info</H1>
-<DL>
-<%
-htmlviewfunctions.displayitem(data.value.status)
-
-htmlviewfunctions.displayitem(data.value.version)
-if data.value.version and data.value.version.errtxt and viewlibrary.check_permission("apk-tools/apk/install") then
-%>
- <DT>Install package</DT>
- <DD><form action="<%= html.html_escape(page_info.script .. "/apk-tools/apk/install") %>" method="POST">
- <input type='hidden' name='package' value='<%= html.html_escape(data.value.version.name) %>'>
- <input class='submit' type='submit' name='submit' value='Install'></form></DD>
-<%
-end
-
-htmlviewfunctions.displayitem(data.value.autostart)
-if not (data.value.version and data.value.version.errtxt) and data.value.autostart and data.value.autostart.errtxt and viewlibrary.check_permission("alpine-baselayout/rc/edit") then
-%>
- <DT>Enable autostart</DT>
- <DD><form action="<%= html.html_escape(page_info.script .. "/alpine-baselayout/rc/edit") %>" method="POST">
- <input type='hidden' name='servicename' value='<%= html.html_escape(data.value.autostart.name) %>'>
- <input type='hidden' name='redir' value='<%= html.html_escape(page_info.orig_action) %>'>
- <input class='submit' type='submit' value='Enable'></form></DD>
-<% end %>
-</DL>
-
-<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("startstop") then
- viewlibrary.dispatch_component("startstop")
-end %>
-
-<% if viewlibrary.check_permission("reloadplan") then %>
-<H1>Reload Dial Plan</H1>
-<DL>
- <DT>Reload dial plan into memory</DT>
- <DD><form action="<%= html.html_escape(page_info.script .. page_info.prefix) %>kamailio/reloadplan" method="POST">
- <input class="submit" type="submit" name="submit" value="Reload"></form></DD>
-</DL>
-<% end %>
+../status-html.lsp \ No newline at end of file