Getting ready for 1.2.0 release.
[squirrelmail.git] / plugins / newmail / newmail.php
index ce3a9247507b88733fb0ab47015e7b4328b323f9..02eb6437eec3aa44ca02754aa9d483cc9183e986 100644 (file)
@@ -2,7 +2,8 @@
 
    /**
     **  newmail.php
-    **  Copyright (c) 1999-2001 The Squirrelmail Development Team
+    **
+    **  Copyright (c) 1999-2002 The SquirrelMail Project Team
     **  Licensed under the GNU GPL. For full terms see the file COPYING.        
     **
     **  Displays all options relating to new mail sounds
    chdir ('../');
    require_once('../src/validate.php');
    require_once('../src/load_prefs.php');
-   
-   echo "<HTML>\n".
-        '<TITLE>' . _("New Mail") . "</TITLE>\n".
-        "<BODY bgcolor=\"$color[4]\" topmargin=0 leftmargin=0 rightmargin=0 marginwidth=0 marginheight=0>\n".
+   require_once('../functions/page_header.php');
+
+   displayHtmlHeader( _("New Mail"), '', FALSE );
+
+   echo "<BODY bgcolor=\"$color[4]\" topmargin=0 leftmargin=0 rightmargin=0 marginwidth=0 marginheight=0>\n".
         '<CENTER>'.
         "<table width=100% cellpadding=2 cellspacing=2 border=0>\n".
         "<tr>\n".
@@ -25,8 +27,8 @@
         '<b><center>' . _("SquirrelMail Notice:") . "</center></b>\n".
         "</td>\n".
         "</tr><tr>\n".
-        "<td><center><br><big><font color=\"$color[2]\">" . 
-        _("You have new mail!") . "</font></big><br>\n".
+        "<td><center><br><big><font color=\"$color[2]\">" .
+        _("You have new mail!") . "</font><br></big><br>\n".
         "<form name=nm>\n".
             '<input type=button name=bt value="Close Window" onClick="javascript:window.close();">'.
         "</form></center></td></tr></table></CENTER>\n".
@@ -36,5 +38,5 @@
         "-->\n".
         "</script>\n".
         "</BODY></HTML>\n";
-        
-?>
\ No newline at end of file
+
+?>