You are here

function theme_site_map_rss_legend in Site map 7

Same name and namespace in other branches
  1. 8 site_map.theme.inc \theme_site_map_rss_legend()
  2. 6.2 site_map.theme.inc \theme_site_map_rss_legend()

Returns HTML for a site map feed icon legend.

1 theme call to theme_site_map_rss_legend()
template_preprocess_site_map in includes/site_map.theme.inc
Preprocesses the variables for site-map.tpl.php.

File

includes/site_map.theme.inc, line 13
site_map.theme.inc

Code

function theme_site_map_rss_legend() {
  $output = '<p><strong>' . t('Legend:') . '</strong><br />';
  $output .= '<span class="rss">' . theme('site_map_feed_icon', array(
    'type' => 'node',
  )) . '</span> ' . t('Link to a content RSS feed');
  $output .= '<br /><span class="rss">' . theme('site_map_feed_icon', array(
    'type' => 'comment',
  )) . '</span> ' . t('Link to a comment RSS feed');
  $output .= '</p>';
  return $output;
}