diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-04-10 05:42:50 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-04-10 05:42:50 +0000 |
commit | 361b9ba9b2f31b3fe5d61eecb932ba5aa26090e7 (patch) | |
tree | 35642cb4a970b82795e25d9c151547178059abdb | |
parent | ba0177f3e6ebd0b59df128a7e76ded17dfcea70b (diff) | |
download | acf-clamsmtp-361b9ba9b2f31b3fe5d61eecb932ba5aa26090e7.tar.bz2 acf-clamsmtp-361b9ba9b2f31b3fe5d61eecb932ba5aa26090e7.tar.xz |
Changes to use new htmlviewfunctions functions
-rw-r--r-- | clamsmtp-details-html.lsp | 7 |
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) %> |