X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=functions%2Fmailbox_display.php;h=13f185a37b5b08af6bdf10579da967d8d823c806;hb=9cd67a0aaf90b09c40015c89e21fc2aea3dc7bf2;hp=3c412693200f800e502b12216387a4275a5506fc;hpb=869ece5d542664e592ec632eb2612a92dca90c9a;p=squirrelmail.git diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 3c412693..13f185a3 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -14,6 +14,7 @@ require_once('../functions/strings.php'); require_once('../functions/imap_utf7_decode_local.php'); +require_once('../functions/html.php'); /* Default value for page_selector_max. */ define('PG_SEL_MAX', 10); @@ -605,11 +606,12 @@ function displayMessageArray($imapConnection, $num_msgs, $start_msg, } echo '' - . "
" + . html_tag( 'table', '', + "bgcolor=\"$color[9]\" width=\"100%\" border=0 cellpadding=1 cellspacing=1" ) + . "
" . "" - . "
$paginator_str$msg_cnt_str
" + . html_tag( 'td', 'right' ) . "$msg_cnt_str
" . ""; /* End of message-list table */ @@ -674,8 +676,7 @@ function mail_message_listing_beginning ($imapConnection, $moveURL, foreach ($boxes as $boxes_part) { if (!in_array('noselect', $boxes_part['flags'])) { $box = $boxes_part['unformatted']; - $box2 = imap_utf7_decode_local( - str_replace(' ', ' ', $boxes_part['unformatted-disp'])); + $box2 = str_replace(' ', ' ', imap_utf7_decode_local($boxes_part['unformatted-disp'])); if( $box2 == 'INBOX' ) { $box2 = _("INBOX"); }