summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/system/page.tpl.php5
-rw-r--r--modules/system/system.module1
-rw-r--r--themes/garland/page.tpl.php6
3 files changed, 12 insertions, 0 deletions
diff --git a/modules/system/page.tpl.php b/modules/system/page.tpl.php
index 18b15ee73..a85807837 100644
--- a/modules/system/page.tpl.php
+++ b/modules/system/page.tpl.php
@@ -104,6 +104,11 @@
</head>
<body class="<?php print $classes; ?>">
+ <?php if ($page_top): ?>
+ <div id="page-top-region" class="clearfix">
+ <?php print $page_top; ?>
+ </div>
+ <?php endif; ?>
<div id="page-wrapper"><div id="page">
<div id="header"><div class="section clearfix">
diff --git a/modules/system/system.module b/modules/system/system.module
index e8472de88..9339c187a 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -1464,6 +1464,7 @@ function _system_get_theme_data() {
'footer' => 'Footer',
'highlight' => 'Highlighted content',
'help' => 'Help',
+ 'page_top' => 'Page top',
),
'description' => '',
'features' => array(
diff --git a/themes/garland/page.tpl.php b/themes/garland/page.tpl.php
index 782532ad3..94f4a8ded 100644
--- a/themes/garland/page.tpl.php
+++ b/themes/garland/page.tpl.php
@@ -15,6 +15,12 @@
</head>
<body class="<?php print $classes ?>">
+ <?php if ($page_top): ?>
+ <div id="page-top-region" class="clearfix">
+ <?php print $page_top; ?>
+ </div>
+ <?php endif; ?>
+
<div id="header-region" class="clearfix"><?php print $header ?></div>
<div id="wrapper">