Fixed alignment problems between folders with and without subfolders...
authorthomppj <thomppj@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 6 Sep 2001 05:37:09 +0000 (05:37 +0000)
committerthomppj <thomppj@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 6 Sep 2001 05:37:09 +0000 (05:37 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1489 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/left_main.php

index db51de2777a7b6365bf573e870d6a6d6859a560b..d88bc15f4a0ed05b85149f1a82e7567ee166737a 100644 (file)
       }
       
       if ($unseen > 0)
-          $line .= "<B>";
+          $line .= '&nbsp;<B>';
       $line .= str_replace(' ', '&nbsp;', $spaces);
       
       if ($collapse_folders) {
          if (isset($box_array['parent']))
             $line .= FoldLink($box_array['unformatted'], $box_array['parent']);
          else
-            $line .= '<tt>&nbsp;</tt>&nbsp;';
+            $line .= '<tt>&nbsp;</tt>&nbsp;&nbsp;';
       }
       
       $line .= "<a href=\"right_main.php?sort=0&startMessage=1&mailbox=$mailboxURL\" target=\"right\" style=\"text-decoration:none\">";
@@ -93,7 +93,7 @@
       $line .= str_replace(' ','&nbsp;',$mailbox);
       if ($special_color == true)
          $line .= "</font>";
-      $line .= "</a>";
+      $line .= '</a>';
 
       if ($unseen > 0)
          $line .= "</B>";
 
    function FoldLink($mailbox, $folded) {
        $mailbox = urlencode($mailbox);
-       $link = '<tt><a target="left" style="text-decoration:none" ';
+       $link = '&nbsp;<tt><a target="left" style="text-decoration:none" ';
        $link .= 'href="left_main.php?';
        if ($folded)
            $link .= "unfold=$mailbox\">+";