Version 3.1.4

This commit is contained in:
Neo committed 2025-12-19 00:32:22 -08:00
1 parent 1d4720f3e2
commit ae5c01cc78
2563 files changed
+283048 -240689

No files matched your search

+94 -30
View File
@@ -1,20 +1,22 @@
<?php
/**
* Invision Power Services
* IP.Board v3.0.5
* User agent (browser and spider) mappings
* Last Updated: $Date: 2009-09-04 02:00:51 -0400 (Fri, 04 Sep 2009) $
*
* @author $Author: matt $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @link http://www.iinvisionpower.com
* @version $Rev: 5086 $
* @since 3.0.0
*
*/
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* User agent (browser and spider) mappings
* Last Updated: $Date: 2010-10-07 18:12:54 -0400 (Thu, 07 Oct 2010) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @link http://www.invisionpower.com
* @version $Rev: 6954 $
* @since 3.0.0
*
*/
if ( ! defined( 'IN_IPB' ) )
{
@@ -22,6 +24,75 @@ if ( ! defined( 'IN_IPB' ) )
exit();
}
//-----------------------------------------
// Mobile devices. These go first so they are matched
// http://en.wikipedia.org/wiki/List_of_user_agents_for_mobile_phones
//-----------------------------------------
$BROWSERS['blackberry'] = array(
'b_title' => "Blackberry",
'b_regex' => array( "blackberry(\d+?)/([0-9.]{1,10})" => "2" )
);
$BROWSERS['iphone'] = array(
'b_title' => "iPhone",
'b_regex' => array( "iphone;" => "0" )
);
$BROWSERS['ipodtouch'] = array(
'b_title' => "iPod Touch",
'b_regex' => array( "ipod;" => "0" )
);
$BROWSERS['sonyericsson'] = array(
'b_title' => "Sony Ericsson",
'b_regex' => array( "^SonyEricsson[A-Za-z0-9]" => "0" )
);
$BROWSERS['nokia'] = array(
'b_title' => "Nokia",
'b_regex' => array( "Nokia[A-Za-z0-9]" => "0" )
);
$BROWSERS['motorola'] = array(
'b_title' => "Motorola",
'b_regex' => array( "^mot-[A-Za-z0-9]" => "0" )
);
$BROWSERS['samsung'] = array(
'b_title' => "Samsung",
'b_regex' => array( "^samsung-[A-Za-z0-9]" => "0" )
);
$BROWSERS['siemens'] = array(
'b_title' => "Siemens (Openwave)",
'b_regex' => array( "^sie-[A-Za-z0-9]" => "0" )
);
$BROWSERS['htc'] = array(
'b_title' => "Nexus(Google)/Android/HTC",
'b_regex' => array( "(android |htc-|htc_)([A-Za-z0-9.]{1,10})" => "2" )
);
$BROWSERS['lg'] = array(
'b_title' => "LG",
'b_regex' => array( "^(lg|lge)-[A-Za-z0-9]" => "0" )
);
$BROWSERS['palm'] = array(
'b_title' => "Palm",
'b_regex' => array( "(palmsource/| pre/[0-9.]{1,10}|palm webos)" => "0" )
);
$BROWSERS['operamini'] = array(
'b_title' => "Opera Mini",
'b_regex' => array( "opera mini[ /]([0-9.]{1,10})" => "1" )
);
//-----------------------------------------
// Browsers
//-----------------------------------------
$BROWSERS['amaya'] = array(
'b_title' => "Amaya",
'b_regex' => array( "amaya/([0-9.]{1,10})" => "1" )
@@ -31,11 +102,6 @@ $BROWSERS['aol'] = array(
'b_title' => "AOL",
'b_regex' => array( "aol[ /\-]([0-9.]{1,10})" => "1" )
);
$BROWSERS['blackberry'] = array(
'b_title' => "Blackberry",
'b_regex' => array( "blackberry(\d+?)/([0-9.]{1,10})" => "2" )
);
$BROWSERS['camino'] = array(
'b_title' => "Camino",
@@ -93,15 +159,7 @@ $BROWSERS['safari'] = array(
'b_title' => "Safari",
'b_regex' => array( "version/([0-9.]{1,10})\s+?safari/([0-9.]{1,10})" => "1" )
);
$BROWSERS['iphone'] = array(
'b_title' => "iPhone",
'b_regex' => array( "iphone;" => "0" )
);
$BROWSERS['ipodtouch'] = array(
'b_title' => "iPod Touch",
'b_regex' => array( "ipod;" => "0" )
);
$BROWSERS['webtv'] = array(
'b_title' => "Webtv",
@@ -120,7 +178,7 @@ $BROWSERS['mozilla'] = array(
'b_title' => "Mozilla",
'b_regex' => array( "^mozilla/([5-9]\.[0-9a-z.]{1,10})" => "1" )
);
//-----------------------------------------
// SEARCH ENGINES
//-----------------------------------------
@@ -150,6 +208,12 @@ $ENGINES['google'] = array(
'b_title' => "Google",
'b_regex' => array( "Googl(e|ebot)(-Image)?/([0-9.]{1,10})" => "\\\\3","Googl(e|ebot)(-Image)?/" => "" )
);
$ENGINES['facebook'] = array(
'b_title' => "Facebook",
'b_regex' => array( "facebookexternalhit/([0-9.]{1,10})" => "\\\\1" )
);
$ENGINES['infoseek'] = array(
'b_title' => "Infoseek",
'b_regex' => array( "SideWinder[ /]?([0-9a-z.]{1,10})" => "1","Infoseek" => "" )