summaryrefslogtreecommitdiff
path: root/modules/comment/views
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/views
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/views')
-rw-r--r--modules/comment/views/comments.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php
index ec7530c4..b407930e 100644
--- a/modules/comment/views/comments.html.php
+++ b/modules/comment/views/comments.html.php
@@ -1,5 +1,4 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<a name="comments"></a>
<ul id="gComments">
<? foreach ($comments as $comment): ?>
<li id="gComment-<?= $comment->id ?>">
@@ -21,3 +20,4 @@
</li>
<? endforeach ?>
</ul>
+<a name="add_comment_form"></a>