summaryrefslogtreecommitdiff
path: root/modules/help
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-08-15 10:24:41 +0000
committerDries Buytaert <dries@buytaert.net>2002-08-15 10:24:41 +0000
commit42abfd001cb68aad276442940f0e9cc28e078021 (patch)
treea5f6a2a239f917bdd29195b868d591c14e0cd892 /modules/help
parent6f9b79b826cb09bb23a94c75276c5210ceffdcf6 (diff)
downloadbrdo-42abfd001cb68aad276442940f0e9cc28e078021.tar.gz
brdo-42abfd001cb68aad276442940f0e9cc28e078021.tar.bz2
- Commited kika's usability patch for the help module.
Diffstat (limited to 'modules/help')
-rw-r--r--modules/help/help.module11
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/help/help.module b/modules/help/help.module
index 423ac662c..ad72396c6 100644
--- a/modules/help/help.module
+++ b/modules/help/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");
}
}