This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sets the body-tag class attribute. | |
* | |
* Adds 'sidebar-left', 'sidebar-right' or 'sidebars' classes as needed. | |
*/ | |
function phptemplate_body_class($left, $right) { | |
if ($left != '' && $right != '') { | |
$class = 'sidebars'; | |
} | |
else { |