Calling all Drupal developers!
Help us get this on the first page of Digg. DIGG NOW!
Help us get this on the first page of Digg. DIGG NOW!
faq_get_terms()
contributions/faq/faq.module, line 1936
Get a list of terms associated with the FAQ nodes.
Return the HTML-formatted content.
<?php
function faq_get_terms() {
$items = array();
$vocabularies = taxonomy_get_vocabularies('faq');
$vocab_omit = variable_get('faq_omit_vocabulary', array());
$vocabularies = array_diff_key($vocabularies, $vocab_omit);
foreach ($vocabularies as $vid => $vobj) {
$vocab_items = _get_indented_faq_terms($vid, 0);
$items = array_merge($items, $vocab_items);
}
return theme('item_list', $items);
}
?>