node_admin
- Versions
- 4.6
node_admin()
Menu callback; presents the content administration overview.
Code
modules/node.module, line 1113
<?php
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);
}
?>Login or register to post comments 