summaryrefslogtreecommitdiff
path: root/themes/seven/page.tpl.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-09-15 17:10:39 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-09-15 17:10:39 +0000
commit6c0f8eba1c55b01e8dc3122f67cda34308ba94a2 (patch)
treee036f2d12a2575241f0a46f095bfa6d4bc5b66dd /themes/seven/page.tpl.php
parent60f14083f4ba53ecfbf741d34b6a76e9722c5287 (diff)
downloadbrdo-6c0f8eba1c55b01e8dc3122f67cda34308ba94a2.tar.gz
brdo-6c0f8eba1c55b01e8dc3122f67cda34308ba94a2.tar.bz2
#469242 by tic2000, Pasqualle, pwolanin, Nick Lewis, moshe weitzman, Rob Loach,
and alexanderpas: page.tpl.php has now been split into html.tpl.php (for <html>, <head>, and <body>) and page.tpl.php (for page content). This now provides consistency for granular theming of renderable output in all template files.
Diffstat (limited to 'themes/seven/page.tpl.php')
-rw-r--r--themes/seven/page.tpl.php27
1 files changed, 4 insertions, 23 deletions
diff --git a/themes/seven/page.tpl.php b/themes/seven/page.tpl.php
index e47ccc334..d5d6b7b49 100644
--- a/themes/seven/page.tpl.php
+++ b/themes/seven/page.tpl.php
@@ -1,20 +1,6 @@
<?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; ?>" dir="<?php print $language->dir; ?>"
- <?php print $rdf_namespaces; ?>>
- <head profile="<?php print $grddl_profile; ?>">
- <title><?php print $head_title; ?></title>
- <?php print $head; ?>
- <?php print $styles; ?>
- <?php print $scripts; ?>
- <?php print $ie_styles; ?>
- </head>
- <body class="<?php print $classes; ?>">
-
- <?php print $page_top; ?>
-
+?>
<div id="branding" class="clearfix">
<?php print $breadcrumb; ?>
<?php if ($title): ?><h1 class="page-title"><?php print $title; ?></h1><?php endif; ?>
@@ -28,13 +14,13 @@
<?php if ($show_messages && $messages): ?>
<div id="console" class="clearfix"><?php print $messages; ?></div>
<?php endif; ?>
- <?php if ($help): ?>
+ <?php if ($page['help']): ?>
<div id="help">
- <?php print $help; ?>
+ <?php print render($page['help']); ?>
</div>
<?php endif; ?>
<?php if ($action_links): ?><ul class="action-links"><?php print $action_links; ?></ul><?php endif; ?>
- <?php print $content; ?>
+ <?php print render($page['content']); ?>
</div>
<div id="footer">
@@ -42,8 +28,3 @@
</div>
</div>
-
- <?php print $page_bottom; ?>
-
- </body>
-</html>