Bug #23417 ยป rtehtmlarea_bugfix_15516_trunk.patch
typo3/sysext/rtehtmlarea/class.tx_rtehtmlarea_base.php (copie de travail) | ||
---|---|---|
),
|
||
'webkit' => array (
|
||
1 => array (
|
||
'version' => 523
|
||
'version' => 523,
|
||
'system' => 'mac'
|
||
),
|
||
2 => array (
|
||
'version' => 523,
|
||
'system' => 'winNT'
|
||
),
|
||
3 => array (
|
||
'version' => 523,
|
||
'system' => 'linux'
|
||
),
|
||
4 => array (
|
||
'version' => 523,
|
||
'system' => 'win98'
|
||
),
|
||
5 => array (
|
||
'version' => 523,
|
||
'system' => 'win95'
|
||
)
|
||
),
|
||
'opera' => array (
|
||
... | ... | |
}
|
||
}
|
||
}
|
||
if ($browserInfo['system'] == 'mac') {
|
||
if (strstr($userAgent,'iPad')) {
|
||
$browserInfo['system'] = 'iPad';
|
||
} elseif (strstr($userAgent,'iPhone')) {
|
||
$browserInfo['system'] = 'iPhone';
|
||
} elseif (strstr($userAgent,'iPod')) {
|
||
$browserInfo['system'] = 'iPod';
|
||
}
|
||
}
|
||
return $browserInfo;
|
||
}
|
||
/***************************
|