X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fnewmail%2Ftestsound.php;h=5de4d0b04d0be1edcc78064baaa64985f6038673;hb=b1870063b2e576ca9ff3cd41ada9cda1f8812507;hp=c1a8540a15d36f32b048e053801cba3c030e532b;hpb=fd968951eb137db98751581da5648e681b05856e;p=squirrelmail.git diff --git a/plugins/newmail/testsound.php b/plugins/newmail/testsound.php index c1a8540a..5de4d0b0 100644 --- a/plugins/newmail/testsound.php +++ b/plugins/newmail/testsound.php @@ -3,19 +3,18 @@ /** * testsound.php * - * Copyright (c) 1999-2004 The SquirrelMail Project Team - * Licensed under the GNU GPL. For full terms see the file COPYING. - * - * $Id$ + * @copyright © 1999-2006 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License + * @version $Id$ * @package plugins * @subpackage newmail */ -/** @ignore */ -define('SM_PATH','../../'); - -/* SquirrelMail required files. */ -require_once(SM_PATH . 'include/validate.php'); +/** + * Path for SquirrelMail required files. + * @ignore + */ +require('../../include/init.php'); displayHtmlHeader( _("Test Sound"), '', FALSE ); @@ -24,10 +23,10 @@ echo '


'. + echo '


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

'. ''. - ''. + '
'. ''; return; } @@ -35,7 +34,7 @@ if ( ! sqgetGlobalVar('sound', $sound, SQ_GET) ) { echo html_tag( 'table', html_tag( 'tr', html_tag( 'td', - ''."\n". + newmail_create_media_tags($sound)."\n". '
'. '' . _("Loading the sound...") . '
'. '
'.