From 9c7c49f921f0a60fb4c50bf8d598967a481f1b25 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Fri, 25 Apr 2014 10:42:28 +0000 Subject: Minor cleanup of html views --- weblog-adhocquery-html.lsp | 2 +- weblog-listfiles-html.lsp | 2 +- weblog-viewweblog-html.lsp | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/weblog-adhocquery-html.lsp b/weblog-adhocquery-html.lsp index 0e381da..a433780 100644 --- a/weblog-adhocquery-html.lsp +++ b/weblog-adhocquery-html.lsp @@ -47,7 +47,7 @@ end <% for i,name in ipairs(form.value.names.value) do %> - <%= html.html_escape(name) %> + <%= html.html_escape(name) %> <% end %> diff --git a/weblog-listfiles-html.lsp b/weblog-listfiles-html.lsp index a5f28b8..8cc522c 100644 --- a/weblog-listfiles-html.lsp +++ b/weblog-listfiles-html.lsp @@ -54,7 +54,7 @@ end <% htmlviewfunctions.displayitem(cfe({type="link", value={filename=filename, redir=redir}, label="", option="Edit", action="editfile"}), page_info, -1) %> <%= html.html_escape(file.filename) %> - <%= convertsize(file.size) %>b<%= html.html_escape(file.size) %> + <%= convertsize(file.size) %>b<%= html.html_escape(file.size) %> <%= html.html_escape(file.mtime) %> <% end %> diff --git a/weblog-viewweblog-html.lsp b/weblog-viewweblog-html.lsp index 0310f46..050489e 100644 --- a/weblog-viewweblog-html.lsp +++ b/weblog-viewweblog-html.lsp @@ -190,9 +190,9 @@ end %> style="font-weight:bold;" <% end %> ><%= html.html_escape(watch.clientip) %> style="font-weight:bold;" <% end %> ><%= html.html_escape(watch.clientuserid) %> <%= html.html_escape(watch.bytes) %> - <%= html.html_escape(watch.badyesno) %><% if watch.badyesno ~= "0" then %><% end %> - <%= html.html_escape(watch.deniedyesno) %><% if watch.deniedyesno ~= "0" then %> <% end %> - <%= html.html_escape(watch.bypassyesno) %><% if watch.bypassyesno ~= "0" then %> <% end %> + <%= html.html_escape(watch.badyesno) %><% if watch.badyesno ~= "0" then %><% end %> + <%= html.html_escape(watch.deniedyesno) %><% if watch.deniedyesno ~= "0" then %> <% end %> + <%= html.html_escape(watch.bypassyesno) %><% if watch.bypassyesno ~= "0" then %> <% end %> <%= html.html_escape(watch.score) %> title="<%= html.html_escape(watch.reason) %>"<% end %>> <% if (watch.shortreason and watch.shortreason ~= "") then %> -- cgit v1.2.3