summaryrefslogtreecommitdiff
path: root/modules/comment/helpers/comment_theme.php
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-02-12 07:07:11 +0000
committerChad Kieffer <chad@2tbsp.com>2009-02-12 07:07:11 +0000
commit9bbe8053c73c875dca7c838e708a8829a80dacf6 (patch)
tree8a383b53272123858b46d4100454f086d7e667bb /modules/comment/helpers/comment_theme.php
parentd4875583690dbf8b532427755d76aca33d4c63ae (diff)
Added a show comment form button. Add comment form is revealed when the button is clicked. Used jQuery UI Effect to .highlight() to bring attention to newly added comments. Also added a named anchor to our block library to allow direct linking/scrolling to those blocks on the page.
Diffstat (limited to 'modules/comment/helpers/comment_theme.php')
-rw-r--r--modules/comment/helpers/comment_theme.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/comment/helpers/comment_theme.php b/modules/comment/helpers/comment_theme.php
index 3861bae0..b7e64e38 100644
--- a/modules/comment/helpers/comment_theme.php
+++ b/modules/comment/helpers/comment_theme.php
@@ -27,6 +27,7 @@ class comment_theme_Core {
$block = new Block;
$block->css_id = "gComments";
$block->title = t("Comments");
+ $block->anchor = t("comments");
$view = new View("comments.html");
$view->comments = ORM::factory("comment")