Theme call prevents theming
jonathan_hunt - July 3, 2008 - 04:58
| Project: | URL Icon |
| Version: | HEAD |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | sanduhrs |
| Status: | closed |
Jump to:
Description
urlicon_replace() contains a theme call that is hardcoded, so prevents overriding via the theme system.
$link = theme_urlicon($match[3], $favicon, $match[1], array('alt' => '', 'title' => t('favicon'), 'class' => 'urlicon ui-'. $domain));should be replaced with
$link = theme('urlicon', $match[3], $favicon, $match[1], array('alt' => '', 'title' => t('favicon'), 'class' => 'urlicon ui-'. $domain));
#1
Commited to DRUPAL-4.7, DRUPAL-5 and HEAD.
Thanks.
#2
#3
Automatically closed -- issue fixed for two weeks with no activity.