summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-07-04 05:21:15 +0000
committerDries Buytaert <dries@buytaert.net>2009-07-04 05:21:15 +0000
commitb9f4e59c5a4655595e3254560febbdb01d599fd1 (patch)
treedae5b4111ef4f88e46fbe0aee226dca89e7f1ea0 /modules/system
parent1706f7354e2f03c7c8b061b37dca2c19fcda0b3e (diff)
downloadbrdo-b9f4e59c5a4655595e3254560febbdb01d599fd1.tar.gz
brdo-b9f4e59c5a4655595e3254560febbdb01d599fd1.tar.bz2
- Patch #468534 by paul.lovvik: add a region at the top of the page above the header region.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/page.tpl.php5
-rw-r--r--modules/system/system.module1
2 files changed, 6 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(