- Patch #338429 by scor: XHTML+RDFa compatibility.
parent
7324f967a5
commit
60065c6830
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
// $Id$
|
||||
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"
|
||||
<?php print $rdf_namespaces ?>>
|
||||
<head profile="<?php print $grddl_profile ?>">
|
||||
<title><?php print $head_title ?></title>
|
||||
|
|
|
@ -29,7 +29,7 @@ function chameleon_page($content, $show_blocks = TRUE, $show_messages = TRUE) {
|
|||
$blocks_right = theme_blocks('right');
|
||||
|
||||
$output = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML+RDFa 1.0//EN\" \"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd\">\n";
|
||||
$output .= "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"$language\" xml:lang=\"$language\" dir=\"$direction\"\n";
|
||||
$output .= "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"$language\" dir=\"$direction\"\n";
|
||||
$output .= " $rdf_namespaces>\n";
|
||||
$output .= "<head profile=\"http://ns.inria.fr/grddl/rdfa/\">\n";
|
||||
$output .= " <title>" . ($title ? strip_tags($title) . " | " . variable_get("site_name", "Drupal") : variable_get("site_name", "Drupal") . " | " . variable_get("site_slogan", "")) . "</title>\n";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// $Id$
|
||||
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
|
||||
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"
|
||||
<?php print $rdf_namespaces ?>>
|
||||
<head profile="<?php print $grddl_profile ?>">
|
||||
<title><?php print $head_title ?></title>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
// $Id$
|
||||
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"
|
||||
<?php print $rdf_namespaces ?>>
|
||||
<head profile="<?php print $grddl_profile ?>">
|
||||
<title><?php print $head_title ?></title>
|
||||
|
|
Loading…
Reference in New Issue