| 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 |
| 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 |