You are here

function theme_views_atom_feed_icon in Views Atom 6

Same name and namespace in other branches
  1. 7 views_atom.theme.inc \theme_views_atom_feed_icon()

Theme function for feed icon.

File

theme/views_atom.theme.inc, line 162

Code

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