summaryrefslogtreecommitdiffstats
path: root/interfaces-read-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-03-17 16:21:02 +0000
committerTed Trask <ttrask01@yahoo.com>2014-03-17 16:21:02 +0000
commitfac49f7ab11ad399ac380459ef183f92478b03b4 (patch)
tree1758ecdfcdd7f06c793933683a4981e39b21548f /interfaces-read-html.lsp
parentbadb1b3f5477611441c2c3e91ae9eb9263120bae (diff)
downloadacf-alpine-baselayout-fac49f7ab11ad399ac380459ef183f92478b03b4.tar.bz2
acf-alpine-baselayout-fac49f7ab11ad399ac380459ef183f92478b03b4.tar.xz
Change htmlviewfunctions.displayheader to .displaysectionstart and added .displaysectionend function
Diffstat (limited to 'interfaces-read-html.lsp')
-rw-r--r--interfaces-read-html.lsp3
1 files changed, 2 insertions, 1 deletions
diff --git a/interfaces-read-html.lsp b/interfaces-read-html.lsp
index a9150e6..e3e60d2 100644
--- a/interfaces-read-html.lsp
+++ b/interfaces-read-html.lsp
@@ -20,7 +20,7 @@ html = require("acf.html")
end %>
<% local redir = cfe({type="hidden", value=page_info.orig_action}) %>
-<% htmlviewfunctions.displayheader(view, page_info) %>
+<% local header_level = htmlviewfunctions.displaysectionstart(view, page_info) %>
<% for i,entry in ipairs(view.value) do
local interface = entry.value
htmlviewfunctions.displayitemstart()
@@ -58,6 +58,7 @@ end %>
</table>
<% htmlviewfunctions.displayitemend() %>
<% end %>
+<% htmlviewfunctions.displaysectionend(header_level) %>
<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("restart")