|
@@ 324-329 (lines=6) @@
|
| 321 |
|
$this->isTierRichCss = false; |
| 322 |
|
$this->isTierGenericMobile = false; |
| 323 |
|
} |
| 324 |
|
elseif ( $this->is_android() ) { |
| 325 |
|
$this->matched_agent = 'android'; |
| 326 |
|
$this->isTierIphone = true; |
| 327 |
|
$this->isTierRichCss = false; |
| 328 |
|
$this->isTierGenericMobile = false; |
| 329 |
|
} |
| 330 |
|
elseif ( $this->is_windows_phone_8() ) { |
| 331 |
|
$this->matched_agent = 'winphone8'; |
| 332 |
|
$this->isTierIphone = true; |
|
@@ 336-341 (lines=6) @@
|
| 333 |
|
$this->isTierRichCss = false; |
| 334 |
|
$this->isTierGenericMobile = false; |
| 335 |
|
} |
| 336 |
|
elseif ( $this->is_WindowsPhone7() ) { |
| 337 |
|
$this->matched_agent = 'win7'; |
| 338 |
|
$this->isTierIphone = true; |
| 339 |
|
$this->isTierRichCss = false; |
| 340 |
|
$this->isTierGenericMobile = false; |
| 341 |
|
} |
| 342 |
|
elseif ( $this->is_blackberry_10() ) { |
| 343 |
|
$this->matched_agent = 'blackberry-10'; |
| 344 |
|
$this->isTierIphone = true; |
|
@@ 348-353 (lines=6) @@
|
| 345 |
|
$this->isTierRichCss = false; |
| 346 |
|
$this->isTierGenericMobile = false; |
| 347 |
|
} |
| 348 |
|
elseif ( $this->is_blackbeberry() && $this->detect_blackberry_browser_version() == 'blackberry-webkit' ) { |
| 349 |
|
$this->matched_agent = 'blackberry-webkit'; |
| 350 |
|
$this->isTierIphone = true; |
| 351 |
|
$this->isTierRichCss = false; |
| 352 |
|
$this->isTierGenericMobile = false; |
| 353 |
|
} |
| 354 |
|
elseif ( $this->is_blackberry_tablet() ) { |
| 355 |
|
$this->matched_agent = 'blackberry_tablet'; |
| 356 |
|
$this->isTierIphone = true; |
|
@@ 360-365 (lines=6) @@
|
| 357 |
|
$this->isTierRichCss = false; |
| 358 |
|
$this->isTierGenericMobile = false; |
| 359 |
|
} |
| 360 |
|
elseif ( $this->is_PalmWebOS() ) { |
| 361 |
|
$this->matched_agent = 'webos'; |
| 362 |
|
$this->isTierIphone = true; |
| 363 |
|
$this->isTierRichCss = false; |
| 364 |
|
$this->isTierGenericMobile = false; |
| 365 |
|
} |
| 366 |
|
elseif ( $this->is_TouchPad() ) { |
| 367 |
|
$this->matched_agent = 'hp_tablet'; |
| 368 |
|
$this->isTierIphone = true; |
|
@@ 372-377 (lines=6) @@
|
| 369 |
|
$this->isTierRichCss = false; |
| 370 |
|
$this->isTierGenericMobile = false; |
| 371 |
|
} |
| 372 |
|
elseif ( $this->is_firefox_os() ) { |
| 373 |
|
$this->matched_agent = 'firefoxOS'; |
| 374 |
|
$this->isTierIphone = true; |
| 375 |
|
$this->isTierRichCss = false; |
| 376 |
|
$this->isTierGenericMobile = false; |
| 377 |
|
} |
| 378 |
|
elseif ( $this->is_firefox_mobile() ) { |
| 379 |
|
$this->matched_agent = 'fennec'; |
| 380 |
|
$this->isTierIphone = true; |
|
@@ 384-389 (lines=6) @@
|
| 381 |
|
$this->isTierRichCss = false; |
| 382 |
|
$this->isTierGenericMobile = false; |
| 383 |
|
} |
| 384 |
|
elseif ( $this->is_opera_mobile() ) { |
| 385 |
|
$this->matched_agent = 'opera-mobi'; |
| 386 |
|
$this->isTierIphone = true; |
| 387 |
|
$this->isTierRichCss = false; |
| 388 |
|
$this->isTierGenericMobile = false; |
| 389 |
|
} |
| 390 |
|
elseif ( $this->is_MaemoTablet() ) { |
| 391 |
|
$this->matched_agent = 'maemo'; |
| 392 |
|
$this->isTierIphone = true; |
|
@@ 396-401 (lines=6) @@
|
| 393 |
|
$this->isTierRichCss = false; |
| 394 |
|
$this->isTierGenericMobile = false; |
| 395 |
|
} |
| 396 |
|
elseif ( $this->is_MeeGo() ) { |
| 397 |
|
$this->matched_agent = 'meego'; |
| 398 |
|
$this->isTierIphone = true; |
| 399 |
|
$this->isTierRichCss = false; |
| 400 |
|
$this->isTierGenericMobile = false; |
| 401 |
|
} |
| 402 |
|
elseif ( $this->is_kindle_touch() ) { |
| 403 |
|
$this->matched_agent = 'kindle-touch'; |
| 404 |
|
$this->isTierIphone = true; |
|
@@ 408-413 (lines=6) @@
|
| 405 |
|
$this->isTierRichCss = false; |
| 406 |
|
$this->isTierGenericMobile = false; |
| 407 |
|
} |
| 408 |
|
elseif ( $this->is_Nintendo_3DS() ) { |
| 409 |
|
$this->matched_agent = 'nintendo-3ds'; |
| 410 |
|
$this->isTierIphone = true; |
| 411 |
|
$this->isTierRichCss = false; |
| 412 |
|
$this->isTierGenericMobile = false; |
| 413 |
|
} |
| 414 |
|
else { |
| 415 |
|
$this->isTierIphone = false; |
| 416 |
|
} |
|
@@ 440-445 (lines=6) @@
|
| 437 |
|
$this->isTierRichCss = true; |
| 438 |
|
$this->isTierGenericMobile = false; |
| 439 |
|
} |
| 440 |
|
elseif ( $this->is_opera_mini() ) { |
| 441 |
|
$this->matched_agent = 'opera-mini'; |
| 442 |
|
$this->isTierIphone = false; |
| 443 |
|
$this->isTierRichCss = true; |
| 444 |
|
$this->isTierGenericMobile = false; |
| 445 |
|
} |
| 446 |
|
elseif ( $this->is_blackbeberry() ) { |
| 447 |
|
$detectedDevice = $this->detect_blackberry_browser_version(); |
| 448 |
|
if ( $detectedDevice === 'blackberry-5' || $detectedDevice == 'blackberry-4.7' || $detectedDevice === 'blackberry-4.6' ) { |