newmail.php 1.5 KB

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