root / drupal7 / sites / all / themes / jackson / template.php @ 2734bffc
1 |
<?php
|
---|---|
2 |
|
3 |
/**
|
4 |
* Set count variables so column numbers can be dynamic.
|
5 |
*/
|
6 |
function jackson_preprocess_page (&$vars) { |
7 |
$vars['preface'] = count(array_filter(array($vars['page']['preface_one'], $vars['page']['preface_two'], $vars['page']['preface_three']))); |
8 |
$vars['bottom'] = count(array_filter(array($vars['page']['bottom_one'], $vars['page']['bottom_two'], $vars['page']['bottom_three'], $vars['page']['bottom_four']))); |
9 |
// Display user account links.
|
10 |
} |
11 |
|