Changeset 3365 for branches


Ignore:
Timestamp:
10/15/10 17:08:29 (14 years ago)
Author:
brunocosta
Message:

Ticket #1010 - Tornar criação automática configurável.

Location:
branches/2.2/expressoMail1_2
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/inc/hook_settings.inc.php

    r3283 r3365  
    107107create_check_box('Would you like to use local messages?','use_local_messages','Enabling this options you will be able to store messages in your local computer'); 
    108108create_select_box('Desired action to archive messages to local folders','keep_archived_messages',$arquived_messages,'After store email in your local computer delete it from server'); 
     109create_check_box('Automaticaly create Default local folders?','auto_create_local','Enable this option if you want to automaticaly create the Inbox, Draft, Trash and Sent folders'); 
    109110create_check_box('Show previous message, after delete actual message?','delete_and_show_previous_message','Enable this option if you want to read the next message everytime you delete a message'); 
    110111create_check_box('Do you wanna receive an alert for new messages?','alert_new_msg','Everytime you receive new messages you will be informed'); 
  • branches/2.2/expressoMail1_2/index.php

    r3245 r3365  
    8787        $_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"; 
    8888        $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['from_to_sent'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['from_to_sent'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['from_to_sent'] : "0"; 
    89  
     89        $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['from_to_sent'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['auto_create_local'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['auto_create_local'] : "0";     
    9090 
    9191        $template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); 
  • branches/2.2/expressoMail1_2/js/local_messages.js

    r3355 r3365  
    763763    this.finalize(); 
    764764 
    765     if(achouInbox && achouSent && achouSentConf && achouTrash && achouDrafts){ 
     765    if(preferences.auto_create_local=='0' || (achouInbox && achouSent && achouSentConf && achouTrash && achouDrafts)){ 
    766766        var retorno_final = retorno_defaults.concat(retorno.sort(charOrdA)); 
    767767        return retorno_final; 
  • branches/2.2/expressoMail1_2/setup/phpgw_pt-br.lang

    r3352 r3365  
    608608Valid Until     expressoMail1_2 en      Valido ate 
    609609Serial Number   expressoMail1_2 en      Numero de serie 
     610Automaticaly create Default local folders?      expressoMail1_2 pt-br   Criar automáticamente pastas locais padrão? 
     611Enable this option if you want to automaticaly create the Inbox, Draft, Trash and Sent folders  expressoMail1_2 pt-br   Ative essa opção para que as pastas Caixa de entrada, Lixeira, Enviada e Rascunhos sejam criadas automáticamente no arquivamento local. 
Note: See TracChangeset for help on using the changeset viewer.