[Bps-public-commit] rt-extension-mobileui branch, master, updated. 0.96-2-gae7294e
Jesse Vincent
jesse at bestpractical.com
Mon Sep 6 14:09:16 EDT 2010
The branch, master has been updated
via ae7294e262fdfefeedfb04c2a1254f3de2799b1a (commit)
via 2bdbdaa27cb6c4a8d7aa2dfa44ff8411055311ab (commit)
from 71f1fbb8afad47e7d80185729f0852bb9ce10cc8 (commit)
Summary of changes:
Changes | 4 ++++
lib/RT/Extension/MobileUI.pm | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 2bdbdaa27cb6c4a8d7aa2dfa44ff8411055311ab
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Mon Sep 6 14:09:57 2010 -0400
Add S60 as a mobile browser string
diff --git a/lib/RT/Extension/MobileUI.pm b/lib/RT/Extension/MobileUI.pm
index 836dc34..cec9f7d 100644
--- a/lib/RT/Extension/MobileUI.pm
+++ b/lib/RT/Extension/MobileUI.pm
@@ -36,7 +36,7 @@ sub MobileClient {
my $self = shift;
-if (($ENV{'HTTP_USER_AGENT'} || '') =~ /(?:hiptop|Blazer|Novarra|Vagabond|SonyEricsson|Symbian|NetFront|UP.Browser|UP.Link|Windows CE|MIDP|J2ME|DoCoMo|J-PHONE|PalmOS|PalmSource|iPhone|iPod|AvantGo|Nokia|Android|WebOS)/io && !$HTML::Mason::Commands::session{'NotMobile'}) {
+if (($ENV{'HTTP_USER_AGENT'} || '') =~ /(?:hiptop|Blazer|Novarra|Vagabond|SonyEricsson|Symbian|NetFront|UP.Browser|UP.Link|Windows CE|MIDP|J2ME|DoCoMo|J-PHONE|PalmOS|PalmSource|iPhone|iPod|AvantGo|Nokia|Android|WebOS|S60)/io && !$HTML::Mason::Commands::session{'NotMobile'}) {
return 1;
} else {
return undef;
commit ae7294e262fdfefeedfb04c2a1254f3de2799b1a
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Mon Sep 6 14:11:07 2010 -0400
0.97
diff --git a/Changes b/Changes
index 6257463..bed5606 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,7 @@
+0.97
+
+* Added S60 as a mobile user agent. Thanks to Kristian Rikvold-Jess.
+
0.96
* Added WebOS as a valid mobile user agent. Thanks to Jason Smith.
diff --git a/lib/RT/Extension/MobileUI.pm b/lib/RT/Extension/MobileUI.pm
index cec9f7d..5f3f636 100644
--- a/lib/RT/Extension/MobileUI.pm
+++ b/lib/RT/Extension/MobileUI.pm
@@ -3,7 +3,7 @@ use strict;
package RT::Extension::MobileUI;
-our $VERSION = "0.96";
+our $VERSION = "0.97";
=head1 NAME
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list