From 4be6944266c0fc6e43e81ef01de17cc72641c1a5 Mon Sep 17 00:00:00 2001 From: "matty%chariot.net.au" <> Date: Tue, 4 Jun 2002 12:56:34 +0000 Subject: [PATCH] Bug #142890: Make the banner a separate template. --- template/en/default/global/banner.html.tmpl | 34 +++++++++++++++++++++ template/en/default/global/header.html.tmpl | 23 +++----------- 2 files changed, 39 insertions(+), 18 deletions(-) create mode 100644 template/en/default/global/banner.html.tmpl diff --git a/template/en/default/global/banner.html.tmpl b/template/en/default/global/banner.html.tmpl new file mode 100644 index 0000000000..2b23de30ce --- /dev/null +++ b/template/en/default/global/banner.html.tmpl @@ -0,0 +1,34 @@ + +[%# 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 + # Matthew Tuck + #%] + +[%# Migration note: this file corresponds to the old Param 'bannerhtml' %] + + + + + +
+
+ Bugzilla Version [% Param("version") %] +
+
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index a1e7266cf1..1a8ce33a8e 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -65,24 +65,11 @@ - - - - - - - -
- Bugzilla version [% Param("version") %] -
- -[%# End section %] +[%# Migration note: the following file corresponds to the old Param + # 'bannerhtml' + #%] + +[% INCLUDE global/banner.html.tmpl %] [% IF h1 || h2 %] -- 2.47.2