Version 1.0pre2 -- DEVELOPMENT
------------------------------
+- Replaced error messages with better, formatted, and meaningful messages.
+- Fixed "reply all" so that it works intelligently now
- Made deleted (but not expunged) messages easier to detect (only if $auto_expunge = false)
- Fixed bug that didn't display size correctly in search results
- Major memory management and speed improvements with downloading of attachments
if (!isset($i18n_php))
include("../functions/i18n.php");
- if(!isset($logged_in)) {
- set_up_language($squirrelmail_language, true);
- echo _("You must login first.");
+ if(!isset($logged_in) || !isset($username) || !isset($key)) {
+ include ("../themes/default_theme.php");
+ include ("../functions/display_messages.php");
+ printf('<html><BODY TEXT="%s" BGCOLOR="%s" LINK="%s" VLINK="%s" ALINK="%s">',
+ $color[8], $color[4], $color[7], $color[7], $color[7]);
+ plain_error_message(_("You need a valid user and password to access this page!")
+ . "<br><a href=\"../src/login.php\">"
+ . _("Click here to log back in.") . "</a>.", $color);
+ echo "</body></html>";
exit;
}
- if(!isset($username) || !isset($key)) {
- set_up_language($squirrelmail_language, true);
- echo _("You need a valid user and password to access this page!");
- exit;
- }
-
if (!isset($config_php))
include("../config/config.php");
if (!isset($array_php))
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;
}
session_start();
- if(!isset($logged_in)) {
- set_up_language($squirrelmail_language, true);
- echo _("You must login first.");
- exit;
- }
- if(!isset($username) || !isset($key)) {
- set_up_language($squirrelmail_language, true);
- echo _("You need a valid user and password to access this page!");
+ if(!isset($logged_in) || !isset($username) || !isset($key)) {
+ include ("../themes/default_theme.php");
+ include ("../functions/display_messages.php");
+ printf('<html><BODY TEXT="%s" BGCOLOR="%s" LINK="%s" VLINK="%s" ALINK="%s">',
+ $color[8], $color[4], $color[7], $color[7], $color[7]);
+ plain_error_message(_("You need a valid user and password to access this page!")
+ . "<br><a href=\"../src/login.php\">"
+ . _("Click here to log back in.") . "</a>.", $color);
+ echo "</body></html>";
exit;
}
exit;
}
if(!isset($username) || !isset($key)) {
- set_up_language($squirrelmail_language, true);
- echo _("You need a valid user and password to access this page!");
+ include ("../themes/default_theme.php");
+ include ("../functions/display_messages.php");
+ printf('<html><BODY TEXT="%s" BGCOLOR="%s" LINK="%s" VLINK="%s" ALINK="%s">',
+ $color[8], $color[4], $color[7], $color[7], $color[7]);
+ plain_error_message(_("You need a valid user and password to access this page!")
+ . "<br><a href=\"../src/login.php\">"
+ . _("Click here to log back in.") . "</a>.", $color);
+ echo "</body></html>";
exit;
}
if(!isset($username)) {
set_up_language($squirrelmail_language);
- echo _("You need a valid user and password to access this page!");
+ include ("../themes/default_theme.php");
+ include ("../functions/display_messages.php");
+ printf('<html><BODY TEXT="%s" BGCOLOR="%s" LINK="%s" VLINK="%s" ALINK="%s">',
+ $color[8], $color[4], $color[7], $color[7], $color[7]);
+ plain_error_message(_("You need a valid user and password to access this page!")
+ . "<br><a href=\"../src/login.php\">"
+ . _("Click here to log back in.") . "</a>.", $color);
+ echo "</body></html>";
exit;
}