Forgot to use l() for the taxonomy links.

4.0.x
Steven Wittens 2002-05-20 18:52:21 +00:00
parent 367ae7a670
commit 037ad05475
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ function c(subject,mod,author,date,body) {document.writeln("<table border=\"0\"
if ($terms = taxonomy_node_get_terms($node->nid)) {
$taxlinks = array();
foreach ($terms as $term) {
$taxlinks[] = "<a href=\"index.php?or=$term->tid\">". check_output($term->name) ."</a>";
$taxlinks[] = l($term->name, array("or" => $term->tid), "index");
}
$subright = $this->links($taxlinks);
}

View File

@ -105,7 +105,7 @@
if ($terms = taxonomy_node_get_terms($node->nid)) {
$taxlinks = array();
foreach ($terms as $term) {
$taxlinks[] = "<a href=\"index.php?or=$term->tid\">". check_output($term->name) ."</a>";
$taxlinks[] = l($term->name, array("or" => $term->tid), "index");
}
$taxo = $this->links($taxlinks);
}