diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-04-18 01:59:46 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-04-18 01:59:46 +0000 |
commit | 4f4f76cfc6b94576ea6726fdf8fa3ba55d3562f8 (patch) | |
tree | 78efab927b97e5cb0bb6b6ab9d71b9750bf2cf3f /tinydns-edit-html.lsp | |
parent | 5889c64ccb04e1a1027d6cc7a4e748d095725397 (diff) | |
download | acf-tinydns-4f4f76cfc6b94576ea6726fdf8fa3ba55d3562f8.tar.bz2 acf-tinydns-4f4f76cfc6b94576ea6726fdf8fa3ba55d3562f8.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 'tinydns-edit-html.lsp')
-rw-r--r-- | tinydns-edit-html.lsp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tinydns-edit-html.lsp b/tinydns-edit-html.lsp index 6d83da6..41f0cfe 100644 --- a/tinydns-edit-html.lsp +++ b/tinydns-edit-html.lsp @@ -1,5 +1,5 @@ <% local form, viewlibrary, page_info = ... %> -<% require("viewfunctions") %> +<% require("htmlviewfunctions") %> <% local domain = string.gsub(form.value.filename.value, "^.*/", "") %> <script type="text/javascript" src="<%= html.html_escape(page_info.wwwprefix) %>/js/jquery-latest.js"></script> @@ -191,9 +191,9 @@ <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> @@ -210,8 +210,8 @@ displayitem(form.value.mtime) <% if form.value.filecontent.errtxt then %><P CLASS='error'><%= string.gsub(html.html_escape(form.value.filecontent.errtxt), "\n", "<BR>") %></P><% end %> <% 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) %>"> <input type="hidden" name="filecontent" value="<%= html.html_escape(form.value.filecontent.value) %>"> <H2>Save and Apply Above Settings</H2> -<% displayformend(form) %> +<% htmlviewfunctions.displayformend(form) %> |