Some plugins to rg=0: bug_report message_details newmail sent_subfolders spamcop...
[squirrelmail.git] / plugins / newmail / newmail.php
CommitLineData
4508b1b6 1<?php
2d4c15d6 2
8d6a115b 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 */
d0dbdb14 13
8d6a115b 14define('SM_PATH','../../');
15
16/* SquirrelMail required files. */
17require_once(SM_PATH . 'include/validate.php');
18require_once(SM_PATH . 'include/load_prefs.php');
19require_once(SM_PATH . 'functions/page_header.php');
a9aa7ab7 20
21 displayHtmlHeader( _("New Mail"), '', FALSE );
22
4cf43843 23 echo "<body bgcolor=\"$color[4]\" topmargin=0 leftmargin=0 rightmargin=0 marginwidth=0 marginheight=0>\n".
24 '<center>'. "\n" .
25 html_tag( 'table', "\n" .
26 html_tag( 'tr', "\n" .
27 html_tag( 'td', '<b>' . _("SquirrelMail Notice:") . '</b>', 'center', $color[0] )
28 ) .
29 html_tag( 'tr', "\n" .
30 html_tag( 'td',
31 '<br><big><font color="' . $color[2] . '">' .
32 _("You have new mail!") . '</font><br></big><br>' . "\n" .
33 '<form name="nm">' . "\n".
34 '<input type=button name=bt value="' . _("Close Window") .'" onClick="javascript:window.close();">'."\n".
35 '</form>',
36 'center' )
37 ) ,
38 '', '', 'width="100%" cellpadding="2" cellspacing="2" border="0"' ) .
39 '</center>' .
2d4c15d6 40 "<script language=javascript>\n".
41 "<!--\n".
42 "document.nm.bt.focus();\n".
43 "-->\n".
44 "</script>\n".
4cf43843 45 "</body></html>\n";
a9aa7ab7 46
15e6162e 47?>