summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-11-10 09:03:53 +0000
committerDries Buytaert <dries@buytaert.net>2003-11-10 09:03:53 +0000
commit36da307e4567fa519ad38c0c13b9a4986adc47f8 (patch)
treeaba9aa93609caf6e0606fc82785c8e49a1ae5b94
parent951b553a9887df92d93ecc42e7e83ca568e26aae (diff)
downloadbrdo-36da307e4567fa519ad38c0c13b9a4986adc47f8.tar.gz
brdo-36da307e4567fa519ad38c0c13b9a4986adc47f8.tar.bz2
- Improvement: made sure that the example theme uses the misc/drupal.css stylesheet.
-rw-r--r--includes/theme.inc10
1 files changed, 8 insertions, 2 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index eadafe75a..59c83b245 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -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()));