From 6248fde9624dce3fbe327e6e27d043bbe8ad14b0 Mon Sep 17 00:00:00 2001 From: indiri69 Date: Tue, 28 Feb 2006 01:21:53 +0000 Subject: [PATCH] Don't display counts for boxes that can't be selected. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10842 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/default/left_main.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/default/left_main.tpl b/templates/default/left_main.tpl index f4f01d37..d2c1ae8d 100644 --- a/templates/default/left_main.tpl +++ b/templates/default/left_main.tpl @@ -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 -- 2.25.1