theme_site_map_rss_legend

  1. drupal
    1. 6 site_map.theme.inc function
    2. 7 site_map.theme.inc function
Drupal 7 theme_site_map_rss_legend()

Returns HTML for a site map feed icon legend.

1 theme call to theme_site_map_rss_legend()

File

sites/all/modules/site_map/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;
}