You are here

function _site_map_audio in Site map 5

Same name and namespace in other branches
  1. 8 site_map.module \_site_map_audio()
  2. 6.2 site_map.module \_site_map_audio()
  3. 6 site_map.module \_site_map_audio()
  4. 7 site_map.module \_site_map_audio()

File

./site_map.module, line 343
Original author: Nic Ivy Now maintained by by Fredrik Jonsson fredrik at combonet dot se

Code

function _site_map_audio() {
  if (module_exists('audio')) {
    $title = t('Audio');
    $output = l(t('Audio content'), 'audio') . (variable_get('site_map_show_rss_links', 1) ? ' ' . theme('site_map_feed_icon', url('audio/feed')) : '');
    $output = theme('box', $title, $output);
  }
  return $output;
}