X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fnewmail%2Ftestsound.php;h=cba784dcf5162319f166a2061ac2113cc32f274e;hp=07f8a09799cdb410f5d7637480b92c84bb887d83;hb=c435f076fe6b5b58e09ae19a8e216f37b069d802;hpb=ea5f4b8eaf805c4cc4e9533e87d057300a7fe666 diff --git a/plugins/newmail/testsound.php b/plugins/newmail/testsound.php index 07f8a097..cba784dc 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