]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug #142890: Make the banner a separate template.
authormatty%chariot.net.au <>
Tue, 4 Jun 2002 12:56:34 +0000 (12:56 +0000)
committermatty%chariot.net.au <>
Tue, 4 Jun 2002 12:56:34 +0000 (12:56 +0000)
template/en/default/global/banner.html.tmpl [new file with mode: 0644]
template/en/default/global/header.html.tmpl

diff --git a/template/en/default/global/banner.html.tmpl b/template/en/default/global/banner.html.tmpl
new file mode 100644 (file)
index 0000000..2b23de3
--- /dev/null
@@ -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>
index a1e7266cf11b1060a790e3eb548d469e45728931..1a8ce33a8e9ea2107fbabb2e32f3f21f27e0a208 100644 (file)
 
   <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">