changed some error messages to be formatted, and actually meaningful
[squirrelmail.git] / src / left_main.php
index 8d823baeb47453d14b05b3c6bd3193f0200fb182..6a0825ebc22aed1c2f3f79e9f166f4ab73550cde 100644 (file)
 
    if(!isset($username)) {
       set_up_language($squirrelmail_language, true);
-      echo "You need a valid user and password to access this page!";
+         include ("../themes/default_theme.php");
+         printf('<html><BODY TEXT="%s" BGCOLOR="%s" LINK="%s" VLINK="%s" ALINK="%s">',
+                         $color[8], $color[4], $color[7], $color[7], $color[7]);
+         echo "</body></html>";
       exit;
    }