@@ 286-291 (lines=6) @@ | ||
283 | $this->isTierIphone = true; |
|
284 | $this->isTierRichCss = false; |
|
285 | $this->isTierGenericMobile = false; |
|
286 | } elseif ( $this->is_android() ) { |
|
287 | $this->matched_agent = 'android'; |
|
288 | $this->isTierIphone = true; |
|
289 | $this->isTierRichCss = false; |
|
290 | $this->isTierGenericMobile = false; |
|
291 | } elseif ( $this->is_windows_phone_8() ) { |
|
292 | $this->matched_agent = 'winphone8'; |
|
293 | $this->isTierIphone = true; |
|
294 | $this->isTierRichCss = false; |
|
@@ 296-301 (lines=6) @@ | ||
293 | $this->isTierIphone = true; |
|
294 | $this->isTierRichCss = false; |
|
295 | $this->isTierGenericMobile = false; |
|
296 | } elseif ( $this->is_WindowsPhone7() ) { |
|
297 | $this->matched_agent = 'win7'; |
|
298 | $this->isTierIphone = true; |
|
299 | $this->isTierRichCss = false; |
|
300 | $this->isTierGenericMobile = false; |
|
301 | } elseif ( $this->is_blackberry_10() ) { |
|
302 | $this->matched_agent = 'blackberry-10'; |
|
303 | $this->isTierIphone = true; |
|
304 | $this->isTierRichCss = false; |
|
@@ 306-311 (lines=6) @@ | ||
303 | $this->isTierIphone = true; |
|
304 | $this->isTierRichCss = false; |
|
305 | $this->isTierGenericMobile = false; |
|
306 | } elseif ( $this->is_blackbeberry() && 'blackberry-webkit' === $this->detect_blackberry_browser_version() ) { |
|
307 | $this->matched_agent = 'blackberry-webkit'; |
|
308 | $this->isTierIphone = true; |
|
309 | $this->isTierRichCss = false; |
|
310 | $this->isTierGenericMobile = false; |
|
311 | } elseif ( $this->is_blackberry_tablet() ) { |
|
312 | $this->matched_agent = 'blackberry_tablet'; |
|
313 | $this->isTierIphone = true; |
|
314 | $this->isTierRichCss = false; |
|
@@ 316-321 (lines=6) @@ | ||
313 | $this->isTierIphone = true; |
|
314 | $this->isTierRichCss = false; |
|
315 | $this->isTierGenericMobile = false; |
|
316 | } elseif ( $this->is_PalmWebOS() ) { |
|
317 | $this->matched_agent = 'webos'; |
|
318 | $this->isTierIphone = true; |
|
319 | $this->isTierRichCss = false; |
|
320 | $this->isTierGenericMobile = false; |
|
321 | } elseif ( $this->is_TouchPad() ) { |
|
322 | $this->matched_agent = 'hp_tablet'; |
|
323 | $this->isTierIphone = true; |
|
324 | $this->isTierRichCss = false; |
|
@@ 326-331 (lines=6) @@ | ||
323 | $this->isTierIphone = true; |
|
324 | $this->isTierRichCss = false; |
|
325 | $this->isTierGenericMobile = false; |
|
326 | } elseif ( $this->is_firefox_os() ) { |
|
327 | $this->matched_agent = 'firefoxOS'; |
|
328 | $this->isTierIphone = true; |
|
329 | $this->isTierRichCss = false; |
|
330 | $this->isTierGenericMobile = false; |
|
331 | } elseif ( $this->is_firefox_mobile() ) { |
|
332 | $this->matched_agent = 'fennec'; |
|
333 | $this->isTierIphone = true; |
|
334 | $this->isTierRichCss = false; |
|
@@ 336-341 (lines=6) @@ | ||
333 | $this->isTierIphone = true; |
|
334 | $this->isTierRichCss = false; |
|
335 | $this->isTierGenericMobile = false; |
|
336 | } elseif ( $this->is_opera_mobile() ) { |
|
337 | $this->matched_agent = 'opera-mobi'; |
|
338 | $this->isTierIphone = true; |
|
339 | $this->isTierRichCss = false; |
|
340 | $this->isTierGenericMobile = false; |
|
341 | } elseif ( $this->is_MaemoTablet() ) { |
|
342 | $this->matched_agent = 'maemo'; |
|
343 | $this->isTierIphone = true; |
|
344 | $this->isTierRichCss = false; |
|
@@ 346-351 (lines=6) @@ | ||
343 | $this->isTierIphone = true; |
|
344 | $this->isTierRichCss = false; |
|
345 | $this->isTierGenericMobile = false; |
|
346 | } elseif ( $this->is_MeeGo() ) { |
|
347 | $this->matched_agent = 'meego'; |
|
348 | $this->isTierIphone = true; |
|
349 | $this->isTierRichCss = false; |
|
350 | $this->isTierGenericMobile = false; |
|
351 | } elseif ( $this->is_kindle_touch() ) { |
|
352 | $this->matched_agent = 'kindle-touch'; |
|
353 | $this->isTierIphone = true; |
|
354 | $this->isTierRichCss = false; |
|
@@ 356-361 (lines=6) @@ | ||
353 | $this->isTierIphone = true; |
|
354 | $this->isTierRichCss = false; |
|
355 | $this->isTierGenericMobile = false; |
|
356 | } elseif ( $this->is_Nintendo_3DS() ) { |
|
357 | $this->matched_agent = 'nintendo-3ds'; |
|
358 | $this->isTierIphone = true; |
|
359 | $this->isTierRichCss = false; |
|
360 | $this->isTierGenericMobile = false; |
|
361 | } else { |
|
362 | $this->isTierIphone = false; |
|
363 | } |
|
364 | return $this->isTierIphone; |
|
@@ 386-391 (lines=6) @@ | ||
383 | $this->isTierIphone = false; |
|
384 | $this->isTierRichCss = true; |
|
385 | $this->isTierGenericMobile = false; |
|
386 | } elseif ( $this->is_opera_mini() ) { |
|
387 | $this->matched_agent = 'opera-mini'; |
|
388 | $this->isTierIphone = false; |
|
389 | $this->isTierRichCss = true; |
|
390 | $this->isTierGenericMobile = false; |
|
391 | } elseif ( $this->is_blackbeberry() ) { |
|
392 | $detectedDevice = $this->detect_blackberry_browser_version(); |
|
393 | if ( |
|
394 | 'blackberry-5' === $detectedDevice |