diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-11-22 13:55:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-11-22 13:55:27 +0000 |
commit | 151ed277865cf3a72bb16610b7855207e38e082c (patch) | |
tree | 4236495ad709c486b07e34a4ff26e7d7c1f3caa2 /themes/chameleon | |
parent | 33cf35a6e8a7cab73147af368f2ee4d16a41dbd0 (diff) | |
download | brdo-151ed277865cf3a72bb16610b7855207e38e082c.tar.gz brdo-151ed277865cf3a72bb16610b7855207e38e082c.tar.bz2 |
- Patch #332980 by scor: added an RDF namespace registry. Oh my ... :-)
Diffstat (limited to 'themes/chameleon')
-rw-r--r-- | themes/chameleon/chameleon.theme | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme index dc9d7d738..8a34019c0 100644 --- a/themes/chameleon/chameleon.theme +++ b/themes/chameleon/chameleon.theme @@ -22,14 +22,16 @@ function chameleon_page($content, $show_blocks = TRUE, $show_messages = TRUE) { } $title = drupal_get_title(); + $rdf_namespaces = drupal_get_rdf_namespaces(); // Get blocks before so that they can alter the header (JavaScript, Stylesheets etc.) $blocks_left = theme_blocks('left'); $blocks_right = theme_blocks('right'); - $output = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n"; - $output .= "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"$language\" xml:lang=\"$language\" dir=\"$direction\">\n"; - $output .= "<head>\n"; + $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"; + $putput .= " $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"; $output .= drupal_get_html_head(); $output .= drupal_get_css(); |