X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fnewmail%2Fnewmail.php;h=75f732c26c51635ff1bd0ed9310b6f5120977f14;hp=1ebb3de61934b63685aebf860d1809162201ce64;hb=7c15c446ca7e8d4f71607a26f19ee00c7c35bb96;hpb=09c2c717cc82061c09c91359b2c59661854bb846 diff --git a/plugins/newmail/newmail.php b/plugins/newmail/newmail.php index 1ebb3de6..75f732c2 100644 --- a/plugins/newmail/newmail.php +++ b/plugins/newmail/newmail.php @@ -18,6 +18,8 @@ require_once(SM_PATH . 'include/validate.php'); require_once(SM_PATH . 'include/load_prefs.php'); require_once(SM_PATH . 'functions/page_header.php'); +sqGetGlobalVar('numnew', $numnew, SQ_GET); + displayHtmlHeader( _("New Mail"), '', FALSE ); echo "\n". @@ -28,10 +30,14 @@ require_once(SM_PATH . 'functions/page_header.php'); ) . html_tag( 'tr', "\n" . html_tag( 'td', - '
' . - _("You have new mail!") . '

' . "\n" . + '
' . _("You have").' '. + sprintf( ( $numnew == 1 ? + _("%s new message") : + _("%s new messages") ), $numnew ) . + '

' . "\n" . '
' . "\n". - ''."\n". + ''."\n". '
', 'center' ) ) ,