From a9168ab7089d89c965696c139d6dc27e653e775c Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 17 Apr 2014 00:27:57 +0000 Subject: Started changes to use new htmlviewfunctions functions --- rrdtool-listgraphcfg-html.lsp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'rrdtool-listgraphcfg-html.lsp') 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) { } -

<%= form.label %>

+<% local header_level = htmlviewfunctions.displaysectionstart(form, page_info) %>
@@ -84,11 +84,4 @@ function javascript_confirm_graph(formID,filename) { <% end %> - -<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("newfile") then - local newfileform = viewlibrary.dispatch_component("newfile", nil, true) %> -

Create new Domain

-<% - newfileform.action = page_info.script .. page_info.prefix .. page_info.controller .. "/newfile" - htmlviewfunctions.displayform(newfileform) -end %> +<% htmlviewfunctions.displaysectionend(header_level) %> -- cgit v1.2.3