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/node.module | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'modules/node.module') diff --git a/modules/node.module b/modules/node.module index 65714a1e3..45ff4dbb7 100644 --- a/modules/node.module +++ b/modules/node.module @@ -1,14 +1,13 @@ Nodes"; $output .= "

The core of the Drupal system is the node. All of the contents of the system are placed in nodes, or extensions of nodes."; $output .= "A base node contains:

"; @@ -560,14 +559,14 @@ function node_link($type, $node = 0, $main = 0) { } if ($type == "system") { - menu("node/add", t("create content"), NULL, NULL, 1); + menu("node/add", t("create content"), NULL, 1); if (user_access("administer nodes")) { - menu("admin/node", t("content"), "node_admin", node_help("admin/node")); - menu("admin/node/search", t("search"), "node_admin", node_help("admin/node/search"), 8); - menu("admin/node/help", t("help"), "node_help", NULL, 9); - menu("admin/node/edit", t("edit post"), "node_admin", NULL, 0, 1); - menu("admin/node/settings", t("settings"), "node_admin", node_help("admin/node/settings"), 8); + menu("admin/node", t("content"), "node_admin"); + menu("admin/node/search", t("search"), "node_admin", 8); + menu("admin/node/help", t("help"), "node_help", 9); + menu("admin/node/edit", t("edit post"), "node_admin", 0, 1); + menu("admin/node/settings", t("settings"), "node_admin", 8); } } -- cgit v1.2.3