From: Andrew Dolgov Date: Sat, 30 Jul 2011 15:07:56 +0000 (+0400) Subject: add undocumented constant _SHOW_FEED_TITLE_IN_VFEEDS which enables showing full feed... X-Git-Tag: 1.5.6~78 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=52c8007d81140725f206f54fce325ce0f8e2a386;p=tt-rss.git add undocumented constant _SHOW_FEED_TITLE_IN_VFEEDS which enables showing full feed title in virtual feeds --- diff --git a/functions.php b/functions.php index 4ce67003..699cfb93 100644 --- a/functions.php +++ b/functions.php @@ -5231,14 +5231,15 @@ $reply['content'] .= $labels_str; - /* if (!get_pref($link, 'VFEED_GROUP_BY_FEED')) { + if (!get_pref($link, 'VFEED_GROUP_BY_FEED') && + defined('_SHOW_FEED_TITLE_IN_VFEEDS')) { if (@$line["feed_title"]) { - print " + $reply['content'] .= " (". $line["feed_title"].") "; } - } */ + } $reply['content'] .= ""; @@ -5326,6 +5327,16 @@ $reply['content'] .= $labels_str; + if (!get_pref($link, 'VFEED_GROUP_BY_FEED') && + defined('_SHOW_FEED_TITLE_IN_VFEEDS')) { + if (@$line["feed_title"]) { + $reply['content'] .= " + (". + $line["feed_title"].") + "; + } + } + if (!$expand_cdm) $content_hidden = "style=\"display : none\""; else