diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-28 13:44:01 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-28 13:44:01 -0700 |
commit | 1d5262f9c354a8564f05a8a31b915ad479f4d361 (patch) | |
tree | b8a57186de654a908b89ee8e7a1a031c0851c819 /modules/comment/helpers | |
parent | dcead39dfbd1885720e888446d0572e11b7ad47c (diff) |
Fix ticket #591: reCaptcha always on the page.
1) move creating the "Add a comment" button into the comments.html.php
2) use $.get() to retrieve the comment add form
Diffstat (limited to 'modules/comment/helpers')
-rw-r--r-- | modules/comment/helpers/comment_theme.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/comment/helpers/comment_theme.php b/modules/comment/helpers/comment_theme.php index b807e2cf..38a00b5c 100644 --- a/modules/comment/helpers/comment_theme.php +++ b/modules/comment/helpers/comment_theme.php @@ -26,7 +26,6 @@ class comment_theme_Core { static function photo_bottom($theme) { $block = new Block; $block->css_id = "gComments"; - $block->anchor = t("comments"); $block->title = t("Comments"); $view = new View("comments.html"); @@ -37,7 +36,6 @@ class comment_theme_Core { ->find_all(); $block->content = $view; - $block->content .= comment::get_add_form($theme->item())->render("form.html"); return $block; } }
\ No newline at end of file |