aboutsummaryrefslogtreecommitdiff
path: root/templates/block.tpl.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-23 13:44:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-23 13:44:35 -0300
commit45748d73b5e784ad3e79350564eb68dcac71aa45 (patch)
treeedafc25882f15975ee4e6b3717ca70dcee50f398 /templates/block.tpl.php
downloadmuambeiro-45748d73b5e784ad3e79350564eb68dcac71aa45.tar.gz
muambeiro-45748d73b5e784ad3e79350564eb68dcac71aa45.tar.bz2
Initial import
Diffstat (limited to 'templates/block.tpl.php')
-rw-r--r--templates/block.tpl.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/block.tpl.php b/templates/block.tpl.php
new file mode 100644
index 0000000..1988183
--- /dev/null
+++ b/templates/block.tpl.php
@@ -0,0 +1,19 @@
+<?php
+// $Id$
+/**
+ * @file
+ * Output for blocks.
+ */
+?>
+<div id="<?php print $block_html_id; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
+ <div class="inner">
+ <?php print render($title_prefix); ?>
+ <?php if ($block->subject): ?>
+ <h2<?php print $title_attributes; ?>><?php print $block->subject ?></h2>
+ <?php endif;?>
+ <?php print render($title_suffix); ?>
+ <div class="content"<?php print $content_attributes; ?>>
+ <?php print $content ?>
+ </div>
+ </div>
+</div>