function sharebar_admin_menu_block_page in ShareBar 7
Same name and namespace in other branches
- 6 sharebar.admin.inc \sharebar_admin_menu_block_page()
- 7.2 sharebar.admin.inc \sharebar_admin_menu_block_page()
Provide a single block from the administration menu as a page.
1 string reference to 'sharebar_admin_menu_block_page'
- sharebar_menu in ./
sharebar.module - Implements hook_menu().
File
- ./
sharebar.admin.inc, line 483 - Admin page callbacks for the block module.
Code
function sharebar_admin_menu_block_page() {
$item = menu_get_item();
if ($content = system_admin_menu_block($item)) {
$output = theme('admin_block_content', array(
'content' => $content,
));
}
else {
$output = t('You do not have any administrative items.');
}
return $output;
}