Changeset 3226


Ignore:
Timestamp:
09/09/10 16:52:04 (14 years ago)
Author:
amuller
Message:

Ticket #1169 - aumentando o limite de pastas do imap que é no código

Location:
branches/2.2/expressoMail1_2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/inc/class.imap_functions.inc.php

    r3223 r3226  
    2828 
    2929        function imap_functions (){ 
    30                 $this->foldersLimit = 200; //Limit of folders (mailboxes) user can see 
     30                $this->foldersLimit = $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['imap_max_folders'] ?  $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['imap_max_folders'] : 20000; //Limit of folders (mailboxes) user can see 
    3131                $this->username           = $_SESSION['phpgw_info']['expressomail']['user']['userid']; 
    3232                $this->password           = $_SESSION['phpgw_info']['expressomail']['user']['passwd']; 
  • branches/2.2/expressoMail1_2/index.php

    r3224 r3226  
    8282        $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['keep_after_auto_archiving'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['keep_after_auto_archiving'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['keep_after_auto_archiving'] : "0"; 
    8383 
    84         $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['max_attachment_size'] = $current_config['expressoMail_Max_attachment_size'] ? $current_config['expressoMail_Max_attachment_size']."M" : ini_get('upload_max_filesize');  
     84        $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['max_attachment_size'] = $current_config['expressoMail_Max_attachment_size'] ? $current_config['expressoMail_Max_attachment_size']."M" : ini_get('upload_max_filesize'); 
     85        $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['imap_max_folders'] = $current_config['expressoMail_imap_max_folders'];  
    8586        $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['max_email_per_page'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['max_email_per_page'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['max_email_per_page'] : "50"; 
    8687        $template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); 
  • branches/2.2/expressoMail1_2/templates/default/config.tpl

    r3018 r3226  
    8888    </td> 
    8989    </tr> 
    90     <tr bgcolor="{row_on}">               
    91     <td>{lang_Max_attachment_size}</td>                   
    92     <td>                  
     90    <tr bgcolor="{row_on}"> 
     91    <td>{lang_imap_max_folders}:</td> 
     92    <td> 
     93    <input size="2" name="newsettings[expressoMail_imap_max_folders]" value="{value_expressoMail_imap_max_folders}"> 
     94    </td> 
     95    </tr> 
     96    <tr bgcolor="{row_off}"> 
     97    <td>{lang_Max_attachment_size}</td> 
     98    <td> 
    9399    <input size="1" name="newsettings[expressoMail_Max_attachment_size]" value="{value_expressoMail_Max_attachment_size}">&nbsp;Mb<span style='position:relative; left:20px;'>Max: {php_upload_limit}Mb.</span>  
    94100    <input type="hidden" name="valida_alert" value="{lang_Value_exceeds_the_PHP_upload_limit_for_this_server}" />  
    95101    </td> 
    96102    </tr> 
    97     <tr bgcolor="{row_off}"> 
     103    <tr bgcolor="{row_on}"> 
    98104    <td>{lang_googlegears_url}</td> 
    99105    <td> 
Note: See TracChangeset for help on using the changeset viewer.