Full ELMS Learning Network documentation
function comment_admin
cis7 comment.admin.inc | comment_admin($type = 'new') |
cle7 comment.admin.inc | comment_admin($type = 'new') |
elmsmedia7 comment.admin.inc | comment_admin($type = 'new') |
icor7 comment.admin.inc | comment_admin($type = 'new') |
meedjum_blog7 comment.admin.inc | comment_admin($type = 'new') |
mooc7 comment.admin.inc | comment_admin($type = 'new') |
Menu callback; present an administrative comment listing.
5 string references to 'comment_admin'
- comment_menu in modules/
comment/ comment.module - Implements hook_menu().
- drupal-6.filled.database.php in modules/
simpletest/ tests/ upgrade/ drupal-6.filled.database.php - Filled installation of Drupal 6.17, for test purposes.
- drupal-6.og-ui.database.php in sites/
all/ modules/ ulmus/ og/ og_ui/ tests/ drupal-6.og-ui.database.php - Filled installation of Drupal 6.17, for test purposes.
- drupal-6.og.database.php in sites/
all/ modules/ ulmus/ og/ tests/ drupal-6.og.database.php - Filled installation of Drupal 6.17, for test purposes.
- og-7.x-1.x.database.php in sites/
all/ modules/ ulmus/ og/ tests/ og-7.x-1.x.database.php - Filled installation of Drupal 7.0, for test purposes.
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);
}
}