From ba0f6f9e941bdd1b77d74b57d3d1bfba1e60e3cc Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Fri, 21 Nov 2008 07:35:34 +0000 Subject: Fixed style issues on comment container, should be plural id (gComments). Removed gCommentForm id, it's not necessary, at least not now. --- modules/comment/helpers/comment.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/comment/helpers/comment.php b/modules/comment/helpers/comment.php index 8462159b..2308ef89 100644 --- a/modules/comment/helpers/comment.php +++ b/modules/comment/helpers/comment.php @@ -55,7 +55,7 @@ class Comment_Core { } static function get_add_form($item_id) { - $form = new Forge(url::site("comments"), "", "post", array("id" => "gCommentForm")); + $form = new Forge(url::site("comments"), "", "post"); $group = $form->group(_("Add Comment")); $group->input("author") ->label(_("Author")) ->id("gAuthor"); $group->input("email") ->label(_("Email")) ->id("gEmail"); @@ -68,7 +68,7 @@ class Comment_Core { static function get_edit_form($comment) { $form = new Forge( - url::site("comments/{$comment->id}?_method=put"), "", "post", array("id" => "gCommentForm")); + url::site("comments/{$comment->id}?_method=put"), "", "post"); $group = $form->group(_("Edit Comment")); $group->input("author") ->label(_("Author")) ->id("gAuthor") ->value($comment->author); $group->input("email") ->label(_("Email")) ->id("gEmail") ->value($comment->email); @@ -95,7 +95,7 @@ class Comment_Core { static function block($theme, $show_add_form=true) { $block = new Block; - $block->id = "gComment"; + $block->id = "gComments"; $block->title = _("Comments"); $block->content = comment::get_comments($theme->item(), "html"); -- cgit v1.2.3