From 49feb0b0d13aa92399f54fb48aef428d05527d15 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 18 Apr 2012 01:26:11 +0000 Subject: 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 --- kamailio-status-html.lsp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kamailio-status-html.lsp') 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) %>

System Info

<% -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 %>
Install package
@@ -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 %>
Enable autostart
-- cgit v1.2.3