summaryrefslogtreecommitdiffstats
path: root/app/status-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-02-02 20:59:08 +0000
committerTed Trask <ttrask01@yahoo.com>2012-02-02 20:59:08 +0000
commitdf80810456f4a13d48eba24bfa1fa79b360c8426 (patch)
treea62390b08c245d5e615a9b074d73a8b15adf8d0a /app/status-html.lsp
parent27c777f203a409442ca184f3aa20e703b4784927 (diff)
downloadacf-core-df80810456f4a13d48eba24bfa1fa79b360c8426.tar.bz2
acf-core-df80810456f4a13d48eba24bfa1fa79b360c8426.tar.xz
Changed viewfunctions.lua to htmlviewfunctions.lua and made it an actual module
It should have been a module all along, but wasn't Unfortunately, this means changes to pretty much every view file
Diffstat (limited to 'app/status-html.lsp')
-rw-r--r--app/status-html.lsp12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/status-html.lsp b/app/status-html.lsp
index 5518c04..3b578a9 100644
--- a/app/status-html.lsp
+++ b/app/status-html.lsp
@@ -1,16 +1,16 @@
<% local data, viewlibrary, page_info, session = ...
-require("viewfunctions")
+require("htmlviewfunctions")
%>
-<% displaycommandresults({"install","edit"}, session) %>
-<% displaycommandresults({"startstop"}, session) %>
+<% htmlviewfunctions.displaycommandresults({"install","edit"}, session) %>
+<% htmlviewfunctions.displaycommandresults({"startstop"}, 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>
@@ -20,7 +20,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>