From 9bbe8053c73c875dca7c838e708a8829a80dacf6 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Thu, 12 Feb 2009 07:07:11 +0000 Subject: 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. --- modules/comment/helpers/comment_theme.php | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/comment/helpers/comment_theme.php') 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") -- cgit v1.2.3