diff options
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/backend.php b/backend.php index a3460c4fc..8ddb391a5 100644 --- a/backend.php +++ b/backend.php @@ -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>"; |