comment_admin

Definition

comment_admin($type = 'new')
comment/comment.module, line 1150

Description

Menu callback; present an administrative comment listing.

Code

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

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