projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't display counts for boxes that can't be selected. Also fixes bug of not display...
[squirrelmail.git]
/
templates
/
default_advanced
/
left_main.tpl
diff --git
a/templates/default_advanced/left_main.tpl
b/templates/default_advanced/left_main.tpl
index a9bed7a637fbac209ef172f744ee109528631cfa..e3d8e9f253c5360513762f1cef8c7d5b97de335b 100644
(file)
--- a/
templates/default_advanced/left_main.tpl
+++ b/
templates/default_advanced/left_main.tpl
@@
-122,7
+122,7
@@
function buildMailboxTree ($box, $settings, $parent_node=-1) {
$box['CummulativeUnreadCount'] :
$box['UnreadCount'];
$box['CummulativeUnreadCount'] :
$box['UnreadCount'];
- if (
$unseen > 0
) {
+ if (
!$box['IsNoSelect'] && ($unseen > 0 || $settings['unreadNotificationDisplayTotal'])
) {
$unseen_str = $unseen;
// Add the total messages if desired
$unseen_str = $unseen;
// Add the total messages if desired