theme_xml_icon

  1. drupal
    1. 4.7
    2. 5
    3. 6 theme.inc
Versions
4.7 – 6 theme_xml_icon($url)

Return code that emits an XML icon.

Related topics

Code

includes/theme.inc, line 896

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