function theme_dashboard_disabled_blocks

×

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 dashboard.module theme_dashboard_disabled_blocks($variables)
cle7 dashboard.module theme_dashboard_disabled_blocks($variables)
elmsmedia7 dashboard.module theme_dashboard_disabled_blocks($variables)
icor7 dashboard.module theme_dashboard_disabled_blocks($variables)
meedjum_blog7 dashboard.module theme_dashboard_disabled_blocks($variables)
mooc7 dashboard.module theme_dashboard_disabled_blocks($variables)

Returns HTML for disabled blocks, for use in dashboard customization mode.

Parameters

$variables: An associative array containing:

Related topics

1 theme call to theme_dashboard_disabled_blocks()
dashboard_show_disabled in modules/dashboard/dashboard.module
Ajax callback: Shows disabled blocks in the dashboard customization mode.
2 string references to the theme hook from theme_dashboard_disabled_blocks()

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.

dashboard_show_disabled in modules/dashboard/dashboard.module
Ajax callback: Shows disabled blocks in the dashboard customization mode.
dashboard_theme in modules/dashboard/dashboard.module
Implements hook_theme().

File

modules/dashboard/dashboard.module, line 646
Provides a dashboard page in the administrative interface.

Code

function theme_dashboard_disabled_blocks($variables) {
  extract($variables);
  $output = '<div class="canvas-content"><p>' . t('Drag and drop these blocks to the columns below. Changes are automatically saved. More options are available on the <a href="@dashboard-url">configuration page</a>.', array('@dashboard-url' => url('admin/dashboard/configure'))) . '</p>';
  $output .= '<div id="disabled-blocks"><div class="region disabled-blocks clearfix">';
  foreach ($blocks as $block) {
    $output .= theme('dashboard_disabled_block', array('block' => $block));
  }
  $output .= '<div class="clearfix"></div>';
  $output .= '<p class="dashboard-add-other-blocks">' . l(t('Add other blocks'), 'admin/dashboard/configure') . '</p>';
  $output .= '</div></div></div>';
  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.