function theme_dashboard_disabled_block

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

File

drupal/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;
}