X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fmailbox_display.php;h=8924617f2638878131c3af186b87d1ac828b262a;hb=b93e186d39c7c0350d29b0c476edce2efee04998;hp=675735d2913d850189835ef00fa3aa6e1aacd575;hpb=af9404d7f0dbbce6106a00d96540c2d93d78cf6d;p=squirrelmail.git diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 675735d2..8924617f 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -8,25 +8,53 @@ ** **/ - $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"])); + $subject = trim($msg["SUBJECT"]); echo "
";
- echo " |
";
+ echo " |
"; 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 "Next\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"; } echo " |
"; - echo "\n\n\n |