summaryrefslogtreecommitdiff
path: root/modules/help
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-01-06 19:51:01 +0000
committerDries Buytaert <dries@buytaert.net>2003-01-06 19:51:01 +0000
commit89b2069e4dcc160835eefa0ba11da550c31bdafc (patch)
tree773450f8397097adf4c186eabb8bc0ff53c0ea77 /modules/help
parent97858f9b2ebf7f32f00ab7688dc2eb6b3371207b (diff)
downloadbrdo-89b2069e4dcc160835eefa0ba11da550c31bdafc.tar.gz
brdo-89b2069e4dcc160835eefa0ba11da550c31bdafc.tar.bz2
- Clean URL patch.
Diffstat (limited to 'modules/help')
-rw-r--r--modules/help/help.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/help/help.module b/modules/help/help.module
index 856fd83df..5bc931cec 100644
--- a/modules/help/help.module
+++ b/modules/help/help.module
@@ -8,7 +8,7 @@ function help_system($field){
function help_link($type) {
if ($type == "admin") {
- menu_add("help", "admin.php?mod=help", "Help", NULL, NULL, 9);
+ menu_add("help", url("admin/help"), "Help", NULL, NULL, 9);
}
}
@@ -16,7 +16,7 @@ function help_admin() {
foreach (module_list() as $name) {
if (module_hook($name, "help")) {
- $links[] = la($name, array("mod" => "help"), $name);
+ $links[] = l($name, "admin/help#$name");
}
}