creating first phpdoc block
[squirrelmail.git] / templates / default_advanced / left_main.tpl
index a9bed7a..5f74ac5 100644 (file)
@@ -77,7 +77,7 @@
  * @author Steve Brown
  */
 
-// include required files
+/** include required files */
 include_once(SM_PATH . 'templates/util_global.php');
 
 /*
@@ -122,7 +122,7 @@ function buildMailboxTree ($box, $settings, $parent_node=-1) {
                                 $box['CummulativeUnreadCount'] :
                                 $box['UnreadCount'];
                 
-                if ($unseen > 0) {
+                if (!$box['IsNoSelect'] && ($unseen > 0 || $settings['unreadNotificationDisplayTotal'])) {
                     $unseen_str = $unseen;
         
                     // Add the total messages if desired