summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-07-30 19:07:56 +0400
committerAndrew Dolgov <[email protected]>2011-07-30 19:07:56 +0400
commit52c8007d81140725f206f54fce325ce0f8e2a386 (patch)
treed77ce1f59c7bf69e1ae35596b64d15777c9acb52 /functions.php
parent44cddbcedb2425d280c67fc15ff9fdbe749cceb1 (diff)
add undocumented constant _SHOW_FEED_TITLE_IN_VFEEDS which enables showing full feed title in virtual feeds
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php17
1 files 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 "<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