theme_xml_icon

Versions
4.6 – 6
theme_xml_icon($url)

Return code that emits an XML icon.

For most use cases, this function has been superseded by theme_feed_icon().

See also

theme_feed_icon()

Parameters

$url The url of the feed.

Related topics

Code

includes/theme.inc, line 1522

<?php
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>';
  }
}
?>
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.