comment_admin

Versions
5 – 7
comment_admin($type = 'new')

Menu callback; present an administrative comment listing.

Code

modules/comment/comment.module, line 1150

<?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));
  }
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.