summaryrefslogtreecommitdiffstats
path: root/clamsmtp-details-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-04-10 05:42:50 +0000
committerTed Trask <ttrask01@yahoo.com>2014-04-10 05:42:50 +0000
commit361b9ba9b2f31b3fe5d61eecb932ba5aa26090e7 (patch)
tree35642cb4a970b82795e25d9c151547178059abdb /clamsmtp-details-html.lsp
parentba0177f3e6ebd0b59df128a7e76ded17dfcea70b (diff)
downloadacf-clamsmtp-361b9ba9b2f31b3fe5d61eecb932ba5aa26090e7.tar.bz2
acf-clamsmtp-361b9ba9b2f31b3fe5d61eecb932ba5aa26090e7.tar.xz
Changes to use new htmlviewfunctions functions
Diffstat (limited to 'clamsmtp-details-html.lsp')
-rw-r--r--clamsmtp-details-html.lsp7
1 files changed, 4 insertions, 3 deletions
diff --git a/clamsmtp-details-html.lsp b/clamsmtp-details-html.lsp
index 78db808..a8ffd7e 100644
--- a/clamsmtp-details-html.lsp
+++ b/clamsmtp-details-html.lsp
@@ -1,11 +1,12 @@
-<% local data, viewlibrary = ...
+<% local view, 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(view, page_info)
+htmlviewfunctions.displayitem(view)
+htmlviewfunctions.displaysectionend(header_level)
%>