aboutsummaryrefslogtreecommitdiff
path: root/templates/block.tpl.php
diff options
context:
space:
mode:
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>