utf-8 is already converted by ja_JP extra functions.
[squirrelmail.git] / plugins / newmail / newmail.php
CommitLineData
4508b1b6 1<?php
2d4c15d6 2
8d6a115b 3/**
4 * newmail.php
5 *
76911253 6 * Copyright (c) 1999-2003 The SquirrelMail Project Team
8d6a115b 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
7c15c446 21sqGetGlobalVar('numnew', $numnew, SQ_GET);
22
a9aa7ab7 23 displayHtmlHeader( _("New Mail"), '', FALSE );
24
4cf43843 25 echo "<body bgcolor=\"$color[4]\" topmargin=0 leftmargin=0 rightmargin=0 marginwidth=0 marginheight=0>\n".
26 '<center>'. "\n" .
27 html_tag( 'table', "\n" .
28 html_tag( 'tr', "\n" .
29 html_tag( 'td', '<b>' . _("SquirrelMail Notice:") . '</b>', 'center', $color[0] )
30 ) .
31 html_tag( 'tr', "\n" .
32 html_tag( 'td',
7c15c446 33 '<br><big><font color="' . $color[2] . '">' . _("You have").' '.
34 sprintf( ( $numnew == 1 ?
35 _("%s new message") :
36 _("%s new messages") ), $numnew ) .
37 '</font><br></big><br>' . "\n" .
4cf43843 38 '<form name="nm">' . "\n".
7c15c446 39 '<input type=button name=bt value="' . _("Close Window") .
40 '" onClick="javascript:window.close();">'."\n".
4cf43843 41 '</form>',
42 'center' )
43 ) ,
44 '', '', 'width="100%" cellpadding="2" cellspacing="2" border="0"' ) .
45 '</center>' .
2d4c15d6 46 "<script language=javascript>\n".
47 "<!--\n".
48 "document.nm.bt.focus();\n".
49 "-->\n".
50 "</script>\n".
4cf43843 51 "</body></html>\n";
a9aa7ab7 52
15e6162e 53?>