diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-02-02 12:44:57 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-02-02 12:44:57 +0000 |
commit | 048bec139e022952d90c10b2ddb34f06dec607be (patch) | |
tree | 1a7d6101d8b2ea36671dc23ee56a88da64d95721 /themes/chameleon | |
parent | b0051893981780d7619c180aaa6a5fca7adfb039 (diff) | |
download | brdo-048bec139e022952d90c10b2ddb34f06dec607be.tar.gz brdo-048bec139e022952d90c10b2ddb34f06dec607be.tar.bz2 |
- Patch #13148 by Morbus: less globals.
Diffstat (limited to 'themes/chameleon')
-rw-r--r-- | themes/chameleon/chameleon.theme | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme index 52f278be4..44965ef06 100644 --- a/themes/chameleon/chameleon.theme +++ b/themes/chameleon/chameleon.theme @@ -22,7 +22,6 @@ function chameleon_regions() { } function chameleon_page($content) { - global $base_path; $language = $GLOBALS['locale']; if (theme_get_setting('toggle_favicon')) { @@ -43,7 +42,7 @@ function chameleon_page($content) { $output .= " <div id=\"header\">"; if ($logo = theme_get_setting('logo')) { - $output .= " <a href=\"$base_path\" title=\"". t('Home') ."\"><img src=\"$logo\" alt=\"". t('Home') ."\" /></a>"; + $output .= " <a href=\"". base_path() ."\" title=\"". t('Home') ."\"><img src=\"$logo\" alt=\"". t('Home') ."\" /></a>"; } if (theme_get_setting('toggle_name')) { $output .= " <h1 class=\"site-name title\">". l(variable_get('site_name', 'drupal'), ""). "</h1>"; |