- Patch #10026 by Al: bugfix: don't show the 'more help' links when the help module is disabled.
parent
5f9bea269c
commit
1b1bcc35ac
|
@ -425,9 +425,11 @@ function menu_get_active_help() {
|
||||||
if ($temp = module_invoke($name, 'help', $path)) {
|
if ($temp = module_invoke($name, 'help', $path)) {
|
||||||
$output .= $temp . "\n";
|
$output .= $temp . "\n";
|
||||||
}
|
}
|
||||||
if (substr($path, 0, 6) == "admin/") {
|
if (module_hook('help', 'page')) {
|
||||||
if (module_invoke($name, 'help', 'admin/help#' . substr($path, 6))) {
|
if (substr($path, 0, 6) == "admin/") {
|
||||||
$output .= theme("more_help_link", url('admin/help/' . substr($path, 6)));
|
if (module_invoke($name, 'help', 'admin/help#' . substr($path, 6))) {
|
||||||
|
$output .= theme("more_help_link", url('admin/help/' . substr($path, 6)));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue