X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fleft_main.php;h=aaa90f1cc571a92ca61f83d2cad1fb697550498a;hp=042abd0f03160def403030e0755562d92cd763a5;hb=38068e69b454693b06df1d4846bb76546b005c2e;hpb=65cbbaf436f292cb83b01687cc7f2b861032a441 diff --git a/src/left_main.php b/src/left_main.php index 042abd0f..aaa90f1c 100644 --- a/src/left_main.php +++ b/src/left_main.php @@ -341,7 +341,6 @@ function listBoxes ($boxes, $j=0 ) { $pre.= $leader . '   '; } - /* If there are unseen message, bold the line. */ if (($move_to_trash) && ($mailbox == $trash_folder)) { @@ -398,10 +397,10 @@ function listBoxes ($boxes, $j=0 ) { $fontend = ""; } $end .= ''; - if (!$boxes->is_root) { - echo "" . $pre .$font. $boxes->mailboxname_sub .$fontend . $end. '
' . "\n"; - $j++; - } + + echo "" . $pre .$font. $boxes->mailboxname_sub .$fontend . $end. '
' . "\n"; + $j++; + if (!$collapse || $boxes->is_root) { for ($i = 0; $i mbxs); $i++) { listBoxes($boxes->mbxs[$i],$j); @@ -587,7 +586,7 @@ if (isset($left_refresh) && ($left_refresh != '') && **/ $advanced_tree = false; /* set this to true if you want to see a nicer mailboxtree */ -$oldway = false; /* default SM behaviour */ +$oldway = false; /* default SM behaviour */ if ($advanced_tree) { $xtra .= <<