X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fmailbox_display.php;h=cea2a8845967a1c9c013830130cdcb63824d88ef;hp=95ea1b95cfbc985a72f511e366abb47c55bd6e18;hb=2ce029b05ba95b0046514d9f9541d68720cdf7ad;hpb=441f2d33bad826a0278aafe63e58d0b3c81b6e0c diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 95ea1b95..cea2a884 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -1,430 +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 |