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.
4.2.x
Dries Buytaert 2003-01-21 05:45:52 +00:00
parent 8b6d92fc69
commit dc3940cc3d
2 changed files with 1 additions and 2 deletions

View File

@ -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");
}
}

View File

@ -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">