Index: theme.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/theme.inc,v retrieving revision 1.223 diff -U3 -r1.223 theme.inc --- theme.inc 30 Jan 2005 09:53:19 -0000 1.223 +++ theme.inc 8 Feb 2005 22:43:24 -0000 @@ -788,9 +788,12 @@ /** * Return code that emits an XML icon. */ -function theme_xml_icon($url) { - if ($image = theme('image', 'misc/xml.png', t('XML feed'), t('XML feed'))) { +function theme_xml_icon($url, $inline = NULL) { + if ($image = theme('image', 'misc/xml.png', t('XML feed'), t('XML feed')) && !$inline) { return '
'. $image. '
'; + } + elseif ($image = theme('image', 'misc/xml.png', t('XML feed'), t('XML feed'))){ + return ''. $image. ''; } }