diff options
author | bboldi <bboldi@gmail.com> | 2011-09-13 12:08:50 +0200 |
---|---|---|
committer | bboldi <bboldi@gmail.com> | 2011-09-13 12:08:50 +0200 |
commit | 9438279fd24e0309abd1f78a9442b149f7bd6bef (patch) | |
tree | 77d5495a6e2d94f625f9d23c5e2dcd26af2d1819 /block.tpl.php | |
download | nuvemdario-9438279fd24e0309abd1f78a9442b149f7bd6bef.tar.gz nuvemdario-9438279fd24e0309abd1f78a9442b149f7bd6bef.tar.bz2 |
Initial commit.
Diffstat (limited to 'block.tpl.php')
-rw-r--r-- | block.tpl.php | 56 |
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 |