diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-09-26 10:04:09 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-09-26 10:04:09 +0000 |
commit | f104d3cc12134fc574373d6a643d9c84a317de44 (patch) | |
tree | 838bcdb9cff17d43ec39a5ebdfd3274916839580 /modules/tracker/tracker.module | |
parent | 645d026e098a4dccef1bbbf0e40b9eecc8599daa (diff) | |
download | brdo-f104d3cc12134fc574373d6a643d9c84a317de44.tar.gz brdo-f104d3cc12134fc574373d6a643d9c84a317de44.tar.bz2 |
- Committed the admin menu integration patch. Thanks Adrian, Stefan and others.
Diffstat (limited to 'modules/tracker/tracker.module')
-rw-r--r-- | modules/tracker/tracker.module | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index 628d0abd2..bd5035c4e 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -18,8 +18,10 @@ function tracker_link($type) { $links = array(); - if ($type == "menu.view" && user_access("access content")) { - $links[] = l(t("view recent posts"), "tracker", array("title" => t("Display an overview of the recent posts."))); + if ($type == "system") { + if (user_access("access content")) { + menu("tracker", t("view recent posts"), NULL, NULL, 1); + } } return $links; @@ -106,4 +108,4 @@ function tracker_page() { } } -?>
\ No newline at end of file +?> |