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
- blocks: An array of block objects from _block_rehash().
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 