diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-04-10 10:30:40 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-04-10 10:30:40 +0000 |
commit | c288f079fd72e9c009dbd1e501aa9c599b21b255 (patch) | |
tree | c6bc3cad657a730aa3f2d36007108b6a02c97cba | |
parent | fd6f77010b0a90402b9b8f594a46be603ada4a41 (diff) | |
download | acf-mdadm-c288f079fd72e9c009dbd1e501aa9c599b21b255.tar.bz2 acf-mdadm-c288f079fd72e9c009dbd1e501aa9c599b21b255.tar.xz |
Changes to use new htmlviewfunctions functions
-rw-r--r-- | mdadm-details-html.lsp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mdadm-details-html.lsp b/mdadm-details-html.lsp index 78db808..831e9f3 100644 --- a/mdadm-details-html.lsp +++ b/mdadm-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) %> |