can the urlicon appear before the link? (please)

i am capable of applying a patch, but my php is lacking if i'm to try and understand this code and change the behavior myself..

thanks again for this module
i appreciate ur time and consideration

CommentFileSizeAuthor
#1 urlicon_theme_01.patch2.14 KBsanduhrs

Comments

sanduhrs’s picture

Assigned: Unassigned » sanduhrs
Status: Active » Fixed
StatusFileSize
new2.14 KB

Added better themeing support to DRUPAL-5 and HEAD branches.
Just applied the attached patch.

Please update and add the following to your theme's template.php (create it if needed):

/**
 * Return a themed link with a favicon.
 */
function phptemplate_urlicon($text, $favicon, $path, $attributes = array()) {
  $favicon = '<img src="'. $favicon .'" '. drupal_attributes($attributes) .' />';
  return l($favicon .' '. $text, $path, array(), NULL, NULL, TRUE, TRUE);
}

Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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