Skip to content
Snippets Groups Projects
Commit b9f4e59c authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #468534 by paul.lovvik: add a region at the top of the page above the header region.

parent 1706f735
No related branches found
No related tags found
No related merge requests found
...@@ -104,6 +104,11 @@ ...@@ -104,6 +104,11 @@
</head> </head>
<body class="<?php print $classes; ?>"> <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="page-wrapper"><div id="page">
<div id="header"><div class="section clearfix"> <div id="header"><div class="section clearfix">
......
...@@ -1464,6 +1464,7 @@ function _system_get_theme_data() { ...@@ -1464,6 +1464,7 @@ function _system_get_theme_data() {
'footer' => 'Footer', 'footer' => 'Footer',
'highlight' => 'Highlighted content', 'highlight' => 'Highlighted content',
'help' => 'Help', 'help' => 'Help',
'page_top' => 'Page top',
), ),
'description' => '', 'description' => '',
'features' => array( 'features' => array(
......
...@@ -15,6 +15,12 @@ ...@@ -15,6 +15,12 @@
</head> </head>
<body class="<?php print $classes ?>"> <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="header-region" class="clearfix"><?php print $header ?></div>
<div id="wrapper"> <div id="wrapper">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment