X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fnewmail%2Ftestsound.php;h=6e6ceb10fe48e42eae5d8b1e11323b12064cf036;hb=91e0dccca7b2452d8b450791cae3aa4125e8889e;hp=07f8a09799cdb410f5d7637480b92c84bb887d83;hpb=ea5f4b8eaf805c4cc4e9533e87d057300a7fe666;p=squirrelmail.git diff --git a/plugins/newmail/testsound.php b/plugins/newmail/testsound.php index 07f8a097..6e6ceb10 100644 --- a/plugins/newmail/testsound.php +++ b/plugins/newmail/testsound.php @@ -3,8 +3,8 @@ /** * testsound.php * - * Copyright (c) 1999-2003 The SquirrelMail Project Team - * Licensed under the GNU GPL. For full terms see the file COPYING. + * Copyright (c) 1999-2004 The SquirrelMail Project Team + * Licensed under the GNU GPL. For full terms see the file COPYING. * * $Id$ * @package plugins @@ -16,19 +16,17 @@ define('SM_PATH','../../'); /* SquirrelMail required files. */ require_once(SM_PATH . 'include/validate.php'); -require_once(SM_PATH . 'functions/global.php'); -require_once(SM_PATH . 'functions/html.php'); displayHtmlHeader( _("Test Sound"), '', FALSE ); -echo ''."\n"; +echo ''."\n"; if ( ! sqgetGlobalVar('sound', $sound, SQ_GET) ) { $sound = 'Click.wav'; } elseif ( $sound == '(none)' ) { echo '


'. '' . _("No sound specified") . '

'. - ''. + ''. '
'. ''; return; @@ -37,16 +35,16 @@ if ( ! sqgetGlobalVar('sound', $sound, SQ_GET) ) { echo html_tag( 'table', html_tag( 'tr', html_tag( 'td', - "". - '
'. - '' . _("Loading the sound...") . '
'. + ''."\n". + '
'. + '' . _("Loading the sound...") . '
'. '
'. ''. + ' " onClick="window.close()" />'. '
' , 'center' ) ) , 'center' ) . ''; -?> +?> \ No newline at end of file