diff options
Diffstat (limited to 'plugins/DevicesDetection/functions.php')
-rw-r--r-- | plugins/DevicesDetection/functions.php | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins/DevicesDetection/functions.php b/plugins/DevicesDetection/functions.php index 92a4b3e84e..56be9c7a0e 100644 --- a/plugins/DevicesDetection/functions.php +++ b/plugins/DevicesDetection/functions.php @@ -85,12 +85,12 @@ function getDeviceTypeLabel($label) function getDeviceTypeLogo($label) { $deviceTypeLogos = Array( - "Desktop" => "normal.gif", - "Smartphone" => "smartphone.png", - "Tablet" => "tablet.png", - "Tv" => "tv.png", + "Desktop" => "normal.gif", + "Smartphone" => "smartphone.png", + "Tablet" => "tablet.png", + "Tv" => "tv.png", "Feature phone" => "mobile.gif", - "Console" => "console.gif"); + "Console" => "console.gif"); if (!array_key_exists($label, $deviceTypeLogos) || $label == "Unknown") { $label = 'unknown.gif'; @@ -135,7 +135,7 @@ function getOsFullNameExtended($label) $os = substr($label, 0, 3); $ver = substr($label, 4, 15); $name = UserAgentParserEnhanced::getOsNameFromId($os, $ver); - if(!empty($name)) { + if (!empty($name)) { return $name; } } @@ -143,7 +143,6 @@ function getOsFullNameExtended($label) } - function getOsLogoExtended($label) { $short = substr($label, 0, 3); |