Menu callback; presents the content administration overview.
1 string reference to 'node_admin'
- node_menu in modules/
node.module - Implementation of hook_menu().
File
- modules/
node.module, line 1113 - The core that allows content to be submitted to the site.
Code
function node_admin() {
$op = $_POST['op'];
$edit = $_POST['edit'];
if (empty($op)) {
$op = arg(2);
}
// Compile a list of the administrative links:
switch ($op) {
case 'search':
case t('Search'):
$output = search_form(url('admin/node/search'), $_POST['edit']['keys'], 'node') . search_data($_POST['edit']['keys'], 'node');
break;
default:
$output = node_admin_nodes();
}
print theme('page', $output);
}