Same filename in this branch
  1. 5.x themes/pushbutton/block.tpl.php
  2. 5.x themes/garland/block.tpl.php
  3. 5.x themes/engines/phptemplate/block.tpl.php
  4. 5.x themes/bluemarine/block.tpl.php
Same filename and directory in other branches
  1. 6.x themes/garland/block.tpl.php
1 theme call to block.tpl.php
theme_blocks in includes/theme.inc
Return a set of blocks available for the current user.

File

themes/garland/block.tpl.php
View source
<div id="block-<?php

print $block->module . '-' . $block->delta;
?>" class="clear-block block block-<?php

print $block->module;
?>">

<?php

if ($block->subject) {
  ?>
  <h2><?php

  print $block->subject;
  ?></h2>
<?php

}
?>

  <div class="content"><?php

print $block->content;
?></div>
</div>