X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fnewmail%2Ftestsound.php;h=d688d40dfb07f3f31f4636a9fb1693756a44a2e7;hb=069a91d353789f95214d40e7f38b4cd0cb240dd7;hp=711036da62bd0190703d936143dcaa1be0fc2b81;hpb=6fd953618853477f6ffe569ce3c9733ca9f9c2d0;p=squirrelmail.git diff --git a/plugins/newmail/testsound.php b/plugins/newmail/testsound.php index 711036da..d688d40d 100644 --- a/plugins/newmail/testsound.php +++ b/plugins/newmail/testsound.php @@ -3,10 +3,10 @@ /** * testsound.php * - * Copyright (c) 1999-2004 The SquirrelMail Project Team - * Licensed under the GNU GPL. For full terms see the file COPYING. + * Copyright (c) 1999-2005 The SquirrelMail Project Team + * Licensed under the GNU GPL. For full terms see the file COPYING. * - * $Id$ + * @version $Id$ * @package plugins * @subpackage newmail */ @@ -16,8 +16,6 @@ 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 ); @@ -28,7 +26,7 @@ if ( ! sqgetGlobalVar('sound', $sound, SQ_GET) ) { } 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', - ''."\n". + newmail_create_media_tags($sound)."\n". '
'. '' . _("Loading the sound...") . '
'. '
'. ''. + ' " onclick="window.close()" />'. '
' , 'center' ) ) , 'center' ) . ''; -?> +?> \ No newline at end of file