theme_dashboard_disabled_blocks

Versions
7
theme_dashboard_disabled_blocks($variables)

Theme a set of disabled blocks, for display in dashboard customization mode.

Parameters

$variables

Return value

A string representing the disabled blocks region of the dashboard customization page.

Related topics

Code

modules/dashboard/dashboard.module, line 435

<?php
function theme_dashboard_disabled_blocks($variables) {
  extract($variables);
  $output = '<div class="canvas-content"><p>' . t('Drag and drop these to the columns below. Changes are automatically saved.') . '</p>';
  $output .= '<div id="disabled-blocks"><div class="section region disabled-blocks clearfix">';
  foreach ($blocks as $block) {
    $output .= theme('dashboard_disabled_block', array('block' => $block));
  }
  $output .= '</div></div></div>';
  return $output;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.