4 * newmail.php - popup page
6 * Displays all options relating to new mail sounds
8 * @copyright © 1999-2005 The SquirrelMail Project Team
9 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
16 define('SM_PATH','../../');
18 /* SquirrelMail required files. */
19 require_once(SM_PATH
. 'include/validate.php');
21 sqGetGlobalVar('numnew', $numnew, SQ_GET
);
22 $numnew = (int)$numnew;
24 displayHtmlHeader( _("New Mail"), '', FALSE );
26 echo '<body bgcolor="'.$color[4].'" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">'."\n".
28 html_tag( 'table', "\n" .
29 html_tag( 'tr', "\n" .
30 html_tag( 'td', '<b>' . _("SquirrelMail Notice:") . '</b>', 'center', $color[0] )
32 html_tag( 'tr', "\n" .
34 '<br /><big><font color="' . $color[2] . '">'.
35 sprintf(ngettext("You have %s new message","You have %s new messages",$numnew), $numnew ) .
36 '</font><br /></big><br />' . "\n" .
37 '<form name="nm">' . "\n".
38 '<input type="button" name="bt" value="' . _("Close Window") .
39 '" onclick="javascript:window.close();" />'."\n".
43 '', '', 'width="100%" cellpadding="2" cellspacing="2" border="0"' ) .
45 "<script language=javascript>\n".
47 "document.nm.bt.focus();\n".