updated changelog, todo
[squirrelmail.git] / src / right_main.php
index 3d48d1ba6afecc9fab3ec46b6f22d05a1f737b35..eaec8346a8e33286fc0da189fdf0525897dd0930 100644 (file)
@@ -8,11 +8,7 @@
     **/
 
    if(!isset($logged_in)) {
-      echo _("You must ");
-      echo "<a href=\"login.php\">";
-      echo _("login");
-      echo "</a>";
-      echo _(" first.");
+      echo _("You must login first.");
       exit;
    }
    if(!isset($username) || !isset($key)) {
    /////////////////////////////////////////////////////////////////////////////////
 
    // open a connection on the imap port (143)
-   $imapConnection = sqimap_login($username, $key, $imapServerAddress, 0);
+   $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
 
    /** If it was a successful login, lets load their preferences **/
    include("../src/load_prefs.php");
    echo "<BODY TEXT=\"$color[8]\" BGCOLOR=\"$color[4]\" LINK=\"$color[7]\" VLINK=\"$color[7]\" ALINK=\"$color[7]\">\n";
-   echo "<FONT FACE=\"Arial,Helvetica\">";
 
    // If the page has been loaded without a specific mailbox,
    //    just show a page of general info.