summaryrefslogtreecommitdiffstats
path: root/vlc-logfile-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-04-18 02:00:41 +0000
committerTed Trask <ttrask01@yahoo.com>2012-04-18 02:00:41 +0000
commitb46c65ad8698324e383b0c19c47a5c4a74e07409 (patch)
tree823e7c812d50840f574ac3838bdc49caabe43c7f /vlc-logfile-html.lsp
parent67a1b878bde17d9b3f1bdf56dca825f27c71e8d8 (diff)
downloadacf-vlc-daemon-b46c65ad8698324e383b0c19c47a5c4a74e07409.tar.bz2
acf-vlc-daemon-b46c65ad8698324e383b0c19c47a5c4a74e07409.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 'vlc-logfile-html.lsp')
-rw-r--r--vlc-logfile-html.lsp22
1 files changed, 11 insertions, 11 deletions
diff --git a/vlc-logfile-html.lsp b/vlc-logfile-html.lsp
index ab79f8a..7cc9795 100644
--- a/vlc-logfile-html.lsp
+++ b/vlc-logfile-html.lsp
@@ -1,15 +1,15 @@
<% local form, viewlibrary, page_info = ... %>
-<% require("viewfunctions") %>
+<% require("htmlviewfunctions") %>
<H1>Logfile</H1>
<H2>File Details</H2>
<DL>
<%
-displayitem(form.value.filename)
-displayitem(form.value.filesize)
-displayitem(form.value.mtime)
+htmlviewfunctions.displayitem(form.value.filename)
+htmlviewfunctions.displayitem(form.value.filesize)
+htmlviewfunctions.displayitem(form.value.mtime)
--if form.value.grep.value ~= "" then
--- displayitem(form.value.grep)
+-- htmlviewfunctions.displayitem(form.value.grep)
--end
%>
</DL>
@@ -19,7 +19,7 @@ displayitem(form.value.mtime)
<DL>
<% if form.type == "form" then %>
<% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action %>
-<% displayformstart(form) %>
+<% htmlviewfunctions.displayformstart(form) %>
<input type="hidden" name="filename" value="<%= html.html_escape(form.value.filename.value) %>">
<% end %>
<textarea name="filecontent">
@@ -29,7 +29,7 @@ displayitem(form.value.mtime)
<% if form.value.filecontent.descr then %><P CLASS='descr'><%= string.gsub(html.html_escape(form.value.filecontent.descr), "\n", "<BR>") %></P><% end %>
<% if form.type == "form" then %>
-<% displayformend(form) %>
+<% htmlviewfunctions.displayformend(form) %>
<% end %>
</form>
</DL>
@@ -39,12 +39,12 @@ displayitem(form.value.mtime)
print("<H2>Debug info for page '"..tostring(page_info.action).."'</H2>")
--form["value"]["filecontent"]["value"]=nil
print("<H3>form</H3>")
-print(cfe_unpack(form))
+print(htmlviewfunctions.cfe_unpack(form))
print("<H3>viewlibrary</H3>")
-print(cfe_unpack(viewlibrary))
+print(htmlviewfunctions.cfe_unpack(viewlibrary))
print("<H3>page_info</H3>")
-print(cfe_unpack(page_info))
+print(htmlviewfunctions.cfe_unpack(page_info))
print("<H3>session</H3>")
-print(cfe_unpack(session))
+print(htmlviewfunctions.cfe_unpack(session))
--]]
%>