Index: /trunk/login.php =================================================================== --- /trunk/login.php (revision 3621) +++ /trunk/login.php (revision 4213) @@ -40,20 +40,21 @@ if(function_exists('CreateObject')) { - //detect if the user has a compatible browser, if don't have send him to expresso mini - $browser = CreateObject('phpgwapi.browser'); - - switch ($browser->get_platform()) { - case browser::PLATFORM_IPHONE: - case browser::PLATFORM_IPOD: - case browser::PLATFORM_IPAD: - case browser::PLATFORM_BLACKBERRY: - case browser::PLATFORM_NOKIA: - case browser::PLATFORM_ANDROID: - $GLOBALS['phpgw']->redirect_link('/mobile/'); - break; - default: - break; + if($_GET['dont_redirect_if_moble'] != 1) { + //detect if the user has a compatible browser, if don't have send him to expresso mini + $browser = CreateObject('phpgwapi.browser'); + + switch ($browser->get_platform()) { + case browser::PLATFORM_IPHONE: + case browser::PLATFORM_IPOD: + case browser::PLATFORM_IPAD: + case browser::PLATFORM_BLACKBERRY: + case browser::PLATFORM_NOKIA: + case browser::PLATFORM_ANDROID: + $GLOBALS['phpgw']->redirect_link('/mobile/'); + break; + default: + break; + } } - $GLOBALS['phpgw']->session = CreateObject('phpgwapi.sessions'); } Index: /trunk/mobile/templates/default/pc_template.tpl =================================================================== --- /trunk/mobile/templates/default/pc_template.tpl (revision 3996) +++ /trunk/mobile/templates/default/pc_template.tpl (revision 4213) @@ -95,4 +95,5 @@
Projeto ExpressoLivre 2004 - 2010 :: Licença de Software
+ + +