6 * Copyright (c) 1999-2004 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
9 * Displays all options relating to new mail sounds
17 define('SM_PATH','../../');
19 /* SquirrelMail required files. */
20 require_once(SM_PATH
. 'include/validate.php');
21 require_once(SM_PATH
. 'include/load_prefs.php');
22 require_once(SM_PATH
. 'functions/page_header.php');
24 sqGetGlobalVar('numnew', $numnew, SQ_GET
);
26 displayHtmlHeader( _("New Mail"), '', FALSE );
28 echo '<body bgcolor="'.$color[4].'" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">'."\n".
30 html_tag( 'table', "\n" .
31 html_tag( 'tr', "\n" .
32 html_tag( 'td', '<b>' . _("SquirrelMail Notice:") . '</b>', 'center', $color[0] )
34 html_tag( 'tr', "\n" .
36 '<br /><big><font color="' . $color[2] . '">'.
37 sprintf(ngettext("You have %s new message","You have %s new messages",$numnew), $numnew ) .
38 '</font><br /></big><br />' . "\n" .
39 '<form name="nm">' . "\n".
40 '<input type="button" name="bt" value="' . _("Close Window") .
41 '" onClick="javascript:window.close();" />'."\n".
45 '', '', 'width="100%" cellpadding="2" cellspacing="2" border="0"' ) .
47 "<script language=javascript>\n".
49 "document.nm.bt.focus();\n".