Browse Source

Don't display counts for boxes that can't be selected.

indiri69 19 years ago
parent
commit
5e8b55d411
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/default/left_main.tpl

+ 1 - 1
templates/default/left_main.tpl

@@ -103,7 +103,7 @@ function buildMailboxTree ($box, $settings, $indent_factor=0) {
                             $box['CummulativeUnreadCount'] :
                             $box['CummulativeUnreadCount'] :
                             $box['UnreadCount'];
                             $box['UnreadCount'];
             
             
-            if ($unseen > 0 || $settings['unreadNotificationDisplayTotal']) {
+            if (!$box['IsNoSelect'] && ($unseen > 0 || $settings['unreadNotificationDisplayTotal'])) {
                 $unseen_str = $unseen;
                 $unseen_str = $unseen;
     
     
                 // Add the total messages if desired
                 // Add the total messages if desired