From 7515cb51d15f24b4c2fce367f097b1dd69ccefa7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 25 Nov 2010 15:32:53 +0300 Subject: blacklist option ENABLE_FLASH_PLAYER --- functions.php | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 27efb2c48..d874ba3b9 100644 --- a/functions.php +++ b/functions.php @@ -4454,35 +4454,14 @@ $entry = ""; - if (($ctype == __("audio/mpeg")) && (get_pref($link, "ENABLE_FLASH_PLAYER")) ) { + if ($ctype == "audio/mpeg") { $entry .= " + width=\"17\" height=\"17\" style='float : left; margin-right : 5px;'> "; } - /* - - if (substr($ctype,0,6)=="audio/" || $ctype=="application/ogg" || $ctype=="application/x-ogg") { - $entry .= " "; - if (($ctype == __("audio/mpeg")) && - (get_pref($link, "ENABLE_FLASH_PLAYER")) ) { - $entry .= "".__('Switch to Flash Player').""; - $entry .= ""; - } - } elseif (substr($ctype,0,6)=="video/") { - $entry .= ""; - } */ - - - return $entry; } -- cgit v1.2.3-54-g00ecf