tweak display of multi-feed headlines

This commit is contained in:
Andrew Dolgov 2007-08-24 07:39:57 +01:00
parent 19815594c8
commit df456bb0cf
2 changed files with 39 additions and 16 deletions

View File

@ -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'>";
# 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 "<a href=\"javascript:view($id,$feed_id);\">" .
$line["title"];
print "<td class='hlContent' valign='middle'>";
if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) {
if ($content_preview) {
print "<span class=\"contentPreview\"> - $content_preview</span>";
}
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>";

View File

@ -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;
} */