Bug #21476 ยป rtehtmlarea_bugfix_12486_trunk.patch
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':
|