6 * Copyright (c) 1999-2003 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
14 define('SM_PATH','../../');
16 /* SquirrelMail required files. */
17 require_once(SM_PATH
. 'include/validate.php');
18 require_once(SM_PATH
. 'include/load_prefs.php');
19 require_once(SM_PATH
. 'functions/page_header.php');
21 sqGetGlobalVar('numnew', $numnew, SQ_GET
);
23 displayHtmlHeader( _("New Mail"), '', FALSE );
25 echo "<body bgcolor=\"$color[4]\" topmargin=0 leftmargin=0 rightmargin=0 marginwidth=0 marginheight=0>\n".
27 html_tag( 'table', "\n" .
28 html_tag( 'tr', "\n" .
29 html_tag( 'td', '<b>' . _("SquirrelMail Notice:") . '</b>', 'center', $color[0] )
31 html_tag( 'tr', "\n" .
33 '<br><big><font color="' . $color[2] . '">' . _("You have").' '.
34 sprintf( ( $numnew == 1 ?
36 _("%s new messages") ), $numnew ) .
37 '</font><br></big><br>' . "\n" .
38 '<form name="nm">' . "\n".
39 '<input type=button name=bt value="' . _("Close Window") .
40 '" onClick="javascript:window.close();">'."\n".
44 '', '', 'width="100%" cellpadding="2" cellspacing="2" border="0"' ) .
46 "<script language=javascript>\n".
48 "document.nm.bt.focus();\n".