finetuned collapseable folders formatting
authorteepe <teepe@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 2 Nov 2001 13:58:53 +0000 (13:58 +0000)
committerteepe <teepe@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 2 Nov 2001 13:58:53 +0000 (13:58 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1676 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/left_main.php

index 9d18c55126b780cfc2bc2402343b084b5517e3e9..43eca039338abb34229d15610d404dea8fb508e7 100644 (file)
@@ -66,6 +66,7 @@
       global $use_special_folder_color;
 
       $real_box = $box_array['unformatted'];
+      $fm = $box_array['formatted'];
       $mailbox = str_replace('&nbsp;','',$box_array['formatted']);
       $mailboxURL = urlencode($real_box);
 
             if (in_array('noselect', $boxes[$i]['flags'])) {
                 $line .= "<FONT COLOR=\"$color[10]\">";
                 if (ereg("^( *)([^ ]*)", $mailbox, $regs)) {
+                    $mailbox = str_replace('&nbsp;','',$mailbox);
                     $line .= str_replace(' ', '&nbsp;', $mailbox);
                 }
                 $line .= '</FONT>';