summaryrefslogtreecommitdiffstats
path: root/kamailio-status-html.lsp
diff options
context:
space:
mode:
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>