Skip to content
Snippets Groups Projects
Commit 17bea9c9 authored by Tim Steiner's avatar Tim Steiner
Browse files

Merging changes for ticket 611 into production

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/production@361 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent a161644f
No related branches found
No related tags found
No related merge requests found
......@@ -52,11 +52,18 @@ $t->doctitle = '<title>'.$head_title.'</title>';
$html = $t->toHtml();
$html = strtr($html, array('<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">' => '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="'.$language->language.'" version="XHTML+RDFa 1.0" dir="'.$language->dir.'" '.$rdf_namespaces.'>',
'<head>' => '<head profile="'.$grddl_profile.'">',
'<body class="fixed">' => '<body class="fixed '.$classes.'" '.$attributes.'>',
'<p class="skipnav">' => $page_top . PHP_EOL . '<p class="skipnav">',
'</body>' => $page_bottom . PHP_EOL . '</body>',
));
if (module_exists('rdf')) {
$html = strtr($html, array(
'<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">' => '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="'.$language->language.'" version="XHTML+RDFa 1.0" dir="'.$language->dir.'" '.$rdf_namespaces.'>',
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">',
'<head>' => '<head profile="'.$grddl_profile.'">',
));
}
$html = strtr($html, array(
'<body class="fixed">' => '<body class="fixed '.$classes.'" '.$attributes.'>',
'<p class="skipnav">' => $page_top . PHP_EOL . '<p class="skipnav">',
'</body>' => $page_bottom . PHP_EOL . '</body>',
));
echo $html;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment