- Patch #97907 by webchick: restore 'more help' links.

5.x
Dries Buytaert 2006-11-17 17:16:56 +00:00
parent 6cee2bc5e0
commit ad1c9e69d8
1 changed files with 3 additions and 3 deletions

View File

@ -517,9 +517,9 @@ function menu_get_active_help() {
$output .= $temp . "\n";
}
if (module_hook('help', 'page')) {
if (substr($path, 0, 6) == "admin/") {
if (module_invoke($name, 'help', 'admin/help#' . substr($path, 6))) {
$output .= theme("more_help_link", url('admin/help/' . substr($path, 6)));
if (arg(0) == "admin") {
if (module_invoke($name, 'help', 'admin/help#' . arg(2))) {
$output .= theme("more_help_link", url('admin/help/' . arg(2)));
}
}
}