}
$msg = $msgs[$key];
- $senderName = htmlspecialchars(sqimap_find_displayable_name($msg['FROM']));
+ $senderName = sqimap_find_displayable_name($msg['FROM']);
if( $mailbox == 'None' ) {
// $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
$boxes = sqimap_mailbox_list($imapConnection);
}
if ($where && $what) {
- $search_stuff = '&where='.urlencode($where).'&what='.urlencode($what);
+ if( !isset( $pos ) || $pos == '' ) {
+ $pos = '0';
+ }
+ $search_stuff = "&pos=" . urlencode( $pos ) . "&where=".urlencode($where).'&what='.urlencode($what);
}
$checked = ($checkall == 1 ?' checked' : '');
} else if ($PG_SHOWNUM == 999999) {
$pg_str = "<A HREF=\"right_main.php?use_mailbox_cache=$use"
. "&startMessage=1&mailbox=$box\" TARGET=\"right\">"
- . _("Show Pages") . '</A>' . $spc;
+ . _("Paginate") . '</A>' . $spc;
}
/* If necessary, compute the 'show all' string. */
return ($handleAsSent_result);
}
-?>
+?>
\ No newline at end of file