summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authormyk%mozilla.org <>2005-02-17 04:31:44 +0100
committermyk%mozilla.org <>2005-02-17 04:31:44 +0100
commitccbdbf2058bd2cf6374d51256b0f20f94ff8d77c (patch)
tree39c27859d408dc34341740be070ebcd3c153be56 /template
parentacbf58332f37936e20e7ff10a0cc3f450a736a00 (diff)
downloadbugzilla-ccbdbf2058bd2cf6374d51256b0f20f94ff8d77c.tar.gz
bugzilla-ccbdbf2058bd2cf6374d51256b0f20f94ff8d77c.tar.xz
Fix for bug 278125: converts Bugzilla header to structural HTML and stylistic CSS; Patch by Svetlana Harisova; r,a=myk
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/header.html.tmpl39
1 files changed, 16 insertions, 23 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index ee97e00eb..ac51f1c0b 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -18,6 +18,8 @@
#
# Contributor(s): Gervase Markham <gerv@gerv.net>
# Vaskin Kissoyan <vkissoyan@yahoo.com>
+ # Vitaly Harisov <vitaly@rathedg.com>
+ # Svetlana Harisova <light@rathedg.com>
#%]
[%# INTERFACE:
@@ -114,29 +116,20 @@
[% INCLUDE global/banner.html.tmpl %]
-[% IF h1 || h2 %]
- <table border="0" cellspacing="0" width="100%">
- <tr>
- <td valign="top" align="left">
- <table border="0" cellpadding="0" cellspacing="2">
- <tr>
- <td valign="top" align="left" nowrap="nowrap">
- <font size="+1"><b>[% h1 %]</b></font>
- </td>
- </tr>
- </table>
- </td>
- <td valign="middle" align="left">&nbsp;</td>
- <td valign="middle" align="left">[% h2 %]</td>
- [% IF h3 %]
- <td valign="middle" align="right">[% h3 %]</td>
- [% END %]
- </tr>
- </table>
-[% END %]
+<div id="header">
+ [% IF h1 %]
+ <h1>[% h1 %]</h1>
+ [% END %]
+
+ [% IF h2 %]
+ <h2>[% h2 %]</h2>
+ [% END %]
+
+ [% IF h3 %]
+ <h3>[% h3 %]</h3>
+ [% END %]
+</div>
[% IF message %]
- <table width="100%" cellspacing="0" cellpadding="5" border="1"><tr><td>
- <font color="green">[% message %]</font>
- </td></tr></table>
+<div id="message">[% message %]</div>
[% END %]