From 003d71db7ff0edb38b8fd964824cb8323dc68d54 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Tue, 7 May 2002 02:30:12 +0000 Subject: Bug 140993 - Pass javascript correctly into header; templatise the rest of the header-related parameters. Patch by gerv; r=bbaetz, caillon. --- CGI.pl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'CGI.pl') 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 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()); -- cgit v1.2.3-24-g4f1b