summaryrefslogtreecommitdiffstats
path: root/kamailio-status-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-04-18 01:26:11 +0000
committerTed Trask <ttrask01@yahoo.com>2012-04-18 01:26:11 +0000
commit49feb0b0d13aa92399f54fb48aef428d05527d15 (patch)
tree57c71c593528281c1ef9b798aa2bf03e59d8a860 /kamailio-status-html.lsp
parente19ee215667692e70cb4788dca4151e23aa73b96 (diff)
downloadacf-kamailio-49feb0b0d13aa92399f54fb48aef428d05527d15.tar.bz2
acf-kamailio-49feb0b0d13aa92399f54fb48aef428d05527d15.tar.xz
Started work on updating for acf-core-0.15
Removed controllerfunctions library (still needs more work and corresponding work in model) Updated startstop functionality and deleted view Updated for viewfunctions to htmlviewfunctions and modified require statements for acf libraries
Diffstat (limited to 'kamailio-status-html.lsp')
-rw-r--r--kamailio-status-html.lsp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kamailio-status-html.lsp b/kamailio-status-html.lsp
index 9a8bce3..538448e 100644
--- a/kamailio-status-html.lsp
+++ b/kamailio-status-html.lsp
@@ -1,17 +1,17 @@
<% local data, viewlibrary, page_info, session = ...
-require("viewfunctions")
+require("htmlviewfunctions")
%>
-<% displaycommandresults({"install","edit"}, session) %>
-<% displaycommandresults({"startstop"}, session) %>
-<% displaycommandresults({"reloadplan"}, session) %>
+<% htmlviewfunctions.displaycommandresults({"install","edit"}, session) %>
+<% htmlviewfunctions.displaycommandresults({"startstop"}, session) %>
+<% htmlviewfunctions.displaycommandresults({"reloadplan"}, session) %>
<H1>System Info</H1>
<DL>
<%
-displayitem(data.value.status)
+htmlviewfunctions.displayitem(data.value.status)
-displayitem(data.value.version)
+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>
@@ -21,7 +21,7 @@ if data.value.version and data.value.version.errtxt and viewlibrary.check_permis
<%
end
-displayitem(data.value.autostart)
+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>