| 5 theme.inc | theme_feed_icon($url) |
| 6 theme.inc | theme_feed_icon( |
| 7 theme.inc | theme_feed_icon($variables) |
| 8 theme.inc | theme_feed_icon($variables) |
Return code that emits an feed icon.
Parameters
$url: The url of the feed.
$title: A descriptive title of the feed.
Related topics
4 theme calls to theme_feed_icon()
File
- includes/
theme.inc, line 1611 - The theme system, which controls the output of Drupal.
Code
function theme_feed_icon($url, $title) {
if ($image = theme('image', 'misc/feed.png', t('Syndicate content'), $title)) {
return '<a href="' . check_url($url) . '" class="feed-icon">' . $image . '</a>';
}
}
Login or register to post comments