From: Andrew Dolgov Date: Fri, 8 Aug 2008 04:06:19 +0000 (+0100) Subject: display feed icons in ungrouped vfeeds X-Git-Tag: 1.2.26~21 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=bd51294a513939c7c4fa379eba7ff89e1efe7255;p=tt-rss.git display feed icons in ungrouped vfeeds --- 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;