From 1a5fcacdd9d6831a01d8eab8f49674c59c25cb80 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 9 Oct 2003 18:53:22 +0000 Subject: - Committed part 3 of Michael's help system improvements: removed the $help parameter from the menu() function. --- modules/comment/comment.module | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) (limited to 'modules/comment') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index a03f236d9..9a590471d 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1,12 +1,11 @@ When enabled, the Drupal comment module creates a discussion board for each Drupal node. Users can post comments to discuss a forum topic, weblog post, collaborative book page, etc.

"; $output .= "

User control of comment display

"; $output .= "

Attached to each comment board is a control panel for customizing the way that comments are displayed. Users can control the chronological ordering of posts (newest or oldest first) and the number of posts to display on each page. Additional settings include:

"; @@ -843,21 +842,21 @@ function comment_link($type, $node = 0, $main = 0) { if ($type == "system") { if (user_access("administer comments")) { - menu("admin/comment", t("comments"), "comment_admin", comment_help("admin/comment"), 1); - menu("admin/comment/comments", t("overview"), NULL, comment_help("admin/comment/comments"), 2); - menu("admin/comment/comments/0", t("new/updated"), "comment_admin", comment_help("admin/comment/comments/0"), 1); - menu("admin/comment/comments/1", t("approval queue"), "comment_admin", comment_help("admin/comment/comments/1"), 2); - menu("admin/comment/search", t("search"), "comment_admin", comment_help("admin/comment/search"), 8); - menu("admin/comment/help", t("help"), "comment_help", NULL, 9); - menu("admin/comment/edit", t("edit comment"), "comment_admin", NULL, 0, 1); + menu("admin/comment", t("comments"), "comment_admin", 1); + menu("admin/comment/comments", t("overview"), NULL, 2); + menu("admin/comment/comments/0", t("new/updated"), "comment_admin", 1); + menu("admin/comment/comments/1", t("approval queue"), "comment_admin", 2); + menu("admin/comment/search", t("search"), "comment_admin", 8); + menu("admin/comment/help", t("help"), "comment_help", 9); + menu("admin/comment/edit", t("edit comment"), "comment_admin", 0, 1); // comment settings: if (user_access("administer moderation")) { - menu("admin/comment/moderation", t("moderation"), NULL, comment_help("admin/comment/moderation"), 3); - menu("admin/comment/moderation/votes", t("votes"), "comment_admin", comment_help("admin/comment/moderation/votes")); - menu("admin/comment/moderation/matrix", t("matrix"), "comment_admin", comment_help("admin/comment/moderation/matrix")); - menu("admin/comment/moderation/filters", t("thresholds"), "comment_admin", comment_help("admin/comment/moderation/filters")); - menu("admin/comment/moderation/roles", t("initial scores"), "comment_admin", comment_help("admin/comment/roles"), 6); + menu("admin/comment/moderation", t("moderation"), NULL, 3); + menu("admin/comment/moderation/votes", t("votes"), "comment_admin"); + menu("admin/comment/moderation/matrix", t("matrix"), "comment_admin"); + menu("admin/comment/moderation/filters", t("thresholds"), "comment_admin"); + menu("admin/comment/moderation/roles", t("initial scores"), "comment_admin", 6); } } } -- cgit v1.2.3