- Removed the title attribute from the taxonomy links. Temporary fix for #7468.

4.5.x
Dries Buytaert 2004-09-30 19:12:44 +00:00
parent f97999d1a4
commit 327a256a2e
2 changed files with 4 additions and 4 deletions

View File

@ -30,13 +30,13 @@ function taxonomy_link($type, $node = NULL) {
if (array_key_exists('taxonomy', $node)) {
foreach ($node->taxonomy as $tid) {
$term = taxonomy_get_term($tid);
$links[] = l($term->name, 'taxonomy/term/'. $term->tid, $term->description ? array ('title' => check_output($term->description)) : array());
$links[] = l($term->name, 'taxonomy/term/'. $term->tid);
}
}
else {
$links = array();
foreach (taxonomy_node_get_terms($node->nid) as $term) {
$links[] = l($term->name, 'taxonomy/term/'. $term->tid, $term->description ? array ('title' => check_output($term->description)) : array());
$links[] = l($term->name, 'taxonomy/term/'. $term->tid);
}
}

View File

@ -30,13 +30,13 @@ function taxonomy_link($type, $node = NULL) {
if (array_key_exists('taxonomy', $node)) {
foreach ($node->taxonomy as $tid) {
$term = taxonomy_get_term($tid);
$links[] = l($term->name, 'taxonomy/term/'. $term->tid, $term->description ? array ('title' => check_output($term->description)) : array());
$links[] = l($term->name, 'taxonomy/term/'. $term->tid);
}
}
else {
$links = array();
foreach (taxonomy_node_get_terms($node->nid) as $term) {
$links[] = l($term->name, 'taxonomy/term/'. $term->tid, $term->description ? array ('title' => check_output($term->description)) : array());
$links[] = l($term->name, 'taxonomy/term/'. $term->tid);
}
}