/[drupal]/contributions/themes/fervens/template.php
ViewVC logotype

Contents of /contributions/themes/fervens/template.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Fri Jan 2 13:35:25 2009 UTC (10 months, 3 weeks ago) by ktleow
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA1, HEAD
File MIME type: text/x-php
*** 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