summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/header.html.tmpl
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-07-18 07:30:28 +0200
committerGitHub <noreply@github.com>2017-07-18 07:30:28 +0200
commit9f8c3c4a307ec0d3397b40c83845aa78cb86908e (patch)
tree0236ce51d8a7cc896b43e7dc282310ae4c4f0e2a /template/en/default/global/header.html.tmpl
parentffcb4cd902f9babafa1634e43ebee8175d073099 (diff)
downloadbugzilla-9f8c3c4a307ec0d3397b40c83845aa78cb86908e.tar.gz
bugzilla-9f8c3c4a307ec0d3397b40c83845aa78cb86908e.tar.xz
Bug 1380064 - Remove references to Mozilla skin to prevent problems when default preferences are changed
Diffstat (limited to 'template/en/default/global/header.html.tmpl')
-rw-r--r--template/en/default/global/header.html.tmpl56
1 files changed, 2 insertions, 54 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index 107c69069..3b46b143a 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -238,7 +238,6 @@
<div id="header">
-[% IF user.settings.skin.value == 'Mozilla' || user.settings.skin.value == 'Mozilla-OpenSans' %]
<div class="wrapper">
<table border="0" cellspacing="0" cellpadding="0" id="titles">
<tr>
@@ -325,65 +324,14 @@
[% PROCESS "global/common-links.html.tmpl" qs_suffix = "_top" %]
</div>
-
-[% ELSE %]
-
-[% INCLUDE global/banner.html.tmpl %]
-
-<table border="0" cellspacing="0" cellpadding="0" id="titles">
-<tr>
- <td id="title">
- <p>[% terms.BugzillaTitle %]
- [% Hook.process("message") %]
- [% " &ndash; $header" IF header %]</p>
- </td>
-
- [% IF subheader %]
- <td id="subtitle">
- <p class="subheader">[% subheader %]</p>
- </td>
- [% END %]
-
- [% IF header_addl_info %]
- <td id="information">
- <p class="header_addl_info">[% header_addl_info %]</p>
- </td>
- [% END %]
-</tr>
-</table>
-
-<table id="lang_links_container" cellpadding="0" cellspacing="0"
- class="bz_default_hidden"><tr><td>
-[% IF Bugzilla.languages.size > 1 %]
- <ul class="links">
- [% FOREACH lang = Bugzilla.languages.sort %]
- <li>[% IF NOT loop.first %]<span class="separator"> | </span>[% END %]
- [% IF lang == current_language %]
- <span class="lang_current">[% lang FILTER html FILTER upper %]</span>
- [% ELSE %]
- <a href="#" onclick="set_language('[% lang FILTER none %]');">
- [%- lang FILTER html FILTER upper %]</a>
- [% END %]
- </li>
- [% END %]
- </ul>
-[% END %]
-</td></tr></table>
-
-[% PROCESS "global/common-links.html.tmpl" qs_suffix = "_top" %]
-
-[% END %]
-
</div> [%# header %]
<div id="bugzilla-body">
[%# in most cases the "header" variable provides redundant information, however
# there are exceptions where not displaying this text is problematic. %]
-[% IF (user.settings.skin.value == 'Mozilla' || user.settings.skin.value == 'Mozilla-OpenSans')
- && template.name.match('^attachment/')
- && !header.match('^Bug&nbsp;\d+$')
-%]
+[% IF template.name.match('^attachment/')
+ && !header.match('^Bug&nbsp;\d+$') %]
<h2>[% header FILTER none %]</h2>
[% END %]