X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fnewmail%2Ftestsound.php;h=d8d5ac7ef0c49cf43984e4813e757dfea7e79bc6;hb=cc201b463e7d240bd4656795e5a3f0af14fb05c8;hp=79806ee73999312aa60cdd2f82b66200e366bd76;hpb=ebe02dfcf975117aa1ade97bedae3611d19c7cf2;p=squirrelmail.git diff --git a/plugins/newmail/testsound.php b/plugins/newmail/testsound.php index 79806ee7..d8d5ac7e 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-2007 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,16 +34,16 @@ 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...") . '
'. '
'. ''. + ' " onclick="window.close()" />'. '
' , 'center' ) ) , 'center' ) . ''; -?> +?> \ No newline at end of file