Closed (fixed)
Project:
Nitobe
Version:
6.x-3.1
Component:
Code
Priority:
Critical
Category:
Bug report
Reporter:
Created:
3 Mar 2009 at 16:07 UTC
Updated:
18 Mar 2009 at 14:40 UTC
Jump to comment: Most recent
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
Comment #1
Anonymous (not verified) commentedACK! Thank you, thank you, thank you for catching this.
Comment #2
Anonymous (not verified) commentedI've posted this fix to 6.x-3.2
Thanks again for catching this.