You are here

function theme_wikitools_page_does_not_exist in Wikitools 5

Same name and namespace in other branches
  1. 6 wikitools.pages.inc \theme_wikitools_page_does_not_exist()
  2. 7 wikitools.pages.inc \theme_wikitools_page_does_not_exist()
1 theme call to theme_wikitools_page_does_not_exist()
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 784
A non-intrusive module to have some wiki-like behaviour.

Code

function theme_wikitools_page_does_not_exist($page_name) {
  $output = '<p>' . t('The page %page_name does not exist.', array(
    '%page_name' => $page_name,
  )) . '</p>';
  $output .= theme('wikitools_search_notice', $page_name);
  $output .= theme('wikitools_create_notice', $page_name);
  return $output;
}