/[drupal]/contributions/modules/taxonomy_theme/taxonomy_theme_paths.inc
ViewVC logotype

Diff of /contributions/modules/taxonomy_theme/taxonomy_theme_paths.inc

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

revision 1.1.2.1, Sun Feb 25 16:49:08 2007 UTC revision 1.1.2.2, Tue May 8 17:18:20 2007 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: taxonomy_theme_paths.inc,v 1.4 2006/10/20 07:42:28 profix898 Exp $  // $Id: taxonomy_theme_paths.inc,v 1.1.2.1 2007/02/25 16:49:08 profix898 Exp $
3    
4  /**  /**
5   * function _taxonomy_theme_select_paths().   * function _taxonomy_theme_select_paths().
# Line 37  function _taxonomy_theme_expcache($theme Line 37  function _taxonomy_theme_expcache($theme
37      if (db_num_rows($result)) {      if (db_num_rows($result)) {
38        while ($path = db_fetch_object($result)) {        while ($path = db_fetch_object($result)) {
39          $paths .= empty($paths) ? '' : '|';          $paths .= empty($paths) ? '' : '|';
40          $paths .= str_replace(array('*', '/'), array('.*', '\/'), drupal_get_normal_path($path->path));          $paths .= str_replace(array('*', '/', '%', '#'), array('.*', '\/', '[^\/]+', '[0-9]+'), drupal_get_normal_path($path->path));
41        }        }
42      }      }
43      $cache[$theme_name] = '/^('.$paths.')$/';      $cache[$theme_name] = '/^('.$paths.')$/';

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.2