function theme_wikitools_page_found in Wikitools 5
Same name and namespace in other branches
- 6 wikitools.pages.inc \theme_wikitools_page_found()
 - 7 wikitools.pages.inc \theme_wikitools_page_found()
 
1 theme call to theme_wikitools_page_found()
- wikitools_handle_request in ./
wikitools.module  - Menu callback for wiki path. This function is called if a page without an alias is called below the wiki path.
 
File
- ./
wikitools.module, line 761  - A non-intrusive module to have some wiki-like behaviour.
 
Code
function theme_wikitools_page_found($page_name, $found_nodes) {
  $output = '<p>' . t('Multiple pages have this name:') . '</p>';
  foreach ($found_nodes as $info) {
    $node = node_load($info->nid);
    $output .= node_view($node, TRUE, FALSE, FALSE);
  }
  $output .= theme('wikitools_search_notice', $page_name);
  if (!wikitools_enforce_unique_titles()) {
    $output .= theme('wikitools_create_notice', $page_name);
  }
  return $output;
}