@@ 264-269 (lines=6) @@ | ||
261 | $this->isTierRichCss = false; |
|
262 | $this->isTierGenericMobile = false; |
|
263 | } |
|
264 | elseif ( $this->is_android() ) { |
|
265 | $this->matched_agent = 'android'; |
|
266 | $this->isTierIphone = true; |
|
267 | $this->isTierRichCss = false; |
|
268 | $this->isTierGenericMobile = false; |
|
269 | } |
|
270 | elseif ( $this->is_windows_phone_8() ) { |
|
271 | $this->matched_agent = 'winphone8'; |
|
272 | $this->isTierIphone = true; |
|
@@ 270-275 (lines=6) @@ | ||
267 | $this->isTierRichCss = false; |
|
268 | $this->isTierGenericMobile = false; |
|
269 | } |
|
270 | elseif ( $this->is_windows_phone_8() ) { |
|
271 | $this->matched_agent = 'winphone8'; |
|
272 | $this->isTierIphone = true; |
|
273 | $this->isTierRichCss = false; |
|
274 | $this->isTierGenericMobile = false; |
|
275 | } |
|
276 | elseif ( $this->is_WindowsPhone7() ) { |
|
277 | $this->matched_agent = 'win7'; |
|
278 | $this->isTierIphone = true; |
|
@@ 276-281 (lines=6) @@ | ||
273 | $this->isTierRichCss = false; |
|
274 | $this->isTierGenericMobile = false; |
|
275 | } |
|
276 | elseif ( $this->is_WindowsPhone7() ) { |
|
277 | $this->matched_agent = 'win7'; |
|
278 | $this->isTierIphone = true; |
|
279 | $this->isTierRichCss = false; |
|
280 | $this->isTierGenericMobile = false; |
|
281 | } |
|
282 | elseif ( $this->is_blackberry_10() ) { |
|
283 | $this->matched_agent = 'blackberry-10'; |
|
284 | $this->isTierIphone = true; |
|
@@ 282-287 (lines=6) @@ | ||
279 | $this->isTierRichCss = false; |
|
280 | $this->isTierGenericMobile = false; |
|
281 | } |
|
282 | elseif ( $this->is_blackberry_10() ) { |
|
283 | $this->matched_agent = 'blackberry-10'; |
|
284 | $this->isTierIphone = true; |
|
285 | $this->isTierRichCss = false; |
|
286 | $this->isTierGenericMobile = false; |
|
287 | } |
|
288 | elseif ( $this->is_blackbeberry() && $this->detect_blackberry_browser_version() == 'blackberry-webkit' ) { |
|
289 | $this->matched_agent = 'blackberry-webkit'; |
|
290 | $this->isTierIphone = true; |
|
@@ 288-293 (lines=6) @@ | ||
285 | $this->isTierRichCss = false; |
|
286 | $this->isTierGenericMobile = false; |
|
287 | } |
|
288 | elseif ( $this->is_blackbeberry() && $this->detect_blackberry_browser_version() == 'blackberry-webkit' ) { |
|
289 | $this->matched_agent = 'blackberry-webkit'; |
|
290 | $this->isTierIphone = true; |
|
291 | $this->isTierRichCss = false; |
|
292 | $this->isTierGenericMobile = false; |
|
293 | } |
|
294 | elseif ( $this->is_blackberry_tablet() ) { |
|
295 | $this->matched_agent = 'blackberry_tablet'; |
|
296 | $this->isTierIphone = true; |
|
@@ 294-299 (lines=6) @@ | ||
291 | $this->isTierRichCss = false; |
|
292 | $this->isTierGenericMobile = false; |
|
293 | } |
|
294 | elseif ( $this->is_blackberry_tablet() ) { |
|
295 | $this->matched_agent = 'blackberry_tablet'; |
|
296 | $this->isTierIphone = true; |
|
297 | $this->isTierRichCss = false; |
|
298 | $this->isTierGenericMobile = false; |
|
299 | } |
|
300 | elseif ( $this->is_PalmWebOS() ) { |
|
301 | $this->matched_agent = 'webos'; |
|
302 | $this->isTierIphone = true; |
|
@@ 300-305 (lines=6) @@ | ||
297 | $this->isTierRichCss = false; |
|
298 | $this->isTierGenericMobile = false; |
|
299 | } |
|
300 | elseif ( $this->is_PalmWebOS() ) { |
|
301 | $this->matched_agent = 'webos'; |
|
302 | $this->isTierIphone = true; |
|
303 | $this->isTierRichCss = false; |
|
304 | $this->isTierGenericMobile = false; |
|
305 | } |
|
306 | elseif ( $this->is_TouchPad() ) { |
|
307 | $this->matched_agent = 'hp_tablet'; |
|
308 | $this->isTierIphone = true; |
|
@@ 306-311 (lines=6) @@ | ||
303 | $this->isTierRichCss = false; |
|
304 | $this->isTierGenericMobile = false; |
|
305 | } |
|
306 | elseif ( $this->is_TouchPad() ) { |
|
307 | $this->matched_agent = 'hp_tablet'; |
|
308 | $this->isTierIphone = true; |
|
309 | $this->isTierRichCss = false; |
|
310 | $this->isTierGenericMobile = false; |
|
311 | } |
|
312 | elseif ( $this->is_firefox_os() ) { |
|
313 | $this->matched_agent = 'firefoxOS'; |
|
314 | $this->isTierIphone = true; |
|
@@ 312-317 (lines=6) @@ | ||
309 | $this->isTierRichCss = false; |
|
310 | $this->isTierGenericMobile = false; |
|
311 | } |
|
312 | elseif ( $this->is_firefox_os() ) { |
|
313 | $this->matched_agent = 'firefoxOS'; |
|
314 | $this->isTierIphone = true; |
|
315 | $this->isTierRichCss = false; |
|
316 | $this->isTierGenericMobile = false; |
|
317 | } |
|
318 | elseif ( $this->is_firefox_mobile() ) { |
|
319 | $this->matched_agent = 'fennec'; |
|
320 | $this->isTierIphone = true; |
|
@@ 318-323 (lines=6) @@ | ||
315 | $this->isTierRichCss = false; |
|
316 | $this->isTierGenericMobile = false; |
|
317 | } |
|
318 | elseif ( $this->is_firefox_mobile() ) { |
|
319 | $this->matched_agent = 'fennec'; |
|
320 | $this->isTierIphone = true; |
|
321 | $this->isTierRichCss = false; |
|
322 | $this->isTierGenericMobile = false; |
|
323 | } |
|
324 | elseif ( $this->is_opera_mobile() ) { |
|
325 | $this->matched_agent = 'opera-mobi'; |
|
326 | $this->isTierIphone = true; |
|
@@ 324-329 (lines=6) @@ | ||
321 | $this->isTierRichCss = false; |
|
322 | $this->isTierGenericMobile = false; |
|
323 | } |
|
324 | elseif ( $this->is_opera_mobile() ) { |
|
325 | $this->matched_agent = 'opera-mobi'; |
|
326 | $this->isTierIphone = true; |
|
327 | $this->isTierRichCss = false; |
|
328 | $this->isTierGenericMobile = false; |
|
329 | } |
|
330 | elseif ( $this->is_MaemoTablet() ) { |
|
331 | $this->matched_agent = 'maemo'; |
|
332 | $this->isTierIphone = true; |
|
@@ 330-335 (lines=6) @@ | ||
327 | $this->isTierRichCss = false; |
|
328 | $this->isTierGenericMobile = false; |
|
329 | } |
|
330 | elseif ( $this->is_MaemoTablet() ) { |
|
331 | $this->matched_agent = 'maemo'; |
|
332 | $this->isTierIphone = true; |
|
333 | $this->isTierRichCss = false; |
|
334 | $this->isTierGenericMobile = false; |
|
335 | } |
|
336 | elseif ( $this->is_MeeGo() ) { |
|
337 | $this->matched_agent = 'meego'; |
|
338 | $this->isTierIphone = true; |
|
@@ 336-341 (lines=6) @@ | ||
333 | $this->isTierRichCss = false; |
|
334 | $this->isTierGenericMobile = false; |
|
335 | } |
|
336 | elseif ( $this->is_MeeGo() ) { |
|
337 | $this->matched_agent = 'meego'; |
|
338 | $this->isTierIphone = true; |
|
339 | $this->isTierRichCss = false; |
|
340 | $this->isTierGenericMobile = false; |
|
341 | } |
|
342 | elseif ( $this->is_kindle_touch() ) { |
|
343 | $this->matched_agent = 'kindle-touch'; |
|
344 | $this->isTierIphone = true; |
|
@@ 342-347 (lines=6) @@ | ||
339 | $this->isTierRichCss = false; |
|
340 | $this->isTierGenericMobile = false; |
|
341 | } |
|
342 | elseif ( $this->is_kindle_touch() ) { |
|
343 | $this->matched_agent = 'kindle-touch'; |
|
344 | $this->isTierIphone = true; |
|
345 | $this->isTierRichCss = false; |
|
346 | $this->isTierGenericMobile = false; |
|
347 | } |
|
348 | elseif ( $this->is_Nintendo_3DS() ) { |
|
349 | $this->matched_agent = 'nintendo-3ds'; |
|
350 | $this->isTierIphone = true; |
|
@@ 348-353 (lines=6) @@ | ||
345 | $this->isTierRichCss = false; |
|
346 | $this->isTierGenericMobile = false; |
|
347 | } |
|
348 | elseif ( $this->is_Nintendo_3DS() ) { |
|
349 | $this->matched_agent = 'nintendo-3ds'; |
|
350 | $this->isTierIphone = true; |
|
351 | $this->isTierRichCss = false; |
|
352 | $this->isTierGenericMobile = false; |
|
353 | } |
|
354 | else { |
|
355 | $this->isTierIphone = false; |
|
356 | } |
|
@@ 380-385 (lines=6) @@ | ||
377 | $this->isTierRichCss = true; |
|
378 | $this->isTierGenericMobile = false; |
|
379 | } |
|
380 | elseif ( $this->is_opera_mini() ) { |
|
381 | $this->matched_agent = 'opera-mini'; |
|
382 | $this->isTierIphone = false; |
|
383 | $this->isTierRichCss = true; |
|
384 | $this->isTierGenericMobile = false; |
|
385 | } |
|
386 | elseif ( $this->is_blackbeberry() ) { |
|
387 | $detectedDevice = $this->detect_blackberry_browser_version(); |
|
388 | if ( $detectedDevice === 'blackberry-5' || $detectedDevice == 'blackberry-4.7' || $detectedDevice === 'blackberry-4.6' ) { |