You are here

function node_admin_content in Drupal 6

Same name and namespace in other branches
  1. 5 modules/node/node.module \node_admin_content()
  2. 7 modules/node/node.admin.inc \node_admin_content()

Menu callback: content administration.

1 string reference to 'node_admin_content'
node_menu in modules/node/node.module
Implementation of hook_menu().

File

modules/node/node.admin.inc, line 436
Content administration and module settings UI.

Code

function node_admin_content($form_state) {
  if (isset($form_state['values']['operation']) && $form_state['values']['operation'] == 'delete') {
    return node_multiple_delete_confirm($form_state, array_filter($form_state['values']['nodes']));
  }
  $form = node_filter_form();
  $form['#theme'] = 'node_filter_form';
  $form['admin'] = node_admin_nodes();
  return $form;
}