[TYPO3-core] FYI: TYPO3 and IE7

Dmitry Dulepov dmitry at typo3.org
Fri Nov 3 16:15:20 CET 2006


Hi!

Michael Stucki wrote:
> IE7 seems to display clickmenu-items in the topframe. I couldn't test this
> since I have no IE7 here, but I trust Mads Brunn who provided the fix for
> me, that this is working.
> 
> When I wanted to commit it to Trunk, I just discovered that someone
> (Kasper?) already fixed it there (but why not in TYPO3_4-0?)

I would do it shorter

> -		} elseif (strstr($useragent,'MSIE 4') || strstr($useragent,'MSIE 5') || strstr($useragent,'MSIE 6'))	{
> +		} elseif (strstr($useragent,'MSIE 4') || strstr($useragent,'MSIE 5') || strstr($useragent,'MSIE 6') || strstr($useragent,'MSIE 7'))	{

something like
	elseif (preg_match('/MSIE [4567]/', $useragent)) {


-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-team-core mailing list