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

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

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

revision 1.4, Tue Oct 23 01:21:14 2007 UTC revision 1.5, Thu Feb 7 01:43:31 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
   
2  /**  /**
3   * ABOUT   * ABOUT
4   *   *
# Line 9  Line 8 
8   *  For more information, please visit the Theme Developer's Guide on Drupal.org:   *  For more information, please visit the Theme Developer's Guide on Drupal.org:
9   *  http://drupal.org/node/509   *  http://drupal.org/node/509
10   */   */
   
 function bluebreeze_preprocess_node($vars) {  
   //print '<pre>';print_r($vars['nid']);print '</pre>';  
   if(module_exists('taxonomy') && count(taxonomy_node_get_terms($vars['node']))) {  
     $vars['has_terms'] = TRUE;  
   }  
   else {  
     $vars['has_terms'] = FALSE;  
   }  
 }  

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.2