Returns HTML for a feed icon.
$variables: An associative array containing:
function theme_feed_icon($variables) {
$text = t('Subscribe to !feed-title', array(
'!feed-title' => $variables['title'],
));
if ($image = theme('image', array(
'path' => 'misc/feed.png',
'width' => 16,
'height' => 16,
'alt' => $text,
))) {
return l($image, $variables['url'], array(
'html' => TRUE,
'attributes' => array(
'class' => array(
'feed-icon',
),
'title' => $text,
),
));
}
}