diff options
author | Ted Trask <ttrask01@yahoo.com> | 2011-09-08 19:00:43 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2011-09-08 19:00:43 +0000 |
commit | fc796543da9e9138dfc86348ddc6a1bbba65b799 (patch) | |
tree | 9eb951fbfa68db827602bdae1cc381e1288614b5 | |
parent | a7af358c183d180b480d2da34240437568a9b908 (diff) | |
download | acf-weblog-fc796543da9e9138dfc86348ddc6a1bbba65b799.tar.bz2 acf-weblog-fc796543da9e9138dfc86348ddc6a1bbba65b799.tar.xz |
Changed editfile view to a symlink
l---------[-rw-r--r--] | weblog-editfile-html.lsp | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/weblog-editfile-html.lsp b/weblog-editfile-html.lsp index 6b5a2f3..15b1930 100644..120000 --- a/weblog-editfile-html.lsp +++ b/weblog-editfile-html.lsp @@ -1,37 +1 @@ -<% local form, viewlibrary, page_info = ... %> -<% require("viewfunctions") %> - -<% if form.type == "form" then %> -<H1>Configuration</H1> -<H2>Expert Configuration</H2> -<% else %> -<H1>View File</H1> -<% end %> -<H3>File Details</H3> -<DL> -<% -displayitem(form.value.filename) -displayitem(form.value.filesize) -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) %> -<input type="hidden" name="filename" value="<%= html.html_escape(form.value.filename.value) %>"> -<% else %> -<DL> -<% end %> -<textarea name="filecontent"> -<%= html.html_escape(form.value.filecontent.value) %> -</textarea> -<% if form.value.filecontent.errtxt then %><P CLASS='error'><%= string.gsub(html.html_escape(form.value.filecontent.errtxt), "\n", "<BR>") %></P><% end %> -<% 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) %> -<% else %> -</DL> -<% end %> +../filedetails-html.lsp
\ No newline at end of file |