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 /template/en/default/global | |
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 'template/en/default/global')
-rw-r--r-- | template/en/default/global/header.html.tmpl | 41 |
1 files changed, 31 insertions, 10 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index f77649ae3..3c79e22d1 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -16,7 +16,7 @@ # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # - # Contributor(s): + # Contributor(s): Gervase Markham <gerv@gerv.net> #%] [%# INTERFACE: @@ -31,22 +31,23 @@ #%] [% DEFAULT - title = "" h1 = title h2 = "" - extra = "" - jscript = "" - style = "" - message = "" %] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>[% title FILTER html %]</title> - [% Param('headerhtml') %] +[%# Migration note: contents of the old Param 'headerhtml' would go here %] + + [% header_html %] - [% jscript %] + [% IF javascript %] + <script type="text/javascript" language="JavaScript"> + [% javascript %] + </script> + [% END %] [% IF style %] <style type="text/css"> @@ -60,9 +61,29 @@ </head> - <body [% Param('bodyhtml') %][% " " %][% extra %]> +[%# Migration note: contents of the old Param 'bodyhtml' go in the body tag %] + + <body [% body_attributes %]> + +[%# Migration note: this section corresponds to the old Param 'bannerhtml' %] + + <table bgcolor="#000000" width="100%" border="0" cellpadding="0" + cellspacing="0"> + <tr> + <td> + <a href="http://www.mozilla.org/"> + <img src="http://www.mozilla.org/images/mozilla-banner.gif" alt="" + border="0" width="600" height="58"> + </a> + </td> + </tr> + </table> + + <center> + <small>Bugzilla version [% Param("version") %]</small> + </center> - [% PerformSubsts(Param('bannerhtml')) %] +[%# End section %] [% IF h1 || h2 %] <table border="0" cellspacing="0"> |