', '&', '=', '?', ':'), '', $menu_item['link']['href']); //Strip symbols. // Convert slashes to dashes. $clean_path = str_replace('/', '-', $clean_path); $current_node = str_replace('node-', '', $clean_path); $path_class = 'menu-path-'. $clean_path; if ($current_node == $GLOBALS['active_node']) { $path_class.= ' active-content'; } $children = ''; // If it has children build a nice little tree under it. if ((!empty($menu_item['link']['has_children'])) && (!empty($menu_item['below']))) { $is_child = true; // Keep passing children into the function 'til we get them all. $children = theme('nice_menu_build', $menu_item['below'], false); $children = ($children)?"