Forgot to use l() for the taxonomy links.
parent
367ae7a670
commit
037ad05475
|
@ -120,7 +120,7 @@ function c(subject,mod,author,date,body) {document.writeln("<table border=\"0\"
|
||||||
if ($terms = taxonomy_node_get_terms($node->nid)) {
|
if ($terms = taxonomy_node_get_terms($node->nid)) {
|
||||||
$taxlinks = array();
|
$taxlinks = array();
|
||||||
foreach ($terms as $term) {
|
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);
|
$subright = $this->links($taxlinks);
|
||||||
}
|
}
|
||||||
|
|
|
@ -105,7 +105,7 @@
|
||||||
if ($terms = taxonomy_node_get_terms($node->nid)) {
|
if ($terms = taxonomy_node_get_terms($node->nid)) {
|
||||||
$taxlinks = array();
|
$taxlinks = array();
|
||||||
foreach ($terms as $term) {
|
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);
|
$taxo = $this->links($taxlinks);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue