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

Diff of /contributions/themes/admire_gray/template.php

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

revision 1.1 by sakib000, Mon May 26 04:42:18 2008 UTC revision 1.2 by sakib000, Mon Mar 2 19:09:21 2009 UTC
# Line 1  Line 1 
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    }    }
# Line 18  function phptemplate_body_class($left, $ Line 18  function phptemplate_body_class($left, $
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    }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.3