diff options
-rw-r--r-- | modules/comment.module | 2 | ||||
-rw-r--r-- | modules/comment/comment.module | 2 | ||||
-rw-r--r-- | themes/goofy/goofy.theme | 2 | ||||
-rw-r--r-- | themes/marvin/marvin.theme | 2 | ||||
-rw-r--r-- | themes/unconed/unconed.theme | 2 |
5 files changed, 2 insertions, 8 deletions
diff --git a/modules/comment.module b/modules/comment.module index bc663a3ec..2495f65d2 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -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); diff --git a/modules/comment/comment.module b/modules/comment/comment.module index bc663a3ec..2495f65d2 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -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); diff --git a/themes/goofy/goofy.theme b/themes/goofy/goofy.theme index f41cd4ae7..3816e16b6 100644 --- a/themes/goofy/goofy.theme +++ b/themes/goofy/goofy.theme @@ -143,8 +143,6 @@ function c(subject,mod,author,date,body) {document.writeln("<table border=\"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>"; diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme index b328bba7a..0e340ee8d 100644 --- a/themes/marvin/marvin.theme +++ b/themes/marvin/marvin.theme @@ -117,8 +117,6 @@ } 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"; diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme index 61a1ff637..9e9d3b47a 100644 --- a/themes/unconed/unconed.theme +++ b/themes/unconed/unconed.theme @@ -136,8 +136,6 @@ } function comment($comment, $link) { - print "<A NAME=\"$comment->cid\"></A>\n"; - print "\n<!-- Comment: \"$comment->subject\" by $comment->name -->\n"; ?> |