Don't display counts for boxes that can't be selected.
authorindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 28 Feb 2006 01:21:53 +0000 (01:21 +0000)
committerindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 28 Feb 2006 01:21:53 +0000 (01:21 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10842 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/left_main.tpl

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