diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-01-21 05:45:52 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-01-21 05:45:52 +0000 |
commit | dc3940cc3d54b8d409597c5625c24140d57be617 (patch) | |
tree | fa01a7e6a9f3eb95e19755de9128b94b4ca7b177 | |
parent | 8b6d92fc69beb41d1c8d652c3f22143c375dc55d (diff) | |
download | brdo-dc3940cc3d54b8d409597c5625c24140d57be617.tar.gz brdo-dc3940cc3d54b8d409597c5625c24140d57be617.tar.bz2 |
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.
-rw-r--r-- | themes/xtemplate/xtemplate.theme | 2 | ||||
-rw-r--r-- | themes/xtemplate/xtemplate.xtmpl | 1 |
2 files changed, 1 insertions, 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 @@ <!-- BEGIN: header --> -<?xml version=\"1.0\" encoding=\"iso-8859-1\"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> |