context-block-editable-region.tpl.php in Context 6
Same filename and directory in other branches
1 theme call to context-block-editable-region.tpl.php
- context_reaction_block::execute in plugins/
context_reaction_block.inc - Execute.
File
theme/context-block-editable-region.tpl.phpView source
<?php
if ($editable && (!empty($blocks) || $show_always)) {
?>
<a class='context-block-region' id='context-block-region-<?php
print $region;
?>'><?php
print $region_description;
?></a>
<?php
foreach ($blocks as $block) {
?>
<?php
print theme('context_block_editable_block', $block);
?>
<?php
}
}
else {
/* When themes check to see if there is any content is the region any
whitespace will make the them think it's got content. Consequently
we don't nest this following code. */
foreach ($blocks as $block) {
?>
<?php
print theme('block', $block);
}
}