From e7d2b86c2765c3a8e853526683ceacdb260a7996 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 22 Jul 2005 12:13:36 +0000 Subject: =?UTF-8?q?Bug=20301507:=20Move=20PutHeader=20and=20PutFooter=20in?= =?UTF-8?q?to=20Template.pm=20-=20Patch=20by=20Fr=C3=A9d=C3=A9ric=20Buclin?= =?UTF-8?q?=20=20r/a=3Djustdave?= 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.1