summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-04-10 06:20:04 +0000
committerTed Trask <ttrask01@yahoo.com>2014-04-10 06:20:04 +0000
commit2eafc59461c3f182c67fdc1a400208e9c53f2a1d (patch)
tree13501cef99f432cb48a3b671e154e854f72705ce
parent9b843682eca1f121db3114ec21e9ab91633698bd (diff)
downloadacf-dovecot-2eafc59461c3f182c67fdc1a400208e9c53f2a1d.tar.bz2
acf-dovecot-2eafc59461c3f182c67fdc1a400208e9c53f2a1d.tar.xz
Changes to use new htmlviewfunctions functions
-rw-r--r--dovecot-details-html.lsp5
1 files changed, 3 insertions, 2 deletions
diff --git a/dovecot-details-html.lsp b/dovecot-details-html.lsp
index 78db808..13cb223 100644
--- a/dovecot-details-html.lsp
+++ b/dovecot-details-html.lsp
@@ -1,11 +1,12 @@
-<% 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>
<%
+local header_level = htmlviewfunctions.displaysectionstart(data, page_info)
htmlviewfunctions.displayitem(data)
+htmlviewfunctions.displaysectionend(header_level)
%>