Project

General

Profile

Bug #21476 ยป rtehtmlarea_bugfix_12486_trunk.patch

Administrator Admin, 2010-06-07 05:42

View differences:

typo3/sysext/rtehtmlarea/class.tx_rtehtmlarea_base.php (copie de travail)
$bInfo['BROWSER']= 'msie';
} elseif (strstr($useragent,'Gecko/')) {
$bInfo['BROWSER']='gecko';
} elseif (strstr($useragent,'Safari/')) {
} elseif (strstr($useragent,'WebKit/')) {
$bInfo['BROWSER']='safari';
} elseif (strstr($useragent,'Mozilla/4')) {
$bInfo['BROWSER']='net';
......
$bInfo['VERSION'] = doubleval(preg_replace('/^[^0-9]*/','',substr($tmp,4)));
break;
case 'safari':
$tmp = strstr($useragent,'Safari/');
$tmp = strstr($useragent,'WebKit/');
$bInfo['VERSION'] = doubleval(preg_replace('/^[^0-9]*/','',substr($tmp,3)));
break;
case 'opera':
    (1-1/1)