From bd51294a513939c7c4fa379eba7ff89e1efe7255 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 8 Aug 2008 05:06:19 +0100 Subject: [PATCH] display feed icons in ungrouped vfeeds --- functions.php | 29 ++++++++++++++--------------- tt-rss.css | 6 ++++++ 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/functions.php b/functions.php index 1e1aff0e..b6212cd1 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 { diff --git a/tt-rss.css b/tt-rss.css index 1dced04f..ae8240e8 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -872,6 +872,12 @@ table.headlinesList { width : 100%; } +table.headlinesList td.hlFeedIcon { + width : 25px; + text-align : center; +} + + table.headlinesList td.hlMarkedPic { width : 25px; text-align : center; -- 2.39.5