block.tpl.php

  1. 7.x drupal-7.x/modules/block/block.tpl.php
  2. 6.x drupal-6.x/modules/system/block.tpl.php
  3. 6.x drupal-6.x/themes/bluemarine/block.tpl.php
  4. 6.x drupal-6.x/themes/pushbutton/block.tpl.php
  5. 6.x drupal-6.x/themes/garland/block.tpl.php
1 theme call to block.tpl.php
theme_blocks in drupal-6.x/includes/theme.inc
Return a set of blocks available for the current user.

File

drupal-6.x/themes/garland/block.tpl.php
View source
  1. <?php
  2. ?>
  3. <div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="clear-block block block-<?php print $block->module ?>">
  4. <?php if (!empty($block->subject)): ?>
  5. <h2><?php print $block->subject ?></h2>
  6. <?php endif;?>
  7. <div class="content"><?php print $block->content ?></div>
  8. </div>