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
36da307e
Commit
36da307e
authored
Nov 10, 2003
by
Dries Buytaert
Browse files
- Improvement: made sure that the example theme uses the misc/drupal.css stylesheet.
parent
951b553a
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/theme.inc
View file @
36da307e
...
...
@@ -25,9 +25,15 @@ function theme_header($title = "") {
$output
=
"<!DOCTYPE html PUBLIC
\"
-//W3C//DTD XHTML 1.0 Transitional//EN
\"
\"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
\"
>
\n
"
;
$output
.
=
"<html xmlns=
\"
http://www.w3.org/1999/xhtml
\"
>"
;
$output
.
=
"<head><title>"
.
$title
?
$title
:
variable_get
(
site_name
,
"drupal"
)
.
"</title>"
;
$output
.
=
"<head>"
;
$output
.
=
" <title>"
.
$title
?
$title
:
variable_get
(
site_name
,
"drupal"
)
.
"</title>"
;
$output
.
=
theme_head
(
$main
);
$output
.
=
"</head><body style=
\"
background-color: #fff; color: #000;
\"
"
.
theme
(
"onload_attribute"
)
.
"
\"
>"
;
$output
.
=
" <style type=
\"
text/css
\"
media=
\"
all
\"
>"
;
$output
.
=
" @import url(misc/drupal.css);"
;
$output
.
=
" </style>"
;
$output
.
=
" </head>"
;
$output
.
=
" <body style=
\"
background-color: #fff; color: #000;
\"
"
.
theme
(
"onload_attribute"
)
.
"
\"
>"
;
$output
.
=
"<table border=
\"
0
\"
cellspacing=
\"
4
\"
cellpadding=
\"
4
\"
><tr><td style=
\"
vertical-align: top; width: 170px;
\"
>"
;
$output
.
=
theme
(
"box"
,
t
(
"Navigation"
),
@
implode
(
"<br />"
,
link_page
()));
...
...
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