X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fnewmail%2Fnewmail.php;h=14906e3f9542237ca5162a7061611594f0f7d7c5;hb=6c99d1de81366bceab6c9d6cf12179eedc81f9bc;hp=4a9ab308e6c9d3da4764ba5d828e14a846499f40;hpb=4508b1b66315ee51effe1b62ca44152319c555d2;p=squirrelmail.git diff --git a/plugins/newmail/newmail.php b/plugins/newmail/newmail.php index 4a9ab308..14906e3f 100644 --- a/plugins/newmail/newmail.php +++ b/plugins/newmail/newmail.php @@ -1,36 +1,52 @@ - -New Mail - topmargin=0 leftmargin=0 -rightmargin=0 marginwidth=0 marginheight=0> -
- - - - - - -
> -
SquirrelMail Notice:
-
-
-
- >You have new -mail!
-
- -
-
-
-
- - + +/** + * newmail.php - popup page + * + * Displays all options relating to new mail sounds + * + * @copyright © 1999-2006 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License + * @version $Id$ + * @package plugins + * @subpackage newmail + */ + +/** + * Path for SquirrelMail required files. + * @ignore + */ +require('../../include/init.php'); + +sqGetGlobalVar('numnew', $numnew, SQ_GET); +$numnew = (int)$numnew; + + displayHtmlHeader( _("New Mail"), '', FALSE ); + + echo ''."\n". + '
'. "\n" . + html_tag( 'table', "\n" . + html_tag( 'tr', "\n" . + // i18n: %s inserts the organisation name (typically SquirrelMail) + html_tag( 'td', '' . sprintf(_("%s notice:"), $org_name) . '', 'center', $color[0] ) + ) . + html_tag( 'tr', "\n" . + html_tag( 'td', + '
'. + sprintf(ngettext("You have %s new message","You have %s new messages",$numnew), $numnew ) . + '

' . "\n" . + '
' . "\n". + ''."\n". + '
', + 'center' ) + ) , + '', '', 'width="100%" cellpadding="2" cellspacing="2" border="0"' ) . + '
' . + "\n". + "\n"; +?> \ No newline at end of file