Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
');
if ($body_quote == 'NONE') $body_quote = '';
// Load preference for cursor behavior for replies
//
$reply_focus = getPref($data_dir, $username, 'reply_focus', '');
/* left refresh rate, strtolower makes 1.0.6 prefs compatible */
$left_refresh = getPref($data_dir, $username, 'left_refresh', 600 );
$left_refresh = strtolower($left_refresh);
$sort = getPref($data_dir, $username, 'sort', 6 );
/* Load up the Signature file */
$signature_abs = $signature = getSig($data_dir, $username, 'g');
/* Message Highlighting Rules */
$message_highlight_list = array();
/* use new way of storing highlighting rules */
if( $ser = getPref($data_dir, $username, 'hililist') ) {
$message_highlight_list = unserialize($ser);
} else {
/* use old way */
for ($i = 0; $hlt = getPref($data_dir, $username, "highlight$i"); ++$i) {
$highlight_array = explode(',', $hlt);
$message_highlight_list[$i]['name'] = $highlight_array[0];
$message_highlight_list[$i]['color'] = $highlight_array[1];
$message_highlight_list[$i]['value'] = $highlight_array[2];
$message_highlight_list[$i]['match_type'] = $highlight_array[3];
removePref($data_dir, $username, "highlight$i");
}
// NB: The fact that this preference is always set here means that some plugins rely on testing it to know if a user has logged in before - the "old way" above is probably long since obsolete and unneeded, but the setPref() below should not be removed
/* store in new format for the next time */
setPref($data_dir, $username, 'hililist', serialize($message_highlight_list));
}
/* Index order lets you change the order of the message index */
$order = getPref($data_dir, $username, 'order1');
for ($i = 1; $order; ++$i) {
$index_order[$i] = $order;
$order = getPref($data_dir, $username, 'order'.($i+1));
}
if (!isset($index_order)) {
$index_order[1] = 1;
$index_order[2] = 2;
$index_order[3] = 3;
$index_order[4] = 5;
$index_order[5] = 4;
}
$alt_index_colors =
getPref($data_dir, $username, 'alt_index_colors', SMPREF_ON );
// Folder List Display Format
$location_of_bar =
getPref($data_dir, $username, 'location_of_bar', SMPREF_LOC_LEFT);
$location_of_buttons =
getPref($data_dir, $username, 'location_of_buttons', SMPREF_LOC_BETWEEN);
$collapse_folders =
getPref($data_dir, $username, 'collapse_folders', SMPREF_ON);
$show_html_default =
getPref($data_dir, $username, 'show_html_default', SMPREF_OFF);
$addrsrch_fullname =
getPref($data_dir, $username, 'addrsrch_fullname', 'fullname');
$enable_forward_as_attachment =
getPref($data_dir, $username, 'enable_forward_as_attachment', SMPREF_ON);
$show_xmailer_default =
getPref($data_dir, $username, 'show_xmailer_default', SMPREF_OFF );
$attachment_common_show_images = getPref($data_dir, $username, 'attachment_common_show_images', SMPREF_OFF );
$pf_cleandisplay = getPref($data_dir, $username, 'pf_cleandisplay', SMPREF_OFF);
/* message disposition notification support setting */
$mdn_user_support = getPref($data_dir, $username, 'mdn_user_support', SMPREF_ON);
$include_self_reply_all =
getPref($data_dir, $username, 'include_self_reply_all', SMPREF_ON);
/* Page selector options */
$page_selector = getPref($data_dir, $username, 'page_selector', SMPREF_ON);
$page_selector_max = getPref($data_dir, $username, 'page_selector_max', 10);
/* SqClock now in the core */
$date_format = getPref($data_dir, $username, 'date_format', 3);
$hour_format = getPref($data_dir, $username, 'hour_format', SMPREF_TIME_12HR);
/* compose in new window setting */
$compose_new_win = getPref($data_dir, $username, 'compose_new_win', 0);
$compose_height = getPref($data_dir, $username, 'compose_height', 550);
$compose_width = getPref($data_dir, $username, 'compose_width', 640);
/* signature placement settings */
$sig_first = getPref($data_dir, $username, 'sig_first', 0);
/* strip signature from replies setting */
$strip_sigs = getPref($data_dir, $username, 'strip_sigs', 0);
/* use the internal date of the message for sorting instead of the supplied header date */
$internal_date_sort = getPref($data_dir, $username, 'internal_date_sort', SMPREF_ON);
/* if server sorting is enabled/disabled */
$sort_by_ref = getPref($data_dir, $username, 'sort_by_ref', 1);
/* Load the javascript settings. */
$javascript_setting = getPref($data_dir, $username, 'javascript_setting', SMPREF_JS_AUTODETECT);
$javascript_on = getPref($data_dir, $username, 'javascript_on', SMPREF_ON);
$use_javascript_addr_book = getPref($data_dir, $username, 'use_javascript_addr_book', $default_use_javascript_addr_book);
$search_memory = getPref($data_dir, $username, 'search_memory', 0);
$mailbox_select_style = getPref($data_dir, $username, 'mailbox_select_style', 1);
/* Allow user to customize, and display the full date, instead of day, or time based
on time distance from date of message */
$show_full_date = getPref($data_dir, $username, 'show_full_date', 0);
/* Allow user to customize length of from field */
$truncate_sender = getPref($data_dir, $username, 'truncate_sender', 50);
/* Allow user to customize length of subject field */
$truncate_subject = getPref($data_dir, $username, 'truncate_subject', 50);
do_hook('loading_prefs');