X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fmailbox_display.php;h=f6959b5414837d6dcf78335e6a001b81958e66e2;hb=e86ab8720ef0da13a12c0a561b5fb874298a361e;hp=78fe5453b5f3e40be3f02ae80fe125b9f0e073a4;hpb=349ca9f7359a2d69a9a99e295cce00e8476e016f;p=squirrelmail.git diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 78fe5453..f6959b54 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -8,15 +8,16 @@ ** **/ - $mailbox_info = true; + $mailbox_display_php = true; - function printMessageInfo($imapConnection, $t, $i, $key, $mailbox, $sort, $startMessage) { + function printMessageInfo($imapConnection, $t, $i, $key, $mailbox, $sort, $startMessage, $where, $what) { global $color, $msgs, $msort; global $sent_folder; + global $message_highlight_list; $msg = $msgs[$key]; - $senderName = $msg["FROM"]; + $senderName = sqimap_find_displayable_name($msg["FROM"]); $urlMailbox = urlencode($mailbox); $subject = trim(stripslashes($msg["SUBJECT"])); echo "
";
- echo " |
";
- echo " |
"; if (($nextGroup <= $numMessages) && ($prevGroup >= 0)) { - echo "". _("Previous") ."\n"; + echo "". _("Previous") ." | \n"; echo "". _("Next") ."\n"; } else if (($nextGroup > $numMessages) && ($prevGroup >= 0)) { - echo "". _("Previous") ."\n"; - echo "Next\n"; + echo "". _("Previous") ." | \n"; + echo ""._("Next")."\n"; } else if (($nextGroup <= $numMessages) && ($prevGroup < 0)) { - echo "Previous\n"; + echo ""._("Previous")." | \n"; echo "". _("Next") ."\n"; } echo " |
"; echo "\n\n\n |