True, "nonavbar" => True, "currentapp" => "notifywindow"); include("header.inc.php"); ?> " alink="blue" vlink="blue" link="blue"> msg->login(); if (! $mbox) { echo "Mail error: can not open connection to mail server"; exit; } if (hasmsg == "yes"){ $mailbox_status = $phpgw->msg->status($mbox,"{" . $phpgw_info["server"]["mail_server"] . ":" . $phpgw_info["server"]["mail_port"] . "}INBOX",SA_UNSEEN); if ($mailbox_status->unseen == 1) { echo "link("email/") . "\" target=\"phpGroupWare\"> " . lang_common("You have 1 new message!") . "\n"; } if ($mailbox_status->unseen > 1) { echo "link("email/") . "\" target=\"phpGroupWare\"> " . lang_common("You have x new messages!",$mailbox_status->unseen) . ""; } } else { ?> msg->status($mbox,"{" . $phpgw_info["server"]["mail_server"] . ":" . $phpgw_info["server"]["mail_port"] . "}INBOX",SA_UNSEEN); if ($mailbox_status->unseen == 1) { echo "
".lang_common("You have 1 new message!").""; } if ($mailbox_status->unseen > 1) { echo "
".lang_common("You have x new messages!",$mailbox_status->unseen).""; } echo "

Open phpGroupWare
"; } } ?>