Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
57c5355a
Commit
57c5355a
authored
Dec 15, 2006
by
Steven Wittens
Browse files
#103280
: Fix styles for maintenance pages.
parent
3f0d6414
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/theme.inc
View file @
57c5355a
...
...
@@ -407,6 +407,8 @@ function theme_page($content) {
function
theme_maintenance_page
(
$content
,
$messages
=
TRUE
,
$partial
=
FALSE
)
{
drupal_set_header
(
'Content-Type: text/html; charset=utf-8'
);
drupal_set_html_head
(
'<style type="text/css" media="all">@import "'
.
base_path
()
.
'misc/maintenance.css";</style>'
);
drupal_set_html_head
(
'<style type="text/css" media="all">@import "'
.
base_path
()
.
drupal_get_path
(
'module'
,
'system'
)
.
'/defaults.css";</style>'
);
drupal_set_html_head
(
'<style type="text/css" media="all">@import "'
.
base_path
()
.
drupal_get_path
(
'module'
,
'system'
)
.
'/system.css";</style>'
);
drupal_set_html_head
(
'<link rel="shortcut icon" href="'
.
base_path
()
.
'misc/favicon.ico" type="image/x-icon" />'
);
$output
=
"<!DOCTYPE html PUBLIC
\"
-//W3C//DTD XHTML 1.0 Transitional//EN
\"
\"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
\"
>
\n
"
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment