diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-09-28 17:53:04 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-09-28 17:53:04 +0000 |
commit | 32e8d77cd6872b98f5fe00f35b6d124a28a977f0 (patch) | |
tree | e34ba4b39c6db6f62f1c1a237e0d4dcc682f3028 /modules/tracker/tracker.module | |
parent | b8416f613a0db27c63aa92321a5cb537beb46c54 (diff) | |
download | brdo-32e8d77cd6872b98f5fe00f35b6d124a28a977f0.tar.gz brdo-32e8d77cd6872b98f5fe00f35b6d124a28a977f0.tar.bz2 |
- Associate a callback with the menu links! (This callback is not yet being
called but will be as soon the remaining links have been transformed to use
the menu system.)
- Made sure the menu does not render links with no callback and no children.
Like this, the 'create content' link is not being shown when the user has
no permission to add any content.
Diffstat (limited to 'modules/tracker/tracker.module')
-rw-r--r-- | modules/tracker/tracker.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index ff6f62df4..3c98fa125 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -20,7 +20,7 @@ function tracker_link($type) { if ($type == "system") { if (user_access("access content")) { - menu("tracker", t("recent posts"), NULL, NULL, 1); + menu("tracker", t("recent posts"), "tracker_page", NULL, 1); } } |