/[drupal]/contributions/themes/admire-gray/template.php
ViewVC logotype

Contents of /contributions/themes/admire-gray/template.php

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


Revision 1.3 - (show annotations) (download) (as text)
Wed Aug 20 18:54:05 2008 UTC (15 months, 1 week ago) by sakib000
Branch: MAIN
CVS Tags: DRUPAL-5--1-4, HEAD
Changes since 1.2: +0 -12 lines
File MIME type: text/x-php
*** empty log message ***
1 <?php
2 function phptemplate_body_class($sidebar_left, $sidebar_right) {
3 if ($sidebar_left != '' && $sidebar_right != '') {
4 $class = 'sidebars';
5 }
6 else {
7 if ($sidebar_left != '') {
8 $class = 'sidebar-left';
9 }
10 if ($sidebar_right != '') {
11 $class = 'sidebar-right';
12 }
13 }
14
15 if (isset($class)) {
16 print ' class="'. $class .'"';
17 }
18 }
19
20 ?>

  ViewVC Help
Powered by ViewVC 1.1.2