diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2011-08-25 09:30:55 -0700 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2011-08-25 09:30:55 -0700 |
commit | 647cadfb03e7a1a837c483d437de690231404fcd (patch) | |
tree | 4629f9fc1efd6429bafe9870b3896df70c165cc8 /views | |
parent | 68c358613cd9fdabd8c6d599223aa0cfb1723138 (diff) | |
download | elgg-647cadfb03e7a1a837c483d437de690231404fcd.tar.gz elgg-647cadfb03e7a1a837c483d437de690231404fcd.tar.bz2 |
Fixes #3662. Pulled out shortcut_icon to its own view for easier overriding.
Diffstat (limited to 'views')
-rw-r--r-- | views/default/page/elements/head.php | 2 | ||||
-rw-r--r-- | views/default/page/elements/shortcut_icon.php | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/views/default/page/elements/head.php b/views/default/page/elements/head.php index 048edec40..8776f07a7 100644 --- a/views/default/page/elements/head.php +++ b/views/default/page/elements/head.php @@ -40,7 +40,7 @@ $release = get_version(true); <meta name="ElggRelease" content="<?php echo $release; ?>" /> <meta name="ElggVersion" content="<?php echo $version; ?>" /> <title><?php echo $title; ?></title> - <link rel="SHORTCUT ICON" href="<?php echo elgg_get_site_url(); ?>_graphics/favicon.ico" /> + <?php echo elgg_view('page/elements/shortcut_icon', $vars); ?> <?php foreach ($css as $link) { ?> <link rel="stylesheet" href="<?php echo $link; ?>" type="text/css" /> diff --git a/views/default/page/elements/shortcut_icon.php b/views/default/page/elements/shortcut_icon.php new file mode 100644 index 000000000..12fe9c1f8 --- /dev/null +++ b/views/default/page/elements/shortcut_icon.php @@ -0,0 +1,6 @@ +<?php +/** + * Displays the default shortcut icon + */ +?> +<link rel="SHORTCUT ICON" href="<?php echo elgg_get_site_url(); ?>_graphics/favicon.ico" />
\ No newline at end of file |