Commit 42abfd00 authored by Dries's avatar Dries

- Commited kika's usability patch for the help module.

parent 6f9b79b8
......@@ -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");
}
}
......
......@@ -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");
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment