diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-01-30 21:32:09 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-01-30 21:32:09 +0000 |
commit | 4ffb77baae95c35d4bf5936b86b856da19101bde (patch) | |
tree | 5ff3aabe19449aed6b775404293829468f4a0e19 /themes | |
parent | 8b8a585ab2b76e7993d1d6ed4e2756d88df6036b (diff) | |
download | brdo-4ffb77baae95c35d4bf5936b86b856da19101bde.tar.gz brdo-4ffb77baae95c35d4bf5936b86b856da19101bde.tar.bz2 |
- Patch #13148 by Morbus: further base path fixes / clean-ups.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/chameleon/chameleon.theme | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme index bd6d865c6..917c63ec8 100644 --- a/themes/chameleon/chameleon.theme +++ b/themes/chameleon/chameleon.theme @@ -22,6 +22,7 @@ function chameleon_regions() { } function chameleon_page($content) { + global $base_path; $language = $GLOBALS['locale']; if (theme_get_setting('toggle_favicon')) { @@ -35,14 +36,14 @@ function chameleon_page($content) { $output .= "<head>\n"; $output .= " <title>". ($title ? strip_tags($title) ." | ". variable_get("site_name", "drupal") : variable_get("site_name", "drupal") ." | ". variable_get("site_slogan", "")) ."</title>\n"; $output .= drupal_get_html_head(); - $output .= " <link rel=\"stylesheet\" type=\"text/css\" href=\"themes/chameleon/common.css\" />\n"; + theme('add_style', 'themes/chameleon/common.css'); $output .= theme_get_styles(); $output .= "</head>"; $output .= "<body>\n"; $output .= " <div id=\"header\">"; if ($logo = theme_get_setting('logo')) { - $output .= " <a href=\"./\" title=\"Home\"><img src=\"$logo\" alt=\"Home\" /></a>"; + $output .= " <a href=\"$base_path\" title=\"Home\"><img src=\"$logo\" alt=\"Home\" /></a>"; } if (theme_get_setting('toggle_name')) { $output .= " <h1 class=\"site-name title\">". l(variable_get('site_name', 'drupal'), ""). "</h1>"; |