summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-09-07 09:46:30 +0100
committerAndrew Dolgov <[email protected]>2005-09-07 09:46:30 +0100
commitf7181e9b61a9e8db422c2c814358995b5a6a72e8 (patch)
treeaf0cb0513779c75333d974627508adebb933bf8f
parent90e395dca0bd586d81543200d9a7db9b72655c80 (diff)
enable comments link in op=view
-rw-r--r--backend.php11
-rw-r--r--tt-rss.css8
2 files changed, 18 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 = "&nbsp;";
}
+ 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>";
diff --git a/tt-rss.css b/tt-rss.css
index f3113b1bf..87c15951a 100644
--- a/tt-rss.css
+++ b/tt-rss.css
@@ -101,6 +101,14 @@ div.postReply {
padding : 10px;
}
+div.postReply a {
+ color : #5050aa;
+}
+
+div.postReply a:hover {
+ color : black;
+}
+
div.postReply div.postHeader {
background : white;
border : 1px solid #c0c0c0;