From 52c8007d81140725f206f54fce325ce0f8e2a386 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 30 Jul 2011 19:07:56 +0400 Subject: [PATCH] add undocumented constant _SHOW_FEED_TITLE_IN_VFEEDS which enables showing full feed title in virtual feeds --- functions.php | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/functions.php b/functions.php index 4ce670033..699cfb93b 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