function theme_admin_block_content

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 system.admin.inc theme_admin_block_content($variables)
cle7 system.admin.inc theme_admin_block_content($variables)
elmsmedia7 system.admin.inc theme_admin_block_content($variables)
icor7 system.admin.inc theme_admin_block_content($variables)
meedjum_blog7 system.admin.inc theme_admin_block_content($variables)
mooc7 system.admin.inc theme_admin_block_content($variables)

Returns HTML for the content of an administrative block.

Parameters

$variables: An associative array containing:

  • content: An array containing information about the block. Each element of the array represents an administrative menu item, and must at least contain the keys 'title', 'href', and 'localized_options', which are passed to l(). A 'description' key may also be provided.

Related topics

4 theme calls to theme_admin_block_content()
system_admin_config_page in modules/system/system.admin.inc
Menu callback; Provide the administration overview page.
system_admin_menu_block_page in modules/system/system.admin.inc
Provide a single block from the administration menu as a page.
system_settings_overview in modules/system/system.admin.inc
Displays the configuration overview page.
theme_system_admin_index in modules/system/system.admin.inc
Returns HTML for the output of the dashboard page.
6 string references to the theme hook from theme_admin_block_content()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

og_ui_group_admin_overview in sites/all/modules/ulmus/og/og_ui/og_ui.admin.inc
Provide an overview of the administrator menu items.
system_admin_config_page in modules/system/system.admin.inc
Menu callback; Provide the administration overview page.
system_admin_menu_block_page in modules/system/system.admin.inc
Provide a single block from the administration menu as a page.
system_settings_overview in modules/system/system.admin.inc
Displays the configuration overview page.
system_theme in modules/system/system.module
Implements hook_theme().

... See full list

File

modules/system/system.admin.inc, line 2430
Admin page callbacks for the system module.

Code

function theme_admin_block_content($variables) {
  $content = $variables['content'];
  $output = '';

  if (!empty($content)) {
    $class = 'admin-list';
    if ($compact = system_admin_compact_mode()) {
      $class .= ' compact';
    }
    $output .= '<dl class="' . $class . '">';
    foreach ($content as $item) {
      $output .= '<dt>' . l($item['title'], $item['href'], $item['localized_options']) . '</dt>';
      if (!$compact && isset($item['description'])) {
        $output .= '<dd>' . filter_xss_admin($item['description']) . '</dd>';
      }
    }
    $output .= '</dl>';
  }
  return $output;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.