From 2410cf51c8777d173d9a05ec514b6d7678539922 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Thu, 28 Feb 2002 10:52:23 +0000 Subject: - changed the access on the menu.create link to post content. http://www.drupal.org/node.php?id=91 --- modules/book.module | 2 +- modules/book/book.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/book.module b/modules/book.module index 76e7fd3d5..f49afab15 100644 --- a/modules/book.module +++ b/modules/book.module @@ -95,7 +95,7 @@ function book_link($type, $node = 0, $main = 0) { $links[] = "". t("collaborative book") .""; } - if ($type == "menu.create" && user_access("administer nodes")) { + if ($type == "menu.create" && user_access("post content")) { $links[] = "". t("create book page") .""; } diff --git a/modules/book/book.module b/modules/book/book.module index 76e7fd3d5..f49afab15 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -95,7 +95,7 @@ function book_link($type, $node = 0, $main = 0) { $links[] = "". t("collaborative book") .""; } - if ($type == "menu.create" && user_access("administer nodes")) { + if ($type == "menu.create" && user_access("post content")) { $links[] = "". t("create book page") .""; } -- cgit v1.2.3