|
@@ 620-621 (lines=2) @@
|
| 617 |
|
|
| 618 |
|
if ( strpos( $ua, 'twitter for ipad' ) !== false ) { |
| 619 |
|
return true; |
| 620 |
|
} elseif ( strpos( $ua, 'ipad' ) !== false && strpos( $ua, 'twitter for iphone' ) !== false ) { |
| 621 |
|
return true; |
| 622 |
|
} else { |
| 623 |
|
return false; |
| 624 |
|
} |
|
@@ 842-845 (lines=4) @@
|
| 839 |
|
|
| 840 |
|
$ua = strtolower( $_SERVER['HTTP_USER_AGENT'] ); |
| 841 |
|
|
| 842 |
|
if ( strpos( $ua, 'opera' ) !== false && strpos( $ua, 'mini' ) !== false ) { |
| 843 |
|
return true; |
| 844 |
|
} else { |
| 845 |
|
return false; |
| 846 |
|
} |
| 847 |
|
} |
| 848 |
|
|
|
@@ 889-892 (lines=4) @@
|
| 886 |
|
$ua = strtolower( $_SERVER['HTTP_USER_AGENT'] ); |
| 887 |
|
|
| 888 |
|
if ( strpos( $ua, 'opera' ) !== false ) { |
| 889 |
|
if ( ( strpos( $ua, 'mini' ) !== false ) || ( strpos( $ua, 'mobi' ) !== false ) ) { |
| 890 |
|
return true; |
| 891 |
|
} else { |
| 892 |
|
return false; |
| 893 |
|
} |
| 894 |
|
} else { |
| 895 |
|
return false; |