Project

General

Profile

Bug #18395 ยป 0007787.patch

Administrator Admin, 2008-03-08 11:57

View differences:

t3lib/class.t3lib_matchcondition.php (Arbeitskopie)
/***************************************************************
* Copyright notice
*
* (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
* (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
......
// wap
$browser=substr($agent,0,4);
$wapviwer=substr(stristr($agent,'wap'),0,3);
if( $wapviwer=='wap' ||
$browser=='noki' ||
$browser== 'eric' ||
$browser== 'r380' ||
$browser== 'up.b' ||
$browser== 'winw' ||
$browser== 'wapa') {
return 'wap';
if($wapviwer == 'wap' || t3lib_div::inList('noki,eric,r380,up.b,winw,wapa', $browser)) {
return 'wap';
}
// grabber
if( strstr($agent, 'g.r.a.b.') ||
strstr($agent, 'del.icio.us-thumbnails') ||
strstr($agent, 'utilmind httpget') ||
strstr($agent, 'webcapture') ||
strstr($agent, 'teleport') ||
......
if( strstr($agent, 'crawler') ||
strstr($agent, 'spider') ||
strstr($agent, 'googlebot') ||
strstr($agent, 'slurp') ||
strstr($agent, 'msnbot') ||
strstr($agent, 'teoma') ||
strstr($agent, 'ia_archiver') ||
strstr($agent, 'searchbot') ||
strstr($agent, 'infoseek') ||
strstr($agent, 'altavista') ||
    (1-1/1)