function theme_wikitools_search_notice in Wikitools 6
Same name and namespace in other branches
- 5 wikitools.module \theme_wikitools_search_notice()
- 7 wikitools.pages.inc \theme_wikitools_search_notice()
3 theme calls to theme_wikitools_search_notice()
- theme_wikitools_page_does_not_exist in ./
wikitools.pages.inc - theme_wikitools_page_found in ./
wikitools.pages.inc - Theme functions
- theme_wikitools_page_moved in ./
wikitools.pages.inc
File
- ./
wikitools.pages.inc, line 159 - Page callbacks for wikitools pages.
Code
function theme_wikitools_search_notice($page_name) {
$output = '';
if (module_exists('search') && user_access('search content') && wikitools_node_search()) {
$output .= '<p>' . t('You can <a href="@url">search for %page_name</a>', array(
'@url' => wikitools_search_url($page_name),
'%page_name' => $page_name,
)) . '</p>';
}
return $output;
}