Index: taxonomy_menu.module
===================================================================
RCS file: /pph/v6/modules/taxonomy_menu/taxonomy_menu.module,v
retrieving revision 1.9
diff -u -r1.9 taxonomy_menu.module
--- taxonomy_menu.module	14 Oct 2008 04:45:17 -0000	1.9
+++ taxonomy_menu.module	6 Oct 2008 03:53:42 -0000
@@ -1,5 +1,5 @@
 <?php
-// $Id: taxonomy_menu.module,v 1.9 2008-10-14 04:45:17 caoky Exp $
+// $Id: taxonomy_menu.module,v 1.6 2008-10-06 03:53:41 caoky Exp $
 
 /**
  * @author Jonathan Chaffer   <jchaffer@structureinteractive.com>
@@ -72,3 +72,19 @@
 function taxonomy_menu_taxonomy() {
   menu_rebuild();
 }
+/**
+ *
+ * Language filter 
+ */
+function taxonomy_menu_access($term) {
+        $current_lang = i18n_get_lang();
+        $term_lang = (isset($term) && (!empty($term->language))) ? $term->language : '';
+        return ($term_lang == $current_lang) || ($term_lang == "") ;        
+}
+/**
+ *
+ * OpenNode 
+ */
+function gotoNode($nodeid) {
+        drupal_goto('node/' . $nodeid);        
+}
\ No newline at end of file

