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 | |
Functions | |
formatMailboxName ($imapConnection, $box_array) | |
compute_folder_children (&$parbox, $boxcount) | |
create_collapse_link ($boxnum) | |
create_unseen_string ($boxName, $boxArray, $imapConnection, $unseen_type) | |
is_parent_box ($curbox_name, $parbox_name) | |
Variables | |
const | PAGE_NAME 'left_main' |
const | SM_PATH '../' |
const | SM_BOX_UNCOLLAPSED 0 |
const | SM_BOX_COLLAPSED 1 |
$imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 10) | |
if(isset($left_refresh) &&($left_refresh !='') &&!stristr($left_refresh, 'none')) | else |
if ( $auto_create_special &&! $auto_create_done) | |
if(!isset($boxes)) | $curbox = 0 |
$boxcount = count($boxes) | |
compute_folder_children | ( | & | $parbox, |
$boxcount | |||
) |
Recursive function that computes the collapsed status and parent (or not parent) status of this box, and the visiblity and collapsed status and parent (or not parent) status for all children boxes.
Definition at line 124 of file left_main.php.
References $boxcount, $boxes, $collapse_folders, $data_dir, $username, getPref(), is_parent_box(), SM_BOX_COLLAPSED, and SM_BOX_UNCOLLAPSED.
create_collapse_link | ( | $boxnum | ) |
Create the link for a parent folder that will allow that parent folder to either be collapsed or expaned, as is currently appropriate.
Definition at line 174 of file left_main.php.
References $boxes, $color, $imapConnection, $mailbox, $unseen_notify, and SM_BOX_COLLAPSED.
create_unseen_string | ( | $boxName, | |
$boxArray, | |||
$imapConnection, | |||
$unseen_type | |||
) |
create_unseen_string:
Create unseen and total message count for both this folder and it's subfolders.
string | $boxName | name of the current mailbox |
array | $boxArray | array for the current mailbox |
$imapConnection | current imap connection in use |
Definition at line 204 of file left_main.php.
References $boxes, $color, $imapConnection, $unseen_cum, $unseen_type, SM_BOX_COLLAPSED, and sqimap_status_messages().
Referenced by formatMailboxName().
formatMailboxName | ( | $imapConnection, | |
$box_array | |||
) |
Definition at line 37 of file left_main.php.
References $collapse_folders, $color, $draft_folder, $folder_prefix, $imapConnection, $mailbox, $move_to_trash, $save_as_draft, $sent_folder, $trash_folder, $unseen_notify, $unseen_type, $use_special_folder_color, _(), concat_hook_function(), create_unseen_string(), isSpecialMailbox(), sm_generate_security_token(), and sqimap_get_num_messages().
is_parent_box | ( | $curbox_name, | |
$parbox_name | |||
) |
This simple function checks if a box is another box's parent.
Definition at line 277 of file left_main.php.
Referenced by compute_folder_children().
$boxcount = count($boxes) |
Definition at line 420 of file left_main.php.
Referenced by compute_folder_children().
if (!isset( $boxes)) $curbox = 0 |
Definition at line 419 of file left_main.php.
$imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 10) |
Definition at line 311 of file left_main.php.
Referenced by create_collapse_link(), create_unseen_string(), and formatMailboxName().
if (isset( $left_refresh) &&( $left_refresh !='') &&!stristr( $left_refresh, 'none')) else |
Using stristr since older preferences may contain "None" and "none".
Definition at line 319 of file left_main.php.
if($date_format !=6) |
Definition at line 326 of file left_main.php.
const PAGE_NAME 'left_main' |
This is the left_main page
Definition at line 16 of file left_main.php.
const SM_BOX_COLLAPSED 1 |
Definition at line 33 of file left_main.php.
Referenced by compute_folder_children(), create_collapse_link(), and create_unseen_string().
const SM_BOX_UNCOLLAPSED 0 |
Definition at line 32 of file left_main.php.
Referenced by compute_folder_children().
const SM_PATH '../' |
Path for SquirrelMail required files. @ignore
Definition at line 22 of file left_main.php.