From dc80334727fbcfd6ad4fc268687982c4617779f5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 8 Aug 2008 04:46:02 +0100 Subject: display feed icons in grouped vfeed mode --- functions.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'functions.php') diff --git a/functions.php b/functions.php index eb67f520e..1e1aff0e3 100644 --- a/functions.php +++ b/functions.php @@ -5001,7 +5001,19 @@ $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
". "". $line["feed_title"]." $vf_catchup_link:"; } @@ -5079,7 +5091,16 @@ $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 = "\"\""; + } + print "
". + "
$feed_icon_img
". "". $line["feed_title"]." $vf_catchup_link
"; } -- cgit v1.2.3