diff options
author | gerv%gerv.net <> | 2002-05-07 02:30:12 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2002-05-07 02:30:12 +0000 |
commit | 003d71db7ff0edb38b8fd964824cb8323dc68d54 (patch) | |
tree | 50974541a63006fc3d2f17da5cc42aa9bf2aa5e2 /CGI.pl | |
parent | 6428fbf3f1f3cf3a1fd9fd2062836366ae2f388c (diff) | |
download | bugs-003d71db7ff0edb38b8fd964824cb8323dc68d54.tar bugs-003d71db7ff0edb38b8fd964824cb8323dc68d54.tar.gz bugs-003d71db7ff0edb38b8fd964824cb8323dc68d54.tar.bz2 bugs-003d71db7ff0edb38b8fd964824cb8323dc68d54.tar.xz bugs-003d71db7ff0edb38b8fd964824cb8323dc68d54.zip |
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.pl | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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()); |