function theme_dashboard_disabled_block

×

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_block($variables)
cle7 dashboard.module theme_dashboard_disabled_block($variables)
elmsmedia7 dashboard.module theme_dashboard_disabled_block($variables)
icor7 dashboard.module theme_dashboard_disabled_block($variables)
meedjum_blog7 dashboard.module theme_dashboard_disabled_block($variables)
mooc7 dashboard.module theme_dashboard_disabled_block($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_block()
theme_dashboard_disabled_blocks in modules/dashboard/dashboard.module
Returns HTML for disabled blocks, for use in dashboard customization mode.
2 string references to the theme hook from theme_dashboard_disabled_block()

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_theme in modules/dashboard/dashboard.module
Implements hook_theme().
theme_dashboard_disabled_blocks in modules/dashboard/dashboard.module
Returns HTML for disabled blocks, for use in dashboard customization mode.

File

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

Code

function theme_dashboard_disabled_block($variables) {
  extract($variables);
  $output = "";
  if (isset($block)) {
    $output .= '<div id="block-' . $block['module'] . '-' . $block['delta'] . '" class="disabled-block block block-' . $block['module'] . '-' . $block['delta'] . ' module-' . $block['module'] . ' delta-' . $block['delta'] . '">' . '<h2>' . (!empty($block['title']) && $block['title'] != '<none>' ? check_plain($block['title']) : check_plain($block['info'])) . '</h2>' . '<div class="content"></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.