add undocumented constant _SHOW_FEED_TITLE_IN_VFEEDS which enables showing full feed title in virtual feeds

This commit is contained in:
Andrew Dolgov 2011-07-30 19:07:56 +04:00
parent 44cddbcedb
commit 52c8007d81
1 changed files with 14 additions and 3 deletions

View File

@ -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 "<span class=\"hlFeed\">
$reply['content'] .= "<span class=\"hlFeed\">
(<a href=\"#\" onclick=\"viewfeed($feed_id)\">".
$line["feed_title"]."</a>)
</span>";
}
} */
}
$reply['content'] .= "</div>";
@ -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'] .= "<span class=\"hlFeed\">
(<a href=\"#\" onclick=\"viewfeed($feed_id)\">".
$line["feed_title"]."</a>)
</span>";
}
}
if (!$expand_cdm)
$content_hidden = "style=\"display : none\"";
else