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