--- taxonomy_block.module 2009-08-14 04:56:43.000000000 +0200 +++ taxonomy_blockNew.module 2009-10-16 14:39:28.000000000 +0200 @@ -91,10 +91,11 @@ function taxonomy_block_block($op = 'lis $name_parent= $term_parent->name; $output .= '
  • '; + $t = taxonomy_get_term($tid_parent); if (module_exists("i18n")) { - $output .= l(tt("taxonomy:term:$tid_parent:name", $name_parent), "taxonomy/term/$tid_parent"); + $output .= l(tt("taxonomy:term:$tid_parent:name", $name_parent), taxonomy_term_path($t)); } else { - $output .= l(t($name_parent), "taxonomy/term/$tid_parent"); + $output .= l(t($name_parent), taxonomy_term_path($t)); } if ($node_count) { $total_parent = db_result(db_query("SELECT COUNT(nid) FROM {term_node} WHERE tid = %d", $tid_parent)); @@ -126,10 +127,11 @@ function taxonomy_block_block($op = 'lis $name_child = $term_child->name; $output .= '
  • '; + $t = taxonomy_get_term($tid_child); if (module_exists("i18n")) { - $output .= l(tt("taxonomy:term:$tid_child:name", $name_child), "taxonomy/term/$tid_child"); + $output .= l(tt("taxonomy:term:$tid_child:name", $name_child), taxonomy_term_path($t)); } else { - $output .= l(t($name_child), "taxonomy/term/$tid_child"); + $output .= l(t($name_child), taxonomy_term_path($t)); } if ($node_count) { $total_child = db_result(db_query("SELECT COUNT(nid) FROM {term_node} WHERE tid = %d", $tid_child));