summaryrefslogtreecommitdiff
path: root/themes/chameleon/chameleon.theme
diff options
context:
space:
mode:
Diffstat (limited to 'themes/chameleon/chameleon.theme')
-rw-r--r--themes/chameleon/chameleon.theme5
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme
index 563103c74..a0f60a6ed 100644
--- a/themes/chameleon/chameleon.theme
+++ b/themes/chameleon/chameleon.theme
@@ -9,6 +9,7 @@
function chameleon_features() {
return array(
'logo',
+ 'toggle_favicon',
'toggle_name',
'toggle_slogan',
'toggle_primary_links',
@@ -18,6 +19,10 @@ function chameleon_features() {
function chameleon_page($content) {
$language = $GLOBALS['locale'];
+ if (theme_get_setting('toggle_favicon')) {
+ drupal_set_html_head('<link rel="shortcut icon" href="'. check_url(theme_get_setting('favicon')) .'" type="image/x-icon" />');
+ }
+
$title = drupal_get_title();
$output = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";