X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fmailbox_display.php;h=0f6ab3c0a9b3833307d190576ff1b5822512a21f;hb=c42d080863c989d7b2e25339570af963d224a0e0;hp=30f51a9b1ac44a1e342e2f11e928d2f439dc6003;hpb=f9b3e5d9902a047bfa8995c1d795cae2226a857a;p=squirrelmail.git diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 30f51a9b..0f6ab3c0 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -1,443 +1,895 @@ \n"; - - if ($msg["FLAG_FLAGGED"] == true) { $flag = ""; $flag_end = ""; } - if ($msg["FLAG_SEEN"] == false) { $bold = ""; $bold_end = ""; } - if ($mailbox == $sent_folder) { $italic = ""; $italic_end = ""; } - - for ($i=0; $i < count($message_highlight_list); $i++) { - if (trim($message_highlight_list[$i]["value"]) != "") { - if ($message_highlight_list[$i]["match_type"] == "to_cc") { - if (strpos("^^".strtolower($msg["TO"]), strtolower($message_highlight_list[$i]["value"])) || strpos("^^".strtolower($msg["CC"]), strtolower($message_highlight_list[$i]["value"]))) { - $hlt_color = $message_highlight_list[$i]["color"]; - continue; - } - } else if (strpos("^^".strtolower($msg[strtoupper($message_highlight_list[$i]["match_type"])]),strtolower($message_highlight_list[$i]["value"]))) { - $hlt_color = $message_highlight_list[$i]["color"]; - continue; - } - } - } - - if (!$hlt_color) - $hlt_color = $color[4]; - - if ($where && $what) { - $search_stuff = "&where=".urlencode($where)."&what=".urlencode($what); - } - - for ($i=1; $i <= count($index_order); $i++) { - switch ($index_order[$i]) { - case 1: # checkbox - echo "
$paginator_str | ". + "$msg_cnt_str |
$Message |
$More |
"; - - echo "\n\n\n |