test page 111

code

function get_node_licenses($node, $vid) {
$licenses = array();
foreach($node->taxonomy as $tid => $term) {
if ($term->vid == $vid) {
$licenses[] = ''.$term->name.'';
}
}
return $licenses;
}

function get_node_licenses($node, $vid) { $licenses = array(); foreach($node->taxonomy as $tid => $term) { if ($term->vid == $vid) { $licenses[] = ''.$term->name.''; } } return $licenses; }