summaryrefslogtreecommitdiffstats
path: root/vlc-logfile-html.lsp
diff options
context:
space:
mode:
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))
--]]
%>