Index: taxonomy_menu.inc
===================================================================
RCS file: /pph/v6/modules/taxonomy_menu/taxonomy_menu.inc,v
retrieving revision 1.2
retrieving revision 1.5
diff -u -r1.2 -r1.5
--- taxonomy_menu.inc   2 Oct 2008 08:22:14 -0000   1.2
+++ taxonomy_menu.inc   3 Oct 2008 11:18:59 -0000   1.5
@@ -1,5 +1,5 @@
 <?php
-// $Id: taxonomy_menu.inc,v 1.2 2008-10-02 08:22:14 caoky Exp $
+// $Id: taxonomy_menu.inc,v 1.5 2008-10-03 11:18:59 caoky Exp $
 
 /**
  * @author Jonathan Chaffer   <jchaffer@structureinteractive.com>
@@ -150,14 +150,14 @@
     'type'                => MENU_NORMAL_ITEM
   );
 
  foreach (taxonomy_get_vocabularies() as $vocab) {
     if (variable_get('taxonomy_menu_show_'. $vocab->vid, TAXONOMY_MENU_NONE)) {
       $path =  variable_get('taxonomy_menu_display_page', 'category') .'/'. $vocab->vid;
       $items[$path] = array(
         'access arguments'    => array('access content'),
         'file'            => 'taxonomy_menu.inc',
         'page callback'   => '_taxonomy_menu_page',
-        'title'           => t($vocab->name),
+        'title'           => $vocab->name,
         'weight'          => $vocab->weight
       );
 
@@ -188,8 +188,9 @@
             $name .= ' ('. $num .')';
           }
           $items[$path] = array(
-            'access arguments' => array('access content'),
+            'access arguments' => array($term, 'access content'),
             'file'            => 'taxonomy_menu.inc',
+            'access callback' => 'taxonomy_menu_access',            
             'page callback'   => '_taxonomy_menu_page',
             'description'     => t($term->description),
             'title'           => $name,
