Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
de808c2a
Commit
de808c2a
authored
12 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1913692
by mgifford: Convert Seven to HTML5.
parent
614a6b09
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/themes/seven/templates/maintenance-page.tpl.php
+9
-8
9 additions, 8 deletions
core/themes/seven/templates/maintenance-page.tpl.php
core/themes/seven/templates/page.tpl.php
+6
-6
6 additions, 6 deletions
core/themes/seven/templates/page.tpl.php
with
15 additions
and
14 deletions
core/themes/seven/templates/maintenance-page.tpl.php
+
9
−
8
View file @
de808c2a
...
...
@@ -13,9 +13,8 @@
* @ingroup themeable
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xml:lang=
"
<?php
print
$language
->
langcode
?>
"
lang=
"
<?php
print
$language
->
langcode
?>
"
dir=
"
<?php
print
$language
->
dir
?>
"
>
<!DOCTYPE html>
<html
lang=
"
<?php
print
$language
->
langcode
?>
"
dir=
"
<?php
print
$language
->
dir
?>
"
>
<head>
<title>
<?php
print
$head_title
;
?>
</title>
<?php
print
$head
;
?>
...
...
@@ -26,9 +25,9 @@
<?php
print
$page_top
;
?>
<
div
id=
"branding"
>
<
header
id=
"branding"
>
<?php
if
(
$title
)
:
?>
<h1
class=
"page-title"
>
<?php
print
$title
;
?>
</h1>
<?php
endif
;
?>
</
div
>
</
header
>
<div
id=
"page"
>
...
...
@@ -41,7 +40,7 @@
<?php
endif
;
?>
</div>
<
div
id=
"content"
class=
"clearfix"
>
<
main
id=
"content"
class=
"clearfix"
>
<?php
if
(
$messages
)
:
?>
<div
id=
"console"
>
<?php
print
$messages
;
?>
</div>
<?php
endif
;
?>
...
...
@@ -51,11 +50,13 @@
</div>
<?php
endif
;
?>
<?php
print
$content
;
?>
</
div
>
</
main
>
</div>
<?php
print
$page_bottom
;
?>
<footer
role=
"contentinfo"
>
<?php
print
$page_bottom
;
?>
</footer>
</body>
</html>
This diff is collapsed.
Click to expand it.
core/themes/seven/templates/page.tpl.php
+
6
−
6
View file @
de808c2a
...
...
@@ -16,7 +16,7 @@
* @ingroup themeable
*/
?>
<
div
id=
"branding"
class=
"clearfix"
role=
"navigation"
>
<
header
id=
"branding"
class=
"clearfix"
role=
"navigation"
>
<?php
print
$breadcrumb
;
?>
<?php
print
render
(
$title_prefix
);
?>
<?php
if
(
$title
)
:
?>
...
...
@@ -26,14 +26,14 @@
<?php
if
(
$primary_local_tasks
)
:
?>
<?php
print
'<div role="tab">'
.
render
(
$primary_local_tasks
)
.
'</div>'
;
?>
<?php
endif
;
?>
</
div
>
</
header
>
<div
id=
"page"
>
<?php
if
(
$secondary_local_tasks
)
:
?>
<div
class=
"tabs-secondary clearfix"
role=
"navigation"
>
<?php
print
render
(
$secondary_local_tasks
);
?>
</div>
<?php
endif
;
?>
<
div
id=
"content"
class=
"clearfix"
role=
"main"
>
<
main
id=
"content"
class=
"clearfix"
role=
"main"
>
<div
class=
"element-invisible"
><a
id=
"main-content"
></a></div>
<?php
if
(
$messages
)
:
?>
<div
id=
"console"
class=
"clearfix"
>
<?php
print
$messages
;
?>
</div>
...
...
@@ -45,10 +45,10 @@
<?php
endif
;
?>
<?php
if
(
$action_links
)
:
?>
<ul
class=
"action-links"
>
<?php
print
render
(
$action_links
);
?>
</ul>
<?php
endif
;
?>
<?php
print
render
(
$page
[
'content'
]);
?>
</
div
>
</
main
>
<
div
id=
"footer"
role=
"contentinfo"
>
<
footer
id=
"footer"
role=
"contentinfo"
>
<?php
print
$feed_icons
;
?>
</
div
>
</
footer
>
</div>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment