| 1 |
<?php |
<?php |
| 2 |
function phptemplate_body_class($left, $right) { |
function phptemplate_body_class($sidebar_left, $sidebar_right) { |
| 3 |
if ($left != '' && $right != '') { |
if ($sidebar_left != '' && $sidebar_right != '') { |
| 4 |
$class = 'sidebars'; |
$class = 'sidebars'; |
| 5 |
} |
} |
| 6 |
else { |
else { |
| 7 |
if ($left != '') { |
if ($sidebar_left != '') { |
| 8 |
$class = 'sidebar-left'; |
$class = 'sidebar-left'; |
| 9 |
} |
} |
| 10 |
if ($right != '') { |
if ($sidebar_right != '') { |
| 11 |
$class = 'sidebar-right'; |
$class = 'sidebar-right'; |
| 12 |
} |
} |
| 13 |
} |
} |
| 18 |
} |
} |
| 19 |
|
|
| 20 |
|
|
| 21 |
|
|
| 22 |
|
function admire_gray_regions() { |
| 23 |
|
return array( |
| 24 |
|
'header' => t('Header'), |
| 25 |
|
'sidebar_left' => t('Sidebar left'), |
| 26 |
|
'content_top' => t('Content top'), |
| 27 |
|
'sidebar_right' => t('Sidebar right'), |
| 28 |
|
'footer_block' => t('Footer block'), |
| 29 |
|
); |
| 30 |
|
} |