function theme_system_admin_index


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/
cis7 theme_system_admin_index($variables)
cle7 theme_system_admin_index($variables)
elmsmedia7 theme_system_admin_index($variables)
icor7 theme_system_admin_index($variables)
meedjum_blog7 theme_system_admin_index($variables)
mooc7 theme_system_admin_index($variables)

Returns HTML for the output of the dashboard page.


$variables: An associative array containing:

  • menu_items: An array of modules to be displayed.

Related topics

1 theme call to theme_system_admin_index()
system_admin_index in modules/system/
Menu callback; prints a listing of admin tasks, organized by module.
3 string references to the theme hook from theme_system_admin_index()

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-7.x-1.x.database.php in sites/all/modules/ulmus/og/tests/og-7.x-1.x.database.php
Filled installation of Drupal 7.0, for test purposes.
system_menu in modules/system/system.module
Implements hook_menu().
system_theme in modules/system/system.module
Implements hook_theme().


modules/system/, line 2503
Admin page callbacks for the system module.


function theme_system_admin_index($variables) {
  $menu_items = $variables['menu_items'];

  $stripe = 0;
  $container = array(
    'left' => '',
    'right' => '',
  $flip = array(
    'left' => 'right',
    'right' => 'left',
  $position = 'left';

  // Iterate over all modules.
  foreach ($menu_items as $module => $block) {
    list($description, $items) = $block;

    // Output links.
    if (count($items)) {
      $block = array();
      $block['title'] = $module;
      $block['content'] = theme('admin_block_content', array('content' => $items));
      $block['description'] = t($description);
      $block['show'] = TRUE;

      if ($block_output = theme('admin_block', array('block' => $block))) {
        if (!isset($block['position'])) {
          // Perform automatic striping.
          $block['position'] = $position;
          $position = $flip[$position];
        $container[$block['position']] .= $block_output;

  $output = '<div class="admin clearfix">';
  $output .= theme('system_compact_link');
  foreach ($container as $id => $data) {
    $output .= '<div class="' . $id . ' clearfix">';
    $output .= $data;
    $output .= '</div>';
  $output .= '</div>';

  return $output;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.