comment_admin

Definition

comment_admin($type = 'new')
drupal/modules/comment/comment.admin.inc, line 11

Description

Menu callback; present an administrative comment listing.

Code

function comment_admin($type = 'new') {
  $edit = $_POST;

  if (isset($edit['operation']) && ($edit['operation'] == 'delete') && isset($edit['comments']) && $edit['comments']) {
    return drupal_get_form('comment_multiple_delete_confirm');
  }
  else {
    return drupal_get_form('comment_admin_overview', $type, arg(4));
  }
}