summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authormatty%chariot.net.au <>2002-06-04 14:56:03 +0200
committermatty%chariot.net.au <>2002-06-04 14:56:03 +0200
commit94e374422292ac533d7844605305f473ebc0155c (patch)
tree05334410287f80df8617bfa343da82f66dfb4261 /template
parentb4c02643fcf1586496bafcdda50e8219dc3fa0df (diff)
downloadbugzilla-94e374422292ac533d7844605305f473ebc0155c.tar.gz
bugzilla-94e374422292ac533d7844605305f473ebc0155c.tar.xz
Bug #142890: Make the banner a separate template.
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/banner.html.tmpl34
-rw-r--r--template/en/default/global/header.html.tmpl23
2 files changed, 39 insertions, 18 deletions
diff --git a/template/en/default/global/banner.html.tmpl b/template/en/default/global/banner.html.tmpl
new file mode 100644
index 000000000..2b23de30c
--- /dev/null
+++ b/template/en/default/global/banner.html.tmpl
@@ -0,0 +1,34 @@
+<!-- 1.0@bugzilla.org -->
+[%# The contents of this file are subject to the Mozilla Public
+ # License Version 1.1 (the "License"); you may not use this file
+ # except in compliance with the License. You may obtain a copy of
+ # the License at http://www.mozilla.org/MPL/
+ #
+ # Software distributed under the License is distributed on an "AS
+ # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ # implied. See the License for the specific language governing
+ # rights and limitations under the License.
+ #
+ # The Original Code is the Bugzilla Bug Tracking System.
+ #
+ # The Initial Developer of the Original Code is Netscape Communications
+ # Corporation. Portions created by Netscape are
+ # Copyright (C) 1998 Netscape Communications Corporation. All
+ # Rights Reserved.
+ #
+ # Contributor(s): Gervase Markham <gerv@gerv.net>
+ # Matthew Tuck <matty@chariot.net.au>
+ #%]
+
+[%# Migration note: this file corresponds to the old Param 'bannerhtml' %]
+
+ <table bgcolor="#000000" width="100%" border="0" cellpadding="0"
+ cellspacing="0">
+ <tr>
+ <td>
+ <font color="#FFFFFF" size="8"><center>
+ Bugzilla Version [% Param("version") %]
+ </center></font>
+ </td>
+ </tr>
+ </table>
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index a1e7266cf..1a8ce33a8 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -65,24 +65,11 @@
<body [% "bgcolor=\"#FFFFFF\"" UNLESS body_attributes.search('(?:^|\s)bgcolor=') %] [%+ 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>
-
-[%# End section %]
+[%# Migration note: the following file corresponds to the old Param
+ # 'bannerhtml'
+ #%]
+
+[% INCLUDE global/banner.html.tmpl %]
[% IF h1 || h2 %]
<table border="0" cellspacing="0">