summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-10-12 12:30:00 +0000
committerSarven Capadisli <csarven@status.net>2009-10-12 12:30:00 +0000
commit7af1c83f4e8d66e2f70006bf6568c5b8410a2311 (patch)
tree623865069290d959a9161e900a216f81a3a219a8 /plugins
parent0947ca8b9331b03a172d86b37a511e50100fd0bb (diff)
Fixed typo, added ipod
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MobileProfile/MobileProfilePlugin.php58
1 files changed, 48 insertions, 10 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php
index ecaea29c0..3785feeec 100644
--- a/plugins/MobileProfile/MobileProfilePlugin.php
+++ b/plugins/MobileProfile/MobileProfilePlugin.php
@@ -107,16 +107,54 @@ class MobileProfilePlugin extends WAP20Plugin
// MP 1.0, 1.1, or 1.2 may be ideal. Possible?
$this->mobiledevices =
- array('alcatel', 'android', 'audiovox', 'au-mic,',
- 'avantgo', 'blackberry', 'blazer', 'cldc-', 'danger',
- 'epoc', 'ericsson', 'ericy', 'ipone', 'ipaq', 'j2me',
- 'lg', 'midp-', 'mobile', 'mot', 'netfront', 'nitro',
- 'nokia', 'opera mini', 'palm', 'palmsource',
- 'panasonic', 'philips', 'pocketpc', 'portalmmm',
- 'rover', 'samsung', 'sanyo', 'series60', 'sharp',
- 'sie-', 'smartphone', 'sony', 'symbian',
- 'up.browser', 'up.link', 'up.link', 'vodafone',
- 'wap1', 'wap2', 'windows ce');
+ array(
+ 'alcatel',
+ 'android',
+ 'audiovox',
+ 'au-mic,',
+ 'avantgo',
+ 'blackberry',
+ 'blazer',
+ 'cldc-',
+ 'danger',
+ 'epoc',
+ 'ericsson',
+ 'ericy',
+ 'iphone',
+ 'ipaq',
+ 'ipod',
+ 'j2me',
+ 'lg',
+ 'midp-',
+ 'mobile',
+ 'mot',
+ 'netfront',
+ 'nitro',
+ 'nokia',
+ 'opera mini',
+ 'palm',
+ 'palmsource',
+ 'panasonic',
+ 'philips',
+ 'pocketpc',
+ 'portalmmm',
+ 'rover',
+ 'samsung',
+ 'sanyo',
+ 'series60',
+ 'sharp',
+ 'sie-',
+ 'smartphone',
+ 'sony',
+ 'symbian',
+ 'up.browser',
+ 'up.link',
+ 'up.link',
+ 'vodafone',
+ 'wap1',
+ 'wap2',
+ 'windows ce'
+ );
$httpuseragent = strtolower($_SERVER['HTTP_USER_AGENT']);