summaryrefslogtreecommitdiffstats
path: root/weblog-viewactivitylog-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-04-17 00:55:44 +0000
committerTed Trask <ttrask01@yahoo.com>2014-04-17 00:55:44 +0000
commitfb7ce759c1045daf20e416547e6111f796030b60 (patch)
treefdc449de923b3e925d3f686e082d6454e519df10 /weblog-viewactivitylog-html.lsp
parentd77bf9609380d27301abeba31e467039517cb8d5 (diff)
downloadacf-weblog-fb7ce759c1045daf20e416547e6111f796030b60.tar.bz2
acf-weblog-fb7ce759c1045daf20e416547e6111f796030b60.tar.xz
Started changes to use new htmlviewfunctions functions
Still work to do to remove styling and long messy links
Diffstat (limited to 'weblog-viewactivitylog-html.lsp')
-rw-r--r--weblog-viewactivitylog-html.lsp8
1 files changed, 4 insertions, 4 deletions
diff --git a/weblog-viewactivitylog-html.lsp b/weblog-viewactivitylog-html.lsp
index f7fb0ba..f1a9171 100644
--- a/weblog-viewactivitylog-html.lsp
+++ b/weblog-viewactivitylog-html.lsp
@@ -22,7 +22,7 @@
<% local subdata, pagedata = htmlviewfunctions.paginate(data.value, page_info.clientdata, 100) %>
-<h1><%= html.html_escape(data.label) %></h1>
+<% local header_level = htmlviewfunctions.displaysectionstart(data, page_info) %>
<% htmlviewfunctions.displaypagination(pagedata, page_info) %>
<table id="activity" class="tablesorter"><thead>
<tr>
@@ -38,9 +38,9 @@
<% end %>
</tbody></table>
-<% if data.errtxt then %>
-<p class='error'><%= html.html_escape(data.errtxt) %></p>
-<% end %>
<% if #data.value == 0 then %>
<p>No history found</p>
<% end %>
+<% htmlviewfunctions.displayinfo(data) %>
+
+<% htmlviewfunctions.displaysectionend(header_level) %>