sqgetGlobalVar('numMessages' , $numMessages, SQ_SESSION);
sqgetGlobalVar('session', $session, SQ_GET);
sqgetGlobalVar('note', $note, SQ_GET);
+sqgetGlobalVar('mail_sent', $mail_sent, SQ_GET);
sqgetGlobalVar('use_mailbox_cache', $use_mailbox_cache, SQ_GET);
if ( sqgetGlobalVar('startMessage', $temp) ) {
displayPageHeader($color, $mailbox);
}
do_hook('right_main_after_header');
+
+/* display a message to the user that their mail has been sent */
+if (isset($mail_sent) && $mail_sent == 'yes') {
+ $note = _("Your Message has been sent.");
+}
if (isset($note)) {
echo html_tag( 'div', '<b>' . $note .'</b>', 'center' ) . "<br>\n";
}
if ( sqgetGlobalVar('just_logged_in', $just_logged_in, SQ_SESSION) ) {
if ($just_logged_in == true) {
$just_logged_in = false;
+ sqsession_register($just_logged_in, 'just_logged_in');
if (strlen(trim($motd)) > 0) {
echo html_tag( 'table',