Ejemplo n.º 1
0
<?php

// $id$
/**
 * Tendu Drupal - A CSS Theme For Developers
 * Author: Tom Bigelajzen (http://drupal.org/user/173787) - http://tombigel.com
 * Initial Drupal 6 porting:
 *   Lior Kesos (http://drupal.org/user/41517)
 *   Zohar Stolar (http://drupal.org/user/48488)
 *   http://www.linnovate.net
 */
if (!$user) {
    global $user;
}
if (arg(0) == 'taxonomy' && arg(1) == 'term' && is_numeric(arg(2))) {
    $title = cpo_isr_special_get_real_title(arg(2));
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php 
print $language->language;
?>
" xml:lang="<?php 
print $language->language;
?>
">
  <head>
    <title><?php 
print $head_title;
?>
</title>
 * - $is_front: Flags true when presented in the front page.
 * - $logged_in: Flags true when the current user is a logged-in member.
 * - $is_admin: Flags true when the current user is an administrator.
 *
 * Tendu Specific:
 * - $block_region_placement: Outputs 'first and 'last' to the first and the last blocks on each block region.
 * 
 * Suport for "block-class" and "block-theme" modules (Not included in the theme): 
 * - $blocktheme: Blocktheme's machine readable block name.
 * - block_class($block): Block classes defined in admin/build/block
 * 
 * @see template_preprocess()
 * @see template_preprocess_block()
 */
if (arg(0) == 'taxonomy' && arg(1) == 'term' && is_numeric(arg(2))) {
    $block->subject = cpo_isr_special_get_real_title(arg(2), 2);
}
?>
<div id="block-<?php 
print $block->module . '-' . $block->delta;
?>
" class="block block-<?php 
print $block->module;
?>
 <?php 
print $block_region_placement;
?>
 block-<?php 
print $block_zebra;
?>
 <?php