You are here

function resource_settings_overview in D7 Media 6

Menu callback for admin/settings/resource; Displays the module's settings page.

1 string reference to 'resource_settings_overview'
resource_menu in resource/resource.module
Implements hook_menu().

File

resource/resource.admin.inc, line 12
Administrative pages for the Resource module.

Code

function resource_settings_overview() {

  // Check database setup if necessary.
  if (function_exists('db_check_setup') && empty($_POST)) {
    db_check_setup();
  }
  $item = menu_get_item();
  if ($content = system_admin_menu_block($item)) {
    $output = theme('admin_block_content', $content);
  }
  else {
    $output = t('You do not have any administrative items.');
  }
  return $output;

  //   $item = menu_get_item('admin/settings/resource');
  //   $content = system_admin_menu_block($item);
  //
  //   $output = theme('admin_block_content', $content);
  //
  //   return $output;
}