function theme_xml_icon in Drupal 4
Same name and namespace in other branches
- 5 includes/theme.inc \theme_xml_icon()
- 6 includes/theme.inc \theme_xml_icon()
Return code that emits an XML icon.
Related topics
1 theme call to theme_xml_icon()
- aggregator_page_sources in modules/
aggregator.module - Menu callback; displays all the feeds used by the aggregator.
File
- includes/
theme.inc, line 895 - The theme system, which controls the output of Drupal.
Code
function theme_xml_icon($url) {
if ($image = theme('image', 'misc/xml.png', t('XML feed'), t('XML feed'))) {
return '<a href="' . check_url($url) . '" class="xml-icon">' . $image . '</a>';
}
}