summaryrefslogtreecommitdiffstats
path: root/zen/block.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'zen/block.tpl.php')
-rw-r--r--zen/block.tpl.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/zen/block.tpl.php b/zen/block.tpl.php
index abb4891..a84d5fe 100644
--- a/zen/block.tpl.php
+++ b/zen/block.tpl.php
@@ -12,6 +12,9 @@
* - $block->module: Module that generated the block.
* - $block->delta: This is a numeric id connected to each module.
* - $block->region: The block region embedding the current block.
+ * - $classes: A set of CSS classes for the DIV wrapping the block.
+ Possible values are: block-MODULE, region-odd, region-even, odd, even,
+ region-count-X, and count-X.
*
* Helper variables:
* - $block_zebra: Outputs 'odd' and 'even' dependent on each block region.
@@ -26,7 +29,7 @@
* @see template_preprocess_block()
*/
?>
-<div id="block-<?php print $block->module . '-' . $block->delta; ?>" class="block <?php print $block_classes; ?>"><div class="block-inner">
+<div id="block-<?php print $block->module . '-' . $block->delta; ?>" class="<?php print $classes; ?>"><div class="block-inner">
<?php if ($block->subject): ?>
<h2 class="title"><?php print $block->subject; ?></h2>