| Versionen | |
|---|---|
| drupal6 | theme_xml_icon($url) |
Return code that emits an XML icon.
For most use cases, this function has been superseded by theme_feed_icon().
$url The url of the feed.
includes/
<?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>';
}
}
?>
Kommentare
Kommentar hinzufügen