From bd51294a513939c7c4fa379eba7ff89e1efe7255 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 8 Aug 2008 05:06:19 +0100 Subject: display feed icons in ungrouped vfeeds --- functions.php | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 1e1aff0e3..b6212cd15 100644 --- a/functions.php +++ b/functions.php @@ -4989,6 +4989,14 @@ $entry_author = " - $entry_author"; } + $has_feed_icon = is_file(ICONS_DIR . "/$feed_id.ico"); + + if ($has_feed_icon) { + $feed_icon_img = "\"\""; + } else { + //$feed_icon_img = "\"\""; + } + if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) { if (get_pref($link, 'VFEED_GROUP_BY_FEED')) { @@ -5001,17 +5009,6 @@ $vf_catchup_link = "(mark as read)"; - $has_feed_icon = is_file(ICONS_DIR . "/$feed_id.ico"); - - if ($has_feed_icon) { - $feed_icon_img = "\"\""; - } else { - //$feed_icon_img = "\"\""; - } - -// $class = "odd"; -// $lnum = 0; - print "". "
$feed_icon_img
". "". @@ -5067,16 +5064,18 @@ "; } } - - print ""; - + # } print "$updated_fmt "; print "$score_pic"; - + + if ($line["feed_title"] && !get_pref($link, 'VFEED_GROUP_BY_FEED')) { + print "$feed_icon_img"; + } + print ""; } else { -- cgit v1.2.3