diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-02-02 20:59:08 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-02-02 20:59:08 +0000 |
commit | df80810456f4a13d48eba24bfa1fa79b360c8426 (patch) | |
tree | a62390b08c245d5e615a9b074d73a8b15adf8d0a /app/filedetails-html.lsp | |
parent | 27c777f203a409442ca184f3aa20e703b4784927 (diff) | |
download | acf-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/filedetails-html.lsp')
-rw-r--r-- | app/filedetails-html.lsp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/filedetails-html.lsp b/app/filedetails-html.lsp index 6b5a2f3..101861d 100644 --- a/app/filedetails-html.lsp +++ b/app/filedetails-html.lsp @@ -1,5 +1,5 @@ <% local form, viewlibrary, page_info = ... %> -<% require("viewfunctions") %> +<% require("htmlviewfunctions") %> <% if form.type == "form" then %> <H1>Configuration</H1> @@ -10,16 +10,16 @@ <H3>File Details</H3> <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) %> </DL> <H3>File Content</H3> <% 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) %>"> <% else %> <DL> @@ -31,7 +31,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) %> <% else %> </DL> <% end %> |