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
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

sanduhrs - July 3, 2008 - 10:44
Version:5.x-1.5» HEAD

Commited to DRUPAL-4.7, DRUPAL-5 and HEAD.
Thanks.

#2

sanduhrs - July 3, 2008 - 10:44
Assigned to:Anonymous» sanduhrs
Status:active» fixed

#3

Anonymous (not verified) - July 23, 2008 - 10:56
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.