summaryrefslogtreecommitdiffstats
path: root/postgresql-details-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-04-13 22:28:28 +0000
committerTed Trask <ttrask01@yahoo.com>2014-04-13 22:28:28 +0000
commit018c7d1a0cef09a7558a7ee8970ab67c9dfc7cb8 (patch)
tree7e2a54b784c0286751ca7f8bdaf2751f921d785c /postgresql-details-html.lsp
parentcb12a51c84b10711f17dc86ccd1829f902357f96 (diff)
downloadacf-postgresql-018c7d1a0cef09a7558a7ee8970ab67c9dfc7cb8.tar.bz2
acf-postgresql-018c7d1a0cef09a7558a7ee8970ab67c9dfc7cb8.tar.xz
Changes to use new htmlviewfunctions functions
Diffstat (limited to 'postgresql-details-html.lsp')
-rw-r--r--postgresql-details-html.lsp9
1 files changed, 4 insertions, 5 deletions
diff --git a/postgresql-details-html.lsp b/postgresql-details-html.lsp
index 78db808..831e9f3 100644
--- a/postgresql-details-html.lsp
+++ b/postgresql-details-html.lsp
@@ -1,11 +1,10 @@
-<% local data, viewlibrary = ...
+<% local data, viewlibrary, page_info, session = ...
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
<% viewlibrary.dispatch_component("status") %>
-<h2><%= html.html_escape(data.label) %></h2>
-<%
-htmlviewfunctions.displayitem(data)
-%>
+<% local header_level = htmlviewfunctions.displaysectionstart(data, page_info) %>
+<% htmlviewfunctions.displayitem(data) %>
+<% htmlviewfunctions.displaysectionend(header_level) %>