Bug #14278 ยป 0000298-class.t3lib_matchcondition.diff
TYPO3core/t3lib/class.t3lib_matchcondition.php 2004-09-17 19:40:31.000000000 +0200 | ||
---|---|---|
// browser
|
||
if (strstr($useragent,'MSIE')) {
|
||
$browserInfo['browser']='msie';
|
||
} elseif(strstr($useragent,'Konqueror')) {
|
||
$browserInfo['browser']='konqueror';
|
||
} elseif(strstr($useragent,'Opera')) {
|
||
$browserInfo['browser']='opera';
|
||
} elseif(strstr($useragent,'Lynx')) {
|
||
... | ... | |
break;
|
||
case 'avantgo':
|
||
$tmp = strstr($useragent,'AvantGo');
|
||
$browserInfo['version'] = $this->browserInfo_version(substr($tmp,5));
|
||
$browserInfo['version'] = $this->browserInfo_version(substr($tmp,7));
|
||
break;
|
||
case 'acrobat':
|
||
$tmp = strstr($useragent,'WebCapture');
|
||
$browserInfo['version'] = $this->browserInfo_version(substr($tmp,5));
|
||
$browserInfo['version'] = $this->browserInfo_version(substr($tmp,10));
|
||
break;
|
||
case 'ibrowse':
|
||
$tmp = strstr($useragent,'IBrowse/');
|
||
$browserInfo['version'] = $this->browserInfo_version(substr($tmp,5));
|
||
$browserInfo['version'] = $this->browserInfo_version(substr($tmp,8));
|
||
break;
|
||
case 'konqueror':
|
||
$tmp = strstr($useragent,'Konqueror/');
|
||
$browserInfo['version'] = $this->browserInfo_version(substr($tmp,10));
|
||
break;
|
||
}
|
||
// system
|