@@ 365-370 (lines=6) @@ | ||
362 | $this->isTierIphone = true; |
|
363 | $this->isTierRichCss = false; |
|
364 | $this->isTierGenericMobile = false; |
|
365 | } elseif ( $this->is_android() ) { |
|
366 | $this->matched_agent = 'android'; |
|
367 | $this->isTierIphone = true; |
|
368 | $this->isTierRichCss = false; |
|
369 | $this->isTierGenericMobile = false; |
|
370 | } elseif ( $this->is_windows_phone_8() ) { |
|
371 | $this->matched_agent = 'winphone8'; |
|
372 | $this->isTierIphone = true; |
|
373 | $this->isTierRichCss = false; |
|
@@ 375-380 (lines=6) @@ | ||
372 | $this->isTierIphone = true; |
|
373 | $this->isTierRichCss = false; |
|
374 | $this->isTierGenericMobile = false; |
|
375 | } elseif ( $this->is_WindowsPhone7() ) { |
|
376 | $this->matched_agent = 'win7'; |
|
377 | $this->isTierIphone = true; |
|
378 | $this->isTierRichCss = false; |
|
379 | $this->isTierGenericMobile = false; |
|
380 | } elseif ( $this->is_blackberry_10() ) { |
|
381 | $this->matched_agent = 'blackberry-10'; |
|
382 | $this->isTierIphone = true; |
|
383 | $this->isTierRichCss = false; |
|
@@ 385-390 (lines=6) @@ | ||
382 | $this->isTierIphone = true; |
|
383 | $this->isTierRichCss = false; |
|
384 | $this->isTierGenericMobile = false; |
|
385 | } elseif ( $this->is_blackbeberry() && $this->detect_blackberry_browser_version() == 'blackberry-webkit' ) { |
|
386 | $this->matched_agent = 'blackberry-webkit'; |
|
387 | $this->isTierIphone = true; |
|
388 | $this->isTierRichCss = false; |
|
389 | $this->isTierGenericMobile = false; |
|
390 | } elseif ( $this->is_blackberry_tablet() ) { |
|
391 | $this->matched_agent = 'blackberry_tablet'; |
|
392 | $this->isTierIphone = true; |
|
393 | $this->isTierRichCss = false; |
|
@@ 395-400 (lines=6) @@ | ||
392 | $this->isTierIphone = true; |
|
393 | $this->isTierRichCss = false; |
|
394 | $this->isTierGenericMobile = false; |
|
395 | } elseif ( $this->is_PalmWebOS() ) { |
|
396 | $this->matched_agent = 'webos'; |
|
397 | $this->isTierIphone = true; |
|
398 | $this->isTierRichCss = false; |
|
399 | $this->isTierGenericMobile = false; |
|
400 | } elseif ( $this->is_TouchPad() ) { |
|
401 | $this->matched_agent = 'hp_tablet'; |
|
402 | $this->isTierIphone = true; |
|
403 | $this->isTierRichCss = false; |
|
@@ 405-410 (lines=6) @@ | ||
402 | $this->isTierIphone = true; |
|
403 | $this->isTierRichCss = false; |
|
404 | $this->isTierGenericMobile = false; |
|
405 | } elseif ( $this->is_firefox_os() ) { |
|
406 | $this->matched_agent = 'firefoxOS'; |
|
407 | $this->isTierIphone = true; |
|
408 | $this->isTierRichCss = false; |
|
409 | $this->isTierGenericMobile = false; |
|
410 | } elseif ( $this->is_firefox_mobile() ) { |
|
411 | $this->matched_agent = 'fennec'; |
|
412 | $this->isTierIphone = true; |
|
413 | $this->isTierRichCss = false; |
|
@@ 415-420 (lines=6) @@ | ||
412 | $this->isTierIphone = true; |
|
413 | $this->isTierRichCss = false; |
|
414 | $this->isTierGenericMobile = false; |
|
415 | } elseif ( $this->is_opera_mobile() ) { |
|
416 | $this->matched_agent = 'opera-mobi'; |
|
417 | $this->isTierIphone = true; |
|
418 | $this->isTierRichCss = false; |
|
419 | $this->isTierGenericMobile = false; |
|
420 | } elseif ( $this->is_MaemoTablet() ) { |
|
421 | $this->matched_agent = 'maemo'; |
|
422 | $this->isTierIphone = true; |
|
423 | $this->isTierRichCss = false; |
|
@@ 425-430 (lines=6) @@ | ||
422 | $this->isTierIphone = true; |
|
423 | $this->isTierRichCss = false; |
|
424 | $this->isTierGenericMobile = false; |
|
425 | } elseif ( $this->is_MeeGo() ) { |
|
426 | $this->matched_agent = 'meego'; |
|
427 | $this->isTierIphone = true; |
|
428 | $this->isTierRichCss = false; |
|
429 | $this->isTierGenericMobile = false; |
|
430 | } elseif ( $this->is_kindle_touch() ) { |
|
431 | $this->matched_agent = 'kindle-touch'; |
|
432 | $this->isTierIphone = true; |
|
433 | $this->isTierRichCss = false; |
|
@@ 435-440 (lines=6) @@ | ||
432 | $this->isTierIphone = true; |
|
433 | $this->isTierRichCss = false; |
|
434 | $this->isTierGenericMobile = false; |
|
435 | } elseif ( $this->is_Nintendo_3DS() ) { |
|
436 | $this->matched_agent = 'nintendo-3ds'; |
|
437 | $this->isTierIphone = true; |
|
438 | $this->isTierRichCss = false; |
|
439 | $this->isTierGenericMobile = false; |
|
440 | } else { |
|
441 | $this->isTierIphone = false; |
|
442 | } |
|
443 | return $this->isTierIphone; |
|
@@ 466-471 (lines=6) @@ | ||
463 | $this->isTierIphone = false; |
|
464 | $this->isTierRichCss = true; |
|
465 | $this->isTierGenericMobile = false; |
|
466 | } elseif ( $this->is_opera_mini() ) { |
|
467 | $this->matched_agent = 'opera-mini'; |
|
468 | $this->isTierIphone = false; |
|
469 | $this->isTierRichCss = true; |
|
470 | $this->isTierGenericMobile = false; |
|
471 | } elseif ( $this->is_blackbeberry() ) { |
|
472 | $detectedDevice = $this->detect_blackberry_browser_version(); |
|
473 | if ( $detectedDevice === 'blackberry-5' || $detectedDevice == 'blackberry-4.7' || $detectedDevice === 'blackberry-4.6' ) { |
|
474 | $this->matched_agent = $detectedDevice; |