From: <wis...@us...> - 2012-01-18 18:55:37
|
Revision: 8755 http://xoops.svn.sourceforge.net/xoops/?rev=8755&view=rev Author: wishcraft Date: 2012-01-18 18:55:31 +0000 (Wed, 18 Jan 2012) Log Message: ----------- WURFL 2.02 - Fixed Device Detection and Theme Selection - Added Useragent Spy in Admin Modified Paths: -------------- XoopsModules/wurfl/releases/2.02/htdocs/modules/wurfl/class/devices.php Modified: XoopsModules/wurfl/releases/2.02/htdocs/modules/wurfl/class/devices.php =================================================================== --- XoopsModules/wurfl/releases/2.02/htdocs/modules/wurfl/class/devices.php 2012-01-18 17:53:27 UTC (rev 8754) +++ XoopsModules/wurfl/releases/2.02/htdocs/modules/wurfl/class/devices.php 2012-01-18 18:55:31 UTC (rev 8755) @@ -78,28 +78,28 @@ foreach(explode('|', $GLOBALS['wurflModuleConfig']['pad_useragent_android']) as $ua) { if (!empty($ua)) - if (strpos(' '.strtolower(' '.$ua), strtolower($user_agent))>0||strpos(' '.strtolower($user_agent), strtolower(' '.$ua))>0) { + if (strpos(' '.strtolower(' '.$ua), strtolower($user_agent))>0||strpos(' '.strtolower($user_agent), strtolower($ua))>0) { return $GLOBALS['wurflModuleConfig']['pad_android']; } } foreach(explode('|', $GLOBALS['wurflModuleConfig']['pad_useragent_apple']) as $ua) { if (!empty($ua)) - if (strpos(' '.strtolower(' '.$ua), strtolower($user_agent))>0||strpos(' '.strtolower($user_agent), strtolower(' '.$ua))>0) { + if (strpos(' '.strtolower(' '.$ua), strtolower($user_agent))>0||strpos(' '.strtolower($user_agent), strtolower($ua))>0) { return $GLOBALS['wurflModuleConfig']['pad_apple']; } } foreach(explode('|', $GLOBALS['wurflModuleConfig']['mob_useragent_android']) as $ua) { if (!empty($ua)) - if (strpos(' '.strtolower(' '.$ua), strtolower($user_agent))>0||strpos(' '.strtolower($user_agent), strtolower(' '.$ua))>0) { + if (strpos(' '.strtolower(' '.$ua), strtolower($user_agent))>0||strpos(' '.strtolower($user_agent), strtolower($ua))>0) { return $GLOBALS['wurflModuleConfig']['mob_android']; } } foreach(explode('|', $GLOBALS['wurflModuleConfig']['mob_useragent_apple']) as $ua) { if (!empty($ua)) - if (strpos(' '.strtolower(' '.$ua), strtolower($user_agent))>0||strpos(' '.strtolower($user_agent), strtolower(' '.$ua))>0) { + if (strpos(' '.strtolower(' '.$ua), strtolower($user_agent))>0||strpos(' '.strtolower($user_agent), strtolower($ua))>0) { return $GLOBALS['wurflModuleConfig']['mob_apple']; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |