function commons_roots_boxes_box in Drupal Commons 6.2
Theme a box
File
- themes/
commons_roots/ template.php, line 321
Code
function commons_roots_boxes_box($block) {
$output = "<div id='boxes-box-" . $block['delta'] . "' class='boxes-box" . (!empty($block['editing']) ? ' boxes-box-editing' : '') . "'>";
$output .= '<div class="boxes-box-content">' . $block['content'] . '</div>';
// Remove the box controls and editing portion because it doesn't
// currently work with WYSIWYG
$output .= '</div>';
return $output;
}