From e7d2b86c2765c3a8e853526683ceacdb260a7996 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 22 Jul 2005 12:13:36 +0000 Subject: Bug 301507: Move PutHeader and PutFooter into Template.pm - Patch by Frédéric Buclin r/a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- editparams.cgi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'editparams.cgi') diff --git a/editparams.cgi b/editparams.cgi index 620ae6bae..668a13801 100755 --- a/editparams.cgi +++ b/editparams.cgi @@ -33,6 +33,8 @@ require "CGI.pl"; Bugzilla->login(LOGIN_REQUIRED); +my $template = Bugzilla->template; + print Bugzilla->cgi->header(); UserInGroup("tweakparams") @@ -40,7 +42,7 @@ UserInGroup("tweakparams") action => "modify", object => "parameters"}); -PutHeader("Edit parameters"); +$template->put_header("Edit parameters"); print "This lets you edit the basic operating parameters of bugzilla.\n"; print "Be careful!\n"; @@ -141,4 +143,4 @@ print "\n"; print "\n"; print "

Skip all this, and go back to the query page\n"; -PutFooter(); +$template->put_footer(); -- cgit v1.2.3-24-g4f1b