]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove SWF enclosure audio player
authorAndrew Dolgov <noreply@fakecake.org>
Wed, 20 Jun 2018 15:17:44 +0000 (18:17 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Wed, 20 Jun 2018 15:17:44 +0000 (18:17 +0300)
include/controls.php
lib/button/license.txt [deleted file]
lib/button/musicplayer.swf [deleted file]
lib/button/musicplayer_f6.swf [deleted file]

index b416f4d22ce4bf6a082c4c4d4e5684aaf511bde5..037e331cc86b5aa9e7cf01d743e03cfd91dfc877 100755 (executable)
@@ -94,7 +94,7 @@ function print_feed_multi_select($id, $default_ids = [],
                                (SELECT COUNT(id) FROM ttrss_feed_categories AS c2 WHERE
                                        c2.parent_cat = ttrss_feed_categories.id) AS num_children
                                FROM ttrss_feed_categories
-                               WHERE owner_uid = :uid AND 
+                               WHERE owner_uid = :uid AND
                                (parent_cat = :root_id OR (:root_id IS NULL AND parent_cat IS NULL)) ORDER BY title");
 
                $sth->execute([":uid" => $_SESSION['uid'], ":root_id" => $root_id]);
@@ -188,7 +188,7 @@ function print_feed_cat_select($id, $default_id,
                                (SELECT COUNT(id) FROM ttrss_feed_categories AS c2 WHERE
                                        c2.parent_cat = ttrss_feed_categories.id) AS num_children
                                FROM ttrss_feed_categories
-                               WHERE owner_uid = :uid AND 
+                               WHERE owner_uid = :uid AND
                                  (parent_cat = :root_id OR (:root_id IS NULL AND parent_cat IS NULL)) ORDER BY title");
        $sth->execute([":uid" => $_SESSION['uid'], ":root_id" => $root_id]);
 
@@ -293,14 +293,6 @@ function format_inline_player($url, $ctype) {
                                        <source type=\"$ctype\" src=\"$url\"/>
                                        </audio>";
 
-               } else {
-
-                       $entry .= "<object type=\"application/x-shockwave-flash\"
-                                       data=\"lib/button/musicplayer.swf?song_url=$url\"
-                                       width=\"17\" height=\"17\" style='float : left; margin-right : 5px;'>
-                                       <param name=\"movie\"
-                                               value=\"lib/button/musicplayer.swf?song_url=$url\" />
-                                       </object>";
                }
 
                if ($entry) $entry .= "&nbsp; <a target=\"_blank\" rel=\"noopener noreferrer\"
diff --git a/lib/button/license.txt b/lib/button/license.txt
deleted file mode 100644 (file)
index 12d609e..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Copyright (c) 2005, Fabricio Zuardi\r
-All rights reserved.\r
-\r
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\r
-\r
-    * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\r
-    * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\r
-    * Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.\r
-\r
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
diff --git a/lib/button/musicplayer.swf b/lib/button/musicplayer.swf
deleted file mode 100644 (file)
index 39c8d53..0000000
Binary files a/lib/button/musicplayer.swf and /dev/null differ
diff --git a/lib/button/musicplayer_f6.swf b/lib/button/musicplayer_f6.swf
deleted file mode 100644 (file)
index 2eb5d57..0000000
Binary files a/lib/button/musicplayer_f6.swf and /dev/null differ