diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/page.tpl.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/modules/system/page.tpl.php b/modules/system/page.tpl.php index 4a5381978..323b96993 100644 --- a/modules/system/page.tpl.php +++ b/modules/system/page.tpl.php @@ -21,6 +21,8 @@ * - $language: (object) The language the site is being displayed in. * $language->language contains its textual representation. * $language->dir contains the language direction. It will either be 'ltr' or 'rtl'. + * - $rdf_namespaces: All the RDF namespace prefixes used in the HTML document. + * - $grddl_profile: A GRDDL profile allowing agents to extract the RDF data. * - $head_title: A modified version of the page title, for use in the TITLE tag. * - $head: Markup for the HEAD section (including meta tags, keyword tags, and * so on). @@ -71,11 +73,12 @@ * @see template_preprocess_page() */ ?> -<!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" xml:lang="<?php print $language->language; ?>" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>"> +<!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; ?>" dir="<?php print $language->dir; ?>" + <?php print $rdf_namespaces; ?>> -<head> +<head profile="<?php print $grddl_profile; ?>"> <title><?php print $head_title; ?></title> <?php print $head; ?> <?php print $styles; ?> |