theme_xml_icon

5 theme.inc theme_xml_icon($url)
6 theme.inc theme_xml_icon($url)

Return code that emits an XML icon.

Related topics

7 theme calls to theme_xml_icon()

File

includes/theme.inc, line 810
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 '<div class="xml-icon"><a href="' . check_url($url) . '">' . $image . '</a></div>';
  }
}
Login or register to post comments