/[drupal]/contributions/modules/taxonomy_vtn/taxonomy_vtn.pages.inc
ViewVC logotype

Diff of /contributions/modules/taxonomy_vtn/taxonomy_vtn.pages.inc

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

revision 1.1.2.25, Mon Dec 22 00:41:27 2008 UTC revision 1.1.2.26, Thu Jan 1 03:39:41 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: taxonomy_vtn.pages.inc,v 1.1.2.24 2008/12/22 00:26:10 alexiswilke Exp $  // $Id: taxonomy_vtn.pages.inc,v 1.1.2.25 2008/12/22 00:41:27 alexiswilke Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 285  function taxonomy_vtn_show_terms($arg = Line 285  function taxonomy_vtn_show_terms($arg =
285            break;            break;
286    
287          case 'taxonomy_term':          case 'taxonomy_term':
288            $term_goto_path = taxonomy_term_path($term->tid); //'taxonomy/term/'. $term->tid;            $term_goto_path = taxonomy_term_path($term); //'taxonomy/term/'. $term->tid;
289            //$tcount = db_result(db_query("SELECT COUNT(nid) FROM {term_node} WHERE tid = %d", $term->tid));            //$tcount = db_result(db_query("SELECT COUNT(nid) FROM {term_node} WHERE tid = %d", $term->tid));
290            $tcount = _taxonomy_vtn_count_nodes(array($term->tid), 0);            $tcount = _taxonomy_vtn_count_nodes(array($term->tid), 0);
291            break;            break;
292    
293          case 'taxonomy_term_all':          case 'taxonomy_term_all':
294            $term_goto_path = taxonomy_term_path($term->tid) .'/all'; //'taxonomy/term/'. $term->tid .'/all';            $term_goto_path = taxonomy_term_path($term) .'/all'; //'taxonomy/term/'. $term->tid .'/all';
295            //$tcount = taxonomy_term_count_nodes($term->tid);            //$tcount = taxonomy_term_count_nodes($term->tid);
296            $tcount = _taxonomy_vtn_count_nodes(array($term->tid), 'all');            $tcount = _taxonomy_vtn_count_nodes(array($term->tid), 'all');
297            break;            break;
# Line 336  function taxonomy_vtn_show_terms($arg = Line 336  function taxonomy_vtn_show_terms($arg =
336                  break;                  break;
337    
338                case 'taxonomy_term':                case 'taxonomy_term':
339                  $rel_goto_path = taxonomy_term_path($rel->tid); //'taxonomy/term/'. $rel->tid;                  $rel_goto_path = taxonomy_term_path($rel); //'taxonomy/term/'. $rel->tid;
340                  break;                  break;
341    
342                case 'taxonomy_term_all':                case 'taxonomy_term_all':
343                  $rel_goto_path = taxonomy_term_path($rel->tid) .'/all'; //'taxonomy/term/'. $rel->tid .'/all';                  $rel_goto_path = taxonomy_term_path($rel) .'/all'; //'taxonomy/term/'. $rel->tid .'/all';
344                  break;                  break;
345    
346                }                }

Legend:
Removed from v.1.1.2.25  
changed lines
  Added in v.1.1.2.26

  ViewVC Help
Powered by ViewVC 1.1.2