theme_feed_icon

Versions
4.7 – 5
theme_feed_icon($url)
6
theme_feed_icon($url, $title)
7
theme_feed_icon($variables)

Return code that emits an feed icon.

Related topics

Code

includes/theme.inc, line 904

<?php
function theme_feed_icon($url) {
  if ($image = theme('image', 'misc/feed.png', t('Syndicate content'), t('Syndicate content'))) {
    return '<a href="'. check_url($url) .'" class="feed-icon">'. $image. '</a>';
  }
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.