// TODO: recipe.module and node_aggregator did use $type to filter results to their own node type. no longer supported (but should be)
function taxonomy_dhtml_vocab_vert($vocabulary_id, $op = NULL) {
$out .="
"; // PATCH FB //
$tree = taxonomy_get_tree($vocabulary_id);
// build an array which holds all children of current term. necessary to build a proper 'or' value in the HREF
foreach ($tree as $term) {
$url = "taxonomy/term/$term->tid/9";
if ($op) {
$url .= "/$op";
}
$link = l(t($term->name), $url, array("title" => t($term->description)));
// $out .= _taxonomy_depth($term->depth, " ")."- $link";
$out .= str_repeat(" ", $term->depth) . "- $link"; // PATCH FB //
$count = taxonomy_term_count_nodes($term->tid);
if ($count) {
$out .= " ($count)";
}
$out .= "
"; // PATCH FB //
}
$out .="
"; // PATCH FB //
return $out;
}