| [ Index ] | PHP Cross Reference of Mambo 4.6.5 |
|
| [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @package Mambo 4 * @author Mambo Foundation Inc see README.php 5 * @copyright (C) 2000 - 2009 Mambo Foundation Inc. 6 * See COPYRIGHT.php for copyright notices and details. 7 * @license GNU/GPL Version 2, see LICENSE.php 8 * 9 * Redistributions of files must retain the above copyright notice. 10 * 11 * Mambo is free software; you can redistribute it and/or 12 * modify it under the terms of the GNU General Public License 13 * as published by the Free Software Foundation; version 2 of the License. 14 */ 15 16 /** ensure this file is being included by a parent file */ 17 defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); 18 19 /** 20 * AWSTATS BROWSERS DATABASE 21 * If you want to add a Browser to extend AWStats database detection capabilities, 22 * you must add an entry in BrowsersSearchIDOrder and in BrowsersHashIDLib. 23 * 24 * 25 * BrowsersSearchIDOrder 26 * This list is used to know in which order to search Browsers IDs (Most 27 * frequent one are first in this list to increase detect speed). 28 * It contains all matching criteria to search for in log fields. 29 * Note: Browsers IDs are in lower case and ' ' and '+' are changed into '_' 30 */ 31 32 $browserSearchOrder = array ( 33 // Most frequent standard web browsers are first in this list 34 "icab", 35 "go!zilla", 36 "konqueror", 37 "links", 38 "lynx", 39 "omniweb", 40 "opera", 41 "msie 6\.0", 42 "apachebench", 43 "wget", 44 // Other standard web browsers 45 "22acidownload", 46 "aol\\-iweng", 47 "amaya", 48 "amigavoyager", 49 "aweb", 50 "bpftp", 51 "chimera", 52 "cyberdog", 53 "dillo", 54 "dreamcast", 55 "downloadagent", 56 "ecatch", 57 "emailsiphon", 58 "encompass", 59 "friendlyspider", 60 "fresco", 61 "galeon", 62 "getright", 63 "headdump", 64 "hotjava", 65 "ibrowse", 66 "intergo", 67 "k-meleon", 68 "linemodebrowser", 69 "lotus-notes", 70 "macweb", 71 "multizilla", 72 "ncsa_mosaic", 73 "netpositive", 74 "nutscrape", 75 "msfrontpageexpress", 76 "phoenix", 77 "firebird", 78 "firefox", 79 "safari", 80 "tzgeturl", 81 "viking", 82 "webfetcher", 83 "webexplorer", 84 "webmirror", 85 "webvcr", 86 // Site grabbers 87 "teleport", 88 "webcapture", 89 "webcopier", 90 // Music only browsers 91 "real", 92 "winamp", // Works for winampmpeg and winamp3httprdr 93 "windows-media-player", 94 "audion", 95 "freeamp", 96 "itunes", 97 "jetaudio", 98 "mint_audio", 99 "mpg123", 100 "nsplayer", 101 "sonique", 102 "uplayer", 103 "xmms", 104 "xaudio", 105 // PDA/Phonecell browsers 106 "alcatel", // Alcatel 107 "mot-", // Motorola 108 "nokia", // Nokia 109 "panasonic", // Panasonic 110 "philips", // Philips 111 "sonyericsson", // SonyEricsson 112 "ericsson", // Ericsson (must be after sonyericsson 113 "mmef", 114 "mspie", 115 "wapalizer", 116 "wapsilon", 117 "webcollage", 118 "up\.", // Works for UP.Browser and UP.Link 119 // PDA/Phonecell I-Mode browsers 120 "docomo", 121 "portalmmm", 122 // Others (TV) 123 "webtv", 124 // Other kind of browsers 125 "csscheck", 126 "w3m", 127 "w3c_css_validator", 128 "w3c_validator", 129 "wdg_validator", 130 "webzip", 131 "staroffice", 132 "mozilla", // Must be at end because a lot of browsers contains mozilla in string 133 "libwww" // Must be at end because some browser have both "browser id" and "libwww" 134 ); 135 136 $browsersAlias = array ( 137 // Common web browsers text (IE and Netscape must not be in this list) 138 "icab"=>"iCab", 139 "go!zilla"=>"Go!Zilla", 140 "konqueror"=>"Konqueror", 141 "links"=>"Links", 142 "lynx"=>"Lynx", 143 "omniweb"=>"OmniWeb", 144 "opera"=>"Opera", 145 "msie 6\.0"=>"Microsoft Internet Explorer 6.0", 146 "apachebench"=>"ApacheBench", 147 "wget"=>"Wget", 148 "22acidownload"=>"22AciDownload", 149 "aol\\-iweng"=>"AOL-Iweng", 150 "amaya"=>"Amaya", 151 "amigavoyager"=>"AmigaVoyager", 152 "aweb"=>"AWeb", 153 "bpftp"=>"BPFTP", 154 "chimera"=>"Chimera", 155 "cyberdog"=>"Cyberdog", 156 "dillo"=>"Dillo", 157 "dreamcast"=>"Dreamcast", 158 "downloadagent"=>"DownloadAgent", 159 "ecatch", "eCatch", 160 "emailsiphon"=>"EmailSiphon", 161 "encompass"=>"Encompass", 162 "friendlyspider"=>"FriendlySpider", 163 "fresco"=>"ANT Fresco", 164 "galeon"=>"Galeon", 165 "getright"=>"GetRight", 166 "headdump"=>"HeadDump", 167 "hotjava"=>"Sun HotJava", 168 "ibrowse"=>"IBrowse", 169 "intergo"=>"InterGO", 170 "k-meleon"=>"K-Meleon", 171 "linemodebrowser"=>"W3C Line Mode Browser", 172 "lotus-notes"=>"Lotus Notes web client", 173 "macweb"=>"MacWeb", 174 "multizilla"=>"MultiZilla", 175 "ncsa_mosaic"=>"NCSA Mosaic", 176 "netpositive"=>"NetPositive", 177 "nutscrape", "Nutscrape", 178 "msfrontpageexpress"=>"MS FrontPage Express", 179 "phoenix"=>"Phoenix", 180 "firebird"=>"Mozilla Firebird", 181 "firefox"=>"Mozilla Firefox", 182 "safari"=>"Safari", 183 "tzgeturl"=>"TzGetURL", 184 "viking"=>"Viking", 185 "webfetcher"=>"WebFetcher", 186 "webexplorer"=>"IBM-WebExplorer", 187 "webmirror"=>"WebMirror", 188 "webvcr"=>"WebVCR", 189 // Site grabbers 190 "teleport"=>"TelePort Pro", 191 "webcapture"=>"Acrobat", 192 "webcopier", "WebCopier", 193 // Music only browsers 194 "real"=>"RealAudio or compatible (media player)", 195 "winamp"=>"WinAmp (media player)", // Works for winampmpeg and winamp3httprdr 196 "windows-media-player"=>"Windows Media Player (media player)", 197 "audion"=>"Audion (media player)", 198 "freeamp"=>"FreeAmp (media player)", 199 "itunes"=>"Apple iTunes (media player)", 200 "jetaudio"=>"JetAudio (media player)", 201 "mint_audio"=>"Mint Audio (media player)", 202 "mpg123"=>"mpg123 (media player)", 203 "nsplayer"=>"NetShow Player (media player)", 204 "sonique"=>"Sonique (media player)", 205 "uplayer"=>"Ultra Player (media player)", 206 "xmms"=>"XMMS (media player)", 207 "xaudio"=>"Some XAudio Engine based MPEG player (media player)", 208 // PDA/Phonecell browsers 209 "alcatel"=>"Alcatel Browser (PDA/Phone browser)", 210 "ericsson"=>"Ericsson Browser (PDA/Phone browser)", 211 "mot-"=>"Motorola Browser (PDA/Phone browser)", 212 "nokia"=>"Nokia Browser (PDA/Phone browser)", 213 "panasonic"=>"Panasonic Browser (PDA/Phone browser)", 214 "philips"=>"Philips Browser (PDA/Phone browser)", 215 "sonyericsson"=>"Sony/Ericsson Browser (PDA/Phone browser)", 216 "mmef"=>"Microsoft Mobile Explorer (PDA/Phone browser)", 217 "mspie"=>"MS Pocket Internet Explorer (PDA/Phone browser)", 218 "wapalizer"=>"WAPalizer (PDA/Phone browser)", 219 "wapsilon"=>"WAPsilon (PDA/Phone browser)", 220 "webcollage"=>"WebCollage (PDA/Phone browser)", 221 "up\."=>"UP.Browser (PDA/Phone browser)", // Works for UP.Browser and UP.Link 222 // PDA/Phonecell I-Mode browsers 223 "docomo"=>"I-Mode phone (PDA/Phone browser)", 224 "portalmmm"=>"I-Mode phone (PDA/Phone browser)", 225 // Others (TV) 226 "webtv"=>"WebTV browser", 227 // Other kind of browsers 228 "csscheck"=>"WDG CSS Validator", 229 "w3m"=>"w3m", 230 "w3c_css_validator"=>"W3C CSS Validator", 231 "w3c_validator"=>"W3C HTML Validator", 232 "wdg_validator"=>"WDG HTML Validator", 233 "webzip"=>"WebZIP", 234 "staroffice"=>"StarOffice", 235 "mozilla"=>"Mozilla", 236 "libwww"=>"LibWWW", 237 ); 238 239 240 // BrowsersHashAreGrabber 241 // Put here an entry for each browser in BrowsersSearchIDOrder that are grabber 242 // browsers. 243 //--------------------------------------------------------------------------- 244 $BrowsersHereAreGrabbers = array ( 245 "teleport"=>"1", 246 "webcapture"=>"1", 247 "webcopier"=>"1", 248 ); 249 250 251 // BrowsersHashIcon 252 // Each Browsers Search ID is associated to a string that is the name of icon 253 // file for this browser. 254 //--------------------------------------------------------------------------- 255 $BrowsersHashIcon = array ( 256 // Standard web browsers 257 "msie"=>"msie", 258 "netscape"=>"netscape", 259 260 "icab"=>"icab", 261 "go!zilla"=>"gozilla", 262 "konqueror"=>"konqueror", 263 "links"=>"notavailable", 264 "lynx"=>"lynx", 265 "omniweb"=>"omniweb", 266 "opera"=>"opera", 267 "wget"=>"notavailable", 268 "22acidownload"=>"notavailable", 269 "aol\\-iweng"=>"notavailable", 270 "amaya"=>"amaya", 271 "amigavoyager"=>"notavailable", 272 "aweb"=>"notavailable", 273 "bpftp"=>"notavailable", 274 "chimera"=>"chimera", 275 "cyberdog"=>"notavailable", 276 "dillo"=>"notavailable", 277 "dreamcast"=>"dreamcast", 278 "downloadagent"=>"notavailable", 279 "ecatch"=>"notavailable", 280 "emailsiphon"=>"notavailable", 281 "encompass"=>"notavailable", 282 "friendlyspider"=>"notavailable", 283 "fresco"=>"notavailable", 284 "galeon"=>"galeon", 285 "getright"=>"getright", 286 "headdump"=>"notavailable", 287 "hotjava"=>"notavailable", 288 "ibrowse"=>"ibrowse", 289 "intergo"=>"notavailable", 290 "k-meleon"=>"kmeleon", 291 "linemodebrowser"=>"notavailable", 292 "lotus-notes"=>"notavailable", 293 "macweb"=>"notavailable", 294 "multizilla"=>"multizilla", 295 "ncsa_mosaic"=>"notavailable", 296 "netpositive"=>"netpositive", 297 "nutscrape"=>"notavailable", 298 "msfrontpageexpress"=>"notavailable", 299 "phoenix"=>"phoenix", 300 "firebird"=>"firebird", 301 "safari"=>"safari", 302 "tzgeturl"=>"notavailable", 303 "viking"=>"notavailable", 304 "webfetcher"=>"notavailable", 305 "webexplorer"=>"notavailable", 306 "webmirror"=>"notavailable", 307 "webvcr"=>"notavailable", 308 // Site grabbers 309 "teleport"=>"teleport", 310 "webcapture"=>"adobe", 311 "webcopier"=>"webcopier", 312 // Music only browsers 313 "real"=>"mediaplayer", 314 "winamp"=>"mediaplayer", // Works for winampmpeg and winamp3httprdr 315 "windows-media-player"=>"mediaplayer", 316 "audion"=>"mediaplayer", 317 "freeamp"=>"mediaplayer", 318 "itunes"=>"mediaplayer", 319 "jetaudio"=>"mediaplayer", 320 "mint_audio"=>"mediaplayer", 321 "mpg123"=>"mediaplayer", 322 "nsplayer"=>"mediaplayer", 323 "sonique"=>"mediaplayer", 324 "uplayer"=>"mediaplayer", 325 "xmms"=>"mediaplayer", 326 "xaudio"=>"mediaplayer", 327 // PDA/Phonecell browsers 328 "alcatel"=>"pdaphone", // Alcatel 329 "ericsson"=>"pdaphone", // Ericsson 330 "mot-"=>"pdaphone", // Motorola 331 "nokia"=>"pdaphone", // Nokia 332 "panasonic"=>"pdaphone", // Panasonic 333 "philips"=>"pdaphone", // Philips 334 "sonyericsson"=>"pdaphone", // Sony/Ericsson 335 "mmef"=>"pdaphone", 336 "mspie"=>"pdaphone", 337 "wapalizer"=>"pdaphone", 338 "wapsilon"=>"pdaphone", 339 "webcollage"=>"pdaphone", 340 "up\."=>"pdaphone", // Works for UP.Browser and UP.Link 341 // PDA/Phonecell I-Mode browsers 342 "docomo"=>"pdaphone", 343 "portalmmm"=>"pdaphone", 344 // Others (TV) 345 "webtv"=>"webtv", 346 // Other kind of browsers 347 "csscheck"=>"notavailable", 348 "w3m"=>"notavailable", 349 "w3c_css_validator"=>"notavailable", 350 "w3c_validator"=>"notavailable", 351 "wdg_validator"=>"notavailable", 352 "webzip"=>"webzip", 353 "staroffice"=>"staroffice", 354 "mozilla"=>"mozilla", 355 "libwww"=>"notavailable" 356 ); 357 358 359 // TODO 360 // Add Gecko category -> IE / Netscape / Gecko(except Netscape) / Other 361 // IE (based on Mosaic) 362 // Netscape family 363 // Gecko except Netscape (Mozilla, Firebird (was Phoenix), Galeon, AmiZilla, Dino, and few others) 364 // Opera (Opera 6/7) 365 // KHTML (Konqueror, Safari) 366 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Feb 8 00:05:01 2012 | Cross-referenced by PHPXref 0.7 |
| Mambo API: Mambo is Free software released under the GNU/General Public License, Version 2 |