diff options
author | jim-p <jimp@pfsense.org> | 2011-08-25 09:14:23 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-08-25 09:17:17 -0400 |
commit | 107f0cc8cefd341bc686088aa3eb2b73c78c7eb0 (patch) | |
tree | 4f4e26151f1d52c47bed99118908486c4d64fcb0 /usr/local/www | |
parent | 5dc98f2ec12693e86a794419a1f76e0c76937bb5 (diff) | |
download | pfsense-107f0cc8cefd341bc686088aa3eb2b73c78c7eb0.zip pfsense-107f0cc8cefd341bc686088aa3eb2b73c78c7eb0.tar.gz |
Add a couple more mobile browser detection strings (BlackBerry, Opera Mini/Mobi)
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/head.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc index b76374b..69e2019 100755 --- a/usr/local/www/head.inc +++ b/usr/local/www/head.inc @@ -18,7 +18,7 @@ else * If this device is an apple ipod/iphone * switch the theme to one that works with it. */ -$lowres_ua = array("iPhone","iPod", "iPad", "Android"); +$lowres_ua = array("iPhone", "iPod", "iPad", "Android", "BlackBerry", "Opera Mini", "Opera Mobi"); foreach($lowres_ua as $useragent) if(strstr($_SERVER['HTTP_USER_AGENT'], $useragent)) $g['theme'] = empty($g['theme_lowres']) ? "pfsense" : $g['theme_lowres']; |