featured_content-empty.tpl.php in Featured Content 7.2
Same filename and directory in other branches
Default theme implementation to wrap featured_content blocks with no content.
Available variables:
- $block_classes: A string containing the CSS classes for the DIV tag.
- $block_classes_array: An array containing each of the CSS classes.
- $settings: An array of the block's settings. Includes type and block data.
-- some example data: -- $block_settings['header'] -- $block_settings['footer'] -- $block_settings['rss-link']
The following variables are provided for contextual information.
- $settings: An array of the block's settings. Includes type and block data.
1 theme call to featured_content-empty.tpl.php
- featured_content_block_view in ./
featured_content.module - Implements hook_block_view().
File
featured_content-empty.tpl.phpView source
<?php
/**
* @file
* Default theme implementation to wrap featured_content blocks with no content.
*
* Available variables:
* - $block_classes: A string containing the CSS classes for the DIV tag.
* - $block_classes_array: An array containing each of the CSS classes.
* - $settings: An array of the block's settings. Includes type and block data.
* -- some example data:
* -- $block_settings['header']
* -- $block_settings['footer']
* -- $block_settings['rss-link']
*
* The following variables are provided for contextual information.
* - $settings: An array of the block's settings. Includes type and block data.
*
* @see template_preprocess_featured_content_block()
* @see theme_featured_content_block()
*/
?>
<div class="featured-content-block <?php
print $block_classes;
?>">
<?php
if ($block_settings['empty']) {
?>
<div class="featured-content-block-empty">
<?php
print $block_settings['empty'];
?>
</div>
<?php
}
?>
<?php
if (!empty($block_settings['rss-link'])) {
?>
<div class="featured-content-rss-link">
<?php
print $block_settings['rss-link'];
?>
</div>
<?php
}
?>
</div>