function heartbeat_comments_admin in Heartbeat 6.4
Same name and namespace in other branches
- 7 modules/heartbeat_comments/heartbeat_comments.admin.inc \heartbeat_comments_admin()
Menu callback; present an administrative comment listing.
1 string reference to 'heartbeat_comments_admin'
- heartbeat_comments_menu in modules/
heartbeat_comments/ heartbeat_comments.module - Implementation of hook_menu().
File
- modules/
heartbeat_comments/ heartbeat_comments.admin.inc, line 11 - Admin page callbacks for the heartbeat comments module.
Code
function heartbeat_comments_admin($type = 'all') {
$edit = $_POST;
if (isset($edit['operation']) && $edit['operation'] == 'delete' && isset($edit['comments']) && $edit['comments']) {
return drupal_get_form('heartbeat_comments_multiple_delete_confirm');
}
else {
return drupal_get_form('heartbeat_comments_admin_overview', arg(4));
}
}