summaryrefslogtreecommitdiff
path: root/block.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'block.tpl.php')
-rw-r--r--block.tpl.php56
1 files changed, 56 insertions, 0 deletions
diff --git a/block.tpl.php b/block.tpl.php
new file mode 100644
index 0000000..7313cc2
--- /dev/null
+++ b/block.tpl.php
@@ -0,0 +1,56 @@
+<?php $region = $block->region;
+$enabled_blockRegion = $region != 'content' && $region != 'Menu' && $region != 'vnavigation_left' && $region != 'vnavigation_right'
+ && $region != "banner1" && $region != "banner2" && $region != "banner3"
+ && $region != "banner4" && $region != "banner5" && $region != "banner6"
+ && $region != "extra1" && $region != "extra2" && $region != "footer_message"; ?>
+<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>>
+<?php if ($enabled_blockRegion) :?>
+<div class="b2-block">
+ <div class="b2-block-body">
+
+<?php endif;?>
+
+<?php print render($title_prefix); ?>
+ <?php if (!empty($block->subject)): ?>
+
+ <?php if ($enabled_blockRegion) :?>
+<div class="b2-blockheader">
+ <div class="l"></div>
+ <div class="r"></div>
+ <h3 class="t subject"<?php print $title_attributes; ?>>
+ <?php endif;?>
+
+ <?php echo $block->subject; ?>
+
+ <?php if ($enabled_blockRegion) :?>
+</h3>
+ </div>
+
+ <?php endif;?>
+
+ <?php endif; ?>
+<?php print render($title_suffix); ?>
+
+ <?php if ($enabled_blockRegion) :?>
+<div class="b2-blockcontent">
+ <div class="b2-blockcontent-body">
+ <div class="content"<?php print $content_attributes; ?>>
+
+ <?php endif;?>
+
+<?php echo $content; ?>
+
+ <?php if($enabled_blockRegion) :?>
+
+ </div>
+ <div class="cleared"></div>
+ </div>
+ </div>
+
+
+ <div class="cleared"></div>
+ </div>
+ </div>
+
+ <?php endif;?>
+</div> \ No newline at end of file