**
**/
+ if (!isset($i18n_php))
+ include("../functions/i18n.php");
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!");
exit;
}
sqimap_mailbox_select($imapConnection, $mailbox);
displayPageHeader($color, $mailbox);
+ do_hook("right_main_after_header");
+
if ($just_logged_in == 1 && strlen(trim($motd)) > 0) {
- echo "<center><br>";
- echo "<table width=70% cellpadding=0 cellspacing=0 border=0><tr><td bgcolor=\"$color[9]\">";
- echo "<table width=100% cellpadding=5 cellspacing=1 border=0><tr><td bgcolor=\"$color[4]\">";
- echo "$motd";
- echo "</td></tr></table>";
- echo "</td></tr></table>";
- echo "</center><br>";
+ echo "<center><br>\n";
+ echo "<table width=70% cellpadding=0 cellspacing=0 border=0><tr><td bgcolor=\"$color[9]\">\n";
+ echo "<table width=100% cellpadding=5 cellspacing=1 border=0><tr><td bgcolor=\"$color[4]\">\n";
+ echo "$motd\n";
+ echo "</td></tr></table>\n";
+ echo "</td></tr></table>\n";
+ echo "</center><br>\n";
}
if (isset($newsort)) {
session_register("numMessages");
}
+ do_hook("right_main_bottom");
// close the connection
+ sqimap_mailbox_close($imapConnection);
sqimap_logout ($imapConnection);
?>
</FONT>