Changeset 6657 for branches


Ignore:
Timestamp:
06/27/12 11:46:17 (7 years ago)
Author:
brunocosta
Message:

Ticket #2853 - Exibição de cotas de sub pastas IMAP. - ajuste.

Location:
branches/2.3/expressoMail1_2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/expressoMail1_2/imap.py

    r6340 r6657  
    88password=sys.argv[4] 
    99date_time=int(sys.argv[5]) 
    10 mailbox=sys.argv[6] 
    11 print sys.argv[7] 
     10mailbox=base64.b64decode(sys.argv[6]) 
    1211imap_file = open(sys.argv[7],"r") 
    1312tmp=imap_file.read() 
  • branches/2.3/expressoMail1_2/inc/class.imap_functions.inc.php

    r6561 r6657  
    32563256                {     
    32573257                        $folder_id = "INBOX"; 
    3258                         $folderQuotas = $this->get_folders_with_quota(); 
     3258                        $folderQuotas = $this->get_quotaroot(array('folder' => 'INBOX/Arquivo Remoto')); 
     3259                        if($folderQuotas['quota_limit'] == 0) 
     3260                            $folderQuotas = false; 
    32593261                } 
    32603262                 
     
    41574159                    fputs($f,base64_encode($source)); 
    41584160                fclose($f); 
     4161                $folder = base64_encode(mb_convert_encoding($folder, "UTF7-IMAP","ISO_8859-1")); 
    41594162                $command = "python ".$_SERVER['DOCUMENT_ROOT']."/expressoMail1_2/imap.py ".escapeshellarg($imap_server)." ".escapeshellarg($imap_port)." ".escapeshellarg($username)." ".escapeshellarg($password)." ".escapeshellarg($timestamp)." '".$folder."' ".escapeshellarg($file); 
    41604163                $return['command']=exec(escapeshellcmd($command)); 
  • branches/2.3/expressoMail1_2/js/filter.js

    r5120 r6657  
    147147                        } 
    148148                        for(var i=0; i < nm_folders.length; i++){ 
    149                                 if(nm_folders[i].id != "root" && !proxy_mensagens.is_local_folder(nm_folders[i].id)){ 
     149                                if(nm_folders[i].id != "root" &&  
     150                                   !proxy_mensagens.is_local_folder(nm_folders[i].id) &&  
     151                                   nm_folders[i].id != "INBOX/Arquivo Remoto" && //não mostra a pasta "arquivo remoto" 
     152                                   nm_folders[i].id != "user"&&  //Não mostra a raiz das pastas compartilhadas. 
     153                                   nm_folders[i].parent != "INBOX/Arquivo Remoto" && //não mostra sub-pastas de "arquivo remoto" 
     154                                   nm_folders[i].id.substring(0,5) != 'user/' ) //Não mostra  pastas compartilhadas. 
     155                                { 
    150156                                        var opt = new Option(nm_folders[i].caption,nm_folders[i].id,false,true); 
    151157                                        sel_nm[sel_nm.length] = opt; 
Note: See TracChangeset for help on using the changeset viewer.