summaryrefslogtreecommitdiffstats
path: root/editparams.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-07-22 14:13:36 +0200
committerlpsolit%gmail.com <>2005-07-22 14:13:36 +0200
commite7d2b86c2765c3a8e853526683ceacdb260a7996 (patch)
tree90fc70fd199e7bfc5ae5656ceadafbe6c8afe4d7 /editparams.cgi
parentd0303ab3ecb54eef2ed1b5e55839eada16748416 (diff)
downloadbugzilla-e7d2b86c2765c3a8e853526683ceacdb260a7996.tar.gz
bugzilla-e7d2b86c2765c3a8e853526683ceacdb260a7996.tar.xz
Bug 301507: Move PutHeader and PutFooter into Template.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
Diffstat (limited to 'editparams.cgi')
-rwxr-xr-xeditparams.cgi6
1 files changed, 4 insertions, 2 deletions
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 "<input type=submit value=\"Submit changes\">\n";
print "</form>\n";
print "<p><a href=query.cgi>Skip all this, and go back to the query page</a>\n";
-PutFooter();
+$template->put_footer();