enable comments link in op=view
This commit is contained in:
parent
90e395dca0
commit
f7181e9b61
11
backend.php
11
backend.php
|
@ -230,14 +230,23 @@
|
||||||
$feed_icon = " ";
|
$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=\"postReply\">";
|
||||||
|
|
||||||
print "<div class=\"postHeader\"><table>";
|
print "<div class=\"postHeader\"><table>";
|
||||||
|
|
||||||
print "<tr><td><b>Title:</b></td>
|
print "<tr><td><b>Title:</b></td>
|
||||||
<td width='100%'>" . $line["title"] . "</td></tr>";
|
<td width='100%'>" . $line["title"] . "</td></tr>";
|
||||||
|
|
||||||
print "<tr><td><b>Link:</b></td>
|
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>";
|
print "</table></div>";
|
||||||
|
|
||||||
|
|
|
@ -101,6 +101,14 @@ div.postReply {
|
||||||
padding : 10px;
|
padding : 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.postReply a {
|
||||||
|
color : #5050aa;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.postReply a:hover {
|
||||||
|
color : black;
|
||||||
|
}
|
||||||
|
|
||||||
div.postReply div.postHeader {
|
div.postReply div.postHeader {
|
||||||
background : white;
|
background : white;
|
||||||
border : 1px solid #c0c0c0;
|
border : 1px solid #c0c0c0;
|
||||||
|
|
Loading…
Reference in New Issue