function comment_admin
comment_admin($type = 'new')
Menu callback; present an administrative comment listing.
File
- modules/comment/comment.admin.inc, line 11
- Admin page callbacks for the comment module.
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); } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!comment!comment.admin.inc/function/comment_admin/7.x