summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-24 07:39:57 +0100
committerAndrew Dolgov <[email protected]>2007-08-24 07:39:57 +0100
commitdf456bb0cfffc4845b4f82b1868bbf96c03b570f (patch)
treeec57a82feaace91af573a4ae2d115df6dbb6a5fe
parent19815594c882ca3f25b257dbdce76c74428d1e16 (diff)
tweak display of multi-feed headlines
-rw-r--r--functions.php50
-rw-r--r--tt-rss.css9
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 "<td class='hlMarkedPic'>$marked_pic</td>";
print "<td class='hlMarkedPic'>$published_pic</td>";
- if ($line["feed_title"]) {
- print "<td class='hlContent'>$content_link</td>";
- print "<td class='hlFeed'>
- <a href=\"javascript:viewfeed($feed_id, '', false)\">".
- truncate_string($line["feed_title"],30)."</a>&nbsp;</td>";
- } else {
- print "<td class='hlContent' valign='middle'>";
-
- print "<a href=\"javascript:view($id,$feed_id);\">" .
- $line["title"];
-
- if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) {
- if ($content_preview) {
- print "<span class=\"contentPreview\"> - $content_preview</span>";
- }
+# if ($line["feed_title"]) {
+# print "<td class='hlContent'>$content_link</td>";
+# print "<td class='hlFeed'>
+# <a href=\"javascript:viewfeed($feed_id, '', false)\">".
+# truncate_string($line["feed_title"],30)."</a>&nbsp;</td>";
+# } else {
+
+ print "<td class='hlContent' valign='middle'>";
+
+ print "<a href=\"javascript:view($id,$feed_id);\">" .
+ $line["title"];
+
+ if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) {
+ if ($content_preview) {
+ print "<span class=\"contentPreview\"> - $content_preview</span>";
}
-
- print "</a>";
- print "</td>";
}
+
+ print "</a>";
+
+# <a href=\"javascript:viewfeed($feed_id, '', false)\">".
+# $line["feed_title"]."</a>
+
+ if ($line["feed_title"]) {
+ print "<span class=\"hlFeed\">
+ (<a href=\"javascript:viewfeed($feed_id, '', false)\">".
+ $line["feed_title"]."</a>)
+ </span>";
+ }
+
+
+ print "</td>";
+
+# }
print "<td class=\"hlUpdated\"><nobr>$updated_fmt&nbsp;</nobr></td>";
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;
} */