theme_xml_icon
- Versions
- 4.6 – 6
theme_xml_icon($url)
Return code that emits an XML icon.
Related topics
Code
includes/theme.inc, line 810
<?php
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 