From f104d3cc12134fc574373d6a643d9c84a317de44 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 26 Sep 2003 10:04:09 +0000 Subject: - Committed the admin menu integration patch. Thanks Adrian, Stefan and others. --- modules/queue.module | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'modules/queue.module') 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."))) ." (". queue_count() .")"; + if ($type == "system") { + if (user_access("access submission queue")) { + menu("queue", t("view submissions"), NULL, NULL, 1); + } } return $links ? $links : array(); -- cgit v1.2.3