6e6ceb10fe48e42eae5d8b1e11323b12064cf036
6 * Copyright (c) 1999-2004 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
15 define('SM_PATH','../../');
17 /* SquirrelMail required files. */
18 require_once(SM_PATH
. 'include/validate.php');
20 displayHtmlHeader( _("Test Sound"), '', FALSE );
22 echo '<body bgcolor="'.$color[4].'" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">'."\n";
24 if ( ! sqgetGlobalVar('sound', $sound, SQ_GET
) ) {
26 } elseif ( $sound == '(none)' ) {
27 echo '<center><form><br /><br />'.
28 '<b>' . _("No sound specified") . '</b><br /><br />'.
29 '<input type="button" name="close" value="' . _("Close") . '" onClick="window.close()" />'.
35 echo html_tag( 'table',
38 '<embed src="'.htmlspecialchars($sound).'" hidden="true" autostart="true">'."\n".
40 '<b>' . _("Loading the sound...") . '</b><br />'.
42 '<input type="button" name="close" value=" ' .
44 ' " onClick="window.close()" />'.