- Fixed bug in update of taxonomy links.
parent
2647a943f0
commit
56d0434f82
|
@ -42,7 +42,7 @@ class BaseTheme {
|
|||
function node($node, $main) {
|
||||
if (function_exists("taxonomy_node_get_terms")) {
|
||||
foreach (taxonomy_node_get_terms($node->nid) as $term) {
|
||||
$terms[] = l($term->name, NULL, NULL, "or=$term->tid");
|
||||
$terms[] = l($term->name, NULL, array(), "or=$term->tid");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4,13 +4,12 @@
|
|||
class Theme_example extends BaseTheme {
|
||||
|
||||
function system($field) {
|
||||
$system["name"] = "Stone Age";
|
||||
$system["name"] = "example";
|
||||
$system["author"] = "Dries";
|
||||
$system["description"] = "Internet explorer, Netscape, Opera, Lynx";
|
||||
|
||||
return $system[$field];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
|
@ -121,7 +121,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[] = l($term->name, NULL, NULL, "or=$term->tid");
|
||||
$taxlinks[] = l($term->name, NULL, array(), "or=$term->tid");
|
||||
}
|
||||
$subright = $this->links($taxlinks);
|
||||
}
|
||||
|
|
|
@ -105,7 +105,7 @@
|
|||
if ($terms = taxonomy_node_get_terms($node->nid)) {
|
||||
$taxlinks = array();
|
||||
foreach ($terms as $term) {
|
||||
$taxlinks[] = l($term->name, NULL, NULL, "or=$term->tid");
|
||||
$taxlinks[] = l($term->name, NULL, array(), "or=$term->tid");
|
||||
}
|
||||
$taxo = $this->links($taxlinks);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue