You are here

function _site_map_video in Site map 5

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

File

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

Code

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