/[drupal]/drupal/modules/system/html.tpl.php
ViewVC logotype

Contents of /drupal/modules/system/html.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Mon Oct 19 18:28:16 2009 UTC (5 weeks, 3 days ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-7-0-UNSTABLE-10
Changes since 1.1: +2 -2 lines
File MIME type: text/x-php
- Patch #493030 by scor, Stefan Freudenberg, pwolanin, fago, Benjamin Melançon, kriskras, dmitrig01, sun: added RDFa support to Drupal core. Oh my, oh my.
1 <?php
2 // $Id: html.tpl.php,v 1.1 2009/09/15 17:10:39 webchick Exp $
3
4 /**
5 * @file
6 * Default theme implementation to display the basic html structure of a single
7 * Drupal page.
8 *
9 * Variables:
10 * - $css: An array of CSS files for the current page.
11 * - $language: (object) The language the site is being displayed in.
12 * $language->language contains its textual representation.
13 * $language->dir contains the language direction. It will either be 'ltr' or 'rtl'.
14 * - $rdf_namespaces: All the RDF namespace prefixes used in the HTML document.
15 * - $grddl_profile: A GRDDL profile allowing agents to extract the RDF data.
16 * - $head_title: A modified version of the page title, for use in the TITLE tag.
17 * - $head: Markup for the HEAD section (including meta tags, keyword tags, and
18 * so on).
19 * - $styles: Style tags necessary to import all CSS files for the page.
20 * - $scripts: Script tags necessary to load the JavaScript files and settings
21 * for the page.
22 * - $page_top: Initial markup from any modules that have altered the
23 * page. This variable should always be output first, before all other dynamic
24 * content.
25 * - $page: The rendered page content.
26 * - $page_bottom: Final closing markup from any modules that have altered the
27 * page. This variable should always be output last, after all other dynamic
28 * content.
29 * - $classes String of classes that can be used to style contextually through
30 * CSS.
31 *
32 * @see template_preprocess()
33 * @see template_preprocess_html()
34 * @see template_process()
35 */
36 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
37 "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
38 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language; ?>" version="XHTML+RDFa 1.0" dir="<?php print $language->dir; ?>"
39 <?php print $rdf_namespaces; ?>>
40
41 <head profile="<?php print $grddl_profile; ?>">
42 <?php print $head; ?>
43 <title><?php print $head_title; ?></title>
44 <?php print $styles; ?>
45 <?php print $scripts; ?>
46 </head>
47 <body class="<?php print $classes; ?>" <?php print $attributes;?>>
48 <?php print $page_top; ?>
49 <?php print $page; ?>
50 <?php print $page_bottom; ?>
51 </body>
52 </html>

  ViewVC Help
Powered by ViewVC 1.1.2