Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3443488
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
drupal-3443488
Commits
ab0c19f2
Commit
ab0c19f2
authored
14 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#903046
by tim.plunkett, Jeff Burnz: cleanup bartiks maintenance-page.tpl.php.
parent
b8dd9fe5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
themes/bartik/templates/maintenance-page.tpl.php
+29
-54
29 additions, 54 deletions
themes/bartik/templates/maintenance-page.tpl.php
with
29 additions
and
54 deletions
themes/bartik/templates/maintenance-page.tpl.php
+
29
−
54
View file @
ab0c19f2
...
@@ -3,10 +3,9 @@
...
@@ -3,10 +3,9 @@
/**
/**
* @file
* @file
*
Bartik's theme i
mplementation to display a single Drupal page while offline.
*
I
mplementation to display a single Drupal page while offline.
*
*
* All the available variables are mirrored in page.tpl.php. Some may be left
* All the available variables are mirrored in page.tpl.php.
* blank but they are provided for consistency.
*
*
* @see template_preprocess()
* @see template_preprocess()
* @see template_preprocess_maintenance_page()
* @see template_preprocess_maintenance_page()
...
@@ -16,7 +15,6 @@
...
@@ -16,7 +15,6 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xml:lang=
"
<?php
print
$language
->
language
;
?>
"
lang=
"
<?php
print
$language
->
language
;
?>
"
dir=
"
<?php
print
$language
->
dir
;
?>
"
>
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xml:lang=
"
<?php
print
$language
->
language
;
?>
"
lang=
"
<?php
print
$language
->
language
;
?>
"
dir=
"
<?php
print
$language
->
dir
;
?>
"
>
<head>
<head>
<?php
print
$head
;
?>
<?php
print
$head
;
?>
<title>
<?php
print
$head_title
;
?>
</title>
<title>
<?php
print
$head_title
;
?>
</title>
...
@@ -24,69 +22,46 @@
...
@@ -24,69 +22,46 @@
<?php
print
$scripts
;
?>
<?php
print
$scripts
;
?>
</head>
</head>
<body
class=
"
<?php
print
$classes
;
?>
"
<?php
print
$attributes
;
?>
>
<body
class=
"
<?php
print
$classes
;
?>
"
<?php
print
$attributes
;
?>
>
<div
id=
"skip-link"
>
<div
id=
"skip-link"
>
<a
href=
"#main-content"
class=
"element-invisible element-focusable"
>
<?php
print
t
(
'Skip to main content'
);
?>
</a>
<a
href=
"#main-content"
class=
"element-invisible element-focusable"
>
<?php
print
t
(
'Skip to main content'
);
?>
</a>
</div>
</div>
<?php
print
$page_top
;
?>
<div
id=
"page-wrapper"
><div
id=
"page"
>
<div
id=
"
header"
><div
class=
"section clearfix
"
>
<div
id=
"
page-wrapper"
><div
id=
"page
"
>
<?php
if
(
$site_name
||
$site_slogan
)
:
?>
<div
id=
"header"
><div
class=
"section clearfix"
>
<div
id=
"name-and-slogan"
<?php
if
(
$hide_site_name
&&
$hide_site_slogan
)
{
print
' class="element-invisible"'
;
}
?>
>
<?php
if
(
$site_name
||
$site_slogan
)
:
?>
<div
id=
"name-and-slogan"
<?php
if
(
$hide_site_name
&&
$hide_site_slogan
)
{
print
' class="element-invisible"'
;
}
?>
>
<?php
if
(
$site_name
)
:
?>
<?php
if
(
$site_name
)
:
?>
<?php
if
(
$title
)
:
?>
<div
id=
"site-name"
<?php
if
(
$hide_site_name
)
{
print
' class="element-invisible"'
;
}
?>
>
<div
id=
"site-name"
<?php
if
(
$hide_site_name
)
{
print
' class="element-invisible"'
;
}
?>
>
<strong>
<strong>
<a
href=
"
<?php
print
$front_page
;
?>
"
title=
"
<?php
print
t
(
'Home'
);
?>
"
rel=
"home"
><span>
<?php
print
$site_name
;
?>
</span></a>
<a
href=
"
<?php
print
$front_page
;
?>
"
title=
"
<?php
print
t
(
'Home'
);
?>
"
rel=
"home"
><span>
<?php
print
$site_name
;
?>
</span></a>
</strong>
</strong>
</div>
</div>
<?php
else
:
/* Use h1 when the content title is empty */
?>
<h1
id=
"site-name"
<?php
if
(
$hide_site_name
)
{
print
' class="element-invisible"'
;
}
?>
>
<a
href=
"
<?php
print
$front_page
;
?>
"
title=
"
<?php
print
t
(
'Home'
);
?>
"
rel=
"home"
><span>
<?php
print
$site_name
;
?>
</span></a>
</h1>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
if
(
$site_slogan
)
:
?>
<div
id=
"site-slogan"
<?php
if
(
$hide_site_slogan
)
{
print
' class="element-invisible"'
;
}
?>
>
<?php
if
(
$site_slogan
)
:
?>
<?php
print
$site_slogan
;
?>
<div
id=
"site-slogan"
<?php
if
(
$hide_site_slogan
)
{
print
' class="element-invisible"'
;
}
?>
>
</div>
<?php
print
$site_slogan
;
?>
<?php
endif
;
?>
</div>
</div>
<!-- /#name-and-slogan -->
<?php
endif
;
?>
</div>
<!-- /#name-and-slogan -->
<?php
endif
;
?>
<?php
print
$header
;
?>
</div></div>
<!-- /.section, /#header -->
<div
id=
"main-wrapper"
><div
id=
"main"
class=
"clearfix"
>
<div
id=
"content"
class=
"column"
><div
class=
"section"
>
<a
id=
"main-content"
></a>
<?php
if
(
$title
)
:
?>
<h1
class=
"title"
id=
"page-title"
>
<?php
print
$title
;
?>
</h1>
<?php
endif
;
?>
<?php
print
$content
;
?>
<?php
if
(
$messages
)
:
?>
<div
id=
"messages"
><div
class=
"section clearfix"
>
<?php
print
$messages
;
?>
</div></div>
<!-- /.section, /#messages -->
<?php
endif
;
?>
<?php
endif
;
?>
</div></div>
<!-- /.section, /#header -->
<div
id=
"main-wrapper"
><div
id=
"main"
class=
"clearfix"
>
<div
id=
"content"
class=
"column"
><div
class=
"section"
>
<a
id=
"main-content"
></a>
<?php
if
(
$title
)
:
?>
<h1
class=
"title"
id=
"page-title"
>
<?php
print
$title
;
?>
</h1>
<?php
endif
;
?>
<?php
print
$content
;
?>
<?php
if
(
$messages
)
:
?>
<div
id=
"messages"
><div
class=
"section clearfix"
>
<?php
print
$messages
;
?>
</div></div>
<!-- /.section, /#messages -->
<?php
endif
;
?>
</div></div>
<!-- /.section, /#content -->
</div></div>
<!-- /#main, /#main-wrapper -->
</div></div>
<!-- /.section, /#content -->
</div></div>
<!-- /#page, /#page-wrapper -->
</div></div>
<!-- /#main, /#main-wrapper -->
</div></div>
<!-- /#page, /#page-wrapper -->
<?php
print
$page_bottom
;
?>
</body>
</body>
</html>
</html>
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