Skip to content

Commit

Permalink
theme-anomaly MDL-20175 Updated renderer after recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Mar 4, 2010
1 parent a642bf6 commit 25a102a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion theme/anomaly/renderers.php
Expand Up @@ -49,10 +49,13 @@ function block($bc, $region) {
}

if ($title || $controlshtml) {
$output .= html_writer::tag('div', html_writer::tag('div', $title . $controlshtml, array('class' => 'title')), array('class' => 'header'));
$output .= html_writer::tag('div', html_writer::tag('div', html_writer::tag('div', '', array('class'=>'block_action')). $title . $controlshtml, array('class' => 'title')), array('class' => 'header'));
}

$output .= html_writer::start_tag('div', array('class' => 'content'));
if (!$title && !$controlshtml) {
$output .= html_writer::tag('div', '', array('class'=>'block_action notitle'));
}
$output .= $bc->content;

if ($bc->footer) {
Expand Down

0 comments on commit 25a102a

Please sign in to comment.