summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
826d1cd)
so you can detect where the recent messages are located if you use the
newmail plugin and only inform about recent messages.
At this moment the unseenstring is bold when the mailbox contains recent
messages.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10702
7612ce4b-ef26-0410-bec9-
ea0150e637f0
if (isset($unseen_type) && ($unseen_type == 2) && ($boxes->total !== false)) {
$unseen_string .= '/' . $boxes->total;
}
if (isset($unseen_type) && ($unseen_type == 2) && ($boxes->total !== false)) {
$unseen_string .= '/' . $boxes->total;
}
- $unseen_string = "<span class=\"leftunseen\">($unseen_string)</span>";
+ if (isset($boxes->recent) && $boxes->recent) {
+ $unseen_string = "<span class=\"leftrecent\">($unseen_string)</span>";
+ } else {
+ $unseen_string = "<span class=\"leftunseen\">($unseen_string)</span>";
+ }
/*
* Finally allow the script to display the values by setting a boolean.
/*
* Finally allow the script to display the values by setting a boolean.
if (isset($unseen_type) && ($unseen_type == 2) && ($boxes->total !== false)) {
$unseen_string .= '/' . $boxes->total;
}
if (isset($unseen_type) && ($unseen_type == 2) && ($boxes->total !== false)) {
$unseen_string .= '/' . $boxes->total;
}
-
- $unseen_string = "<font color=\"$color[11]\">($unseen_string)</font>";
+ if (isset($boxes->recent) && $boxes->recent > 0) {
+ $unseen_string = "<span class=\"leftrecent\">($unseen_string)</span>";
+ } else {
+ $unseen_string = "<span class=\"leftunseen\">($unseen_string)</span>";
+ }
/*
* Finally allow the script to display the values by setting a boolean.
/*
* Finally allow the script to display the values by setting a boolean.