Unfortunately, I cannot force my customers to use Firefox;-)

I installed nitobe 3.1 today. IE displays

    <!--[if gte IE]><![endif]-->

on top left corner.

This is the code from nitobe 3.1 page.tpl.php

    <!--[if gte IE]>
      <link type="text/css" rel="stylesheet" media="screen" href="<?php print base_path() . path_to_theme(); ?>/fix-ie.css" />
      <?php if (defined('LANGUAGE_RTL') && $language->direction == LANGUAGE_RTL): ?>
        <style type="text/css" media="screen">@import "<?php print base_path() . path_to_theme(); ?>/fix-ie-rtl.css";</style>
      <?php endif; ?>
    <![endif]-->
    <!--[if lt IE 7]>
      <link type="text/css" rel="stylesheet" media="screen" href="<?php print base_path() . path_to_theme(); ?>/fix-ie6.css" />
      <?php if (defined('LANGUAGE_RTL') && $language->direction == LANGUAGE_RTL): ?>
        <style type="text/css" media="screen">@import "<?php print base_path() . path_to_theme(); ?>/fix-ie6-rtl.css";</style>
      <?php endif; ?>
    <![endif]-->

I assume it should be instead

    <!--[if gte IE 7]>
      <link type="text/css" rel="stylesheet" media="screen" href="<?php print base_path() . path_to_theme(); ?>/fix-ie.css" />
      <?php if (defined('LANGUAGE_RTL') && $language->direction == LANGUAGE_RTL): ?>
        <style type="text/css" media="screen">@import "<?php print base_path() . path_to_theme(); ?>/fix-ie-rtl.css";</style>
      <?php endif; ?>
    <![endif]-->
    <!--[if lt IE 7]>
      <link type="text/css" rel="stylesheet" media="screen" href="<?php print base_path() . path_to_theme(); ?>/fix-ie6.css" />
      <?php if (defined('LANGUAGE_RTL') && $language->direction == LANGUAGE_RTL): ?>
        <style type="text/css" media="screen">@import "<?php print base_path() . path_to_theme(); ?>/fix-ie6-rtl.css";</style>
      <?php endif; ?>
    <![endif]-->

Have fun!

Comments

Anonymous’s picture

Assigned: Unassigned »
Priority: Normal » Critical

ACK! Thank you, thank you, thank you for catching this.

Anonymous’s picture

Status: Needs review » Fixed

I've posted this fix to 6.x-3.2

Thanks again for catching this.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.