X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fnewmail%2Fnewmail.php;h=8a93b11a8890749fccacc9aeab5eba29f41cc46a;hp=1ebb3de61934b63685aebf860d1809162201ce64;hb=dcc1cc825e550711d0207a737f9ea3ac2b38e923;hpb=76911253eb850bacde3d86c8cb7b4af072e67ebe diff --git a/plugins/newmail/newmail.php b/plugins/newmail/newmail.php index 1ebb3de6..8a93b11a 100644 --- a/plugins/newmail/newmail.php +++ b/plugins/newmail/newmail.php @@ -8,9 +8,12 @@ * * Displays all options relating to new mail sounds * - * $Id$ + * $Id$ + * @package plugins + * @subpackage newmail */ +/** @ignore */ define('SM_PATH','../../'); /* SquirrelMail required files. */ @@ -18,6 +21,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 +33,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' ) ) ,