From e51d542c0648d3b0b7fb06b214edb3bda786cab7 Mon Sep 17 00:00:00 2001 From: Zach LeBar Date: Sat, 23 Feb 1980 04:31:51 +0000 Subject: Cleaning and refining the HTML. --- app/filedetails-html.lsp | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) (limited to 'app/filedetails-html.lsp') diff --git a/app/filedetails-html.lsp b/app/filedetails-html.lsp index 101861d..dff6eee 100644 --- a/app/filedetails-html.lsp +++ b/app/filedetails-html.lsp @@ -2,36 +2,37 @@ <% require("htmlviewfunctions") %> <% if form.type == "form" then %> -

Configuration

-

Expert Configuration

+

Configuration

+

Expert Configuration

<% else %> -

View File

+

View File

<% end %> -

File Details

-
+ +

File Details

<% htmlviewfunctions.displayitem(form.value.filename) htmlviewfunctions.displayitem(form.value.filesize) htmlviewfunctions.displayitem(form.value.mtime) %> -
-

File Content

+

File Content

<% if form.type == "form" then %> -<% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action %> -<% htmlviewfunctions.displayformstart(form) %> - -<% else %> -
+ <% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action %> + <% htmlviewfunctions.displayformstart(form) %> + <% end %> + -<% if form.value.filecontent.errtxt then %>

<%= string.gsub(html.html_escape(form.value.filecontent.errtxt), "\n", "
") %>

<% end %> -<% if form.value.filecontent.descr then %>

<%= string.gsub(html.html_escape(form.value.filecontent.descr), "\n", "
") %>

<% end %> + +<% if form.value.filecontent.errtxt then %> +

<%= string.gsub(html.html_escape(form.value.filecontent.errtxt), "\n", "
") %>

+<% end %> +<% if form.value.filecontent.descr then %> +

<%= string.gsub(html.html_escape(form.value.filecontent.descr), "\n", "
") %>

+<% end %> <% if form.type == "form" then %> -<% htmlviewfunctions.displayformend(form) %> -<% else %> -
+ <% htmlviewfunctions.displayformend(form) %> <% end %> -- cgit v1.2.3