summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-04-28 22:18:08 +0200
committermkanat%bugzilla.org <>2009-04-28 22:18:08 +0200
commit1759f3e709ad0e57163969ccc725c5ad99dacc3f (patch)
treeec2a03b01399007fe4d6df7f211c52d63fcf0683 /template
parent41eac19cb25da6cd77e2c43f3c24f9b7884d7935 (diff)
downloadbugzilla-1759f3e709ad0e57163969ccc725c5ad99dacc3f.tar.gz
bugzilla-1759f3e709ad0e57163969ccc725c5ad99dacc3f.tar.xz
Bug 483150: Fix Bugzilla JS/CSS for IE8
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=glob, a=mkanat
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/header.html.tmpl26
1 files changed, 14 insertions, 12 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index 5f3ed44d8..3116f0019 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -91,9 +91,10 @@
rel="stylesheet"
type="text/css">
[% END %]
- <!--[if IE]>
+ <!--[if lte IE 7]>
[%# Internet Explorer treats [if IE] HTML comments as uncommented.
- # Use it to import CSS fixes so that Bugzilla looks decent on IE, too.
+ # Use it to import CSS fixes so that Bugzilla looks decent on IE 7
+ # and below.
#%]
<link href="skins/standard/IE-fixes.css"
rel="stylesheet"
@@ -110,11 +111,11 @@
title="[% setting_descs.standard FILTER html %]"
type="text/css">
[% END %]
- <!--[if IE]>
- [%# Internet Explorer treats [if IE] HTML comments as uncommented.
- # Use it to import CSS fixes so that Bugzilla looks decent on IE,
- # too.
- #%]
+ <!--[if lte IE 7]>
+ [%# Internet Explorer treats [if IE] HTML comments as uncommented.
+ # Use it to import CSS fixes so that Bugzilla looks decent on IE 7
+ # and below.
+ #%]
<link href="skins/standard/IE-fixes.css"
rel="[% 'alternate ' IF user_skin %]stylesheet"
title="[% setting_descs.standard FILTER html %]"
@@ -148,10 +149,10 @@
type="text/css">
[% END %]
[% END %]
- <!--[if IE]>
+ <!--[if lte IE 7]>
[%# Internet Explorer treats [if IE] HTML comments as uncommented.
- # Use it to import CSS fixes so that Bugzilla looks decent on IE,
- # too.
+ # Use it to import CSS fixes so that Bugzilla looks decent on IE 7
+ # and below.
#%]
<link href="skins/contrib/[% contrib_skin FILTER html %]/IE-fixes.css"
rel="[% 'alternate ' UNLESS contrib_skin == user_skin %]stylesheet"
@@ -179,9 +180,10 @@
FILTER html %]" rel="stylesheet" type="text/css">
[% END %]
[% END %]
- <!--[if IE]>
+ <!--[if lte IE 7]>
[%# Internet Explorer treats [if IE] HTML comments as uncommented.
- # Use it to import CSS fixes so that Bugzilla looks decent on IE, too.
+ # Use it to import CSS fixes so that Bugzilla looks decent on IE 7
+ # and below.
#%]
<link href="skins/custom/IE-fixes.css"
rel="stylesheet"