From 56d0434f82cc599a78d9d3b500f70d893314f6f8 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 6 Jan 2003 21:43:07 +0000 Subject: - Fixed bug in update of taxonomy links. --- includes/theme.inc | 2 +- themes/example/example.theme | 3 +-- themes/goofy/goofy.theme | 2 +- themes/unconed/unconed.theme | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/includes/theme.inc b/includes/theme.inc index c851b3283..fbdb16531 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -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"); } } diff --git a/themes/example/example.theme b/themes/example/example.theme index ce5828fdc..d8ae776ed 100644 --- a/themes/example/example.theme +++ b/themes/example/example.theme @@ -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]; } - } ?> \ No newline at end of file diff --git a/themes/goofy/goofy.theme b/themes/goofy/goofy.theme index 68f727c93..ac6764c54 100644 --- a/themes/goofy/goofy.theme +++ b/themes/goofy/goofy.theme @@ -121,7 +121,7 @@ function c(subject,mod,author,date,body) {document.writeln("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); } diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme index 74c050bab..01358cad8 100644 --- a/themes/unconed/unconed.theme +++ b/themes/unconed/unconed.theme @@ -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); } -- cgit v1.2.3