Commit eceead18 authored by Dries's avatar Dries

- Removed the "comment anchors" in the themes; the anchor is emitted
  by the comment module.  Patch by Ax.
parent c3c366dc
......@@ -358,7 +358,7 @@ function comment_view($comment, $links = "", $visible = 1) {
$comment->new = 1;
}
print "<a name=\"$comment->cid\">\n";
print "<a name=\"$comment->cid\"></a>\n";
if ($visible) {
theme_invoke("comment", $comment, $links);
......
......@@ -358,7 +358,7 @@ function comment_view($comment, $links = "", $visible = 1) {
$comment->new = 1;
}
print "<a name=\"$comment->cid\">\n";
print "<a name=\"$comment->cid\"></a>\n";
if ($visible) {
theme_invoke("comment", $comment, $links);
......
......@@ -143,8 +143,6 @@ function node($node, $main = 0) {
function comment($comment, $link = "") {
echo "<A NAME=\"$comment->cid\"></A>\n";
$author = "<b>" . format_name($comment) . "</b>";
$body = check_output($comment->comment, 1) . "<br><hr color=\"#404040\" size=\"1\"><div align=\"right\">[ $link ]</div>";
......
......@@ -117,8 +117,6 @@ function node($node, $main = 0) {
}
function comment($comment, $link = "") {
print "<a name=\"$comment->cid\">\n";
// Create comment header:
print "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#000000\" width=\"100%\">\n";
print " <tr bgcolor=\"#000000\">\n";
......
......@@ -136,8 +136,6 @@ function node($node, $main = 0) {
}
function comment($comment, $link) {
print "<A NAME=\"$comment->cid\"></A>\n";
print "\n<!-- Comment: \"$comment->subject\" by $comment->name -->\n";
?>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment