1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:55:55 +00:00

enable comments link in op=view

This commit is contained in:
Andrew Dolgov
2005-09-07 09:46:30 +01:00
parent 90e395dca0
commit f7181e9b61
2 changed files with 18 additions and 1 deletions

View File

@@ -230,14 +230,23 @@
$feed_icon = " ";
}
if ($line["comments"] && $line["link"] != $line["comments"]) {
$entry_comments = "(<a href=\"".$line["comments"]."\">Comments</a>)";
} else {
$entry_comments = "";
}
print "<div class=\"postReply\">";
print "<div class=\"postHeader\"><table>";
print "<tr><td><b>Title:</b></td>
<td width='100%'>" . $line["title"] . "</td></tr>";
print "<tr><td><b>Link:</b></td>
<td width='100%'>" . $line["link"] . "</td></tr>";
<td width='100%'>
<a href=\"" . $line["link"] . "\">".$line["link"]."</a>
$entry_comments</td></tr>";
print "</table></div>";