You are here

function _site_map_faq in Site map 6

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

Returns FAQ if faq module is enabled.

1 call to _site_map_faq()
theme_site_map_display in ./site_map.module
Return a themed site map.

File

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

Code

function _site_map_faq() {
  $output = '';
  if (module_exists('faq')) {
    $title = variable_get('faq_title', t('Frequently Asked Questions'));
    $output = faq_get_faq_list();
    $output = theme('site_map_box', $title, $output, 'sitemap-faq');
  }
  return $output;
}