diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-04-17 00:27:57 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-04-17 00:27:57 +0000 |
commit | a9168ab7089d89c965696c139d6dc27e653e775c (patch) | |
tree | 8dd3fe342c95278b4f2f90dc2f27e46869d2c0c9 /rrdtool-listgraphcfg-html.lsp | |
parent | 8214b8f27def51f43d72bc04271b16d1a7b2e0df (diff) | |
download | acf-rrdtool-master.tar.bz2 acf-rrdtool-master.tar.xz |
Diffstat (limited to 'rrdtool-listgraphcfg-html.lsp')
-rw-r--r-- | rrdtool-listgraphcfg-html.lsp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/rrdtool-listgraphcfg-html.lsp b/rrdtool-listgraphcfg-html.lsp index db6ef05..1b844d3 100644 --- a/rrdtool-listgraphcfg-html.lsp +++ b/rrdtool-listgraphcfg-html.lsp @@ -47,7 +47,7 @@ function javascript_confirm_graph(formID,filename) { } </script> -<h2><%= form.label %></h2> +<% local header_level = htmlviewfunctions.displaysectionstart(form, page_info) %> <form id="confirmDisplay" action="#" onsubmit="return false"></form> @@ -84,11 +84,4 @@ function javascript_confirm_graph(formID,filename) { </tr> <% end %> </tbody></table> - -<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("newfile") then - local newfileform = viewlibrary.dispatch_component("newfile", nil, true) %> -<h2>Create new Domain</h2> -<% - newfileform.action = page_info.script .. page_info.prefix .. page_info.controller .. "/newfile" - htmlviewfunctions.displayform(newfileform) -end %> +<% htmlviewfunctions.displaysectionend(header_level) %> |