You are here

function theme_views_rss_feed_icon in Views RSS 6

Same name and namespace in other branches
  1. 7 views/views_rss_views_fields.theme.inc \theme_views_rss_feed_icon()

Theme function for feed icon.

File

views/views_rss_views_fields.theme.inc, line 88

Code

function theme_views_rss_feed_icon($url, $title, $icon) {
  if ($image = theme('image', $icon, t('Download RSS Feed'), $title)) {
    return '<a href="' . check_url($url) . '" class="feed-icon">' . $image . '</a>';
  }
}