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/queue.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/queue.module')
-rw-r--r-- | modules/queue.module | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/queue.module b/modules/queue.module index aa4cf30be..50745ac16 100644 --- a/modules/queue.module +++ b/modules/queue.module @@ -42,8 +42,10 @@ function queue_perm() { } function queue_link($type) { - if ($type == "menu.view" && user_access("access submission queue")) { - $links[] = l(t("view submissions"), "queue", array("title" => t("Moderate the content in the submission queue."))) ." (<span class=\"queue-user-numeral\">". queue_count() ."</span>)"; + if ($type == "system") { + if (user_access("access submission queue")) { + menu("queue", t("view submissions"), NULL, NULL, 1); + } } return $links ? $links : array(); |