From: Andrew Dolgov Date: Wed, 20 Jun 2018 15:17:44 +0000 (+0300) Subject: remove SWF enclosure audio player X-Git-Tag: 18.8~19 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=df47100ad10117f67dd0fb86f270cdd2d24b5692;p=tt-rss.git remove SWF enclosure audio player --- diff --git a/include/controls.php b/include/controls.php index b416f4d2..037e331c 100755 --- a/include/controls.php +++ b/include/controls.php @@ -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) { "; - } else { - - $entry .= " - - "; } if ($entry) $entry .= "