]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixed typo, added ipod
authorSarven Capadisli <csarven@status.net>
Mon, 12 Oct 2009 12:30:00 +0000 (12:30 +0000)
committerSarven Capadisli <csarven@status.net>
Mon, 12 Oct 2009 12:30:00 +0000 (12:30 +0000)
plugins/MobileProfile/MobileProfilePlugin.php

index ecaea29c064bbd5c9c9007db1e43ab046cf00f5b..3785feeec0c82af3ed6a116540137da29127210f 100644 (file)
@@ -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']);