diff options
author | sgiehl <stefan@piwik.org> | 2014-02-13 17:37:36 +0400 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2014-02-13 17:37:36 +0400 |
commit | 13f776e0ff0df6fcb02420811118e3e4cb1b7a49 (patch) | |
tree | 3b98c33dbab63b5c14017fd7df7d0d5b5aac816d /plugins/DevicesDetection/functions.php | |
parent | 2e3b70c4900fd115de7a6173ce466074001410d4 (diff) |
added detection for some android powered cameras and gaming console
Diffstat (limited to 'plugins/DevicesDetection/functions.php')
-rw-r--r-- | plugins/DevicesDetection/functions.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/DevicesDetection/functions.php b/plugins/DevicesDetection/functions.php index 37b5ec3ea2..21cfa8ae33 100644 --- a/plugins/DevicesDetection/functions.php +++ b/plugins/DevicesDetection/functions.php @@ -107,7 +107,8 @@ function getDeviceTypeLabel($label) 'console' => 'DevicesDetection_Console', 'tv' => 'DevicesDetection_TV', 'car browser' => 'DevicesDetection_CarBbrowser', - 'smart display' => 'DevicesDetection_SmartDisplay' + 'smart display' => 'DevicesDetection_SmartDisplay', + 'camera' => 'DevicesDetection_Camera' ); if (isset(UserAgentParserEnhanced::$deviceTypes[$label]) && isset($translations[UserAgentParserEnhanced::$deviceTypes[$label]])) { return Piwik::translate($translations[UserAgentParserEnhanced::$deviceTypes[$label]]); @@ -133,7 +134,8 @@ function getDeviceTypeLogo($label) "tv" => "tv.png", "feature phone" => "mobile.gif", "console" => "console.gif", - "car browser" => "carbrowser.png"); + "car browser" => "carbrowser.png", + "camera" => "camera.png"); if (!array_key_exists($label, $deviceTypeLogos) || $label == "Unknown") { $label = 'unknown.gif'; |