source: sipei/themes/danland/template.php @ e1a7776

drupal-6.x
Last change on this file since e1a7776 was e1a7776, checked in by Luis Peña <lpena@…>, 12 años ago

Agregando el themes

  • Propiedad mode establecida a 100755
File size: 509 octetos
Línea 
1<?php
2// $Id: template.php,v 1.10 2010/07/19 22:05:33 danprobo Exp $
3function phptemplate_body_class($left, $right) {
4        if ($left && $right) {
5                $class = 'sidebars-2';
6                $id = 'sidebar-side-2'; 
7        }
8        else if ($left || $right) {
9                $class = 'sidebars-1';
10                $id = 'sidebar-side-1';
11        }
12       
13        if(isset($class)) {
14                print ' class="'. $class .'"';
15        }
16                if(isset($id)) {
17                print ' id="'. $id .'"';
18        }
19}
20
21if (drupal_is_front_page()) {
22  drupal_add_js(drupal_get_path('theme', 'danland') . '/scripts/jquery.cycle.all.js');
23}
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.