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);
}
echo '</table>'
- . "<table bgcolor=\"$color[9]\" width=\"100%\" border=0 cellpadding=1 "
- . "cellspacing=1><tr BGCOLOR=\"$color[4]\"><td>"
+ . html_tag( 'table', '',
+ "bgcolor=\"$color[9]\" width=\"100%\" border=0 cellpadding=1 cellspacing=1" )
+ . "<tr BGCOLOR=\"$color[4]\"><td>"
. "<table width=\"100%\" BGCOLOR=\"$color[4]\" border=0 cellpadding=1 "
. "cellspacing=0><tr><td>$paginator_str</td>"
- . "<td align=right>$msg_cnt_str</td></tr></table>"
+ . html_tag( 'td', 'right' ) . "$msg_cnt_str</td></tr></table>"
. "</td></tr></table>";
/* End of message-list table */
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");
}