-
Notifications
You must be signed in to change notification settings - Fork 0
/
block.tpl.php
executable file
·26 lines (24 loc) · 1.05 KB
/
block.tpl.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>>
<?php $region = $block->region;
$disabled_blockRegion = $region == 'vnavigation_left' || $region == 'vnavigation_right' || $region == 'navigation'
|| $region == 'extra1' || $region == 'extra2' || $region == 'footer_message' || $region == 'art_header'; ?>
<?php if (!$disabled_blockRegion) :?>
<div class="art-block clearfix"><?php endif; ?>
<?php print render($title_prefix); ?><?php if (!empty($block->subject)): ?>
<?php if (!$disabled_blockRegion) :?>
<div class="art-blockheader"><?php endif; ?>
<h3 class="t subject">
<?php echo $block->subject; ?>
</h3>
<?php if (!$disabled_blockRegion) :?>
</div><?php endif; ?>
<?php endif; ?>
<?php print render($title_suffix); ?>
<?php if (!$disabled_blockRegion) :?>
<div class="art-blockcontent"><?php endif; ?>
<?php echo $content; ?>
<?php if (!$disabled_blockRegion) :?>
</div><?php endif; ?>
<?php if (!$disabled_blockRegion) :?>
</div><?php endif; ?>
</div>