From dc3940cc3d54b8d409597c5625c24140d57be617 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 21 Jan 2003 05:45:52 +0000 Subject: Patch by Ax: - Removed the XML prolog from xtemplate.xtmpl because some browsers have difficulties with it and it's not required. see http://webstandards.org/learn/reference/prolog_problems.html. - Fixed the term link. --- themes/xtemplate/xtemplate.theme | 2 +- themes/xtemplate/xtemplate.xtmpl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/themes/xtemplate/xtemplate.theme b/themes/xtemplate/xtemplate.theme index 15a3e82b4..70cf27519 100644 --- a/themes/xtemplate/xtemplate.theme +++ b/themes/xtemplate/xtemplate.theme @@ -23,7 +23,7 @@ class Theme_xtemplate extends BaseTheme { $terms = array(); if (function_exists("taxonomy_node_get_terms")) { foreach (taxonomy_node_get_terms($node->nid) as $term) { - $terms[] = l($term->name, array("or" => $term->tid), "index"); + $terms[] = l($term->name, NULL, array(), "or=$term->tid"); } } diff --git a/themes/xtemplate/xtemplate.xtmpl b/themes/xtemplate/xtemplate.xtmpl index 7dd8660aa..2084d19d6 100644 --- a/themes/xtemplate/xtemplate.xtmpl +++ b/themes/xtemplate/xtemplate.xtmpl @@ -1,5 +1,4 @@ - -- cgit v1.2.3