Changeset 673 for trunk/expressoMail1_2/index.php
- Timestamp:
- 02/06/09 16:53:27 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/index.php
r670 r673 58 58 } 59 59 60 61 //Local messages62 $_SESSION['phpgw_info']['server']['expressomail']['enable_local_messages'] = $current_config['enable_local_messages'];63 64 60 // Get Data from ldap_manager and emailadmin. 65 61 $ldap_manager = CreateObject('contactcenter.bo_ldap_manager'); … … 77 73 $_SESSION['phpgw_info']['expressomail']['user']['email'] = $GLOBALS['phpgw']->preferences->values['email']; 78 74 79 if($current_config['enable_local_messages']!='True') { 80 $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_local_messages'] = 0; 81 } 82 75 83 76 $_SESSION['phpgw_info']['user']['preferences']['expressoMail'] = array( 84 77 'voip_enabled' => $voip_enabled, … … 95 88 'type_signature' => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['type_signature'], 96 89 'use_signature' => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_signature'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_signature'] : "0", 97 90 'hide_folders' => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['hide_folders'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['hide_folders'] : "0", 98 91 'save_in_folder' => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['save_in_folder'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['save_in_folder'] : "-1", 99 92 'line_height' => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['line_height'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['line_height'] : "30", … … 101 94 'use_shortcuts' => $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_shortcuts'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_shortcuts'] : "0", 102 95 '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 109 104 110 105 ); … … 167 162 168 163 // End Set Imap Folder names options 169 //User info170 echo "<script language='javascript'> var account_id = ".$GLOBALS['phpgw_info']['user']['account_id'].";</script>";171 164 172 165 $obj = createobject("expressoMail1_2.functions"); … … 181 174 "js/InfoContact.js," . 182 175 "js/main.js," . 183 "js/gears_init.js," .184 "js/local_messages.js," .185 "js/messages_proxy.js," .186 176 "js/rich_text_editor.js," . 187 177 "js/wfolders.js,",
Note: See TracChangeset
for help on using the changeset viewer.