Same name and namespace in other branches
  1. 5.x modules/comment/comment.module \comment_form_box()

Theme the comment form box.

Parameters

$edit: The form structure.

$title: The form title.

3 calls to comment_form_box()
comment_edit in modules/comment/comment.pages.inc
Form builder; generate a comment editing form.
comment_render in modules/comment/comment.module
Renders comment(s).
comment_reply in modules/comment/comment.pages.inc
This function is responsible for generating a comment reply form. There are several cases that have to be handled, including:

File

modules/comment/comment.module, line 1417
Enables users to comment on published content.

Code

function comment_form_box($edit, $title = NULL) {
  return theme('box', $title, drupal_get_form('comment_form', $edit, $title));
}