You are here

function node_admin_content in Drupal 5

Same name and namespace in other branches
  1. 6 modules/node/node.admin.inc \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.module, line 1609
The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.

Code

function node_admin_content() {
  $output = drupal_get_form('node_filter_form');
  if ($_POST['operation'] == 'delete' && $_POST['nodes']) {
    return drupal_get_form('node_multiple_delete_confirm');
  }

  // Call the form first, to allow for the form_values array to be populated.
  $output .= drupal_get_form('node_admin_nodes');
  return $output;
}