6 * Copyright (c) 1999-2003 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
12 define('SM_PATH','../../');
14 /* SquirrelMail required files. */
15 require_once(SM_PATH
. 'include/validate.php');
16 require_once(SM_PATH
. 'functions/global.php');
17 require_once(SM_PATH
. 'functions/html.php');
19 displayHtmlHeader( _("Test Sound"), '', FALSE );
21 echo '<body bgcolor="'.$color[4].'" topmargin=0 leftmargin=0 rightmargin=0 marginwidth=0 marginheight=0>'."\n";
23 if ( ! sqgetGlobalVar('sound', $sound, SQ_GET
) ) {
25 } elseif ( $sound == '(none)' ) {
26 echo '<center><form><br /><br />'.
27 '<b>' . _("No sound specified") . '</b><br /><br />'.
28 '<input type="button" name="close" value="' . _("Close") . '" onClick="window.close()">'.
34 echo html_tag( 'table',
37 "<embed src=\"$sound\" hidden=true autostart=true>".
39 '<b>' . _("Loading the sound...") . '</b><br>'.
41 '<input type="button" name="close" value=" ' .
43 ' " onClick="window.close()">'.