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
parent
8b6d92fc69
commit
dc3940cc3d
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue