oa-space-banner.tpl.php in Open Atrium Appearance 7.2
Provides template for space banner
$banner - Banner image. $text - Banner text
1 theme call to oa-space-banner.tpl.php
- oa_space_banner_render in plugins/
content_types/ oa_space_banner.inc - Render callback for the panel.
File
templates/oa-space-banner.tpl.phpView source
<?php
/**
* @file
* Provides template for space banner
*
* $banner - Banner image.
* $text - Banner text
*/
?>
<?php
if (!empty($banner)) {
?>
<div class='oa-banner <?php
print $banner_class;
?>' data-width='<?php
print $width;
?>' data-height='<?php
print $height;
?>'>
<?php
print $banner;
?>
<?php
if (!empty($slogan)) {
?>
<div class='<?php
print $banner_slogan_class;
?>'>
<?php
print $slogan;
?>
</div>
<?php
}
?>
<?php
if (!empty($text)) {
?>
<div class='<?php
print $banner_text_class;
?>'>
<?php
print $text;
?>
</div>
<?php
}
?>
</div>
<?php
}