summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-08-14 07:30:29 +0100
committerAndrew Dolgov <[email protected]>2008-08-14 07:30:29 +0100
commit965fb2af0db60231552c984f6f3d0ab3ef4084dc (patch)
tree526f210e37505a853003644d54a233b66eeb9104 /functions.php
parente351c4945da20622c88d7cc9ccdb9ba17a9f5bef (diff)
CDM: fix bug with feed icon being displayed in grouped mode for vfeeds
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/functions.php b/functions.php
index 8367dcaa1..e245d53fd 100644
--- a/functions.php
+++ b/functions.php
@@ -5012,7 +5012,7 @@
print "<tr class='feedTitle'><td colspan='7'>".
"<div style=\"float : right\">$feed_icon_img</div>".
"<a href=\"javascript:viewfeed($feed_id, '', false)\">".
- $line["feed_title"]."</a> $vf_catchup_link:</td></tr>";
+ $line["feed_title"]."</a> $vf_catchup_link</td></tr>";
}
}
@@ -5131,8 +5131,11 @@
print "<div class=\"cdmHeader\">";
- print "<div class=\"articleUpdated\">$updated_fmt $score_pic
- <span style=\"cursor : pointer\" onclick=\"viewfeed($feed_id)\">$feed_icon_img</span>
+ if (!get_pref($link, "VFEED_GROUP_BY_FEED") || !$line["feed_title"]) {
+ $cdm_feed_icon = "<span style=\"cursor : pointer\" onclick=\"viewfeed($feed_id)\">$feed_icon_img</span>";
+ }
+
+ print "<div class=\"articleUpdated\">$updated_fmt $score_pic $cdm_feed_icon
</div>";
print "<span id=\"RTITLE-$id\" class=\"titleWrap$hlc_suffix\"><a class=\"title\"