You are here

function theme_feed_icon in Drupal 4

Same name and namespace in other branches
  1. 5 includes/theme.inc \theme_feed_icon()
  2. 6 includes/theme.inc \theme_feed_icon()
  3. 7 includes/theme.inc \theme_feed_icon()

Return code that emits an feed icon.

Related topics

7 theme calls to theme_feed_icon()
blog_page_last in modules/blog.module
Displays a Drupal page containing recent blog entries of all users.
blog_page_user in modules/blog.module
Displays a Drupal page containing recent blog entries of a given user.
node_block in modules/node.module
Implementation of hook_block().
taxonomy_term_page in modules/taxonomy.module
Menu callback; displays all nodes associated with a term.
theme_aggregator_feed in modules/aggregator.module
Format a news feed.

... See full list

File

includes/theme.inc, line 904
The theme system, which controls the output of Drupal.

Code

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>';
  }
}