Cleaned up HTML.
authorgustavf <gustavf@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 25 May 2000 13:54:24 +0000 (13:54 +0000)
committergustavf <gustavf@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 25 May 2000 13:54:24 +0000 (13:54 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@511 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/left_main.php

index c2f01fca912764141ca821b4c400ca18894097c9..d86a4fe695a793a4b6d61b0e96fb127f2bdce9d0 100644 (file)
@@ -39,7 +39,7 @@
              $unseen = sqimap_unseen_messages($imapConnection, $numUnseen, $real_box);
                }
 
-      echo "<NOBR>";
+      $line .= "<NOBR>";
       if ($unseen > 0)
          $line .= "<B>";
 
@@ -56,7 +56,7 @@
       } else {
          $line .= "<a href=\"right_main.php?sort=0&startMessage=1&mailbox=$mailboxURL\" target=\"right\" style=\"text-decoration:none\">";
          $line .= replace_spaces($mailbox);
-         $line .= "</font></a>";
+         $line .= "</a>";
       }
 
       if ($unseen > 0)
 
       if (($move_to_trash == true) && ($real_box == $trash_folder)) {
          $urlMailbox = urlencode($real_box);
-         $line .= "<small>";
-         $line .= "&nbsp;&nbsp;&nbsp;&nbsp;(<B><A HREF=\"empty_trash.php?numMessages=$numMessages&mailbox=$urlMailbox\" TARGET=right style=\"text-decoration:none\">"._("purge")."</A></B>)";
-         $line .= "</small></a>\n";
+         $line .= "\n<small>\n";
+         $line .= "  &nbsp;&nbsp;&nbsp;&nbsp;(<B><A HREF=\"empty_trash.php?numMessages=$numMessages&mailbox=$urlMailbox\" TARGET=right style=\"text-decoration:none\">"._("purge")."</A></B>)";
+         $line .= "\n</small>\n";
       }
+      $line .= "</NOBR>";
       return $line;
-      echo "</NOBR>";
    }
 
    // open a connection on the imap port (143)
    include("../src/load_prefs.php");
 
    if (isset($left_refresh) && ($left_refresh != "None") && ($left_refresh != "")) {
-      echo "<META HTTP-EQUIV=\"Expires\" CONTENT=\"Thu, 01 Dec 1994 16:00:00 GMT\">";
-      echo "<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">"; 
-      echo "<META HTTP-EQUIV=\"REFRESH\" CONTENT=\"$left_refresh;URL=left_main.php\">";
+      echo "<META HTTP-EQUIV=\"Expires\" CONTENT=\"Thu, 01 Dec 1994 16:00:00 GMT\">\n";
+      echo "<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">\n"; 
+      echo "<META HTTP-EQUIV=\"REFRESH\" CONTENT=\"$left_refresh;URL=left_main.php\">\n";
    }
    
-   echo "<BODY BGCOLOR=\"$color[3]\" TEXT=\"$color[6]\" LINK=\"$color[6]\" VLINK=\"$color[6]\" ALINK=\"$color[6]\">";
+   echo "\n<BODY BGCOLOR=\"$color[3]\" TEXT=\"$color[6]\" LINK=\"$color[6]\" VLINK=\"$color[6]\" ALINK=\"$color[6]\">\n\n";
 
    $boxes = sqimap_mailbox_list($imapConnection);
 
-   echo "<FONT SIZE=4><B><CENTER>";
-   echo _("Folders") . "</B><BR></FONT>";
+   echo "<CENTER><FONT SIZE=4><B>";
+   echo _("Folders") . "</B><BR></FONT>\n\n";
 
    echo "<small>(<A HREF=\"../src/left_main.php\" TARGET=\"left\">";
    echo _("refresh folder list");
       } else {
          $line .= formatMailboxName($imapConnection, $mailbox, $boxes[$i]["unformatted"], $delimeter, $boxes[$i]["unseen"]);
       }
-      echo "$line<BR>";
+      echo "\n$line<BR>\n";
    }