]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove FTITLE- id
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 30 Nov 2018 11:53:58 +0000 (14:53 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 30 Nov 2018 11:53:58 +0000 (14:53 +0300)
classes/feeds.php

index d6da225e8afe20322415c48be63fbda2276c7b29..09bfdea7257fcdd4df4262424b9af0fceb82e020 100755 (executable)
@@ -362,9 +362,7 @@ class Feeds extends Handler_Protected {
                                        $entry_author = " &mdash; $entry_author";
                                }
 
-                               $has_feed_icon = feeds::feedHasIcon($feed_id);
-
-                               if ($has_feed_icon) {
+                               if (feeds::feedHasIcon($feed_id)) {
                                        $feed_icon_img = "<img class=\"tinyFeedIcon\" src=\"".ICONS_URL."/$feed_id.ico\" alt=\"\">";
                                } else {
                                        $feed_icon_img = "<img class=\"tinyFeedIcon\" src=\"images/pub_set.png\" alt=\"\">";
@@ -392,7 +390,7 @@ class Feeds extends Handler_Protected {
 
                                                        $vf_catchup_link = "<a class='catchup' onclick='catchupFeedInGroup($feed_id);' href='#'>".__('mark feed as read')."</a>";
 
-                                                       $reply['content'] .= "<div data-feed-id='$feed_id' id='FTITLE-$feed_id' class='cdmFeedTitle'>".
+                                                       $reply['content'] .= "<div data-feed-id='$feed_id' class='cdmFeedTitle'>".
                                                                "<div style='float : right'>$feed_icon_img</div>".
                                                                "<a class='title' href=\"#\" onclick=\"viewfeed({feed:$feed_id})\">".
                                                                $line["feed_title"]."</a>
@@ -488,7 +486,7 @@ class Feeds extends Handler_Protected {
                                                        $feed_icon_src = Feeds::getFeedIcon($feed_id);
                                                        $feed_icon_img = "<img class=\"tinyFeedIcon\" src=\"$feed_icon_src\">";
 
-                                                       $reply['content'] .= "<div data-feed-id='$feed_id' id='FTITLE-$feed_id' class='cdmFeedTitle'>".
+                                                       $reply['content'] .= "<div data-feed-id='$feed_id' class='cdmFeedTitle'>".
                                                                "<div style=\"float : right\">$feed_icon_img</div>".
                                                                "<a href=\"#\" class='title' onclick=\"viewfeed({feed:$feed_id})\">".
                                                                $line["feed_title"]."</a> $vf_catchup_link</div>";