From df456bb0cfffc4845b4f82b1868bbf96c03b570f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 24 Aug 2007 07:39:57 +0100 Subject: [PATCH] tweak display of multi-feed headlines --- functions.php | 50 ++++++++++++++++++++++++++++++++------------------ tt-rss.css | 9 +++++++++ 2 files changed, 41 insertions(+), 18 deletions(-) diff --git a/functions.php b/functions.php index 40abd4132..518239ea3 100644 --- a/functions.php +++ b/functions.php @@ -4331,26 +4331,40 @@ print "$marked_pic"; print "$published_pic"; - if ($line["feed_title"]) { - print "$content_link"; - print " - ". - truncate_string($line["feed_title"],30)." "; - } else { - print ""; - - print "" . - $line["title"]; - - if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) { - if ($content_preview) { - print " - $content_preview"; - } +# if ($line["feed_title"]) { +# print "$content_link"; +# print " +# ". +# truncate_string($line["feed_title"],30)." "; +# } else { + + print ""; + + print "" . + $line["title"]; + + if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) { + if ($content_preview) { + print " - $content_preview"; } - - print ""; - print ""; } + + print ""; + +# ". +# $line["feed_title"]." + + if ($line["feed_title"]) { + print " + (". + $line["feed_title"].") + "; + } + + + print ""; + +# } print "$updated_fmt "; diff --git a/tt-rss.css b/tt-rss.css index ba1d4070e..d02ca4f08 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -847,6 +847,15 @@ td.hlFeed { text-align : right; } +span.hlFeed, span.hlFeed a { + font-size : 9pt; + color : gray; +} + +span.hlFeed a:hover { + color : #4684ff; +} + /* div.cdmArticle:hover { background-color : white; } */