diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-03-02 19:23:54 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-03-02 19:23:54 +0000 |
commit | fbad7327af412e5c1dc43b1656cb6c9dca275d76 (patch) | |
tree | c51c0109d7f26b12d62a9a9afe7a005c12250e7c | |
parent | 70d915313f3aa806633f65e8248097464dfd65cc (diff) | |
download | brdo-fbad7327af412e5c1dc43b1656cb6c9dca275d76.tar.gz brdo-fbad7327af412e5c1dc43b1656cb6c9dca275d76.tar.bz2 |
#387218 by geerlingguy, JohnAlbin, and scor: Print/document RDF variables in page.tpl.php.
-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; ?> |