mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-24 05:19:11 -04:00
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.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user