diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-04-10 07:04:00 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-04-10 07:04:00 +0000 |
commit | f89b6d884af1ce1507fea24675b360cdf6e3a1c0 (patch) | |
tree | 902bee89a1c94a580f1adeaee8183c0256d16fe7 /iptables-filterrules-html.lsp | |
parent | 8483bc397f2e6adb2befa2153b8c375684bae441 (diff) | |
download | acf-iptables-f89b6d884af1ce1507fea24675b360cdf6e3a1c0.tar.bz2 acf-iptables-f89b6d884af1ce1507fea24675b360cdf6e3a1c0.tar.xz |
Changes to use new htmlviewfunctions functions
Diffstat (limited to 'iptables-filterrules-html.lsp')
-rw-r--r-- | iptables-filterrules-html.lsp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/iptables-filterrules-html.lsp b/iptables-filterrules-html.lsp index ce84799..2b89ece 100644 --- a/iptables-filterrules-html.lsp +++ b/iptables-filterrules-html.lsp @@ -4,7 +4,7 @@ <% htmlviewfunctions.displaycommandresults({"editchain", "deletechain", "createrule", "deleterule", "editrule", "createchain"}, session) %> -<h1><%= html.html_escape(data.label) %></h1> +<% local header_level = htmlviewfunctions.displaysectionstart(data, page_info) %> <table> <% local tab = data.value.table %> <% for j,chain in ipairs(data.value) do %> @@ -38,3 +38,4 @@ <% end %> <tr><td><a href="<%= html.html_escape(page_info.script..page_info.prefix..page_info.controller.."/createchain?table="..tab.."&redir="..page_info.orig_action) %>"><img src='<%= html.html_escape(page_info.wwwprefix..page_info.staticdir) %>/tango/16x16/actions/list-add.png' width='16' height='16' title="Create Chain"></a></td></tr> </table> +<% htmlviewfunctions.displaysectionend(header_level) %> |