summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-05-07 04:30:12 +0200
committergerv%gerv.net <>2002-05-07 04:30:12 +0200
commit003d71db7ff0edb38b8fd964824cb8323dc68d54 (patch)
tree50974541a63006fc3d2f17da5cc42aa9bf2aa5e2 /CGI.pl
parent6428fbf3f1f3cf3a1fd9fd2062836366ae2f388c (diff)
downloadbugzilla-003d71db7ff0edb38b8fd964824cb8323dc68d54.tar.gz
bugzilla-003d71db7ff0edb38b8fd964824cb8323dc68d54.tar.xz
Bug 140993 - Pass javascript correctly into header; templatise the rest of the header-related parameters. Patch by gerv; r=bbaetz, caillon.
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl7
1 files changed, 3 insertions, 4 deletions
diff --git a/CGI.pl b/CGI.pl
index bcbb08d25..b62913d36 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -332,8 +332,8 @@ sub value_quote {
}
# Adds <link> elements for bug lists. These can be inserted into the header by
-# (ab)using the "jscript" parameter to PutHeader, which inserts an arbitrary
-# string into the header. This is currently used only in
+# using the "header_html" parameter to PutHeader, which inserts an arbitrary
+# string into the header. This function is currently used only in
# template/en/default/bug/edit.html.tmpl.
sub navigation_links($) {
my ($buglist) = @_;
@@ -849,8 +849,7 @@ Content-type: text/html
}
sub PutHeader {
- ($vars->{'title'}, $vars->{'h1'}, $vars->{'h2'},
- $vars->{'extra'}, $vars->{'jscript'}) = (@_);
+ ($vars->{'title'}, $vars->{'h1'}, $vars->{'h2'}) = (@_);
$::template->process("global/header.html.tmpl", $::vars)
|| ThrowTemplateError($::template->error());