summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2002-12-10 20:21:33 (GMT)
committer Dries Buytaert2002-12-10 20:21:33 (GMT)
commit4c21ac1d94b3c3b8539b9578c60fea8776d54cd4 (patch)
treecbfd2084998633519e12d5c982db7c5610624fa3
parent8e397c08f246deefbb7f725c2dd77fb084cd6e8c (diff)
- 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--themes/goofy/goofy.theme2
-rw-r--r--themes/marvin/marvin.theme4
-rw-r--r--themes/unconed/unconed.theme2
4 files changed, 2 insertions, 8 deletions
diff --git a/modules/comment.module b/modules/comment.module
index bc663a3..2495f65 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/themes/goofy/goofy.theme b/themes/goofy/goofy.theme
index f41cd4a..3816e16 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 b328bba..21710f4 100644
--- a/themes/marvin/marvin.theme
+++ b/themes/marvin/marvin.theme
@@ -17,7 +17,7 @@
// General colorset that can be used for this theme
var $foreground = "#000000";
var $background = "#EAEAEA";
-
+
function system($field) {
$system["name"] = "Marvin";
$system["author"] = "Dries";
@@ -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 61a1ff6..9e9d3b4 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";
?>