diff options
author | Andrew Dolgov <[email protected]> | 2007-08-24 07:39:57 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-24 07:39:57 +0100 |
commit | df456bb0cfffc4845b4f82b1868bbf96c03b570f (patch) | |
tree | ec57a82feaace91af573a4ae2d115df6dbb6a5fe /functions.php | |
parent | 19815594c882ca3f25b257dbdce76c74428d1e16 (diff) |
tweak display of multi-feed headlines
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 50 |
1 files changed, 32 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> </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> </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 </nobr></td>"; |