';
- printHeader($mailbox, $srt, $color, !$thread_sort_messages);
+ $msg_cnt_str = get_msgcnt_str($start_msg, $end_msg, $num_msgs);
- displayMessageArray($imapConnection, $num_msgs, $start_msg,
+ do_hook('mailbox_index_before');
+ echo '';
+ echo '';
+
+ mail_message_listing_beginning($imapConnection, $mailbox, $sort,
+ $msg_cnt_str, $paginator_str, $start_msg);
+ echo ' | ';
+ /* line between the button area and the list */
+ echo ' | ';
+
+ echo '';
+ echo ' ';
+ echo ' ';
+ echo ' ';
+ echo '';
+ printHeader($mailbox, $srt, $color, !$thread_sort_messages);
+
+ displayMessageArray($imapConnection, $num_msgs, $start_msg,
$msort, $mailbox, $sort, $color, $show_num,0,0);
+ echo ' | | ';
- mail_message_listing_end($num_msgs, $paginator_str, $msg_cnt_str, $color);
- echo ' | ';
-
- /**
- * TODO: Switch to using $_SESSION[] whenever we ditch the 4.0.x series.
- */
+ mail_message_listing_end($num_msgs, $paginator_str, $msg_cnt_str, $color);
+ echo ' |