phpdoc: added block tags, @version is set to Id:, removed Author: and Date:
[squirrelmail.git] / plugins / newmail / newmail.php
CommitLineData
4508b1b6 1<?php
2d4c15d6 2
8d6a115b 3/**
4 * newmail.php
5 *
82d304a0 6 * Copyright (c) 1999-2004 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 *
ea5f4b8e 11 * $Id$
12 * @package plugins
13 * @subpackage newmail
8d6a115b 14 */
d0dbdb14 15
ea5f4b8e 16/** @ignore */
8d6a115b 17define('SM_PATH','../../');
18
19/* SquirrelMail required files. */
20require_once(SM_PATH . 'include/validate.php');
21require_once(SM_PATH . 'include/load_prefs.php');
22require_once(SM_PATH . 'functions/page_header.php');
a9aa7ab7 23
7c15c446 24sqGetGlobalVar('numnew', $numnew, SQ_GET);
25
a9aa7ab7 26 displayHtmlHeader( _("New Mail"), '', FALSE );
27
6fd95361 28 echo '<body bgcolor="'.$color[4].'" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">'."\n".
4cf43843 29 '<center>'. "\n" .
30 html_tag( 'table', "\n" .
31 html_tag( 'tr', "\n" .
32 html_tag( 'td', '<b>' . _("SquirrelMail Notice:") . '</b>', 'center', $color[0] )
33 ) .
34 html_tag( 'tr', "\n" .
35 html_tag( 'td',
c5a2a440 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".
42 '</form>',
43 'center' )
44 ) ,
45 '', '', 'width="100%" cellpadding="2" cellspacing="2" border="0"' ) .
46 '</center>' .
47 "<script language=javascript>\n".
48 "<!--\n".
49 "document.nm.bt.focus();\n".
50 "-->\n".
51 "</script>\n".
52 "</body></html>\n";
6fd95361 53?>