/**
* Get for l_keywords from vocabulary to
* dropbox in widget
*
*/
function _get_l_keywords() {
$vid = cdt_keywordlink_get_vocabulary();
$pole = array();
$items = array();
$terms = taxonomy_get_tree($vid);
if($result = db_query('SELECT * FROM {term_data} WHERE vid = %d', $vid)) {
while ($data = db_fetch_object($result)) {
$matches[$data->tid] = check_plain($data->name);
}
}
if (count($matches) > 0) {
return $matches;
}else{
drupal_set_message("There is no l_keywords registered in the cdt_keywordlink vocabu