]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 483150: Fix Bugzilla JS/CSS for IE8
authormkanat%bugzilla.org <>
Tue, 28 Apr 2009 20:18:43 +0000 (20:18 +0000)
committermkanat%bugzilla.org <>
Tue, 28 Apr 2009 20:18:43 +0000 (20:18 +0000)
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=glob, a=mkanat

template/en/default/global/header.html.tmpl

index a25cf70dc1815a45d7ae0c489da10999fc7f3488..fea1ad036eda981e03891a47b666fefffb7d2357 100644 (file)
             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"
               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 %]"
                   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"
                        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"