diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-08-15 10:24:41 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-08-15 10:24:41 +0000 |
commit | 42abfd001cb68aad276442940f0e9cc28e078021 (patch) | |
tree | a5f6a2a239f917bdd29195b868d591c14e0cd892 /modules/help.module | |
parent | 6f9b79b826cb09bb23a94c75276c5210ceffdcf6 (diff) | |
download | brdo-42abfd001cb68aad276442940f0e9cc28e078021.tar.gz brdo-42abfd001cb68aad276442940f0e9cc28e078021.tar.bz2 |
- Commited kika's usability patch for the help module.
Diffstat (limited to 'modules/help.module')
-rw-r--r-- | modules/help.module | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/help.module b/modules/help.module index 423ac662c..ad72396c6 100644 --- a/modules/help.module +++ b/modules/help.module @@ -15,9 +15,18 @@ function help_link($type) { } function help_admin() { + + foreach (module_list() as $name) { + if (module_hook($name, "help")) { + $links[] = la($name, array("mod" => "help"), $name); + } + } + + print "<small>". implode(" - ", $links) ."</small><hr />"; + foreach (module_list() as $name) { if (module_hook($name, "help")) { - print "<h2>". ucfirst($name) ." module</h2>"; + print "<h2><a name=\"$name\">". ucfirst($name) ." module</a></h2>"; print module_invoke($name, "help"); } } |