if (! isset($boxes->total)) {
$boxes->total = sqimap_status_messages($imapConnection, $mailbox);
}
- if ($unseen > 0) {
- $pre .= '<b>';
- }
$pre .= "<a href=\"right_main.php?PG_SHOWALL=0&startMessage=1&mailbox=$mailboxURL\" target=\"right\" style=\"text-decoration:none\">";
- $end .= '</a>';
if ($unseen > 0) {
+ $pre .= '<b>';
$end .= '</b>';
}
+ $end .= '</a>';
if ($boxes->total > 0) {
- if ($unseen > 0) {
- $pre .= '<b>';
- }
- $pre .= "<a href=\"right_main.php?PG_SHOWALL=0&startMessage=1&mailbox=$mailboxURL\" target=\"right\" style=\"text-decoration:none\">";
- if ($unseen > 0) {
- $end .= '</b>';
- }
/* Print unseen information. */
if ($unseen_found) {
$end .= " <small>$unseen_string</small>";
}
+ $end .= "\n\t<small>" .
+ ' [<a href="empty_trash.php">'._("Purge").'</a>]'.
+ '</small>';
}
- $end .= "\n\t<small>" .
- ' [<a href="empty_trash.php">'._("Purge").'</a>]'.
- '</small>';
} else {
if (!$boxes->is_noselect) {
- if ($unseen > 0) {
- $pre .= '<b>';
- }
$pre .= "<a href=\"right_main.php?PG_SHOWALL=0&startMessage=1&mailbox=$mailboxURL\" target=\"right\" style=\"text-decoration:none\">";
- $end .= '</a>';
if ($unseen > 0) {
+ $pre .= '<b>';
$end .= '</b>';
}
+ $end .= '</a>';
}
/* Print unseen information. */
if ($unseen_found) {