Commit 037ad054 authored by Steven Wittens's avatar Steven Wittens
Browse files

Forgot to use l() for the taxonomy links.

parent 367ae7a6
......@@ -120,7 +120,7 @@ function node($node, $main = 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);
}
......
......@@ -105,7 +105,7 @@ function node($node, $main = 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");
}
$taxo = $this->links($taxlinks);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment