almost forgot: SMPATH fixes from Paul BORKED spamcop
[squirrelmail.git] / plugins / newmail / newmail.php
1 <?php
2
3 /**
4 ** newmail.php
5 **
6 ** Copyright (c) 1999-2002 The SquirrelMail Project Team
7 ** Licensed under the GNU GPL. For full terms see the file COPYING.
8 **
9 ** Displays all options relating to new mail sounds
10 **
11 ** $Id$
12 **
13 **/
14
15 chdir ('../');
16 require_once('../src/validate.php');
17 require_once('../src/load_prefs.php');
18 require_once('../functions/page_header.php');
19
20 displayHtmlHeader( _("New Mail"), '', FALSE );
21
22 echo "<body bgcolor=\"$color[4]\" topmargin=0 leftmargin=0 rightmargin=0 marginwidth=0 marginheight=0>\n".
23 '<center>'. "\n" .
24 html_tag( 'table', "\n" .
25 html_tag( 'tr', "\n" .
26 html_tag( 'td', '<b>' . _("SquirrelMail Notice:") . '</b>', 'center', $color[0] )
27 ) .
28 html_tag( 'tr', "\n" .
29 html_tag( 'td',
30 '<br><big><font color="' . $color[2] . '">' .
31 _("You have new mail!") . '</font><br></big><br>' . "\n" .
32 '<form name="nm">' . "\n".
33 '<input type=button name=bt value="' . _("Close Window") .'" onClick="javascript:window.close();">'."\n".
34 '</form>',
35 'center' )
36 ) ,
37 '', '', 'width="100%" cellpadding="2" cellspacing="2" border="0"' ) .
38 '</center>' .
39 "<script language=javascript>\n".
40 "<!--\n".
41 "document.nm.bt.focus();\n".
42 "-->\n".
43 "</script>\n".
44 "</body></html>\n";
45
46 ?>