summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-12-10 20:14:10 +0000
committerDries Buytaert <dries@buytaert.net>2002-12-10 20:14:10 +0000
commiteceead1819b8e480725db17816d1b2af4f3fd768 (patch)
tree882704b2cb79c172fff40383ce8681f014037a63
parentc3c366dcdc7fb4971eefa76b2df338cffac3a0d7 (diff)
downloadbrdo-eceead1819b8e480725db17816d1b2af4f3fd768.tar.gz
brdo-eceead1819b8e480725db17816d1b2af4f3fd768.tar.bz2
- Removed the "comment anchors" in the themes; the anchor is emitted
by the comment module. Patch by Ax.
-rw-r--r--modules/comment.module2
-rw-r--r--modules/comment/comment.module2
-rw-r--r--themes/goofy/goofy.theme2
-rw-r--r--themes/marvin/marvin.theme2
-rw-r--r--themes/unconed/unconed.theme2
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";
?>