summaryrefslogtreecommitdiffstats
path: root/STARTERKIT
diff options
context:
space:
mode:
authorJohnAlbin2011-02-18 15:05:39 +0000
committerJohnAlbin2011-02-18 15:05:39 +0000
commitdf15ab13cc65c557b847c4a35c77cf16c9e935c2 (patch)
treee99138155ee00e75473a14f84df3c4bb4fb92335 /STARTERKIT
parent3f537ac59d794b218438bd86afb14428ac671cce (diff)
#1063814 by JohnAlbin: Remove count-X and region-* classes from block.tpl.php; add count-X exmample to STARTERKIT.
Diffstat (limited to 'STARTERKIT')
-rw-r--r--STARTERKIT/template.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/STARTERKIT/template.php b/STARTERKIT/template.php
index 2c724b9..9bb0e5b 100644
--- a/STARTERKIT/template.php
+++ b/STARTERKIT/template.php
@@ -150,6 +150,7 @@ function STARTERKIT_preprocess_comment(&$vars, $hook) {
*/
/* -- Delete this line if you want to use this function
function STARTERKIT_preprocess_block(&$vars, $hook) {
- $vars['sample_variable'] = t('Lorem ipsum.');
+ // Add a count to all the blocks in the region.
+ $vars['classes_array'][] = 'count-' . $vars['block_id'];
}
// */