Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
315
Merge Requests
315
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
b9f4e59c
Commit
b9f4e59c
authored
Jul 04, 2009
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#468534
by paul.lovvik: add a region at the top of the page above the header region.
parent
1706f735
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
modules/system/page.tpl.php
modules/system/page.tpl.php
+5
-0
modules/system/system.module
modules/system/system.module
+1
-0
themes/garland/page.tpl.php
themes/garland/page.tpl.php
+6
-0
No files found.
modules/system/page.tpl.php
View file @
b9f4e59c
...
...
@@ -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"
>
...
...
modules/system/system.module
View file @
b9f4e59c
...
...
@@ -1464,6 +1464,7 @@ function _system_get_theme_data() {
'footer'
=>
'Footer'
,
'highlight'
=>
'Highlighted content'
,
'help'
=>
'Help'
,
'page_top'
=>
'Page top'
,
),
'description'
=>
''
,
'features'
=>
array
(
...
...
themes/garland/page.tpl.php
View file @
b9f4e59c
...
...
@@ -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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment