Ignore:
Timestamp:
08/19/09 11:10:14 (15 years ago)
Author:
niltonneto
Message:

Ticket #561 - Correção das diferenças entre versão publicada e branch 1.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/expressoMail1_2/index.php

    r689 r1342  
    5858        } 
    5959 
    60         //Local messages 
    61         $_SESSION['phpgw_info']['server']['expressomail']['enable_local_messages'] = $current_config['enable_local_messages']; 
    62  
    6360        // Get Data from ldap_manager and emailadmin. 
    6461        $ldap_manager = CreateObject('contactcenter.bo_ldap_manager'); 
     
    7673        $_SESSION['phpgw_info']['expressomail']['user']['email'] = $GLOBALS['phpgw']->preferences->values['email']; 
    7774         
    78         if($current_config['enable_local_messages']!='True')  { 
    79                 $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_local_messages'] = 0; 
    80         } 
    81  
     75         
    8276        $_SESSION['phpgw_info']['user']['preferences']['expressoMail'] = array( 
    8377                        'voip_enabled'                                          => $voip_enabled, 
     
    10599                'notification_domains'                                  => $current_config['expressoMail_notification_domains'], 
    106100                'remove_attachments_function'                           => $current_config['expressoMail_remove_attachments_function'], 
    107                 'use_important_flag'                                    => $current_config['expressoMail_enable_important_flag'], 
    108                 'use_local_messages'                            => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_local_messages'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_local_messages'] : "0",                      
    109                 'keep_archived_messages'                        => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['keep_archived_messages'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['keep_archived_messages'] : "0" 
    110  
     101                'use_important_flag'                                    => $current_config['expressoMail_enable_important_flag'] 
    111102 
    112103 
     
    171162 
    172163    // End Set Imap Folder names options 
    173         //User info 
    174         echo "<script language='javascript'> var account_id = ".$GLOBALS['phpgw_info']['user']['account_id'].";</script>"; 
    175164 
    176165        $obj = createobject("expressoMail1_2.functions"); 
     
    185174                                                        "js/InfoContact.js," . 
    186175                                                        "js/main.js," . 
    187                                                         "js/gears_init.js," . 
    188                                                         "js/local_messages.js," . 
    189                                                         "js/messages_proxy.js," . 
    190176                                                        "js/rich_text_editor.js," . 
    191177                                                        "js/wfolders.js,", 
Note: See TracChangeset for help on using the changeset viewer.