squirrelmail-webmail
1.4.22
About: SquirrelMail is a standards-based webmail package with strong MIME support, address books, and folder manipulation (written in PHP4).
![]() ![]() |
Go to the source code of this file.
Namespaces | |
squirrelmail | |
Variables | |
if(! sqgetGlobalVar('username', $username, SQ_SESSION)) | $custom_css = getPref($data_dir, $username, 'custom_css', 'none' ) |
$theme = ( !isset($theme) ? array() : $theme ) | |
$color = ( !isset($color) ? array() : $color ) | |
$chosen_theme = getPref($data_dir, $username, 'chosen_theme') | |
$found_theme = false | |
$color [0] = '#DCDCDC' | |
$color [1] = '#800000' | |
$color [2] = '#CC0000' | |
$color [3] = '#A0B8C8' | |
$color [4] = '#FFFFFF' | |
$color [5] = '#FFFFCC' | |
$color [6] = '#000000' | |
$color [7] = '#0000CC' | |
$color [8] = '#000000' | |
$color [9] = '#ABABAB' | |
$color [10] = '#666666' | |
$color [11] = '#770000' | |
$color [12] = '#EDEDED' | |
$color [15] = '#002266' | |
$color [16] = '#ff9933' | |
if(isset($chosen_theme) && $found_theme &&(file_exists($chosen_theme))) | else |
$move_to_trash | |
$save_as_draft | |
if($default_unseen_type=='') if($default_unseen_notify=='') | $unseen_type |
$unseen_notify | |
$unseen_cum | |
$folder_prefix | |
$load_trash_folder = getPref($data_dir, $username, 'trash_folder') | |
$load_sent_folder = getPref($data_dir, $username, 'sent_folder') | |
$load_draft_folder = getPref($data_dir, $username, 'draft_folder') | |
$show_num = getPref($data_dir, $username, 'show_num', 15 ) | |
$wrap_at = getPref( $data_dir, $username, 'wrap_at', 86 ) | |
if($wrap_at< 15) | $left_size = getPref($data_dir, $username, 'left_size') |
if($left_size=='') | $editor_size = getPref($data_dir, $username, 'editor_size', 76 ) |
$editor_height = getPref($data_dir, $username, 'editor_height', 20 ) | |
$use_signature = getPref($data_dir, $username, 'use_signature', SMPREF_OFF ) | |
$prefix_sig = getPref($data_dir, $username, 'prefix_sig') | |
$timezone = getPref($data_dir, $username, 'timezone', SMPREF_NONE ) | |
$reply_citation_style | |
$reply_citation_start = getPref($data_dir, $username, 'reply_citation_start') | |
$reply_citation_end = getPref($data_dir, $username, 'reply_citation_end') | |
$body_quote = getPref($data_dir, $username, 'body_quote', '>') | |
$reply_focus = getPref($data_dir, $username, 'reply_focus', '') | |
$left_refresh = getPref($data_dir, $username, 'left_refresh', 600 ) | |
$sort = getPref($data_dir, $username, 'sort', 6 ) | |
$signature_abs = $signature = getSig($data_dir, $username, 'g') | |
$message_highlight_list = array() | |
$order = getPref($data_dir, $username, 'order1') | |
for($i=1; $order;++$i) if(!isset($index_order)) | $alt_index_colors |
$location_of_bar | |
$location_of_buttons | |
$collapse_folders | |
$show_html_default | |
$addrsrch_fullname | |
$enable_forward_as_attachment | |
$show_xmailer_default | |
$attachment_common_show_images = getPref($data_dir, $username, 'attachment_common_show_images', SMPREF_OFF ) | |
$pf_cleandisplay = getPref($data_dir, $username, 'pf_cleandisplay', SMPREF_OFF) | |
$mdn_user_support = getPref($data_dir, $username, 'mdn_user_support', SMPREF_ON) | |
$include_self_reply_all | |
$page_selector = getPref($data_dir, $username, 'page_selector', SMPREF_ON) | |
$page_selector_max = getPref($data_dir, $username, 'page_selector_max', 10) | |
$date_format = getPref($data_dir, $username, 'date_format', 3) | |
$hour_format = getPref($data_dir, $username, 'hour_format', SMPREF_TIME_12HR) | |
$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) | |
$sig_first = getPref($data_dir, $username, 'sig_first', 0) | |
$strip_sigs = getPref($data_dir, $username, 'strip_sigs', 0) | |
$internal_date_sort = getPref($data_dir, $username, 'internal_date_sort', SMPREF_ON) | |
$sort_by_ref = getPref($data_dir, $username, 'sort_by_ref', 1) | |
$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) | |
$show_full_date = getPref($data_dir, $username, 'show_full_date', 0) | |
$truncate_sender = getPref($data_dir, $username, 'truncate_sender', 50) | |
$truncate_subject = getPref($data_dir, $username, 'truncate_subject', 50) | |
$addrsrch_fullname |
Definition at line 225 of file load_prefs.php.
Referenced by AddressBook\full_address().
$attachment_common_show_images = getPref($data_dir, $username, 'attachment_common_show_images', SMPREF_OFF ) |
Definition at line 233 of file load_prefs.php.
Referenced by attachment_common_link_image(), and magicHTML().
$body_quote = getPref($data_dir, $username, 'body_quote', '>') |
Definition at line 159 of file load_prefs.php.
Referenced by newMail().
Definition at line 30 of file load_prefs.php.
$collapse_folders |
Definition at line 219 of file load_prefs.php.
Referenced by compute_folder_children(), and formatMailboxName().
$color[0] = '#DCDCDC' |
This theme as a failsafe if no themes were found. It makes no sense to cause the whole thing to exit just because themes were not found. This is the absolute last resort. Moved here to provide 'sane' defaults for incomplete themes.
Definition at line 50 of file load_prefs.php.
$color[10] = '#666666' |
Definition at line 60 of file load_prefs.php.
$color[11] = '#770000' |
Definition at line 61 of file load_prefs.php.
$color[12] = '#EDEDED' |
Definition at line 62 of file load_prefs.php.
$color[15] = '#002266' |
Definition at line 63 of file load_prefs.php.
$color[16] = '#ff9933' |
Definition at line 64 of file load_prefs.php.
$color[1] = '#800000' |
Definition at line 51 of file load_prefs.php.
$color[2] = '#CC0000' |
Definition at line 52 of file load_prefs.php.
$color[3] = '#A0B8C8' |
Definition at line 53 of file load_prefs.php.
$color[4] = '#FFFFFF' |
Definition at line 54 of file load_prefs.php.
$color[5] = '#FFFFCC' |
Definition at line 55 of file load_prefs.php.
$color[6] = '#000000' |
Definition at line 56 of file load_prefs.php.
$color[7] = '#0000CC' |
Definition at line 57 of file load_prefs.php.
$color[8] = '#000000' |
Definition at line 58 of file load_prefs.php.
$color[9] = '#ABABAB' |
Definition at line 59 of file load_prefs.php.
$color = ( !isset($color) ? array() : $color ) |
Definition at line 28 of file load_prefs.php.
Referenced by addr_display_result(), address_form(), addressbook_init(), addressbook_inp_field(), bug_report_button_do(), calendar_header(), checkInput(), CheckNewMailboxSound(), confirm_deletion(), confirm_update(), create_collapse_link(), create_unseen_string(), day_header(), delete_move_next_moveNextForm(), delete_move_next_moveRightMainForm(), delete_move_next_read(), deliverMessage(), display_events(), display_result(), displayMessageArray(), displayPageHeader(), do_error(), drawmonthview(), endcalendar(), error_box(), error_message(), formatAttachments(), formatEnvheader(), formatMailboxName(), formatMenubar(), formatToolbar(), fortune_show(), get_paginator_str(), abook_local_file\list_addr(), list_writable_backends(), load_optpage_data_personal(), logout_error(), abook_local_file\lookup(), mail_message_listing_beginning(), mail_message_listing_end(), mime_structure(), parseEmail(), pf_show_attachments(), plain_error_message(), plugin_listcommands_menu(), printHeader(), printMessageInfo(), printSearchMessages(), abook_local_file\search(), SendMDN(), show_event_form(), show_message_details(), ShowIdentityInfo(), showInputForm(), showMessagesForMailbox(), sqimap_append_checkresponse(), sqimap_get_message(), sqimap_get_small_header_list(), sqimap_login(), sqimap_mailbox_select(), sqimap_read_data_list(), sqimap_run_command(), sqimap_run_command_list(), sqimap_run_literal_command(), sqspell_makePage(), sqspell_makeWindow(), startcalendar(), translate_new_form(), translate_read_form(), translateText(), update_event_form(), view_header(), and writecalendardata().
$compose_height = getPref($data_dir, $username, 'compose_height', 550) |
Definition at line 252 of file load_prefs.php.
Referenced by displayPageHeader().
$compose_new_win = getPref($data_dir, $username, 'compose_new_win', 0) |
Definition at line 251 of file load_prefs.php.
Referenced by compose_Header(), displayPageHeader(), load_optpage_data_display(), magicHTML(), makeComposeLink(), parseEmail(), plugin_listcommands_menu(), showInputForm(), and spamcop_while_sending().
$compose_width = getPref($data_dir, $username, 'compose_width', 640) |
Definition at line 253 of file load_prefs.php.
Referenced by displayPageHeader().
if (! sqgetGlobalVar( 'username', $username, SQ_SESSION)) $custom_css = getPref($data_dir, $username, 'custom_css', 'none' ) |
SquirrelMail required files.
Definition at line 25 of file load_prefs.php.
Referenced by displayHtmlHeader().
$date_format = getPref($data_dir, $username, 'date_format', 3) |
Definition at line 247 of file load_prefs.php.
Referenced by date_intl(), getDateString(), and getLongDateString().
$editor_height = getPref($data_dir, $username, 'editor_height', 20 ) |
Definition at line 145 of file load_prefs.php.
Referenced by showInputForm().
Definition at line 144 of file load_prefs.php.
Referenced by getforwardHeader(), newMail(), show_event_form(), showInputForm(), and update_event_form().
$enable_forward_as_attachment |
Definition at line 228 of file load_prefs.php.
Referenced by formatMenubar().
$folder_prefix |
Definition at line 103 of file load_prefs.php.
Referenced by CheckNewMailboxSound(), formatMailboxName(), load_optpage_data_folder(), sqimap_mailbox_list(), sqimap_mailbox_list_all(), and sqimap_mailbox_parse().
$found_theme = false |
Definition at line 31 of file load_prefs.php.
$hour_format = getPref($data_dir, $username, 'hour_format', SMPREF_TIME_12HR) |
Definition at line 248 of file load_prefs.php.
Referenced by getDateString(), and getLongDateString().
$include_self_reply_all |
Definition at line 239 of file load_prefs.php.
Referenced by replyAllString().
Definition at line 263 of file load_prefs.php.
Referenced by calc_msort(), printHeader(), printMessageInfo(), and sqimap_get_sort_order().
Definition at line 270 of file load_prefs.php.
Referenced by addr_display_result(), SquirrelOption\createHTMLWidget(), SquirrelOption\createWidget_EditList(), SquirrelOption\createWidget_Float(), SquirrelOption\createWidget_Integer(), displayPageHeader(), formatEnvheader(), get_selectall_link(), makeComposeLink(), printer_friendly_link(), show_message_details(), and showInputForm().
$javascript_setting = getPref($data_dir, $username, 'javascript_setting', SMPREF_JS_AUTODETECT) |
Definition at line 269 of file load_prefs.php.
$left_refresh = getPref($data_dir, $username, 'left_refresh', 600 ) |
Definition at line 167 of file load_prefs.php.
Definition at line 135 of file load_prefs.php.
$load_draft_folder = getPref($data_dir, $username, 'draft_folder') |
Definition at line 123 of file load_prefs.php.
$load_sent_folder = getPref($data_dir, $username, 'sent_folder') |
Definition at line 115 of file load_prefs.php.
$load_trash_folder = getPref($data_dir, $username, 'trash_folder') |
Definition at line 107 of file load_prefs.php.
$location_of_bar |
Definition at line 214 of file load_prefs.php.
$location_of_buttons |
$mailbox_select_style = getPref($data_dir, $username, 'mailbox_select_style', 1) |
Definition at line 275 of file load_prefs.php.
Definition at line 237 of file load_prefs.php.
Referenced by displayPageHeader(), formatEnvheader(), showComposeButtonRow(), and showInputForm().
$message_highlight_list = array() |
Definition at line 176 of file load_prefs.php.
Referenced by printMessageInfo(), and sqimap_search().
$move_to_trash |
Definition at line 84 of file load_prefs.php.
Referenced by CheckNewMailboxSound(), delete_move_next_read(), formatMailboxName(), isTrashMailbox(), sqimap_mailbox_list(), sqimap_messages_delete(), and sqimap_msgs_list_delete().
$order = getPref($data_dir, $username, 'order1') |
Definition at line 197 of file load_prefs.php.
Definition at line 243 of file load_prefs.php.
$page_selector_max = getPref($data_dir, $username, 'page_selector_max', 10) |
Definition at line 244 of file load_prefs.php.
$pf_cleandisplay = getPref($data_dir, $username, 'pf_cleandisplay', SMPREF_OFF) |
Definition at line 234 of file load_prefs.php.
$prefix_sig = getPref($data_dir, $username, 'prefix_sig') |
Definition at line 147 of file load_prefs.php.
Referenced by showInputForm().
$reply_citation_end = getPref($data_dir, $username, 'reply_citation_end') |
Definition at line 157 of file load_prefs.php.
Referenced by getReplyCitation().
$reply_citation_start = getPref($data_dir, $username, 'reply_citation_start') |
Definition at line 156 of file load_prefs.php.
Referenced by getReplyCitation().
$reply_citation_style |
$reply_focus = getPref($data_dir, $username, 'reply_focus', '') |
Definition at line 164 of file load_prefs.php.
Referenced by compose_Header(), and displayPageHeader().
$save_as_draft |
Definition at line 86 of file load_prefs.php.
Referenced by formatMailboxName(), formatMenubar(), isDraftMailbox(), showComposeButtonRow(), and sqimap_mailbox_list().
$search_memory = getPref($data_dir, $username, 'search_memory', 0) |
Definition at line 273 of file load_prefs.php.
$show_full_date = getPref($data_dir, $username, 'show_full_date', 0) |
Definition at line 279 of file load_prefs.php.
Referenced by getDateString().
$show_html_default |
$show_num = getPref($data_dir, $username, 'show_num', 15 ) |
Definition at line 130 of file load_prefs.php.
Referenced by attachSelectedMessages(), displayMessageArray(), fillMessageArray(), get_paginator_str(), getEndMessage(), getSelfSortMessages(), getServerMessages(), getServerSortMessages(), getThreadMessages(), showMessagesForMailbox(), and sqimap_get_small_header_list().
$show_xmailer_default |
$sig_first = getPref($data_dir, $username, 'sig_first', 0) |
Definition at line 257 of file load_prefs.php.
Referenced by showInputForm().
$signature_abs = $signature = getSig($data_dir, $username, 'g') |
Definition at line 173 of file load_prefs.php.
$sort = getPref($data_dir, $username, 'sort', 6 ) |
Definition at line 170 of file load_prefs.php.
Referenced by calc_msort(), delete_move_expunge_from_all(), delete_move_next_moveNextForm(), delete_move_next_moveRightMainForm(), delete_move_next_read(), displayMessageArray(), findNextMessage(), findPreviousMessage(), fix_sort_array(), formatBody(), formatMenubar(), get_paginator_str(), getSelfSortMessages(), mail_message_listing_beginning(), printHeader(), printMessageInfo(), printSearchMessages(), showMessagesForMailbox(), ShowSortButton(), sqimap_get_message(), and sqimap_get_sort_order().
$sort_by_ref = getPref($data_dir, $username, 'sort_by_ref', 1) |
Definition at line 266 of file load_prefs.php.
Referenced by get_thread_sort().
$strip_sigs = getPref($data_dir, $username, 'strip_sigs', 0) |
Definition at line 260 of file load_prefs.php.
Referenced by newMail().
$theme = ( !isset($theme) ? array() : $theme ) |
Definition at line 27 of file load_prefs.php.
$timezone = getPref($data_dir, $username, 'timezone', SMPREF_NONE ) |
Definition at line 150 of file load_prefs.php.
$truncate_sender = getPref($data_dir, $username, 'truncate_sender', 50) |
Definition at line 282 of file load_prefs.php.
Referenced by printMessageInfo().
$truncate_subject = getPref($data_dir, $username, 'truncate_subject', 50) |
Definition at line 284 of file load_prefs.php.
Referenced by printMessageInfo().
$unseen_cum |
Definition at line 100 of file load_prefs.php.
Referenced by create_unseen_string().
$unseen_notify |
Definition at line 97 of file load_prefs.php.
Referenced by CheckNewMailboxSound(), create_collapse_link(), and formatMailboxName().
Definition at line 95 of file load_prefs.php.
Referenced by CheckNewMailboxSound(), create_unseen_string(), and formatMailboxName().
$use_javascript_addr_book = getPref($data_dir, $username, 'use_javascript_addr_book', $default_use_javascript_addr_book) |
Definition at line 271 of file load_prefs.php.
Referenced by showComposeButtonRow(), and showInputForm().
$use_signature = getPref($data_dir, $username, 'use_signature', SMPREF_OFF ) |
Definition at line 146 of file load_prefs.php.
Referenced by newMail(), and showInputForm().
$wrap_at = getPref( $data_dir, $username, 'wrap_at', 86 ) |
Definition at line 132 of file load_prefs.php.
Referenced by formatBody(), pf_clean_string(), translate_read_form(), and translateText().
Definition at line 68 of file load_prefs.php.