[TYPO3-core] FYI: TYPO3 and IE7

Ingmar Schlecht ingmar at typo3.org
Sun Nov 5 01:07:52 CET 2006


Dmitry Dulepov wrote:
> 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)) {

Maybe for trunk, if it's well tested, but not for TYPO3_4-0.

cheers
Ingmar



More information about the TYPO3-team-core mailing list