summaryrefslogtreecommitdiff
path: root/modules/help
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-12-24 15:40:32 +0000
committerDries Buytaert <dries@buytaert.net>2002-12-24 15:40:32 +0000
commit22fa9ed70a512feb6d603d24218e9a7db7610a0e (patch)
tree16b69a177c1645a7d3474bfe06e0571d7280b5d9 /modules/help
parentca07ff36d600e778a71dbe52dce9e82c3f1ebd92 (diff)
downloadbrdo-22fa9ed70a512feb6d603d24218e9a7db7610a0e.tar.gz
brdo-22fa9ed70a512feb6d603d24218e9a7db7610a0e.tar.bz2
- Refactored the administration pages.
Diffstat (limited to 'modules/help')
-rw-r--r--modules/help/help.module6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/help/help.module b/modules/help/help.module
index 3974f6e74..856fd83df 100644
--- a/modules/help/help.module
+++ b/modules/help/help.module
@@ -8,10 +8,8 @@ function help_system($field){
function help_link($type) {
if ($type == "admin") {
- $links[] = la(t("help"), array("mod" => "help"));
+ menu_add("help", "admin.php?mod=help", "Help", NULL, NULL, 9);
}
-
- return $links ? $links : array();
}
function help_admin() {
@@ -22,7 +20,7 @@ function help_admin() {
}
}
- print "<small>". implode(" | ", $links) ."</small><hr />";
+ print "<small>". implode(" &middot; ", $links) ."</small><hr />";
foreach (module_list() as $name) {
if (module_hook($name, "help")) {