*/
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 */
* This is the beginning of the message list table.
* It wraps around all messages
*/
- echo "<FORM name=messageList method=post action=\"$moveURL\">\n"
+ echo "<FORM name=\"messageList\" method=post action=\"$moveURL\">\n"
. "<TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"1\" "
. "CELLSPACING=\"0\">\n<TR BGCOLOR=\"$color[0]\"><TD>"
. " <TABLE BGCOLOR=\"$color[4]\" width=\"100%\" CELLPADDING=\"2\" "
. " </TR></TABLE>\n"
. '</TD></TR>'
. "<TR><TD BGCOLOR=\"$color[0]\">\n"
- . "<TABLE BGCOLOR=\"$color[0]\" COLS=2 BORDER=0 cellpadding=0"
+ . "<TABLE BGCOLOR=\"$color[0]\" BORDER=0 cellpadding=0 "
. "cellspacing=0 width=\"100%\">\n"
. " <TR>\n"
. " <TD ALIGN=LEFT VALIGN=MIDDLE NOWRAP>\n"
foreach ($boxes as $boxes_part) {
if (!in_array('noselect', $boxes_part['flags'])) {
$box = $boxes_part['unformatted'];
- $box2 = str_replace(' ', ' ', $boxes_part['unformatted-disp']);
+ $box2 = str_replace(' ', ' ', imap_utf7_decode_local($boxes_part['unformatted-disp']));
if( $box2 == 'INBOX' ) {
$box2 = _("INBOX");
}
echo ' <a href="right_main.php?newsort=' . $which
. '&startMessage=1&mailbox=' . urlencode($mailbox)
. '"><IMG SRC="../images/' . $img
- . '" BORDER=0 WIDTH=12 HEIGHT=10></a>';
+ . '" BORDER=0 WIDTH=12 HEIGHT=10 ALT="sort"></a>';
}
function get_selectall_link($start_msg, $sort) {