Changeset 6714
- Timestamp:
- 07/05/12 11:49:08 (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.functions.inc.php
r5509 r6714 16 16 { 17 17 18 19 $zones = $this->getTimezones(); 20 $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['timezone'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['timezone'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['timezone'] : sprintf("%s", array_search("America/Sao_Paulo", $zones)); 21 18 22 $timezone_index = $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['timezone']; 19 $zones = $this->getTimezones();20 23 $user_timezone = $zones[$timezone_index]; 24 21 25 $tz = new DateTimeZone($user_timezone); 22 26 $gmt = new DateTimeZone("Etc/GMT+0"); … … 24 28 $offset = $tz->getOffset($gmttime); 25 29 return $offset; 26 27 30 } 28 31 -
trunk/login.php
r5926 r6714 34 34 $GLOBALS['phpgw']->redirect_link('/home.php'); 35 35 } 36 36 37 } 37 38 … … 86 87 case browser::PLATFORM_NOKIA: 87 88 case browser::PLATFORM_ANDROID: 89 case browser::PLATFORM_WINMOBILE: 88 90 $ifMobile = true; 89 91 break; … … 93 95 { 94 96 $GLOBALS['phpgw_info']['user']['preferences']['common']['lang'] = preg_replace("/\,.*/","",$GLOBALS['_SERVER']['HTTP_ACCEPT_LANGUAGE']); 95 if( $_GET['cd'] == '66' ) 96 $GLOBALS['phpgw']->redirect_link('/mobile/login.php?cd=66'); 97 else 98 $GLOBALS['phpgw']->redirect_link('/mobile/login.php'); 97 $GLOBALS['phpgw']->redirect_link('/mobile/login.php'); 99 98 } 100 99 else -
trunk/mobile/inc/class.ui_mobilemail.inc.php
r6037 r6714 12 12 13 13 //TODO: Criar a Classe Widget. 14 15 14 include_once(PHPGW_INCLUDE_ROOT.'/expressoMail1_2/inc/class.imap_functions.inc.php'); 16 15 … … 341 340 $_SESSION['phpgw_info']['expressomail']['email_server']['imapDefaultSpamFolder'] = $_SESSION['phpgw_info']['expressomail']['email_server']['imapDefaultSpamFolder'] ? $_SESSION['phpgw_info']['expressomail']['email_server']['imapDefaultSpamFolder'] : lang("Spam"); 342 341 $_SESSION['phpgw_info']['expressomail']['email_server']['imapDefaultSentFolder'] = $_SESSION['phpgw_info']['expressomail']['email_server']['imapDefaultSentFolder'] ? $_SESSION['phpgw_info']['expressomail']['email_server']['imapDefaultSentFolder'] : lang("Sent"); 343 344 342 } 345 343 … … 904 902 $ccaddress = implode(',',$db_functions->getAddrs(explode(',',$ccaddress))); 905 903 906 if(!$this->imap_functions->add_recipients("to", $toaddress, &$mail ))904 if(!$this->imap_functions->add_recipients("to", $toaddress, &$mail, true)) 907 905 { 908 906 $error_msg = lang("Some addresses in the To field were not recognized. Please make sure that all addresses are properly formed"); 909 907 } 910 908 911 if(!$this->imap_functions->add_recipients("cc", $ccaddress, &$mail ))909 if(!$this->imap_functions->add_recipients("cc", $ccaddress, &$mail, true)) 912 910 { 913 911 $error_msg = lang("Some addresses in the CC field were not recognized. Please make sure that all addresses are properly formed"); -
trunk/phpgwapi/inc/class.browser.inc.php
r5281 r6714 44 44 const PLATFORM_ANDROID = 'Android'; 45 45 const PLATFORM_UNIX = 'Unix'; 46 const PLATFORM_WINMOBILE = 'WinMobile'; 46 47 47 48 function browser() … … 117 118 $this->BROWSER_PLATFORM = self::PLATFORM_MAC; 118 119 } 120 elseif(strstr($HTTP_USER_AGENT,'IEMobile')) 121 { 122 $this->BROWSER_PLATFORM = self::PLATFORM_WINMOBILE; 123 } 119 124 elseif(strstr($HTTP_USER_AGENT,'Win')) 120 125 { 121 126 $this->BROWSER_PLATFORM = self::PLATFORM_WINDOWS; 122 } 127 } 123 128 elseif(strstr($HTTP_USER_AGENT,'Linux')) 124 129 {
Note: See TracChangeset
for help on using the changeset viewer.