diff options
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) %> |