headerimage-block.tpl.php in Header image 6
Same filename and directory in other branches
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 also
1 theme call to headerimage-block.tpl.php
- headerimage_block in ./
headerimage.module - Implementation of hook_block().
File
headerimage-block.tpl.phpView 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
}