From 8caaadaee591177beaea9def16431637267ba0f6 Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 19 Oct 2009 10:56:10 -0200 Subject: Code cleanup --- finder_menu.module | 61 +----------------------------------------------------- 1 file changed, 1 insertion(+), 60 deletions(-) diff --git a/finder_menu.module b/finder_menu.module index 340d300..1b65d7e 100644 --- a/finder_menu.module +++ b/finder_menu.module @@ -78,9 +78,6 @@ function finder_menu_theme() { * Generate the menu. */ function theme_finder_menu($menu_name, $mlid) { - $item_class = "finder-menu-menu-item"; - $sub_item_class = "finder-menu-sub-menu-item"; - // Find menu item in the menu tree $menu_tree = menu_tree_all_data($menu_name); @@ -132,68 +129,12 @@ function theme_finder_menu($menu_name, $mlid) { // Build the menus $output = '
'; - $output .= finder_menu_build($menu); + $output .= taxonomy_node_tree_list($menu, 'finder', 'hidden'); $output .= '
'; return $output; } -/** - * Recursively build the menu. - * - * @ingroup themeable - */ -function finder_menu_build($menu) { - - global $_finder_menu_id; - - if ($_finder_menu_id == NULL) { - $output = '