Parent Directory
|
Revision Log
|
Revision Graph
*** empty log message ***
| 1 | <?php |
| 2 | |
| 3 | function phptemplate_body_class($left, $right) { |
| 4 | if ($left != '' && $right != '') { |
| 5 | $class = 'sidebars'; |
| 6 | } |
| 7 | else { |
| 8 | if ($left != '') { |
| 9 | $class = 'sidebar-left'; |
| 10 | } |
| 11 | if ($right != '') { |
| 12 | $class = 'sidebar-right'; |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | if (isset($class)) { |
| 17 | print ' class="'. $class .'"'; |
| 18 | } |
| 19 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |