4f2331bdbcb0ddeb83e823aec62b9a9f3e6aa5a2
6 * Copyright (c) 1999-2002 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
9 * Displays all options relating to new mail sounds
14 define('SM_PATH','../../');
16 /* SquirrelMail required files. */
17 require_once(SM_PATH
. 'include/validate.php');
18 require_once(SM_PATH
. 'functions/html.php');
20 $sound = (!isset($sound) ?
'Click.wav' : $sound);
21 $sound = str_replace('../plugins/newmail/', '', $sound);
22 $sound = str_replace('../', '', $sound);
23 $sound = str_replace("..\\", '', $sound);
25 displayHtmlHeader( _("Test Sound"), '', FALSE );
27 echo "<body bgcolor=\"$color[4]\" topmargin=0 leftmargin=0 rightmargin=0 marginwidth=0 marginheight=0>\n".
31 "<embed src=\"$sound\" hidden=true autostart=true>".
33 '<b>' . _("Loading the sound...") . '</b><br><br>'.
35 '<input type="button" name="close" value=" ' .
37 ' " onClick="window.close()">'.