]> git.wh0rd.org Git - tt-rss.git/commitdiff
In "normal mode" don't show feed title, when articles are grouped by feed
authorJoschasa <joschasa@lavabit.com>
Thu, 21 Mar 2013 19:22:04 +0000 (20:22 +0100)
committerJoschasa <joschasa@lavabit.com>
Thu, 21 Mar 2013 19:22:04 +0000 (20:22 +0100)
Got removed here: https://github.com/gothfox/Tiny-Tiny-RSS/commit/e17e99fbcf62f2e347ce771a795be3237521f6b5

classes/feeds.php

index b8ef1f54453b52f812de292ea8ca7c8d00f5d4f9..779614dce54eb656ead04e70117ab7a58ab2459b 100644 (file)
@@ -450,12 +450,14 @@ class Feeds extends Handler_Protected {
 
                                        $reply['content'] .= "<span class=\"hlUpdated\">";
 
-                                       if (@$line["feed_title"]) {
+                                       if (!get_pref($this->link, 'VFEED_GROUP_BY_FEED')) {
+                                               if (@$line["feed_title"]) {
                                                        $reply['content'] .= "<div class=\"hlFeed\">
                                                                <a href=\"#\" onclick=\"viewfeed($feed_id)\">".
                                                                $line["feed_title"]."</a>
                                                        </div>";
                                                }
+                                       }
 
                                        $reply['content'] .= "$updated_fmt</span>";
                                        $reply['content'] .= "<div class=\"hlRight\">";