6 * Copyright (c) 1999-2005 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 newmail_create_media_tags($sound)."\n".
40 '<b>' . _("Loading the sound...") . '</b><br />'.
42 '<input type="button" name="close" value=" ' .
44 ' " onclick="window.close()" />'.