/[drupal]/contributions/modules/taxonomy_breadcrumb/taxonomy_breadcrumb.module
ViewVC logotype

Diff of /contributions/modules/taxonomy_breadcrumb/taxonomy_breadcrumb.module

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

revision 1.8, Wed Jan 28 23:39:53 2009 UTC revision 1.9, Wed Jan 28 23:44:30 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: taxonomy_breadcrumb.module,v 1.7 2009/01/12 02:19:26 mgn Exp $.  // $Id: taxonomy_breadcrumb.module,v 1.8 2009/01/28 23:39:53 mgn Exp $.
3    
4  /**  /**
5   * @file   * @file
# Line 78  function taxonomy_breadcrumb_nodeapi(&$n Line 78  function taxonomy_breadcrumb_nodeapi(&$n
78      include_once drupal_get_path('module', 'taxonomy_breadcrumb') .'/taxonomy_breadcrumb.inc';      include_once drupal_get_path('module', 'taxonomy_breadcrumb') .'/taxonomy_breadcrumb.inc';
79    
80      // See if the node type of the current node is part of the node types listed on the advanced settings page.      // See if the node type of the current node is part of the node types listed on the advanced settings page.
81      $array_of_types = explode(' ', variable_get('taxonomy_breadcrumb_node_types', TAXONOMY_BREADCRUMB_NODE_TYPES_DEFAULT));      $array_of_types = array_filter((array)variable_get('taxonomy_breadcrumb_node_types', TAXONOMY_BREADCRUMB_NODE_TYPES_DEFAULT));
82      $in_list = in_array($node->type, $array_of_types);      $in_list = in_array($node->type, $array_of_types);
83    
84      // if the node type IS IN     the node types list and the list IS     inclusive OR      // if the node type IS IN     the node types list and the list IS     inclusive OR

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.2