Changeset 670 for trunk/expressoMail1_2/index.php
- Timestamp:
- 02/06/09 15:34:17 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/index.php
r653 r670 58 58 } 59 59 60 61 //Local messages 62 $_SESSION['phpgw_info']['server']['expressomail']['enable_local_messages'] = $current_config['enable_local_messages']; 63 60 64 // Get Data from ldap_manager and emailadmin. 61 65 $ldap_manager = CreateObject('contactcenter.bo_ldap_manager'); … … 73 77 $_SESSION['phpgw_info']['expressomail']['user']['email'] = $GLOBALS['phpgw']->preferences->values['email']; 74 78 75 79 if($current_config['enable_local_messages']!='True') { 80 $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_local_messages'] = 0; 81 } 82 76 83 $_SESSION['phpgw_info']['user']['preferences']['expressoMail'] = array( 77 84 'voip_enabled' => $voip_enabled, … … 97 104 'number_of_contacts' => $current_config['expressoMail_Number_of_dynamic_contacts'] ? $current_config['expressoMail_Number_of_dynamic_contacts'] : "0", 98 105 'use_cache' => $current_config['expressoMail_enable_cache'], 99 'notification_domains' => $current_config['expressoMail_notification_domains'] 100 101 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" 102 109 103 110 ); … … 160 167 161 168 // End Set Imap Folder names options 169 //User info 170 echo "<script language='javascript'> var account_id = ".$GLOBALS['phpgw_info']['user']['account_id'].";</script>"; 162 171 163 172 $obj = createobject("expressoMail1_2.functions"); … … 172 181 "js/InfoContact.js," . 173 182 "js/main.js," . 183 "js/gears_init.js," . 184 "js/local_messages.js," . 185 "js/messages_proxy.js," . 174 186 "js/rich_text_editor.js," . 175 187 "js/wfolders.js,",
Note: See TracChangeset
for help on using the changeset viewer.