Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
47aca952
Commit
47aca952
authored
Jun 17, 2012
by
Dries
Browse files
- Patch
#998302
by mgifford: 'Skip to main content' link links to region, not content.
parent
619017f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/system/page.tpl.php
View file @
47aca952
...
@@ -118,10 +118,10 @@
...
@@ -118,10 +118,10 @@
<?php
endif
;
?>
<?php
endif
;
?>
<div
id=
"main"
role=
"main"
class=
"clearfix"
>
<div
id=
"main"
role=
"main"
class=
"clearfix"
>
<a
id=
"main-content"
></a>
<div
id=
"content"
class=
"column"
>
<div
id=
"content"
class=
"column"
>
<?php
if
(
$page
[
'highlighted'
])
:
?>
<div
id=
"highlighted"
>
<?php
print
render
(
$page
[
'highlighted'
]);
?>
</div>
<?php
endif
;
?>
<?php
if
(
$page
[
'highlighted'
])
:
?>
<div
id=
"highlighted"
>
<?php
print
render
(
$page
[
'highlighted'
]);
?>
</div>
<?php
endif
;
?>
<a
id=
"main-content"
></a>
<?php
print
render
(
$title_prefix
);
?>
<?php
print
render
(
$title_prefix
);
?>
<?php
if
(
$title
)
:
?>
<h1
class=
"title"
id=
"page-title"
>
<?php
print
$title
;
?>
</h1>
<?php
endif
;
?>
<?php
if
(
$title
)
:
?>
<h1
class=
"title"
id=
"page-title"
>
<?php
print
$title
;
?>
</h1>
<?php
endif
;
?>
<?php
print
render
(
$title_suffix
);
?>
<?php
print
render
(
$title_suffix
);
?>
...
...
Write
Preview
Supports
Markdown
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