You are here

function site_map_page in Site map 6

Same name and namespace in other branches
  1. 5 site_map.module \site_map_page()
  2. 6.2 site_map.module \site_map_page()
  3. 7 site_map.module \site_map_page()

Menu callback for the site map.

1 string reference to 'site_map_page'
site_map_menu in ./site_map.module
Implements hook_menu().

File

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

Code

function site_map_page() {
  if (variable_get('site_map_css', 0) != 1) {
    drupal_add_css(drupal_get_path('module', 'site_map') . '/site_map.css');
  }
  return theme('site_map_display');
}