Changeset 4304


Ignore:
Timestamp:
05/10/11 11:11:30 (13 years ago)
Author:
airton
Message:

Ticket #1820 - Corrigido erro para traduzir pasta pela funcao lang_folder - r4292

Location:
sandbox/2.2.0.2
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.2.0.2/expressoMail1_2/js/DropDownContacts.js

    r4290 r4304  
    9494                match_cont = ""; 
    9595        } 
     96 
    9697         
    9798        if (document.getElementById('tipDiv')){  
    9899                document.getElementById('tipDiv').focus();  
    99         }  
    100            
     100        }  
     101 
     102 
    101103        // treat especials keys 
    102104        // key ENTER 
  • sandbox/2.2.0.2/expressoMail1_2/js/filters.js

    r3905 r4304  
    167167                var _action = " ";  
    168168                if (fields[6] == 'folder')  
    169                         _action = get_lang("Store at")+" "+ lang_folder((fields[7].split("/"))[1]);  
     169                { 
     170            var _folderName = ( (fields[7].split(cyrus_delimiter))[1] != undefined ) ? (fields[7].split(cyrus_delimiter))[1] : fields[7]; 
     171            _action = get_lang("Store at")+" "+ lang_folder( _folderName ); 
     172        }  
    170173                else if (fields[6] == 'address')  
    171174                        _action = get_lang("Forward to")+ " "+(fields[7]); 
  • sandbox/2.2.0.2/login.php

    r4278 r4304  
    4040                if(function_exists('CreateObject')) 
    4141                { 
    42                     if($_GET['dont_redirect_if_moble'] != 1) { 
    43                         //detect if the user has a compatible browser, if don't have send him to expresso mini 
    44                         $browser = CreateObject('phpgwapi.browser'); 
    45                          
    46                         switch ($browser->get_platform()) { 
    47                                 case browser::PLATFORM_IPHONE: 
    48                                 case browser::PLATFORM_IPOD: 
    49                                 case browser::PLATFORM_IPAD: 
    50                                 case browser::PLATFORM_BLACKBERRY: 
    51                                 case browser::PLATFORM_NOKIA: 
    52                                 case browser::PLATFORM_ANDROID: 
    53                                         $GLOBALS['phpgw']->redirect_link('/mobile/');                                    
    54                                         break; 
    55                                 default: 
    56                                         break; 
     42                        if($_GET['dont_redirect_if_moble'] != 1) { 
     43                                //detect if the user has a compatible browser, if don't have send him to expresso mini 
     44                                $browser = CreateObject('phpgwapi.browser'); 
     45 
     46                                switch ($browser->get_platform()) { 
     47                                        case browser::PLATFORM_IPHONE: 
     48                                        case browser::PLATFORM_IPOD: 
     49                                        case browser::PLATFORM_IPAD: 
     50                                        case browser::PLATFORM_BLACKBERRY: 
     51                                        case browser::PLATFORM_NOKIA: 
     52                                        case browser::PLATFORM_ANDROID: 
     53                                                        $GLOBALS['phpgw']->redirect_link('/mobile/'); 
     54                                                break; 
     55                                        default: 
     56                                                break; 
     57                                } 
    5758                        } 
    58                     } 
    59                          
    6059                        $GLOBALS['phpgw']->session = CreateObject('phpgwapi.sessions'); 
    6160                } 
  • sandbox/2.2.0.2/phpgwapi/inc/class.browser.inc.php

    r4291 r4304  
    199199                } 
    200200 
    201                 function isMobile( ) 
     201        function isMobile( ) 
    202202                { 
    203203                        return $this -> is_ipad( ) 
Note: See TracChangeset for help on using the changeset viewer.