You are here

headerimage-block.tpl.php in Header image 7

Same filename and directory in other branches
  1. 6 headerimage-block.tpl.php

headerimage-block.tpl.php Default theme implementation to display the header image block.

Available variables:

  • $node: rendered node object
  • $unpublished: node is unpublished
  • $content: node content

File

headerimage-block.tpl.php
View source
<?php

/**
 * @file headerimage-block.tpl.php
 * Default theme implementation to display the header image block.
 *
 * Available variables:
 * - $node: rendered node object
 * - $unpublished: node is unpublished
 * - $content: node content
 *
 * @see template_preprocess_headerimage_block()
 */
?>

  <?php

if ($unpublished) {
  ?>
    <div class="node-unpublished">
  <?php

}
?>

  <?php

print $content;
?>

  <?php

if ($unpublished) {
  ?>
    </div>
  <?php

}