function theme_wikitools_page_found in Wikitools 6
Same name and namespace in other branches
- 5 wikitools.module \theme_wikitools_page_found()
- 7 wikitools.pages.inc \theme_wikitools_page_found()
Theme functions
1 theme call to theme_wikitools_page_found()
- wikitools_handle_request in ./
wikitools.pages.inc - Menu callback for wiki path. This function is called if a page without an alias is called below the wiki path.
File
- ./
wikitools.pages.inc, line 120 - Page callbacks for wikitools pages.
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;
}