Ignore:
Timestamp:
02/06/09 16:53:27 (15 years ago)
Author:
niltonneto
Message:

Revisão 670 revertida para versionar 1.233 em TAGS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/index.php

    r670 r673  
    5858        } 
    5959 
    60  
    61         //Local messages 
    62         $_SESSION['phpgw_info']['server']['expressomail']['enable_local_messages'] = $current_config['enable_local_messages']; 
    63  
    6460        // Get Data from ldap_manager and emailadmin. 
    6561        $ldap_manager = CreateObject('contactcenter.bo_ldap_manager'); 
     
    7773        $_SESSION['phpgw_info']['expressomail']['user']['email'] = $GLOBALS['phpgw']->preferences->values['email']; 
    7874         
    79         if($current_config['enable_local_messages']!='True')  { 
    80                 $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_local_messages'] = 0; 
    81         } 
    82  
     75         
    8376        $_SESSION['phpgw_info']['user']['preferences']['expressoMail'] = array( 
    8477                        'voip_enabled'                                          => $voip_enabled, 
     
    9588                'type_signature'                                        => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['type_signature'], 
    9689                'use_signature'                                         => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_signature'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_signature'] : "0", 
    97                         'hide_folders'                                          => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['hide_folders'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['hide_folders'] : "0",                  
     90                'hide_folders'                                          => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['hide_folders'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['hide_folders'] : "0",                  
    9891                'save_in_folder'                                        => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['save_in_folder'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['save_in_folder'] : "-1", 
    9992                'line_height'                                           => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['line_height'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['line_height'] : "30", 
     
    10194                'use_shortcuts'                                         => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_shortcuts'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_shortcuts'] : "0", 
    10295                'auto_save_draft'                                       => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['auto_save_draft'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['auto_save_draft'] : "0", 
    103                         'use_dynamic_contacts'                          => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_dynamic_contacts'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_dynamic_contacts'] : "0", 
    104                         'number_of_contacts'                            => $current_config['expressoMail_Number_of_dynamic_contacts'] ? $current_config['expressoMail_Number_of_dynamic_contacts'] : "0", 
    105                         'use_cache'                                             => $current_config['expressoMail_enable_cache'], 
    106                         'notification_domains'                  => $current_config['expressoMail_notification_domains'], 
    107                 'use_local_messages'                            => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_local_messages'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_local_messages'] : "0",                      
    108                 'keep_archived_messages'                        => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['keep_archived_messages'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['keep_archived_messages'] : "0" 
     96                'use_dynamic_contacts'                                  => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_dynamic_contacts'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_dynamic_contacts'] : "0", 
     97                'number_of_contacts'                                    => $current_config['expressoMail_Number_of_dynamic_contacts'] ? $current_config['expressoMail_Number_of_dynamic_contacts'] : "0", 
     98                'use_cache'                                             => $current_config['expressoMail_enable_cache'], 
     99                'notification_domains'                                  => $current_config['expressoMail_notification_domains'], 
     100                'remove_attachments_function'                           => $current_config['expressoMail_remove_attachments_function'], 
     101                'use_important_flag'                                    => $current_config['expressoMail_enable_important_flag'] 
     102 
     103 
    109104                 
    110105        ); 
     
    167162 
    168163    // End Set Imap Folder names options 
    169         //User info 
    170         echo "<script language='javascript'> var account_id = ".$GLOBALS['phpgw_info']['user']['account_id'].";</script>"; 
    171164 
    172165        $obj = createobject("expressoMail1_2.functions"); 
     
    181174                                                        "js/InfoContact.js," . 
    182175                                                        "js/main.js," . 
    183                                                         "js/gears_init.js," . 
    184                                                         "js/local_messages.js," . 
    185                                                         "js/messages_proxy.js," . 
    186176                                                        "js/rich_text_editor.js," . 
    187177                                                        "js/wfolders.js,", 
Note: See TracChangeset for help on using the changeset viewer.