diff --git a/includes/theme.inc b/includes/theme.inc index c851b32837b..fbdb1653120 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 ce5828fdc1b..d8ae776ede3 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 68f727c9310..ac6764c5474 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 74c050bab0a..01358cad88c 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); }