summaryrefslogtreecommitdiff
path: root/modules/book.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-09-28 10:51:40 +0000
committerDries Buytaert <dries@buytaert.net>2003-09-28 10:51:40 +0000
commit2fe79310df8cbdcd9a749dc200ae004e37c72127 (patch)
tree91eb424e08524986357f29701927800daf3f9a13 /modules/book.module
parentfe09d5a7867e9f5294e23cb202def475c102fcbc (diff)
downloadbrdo-2fe79310df8cbdcd9a749dc200ae004e37c72127.tar.gz
brdo-2fe79310df8cbdcd9a749dc200ae004e37c72127.tar.bz2
- Rewrote the most of the menu system; this fixes Al's problem with the
"create content" link. - Manually merged the user module's new menu items. Al's patch did not apply. - Added some missing t()s.
Diffstat (limited to 'modules/book.module')
-rw-r--r--modules/book.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/book.module b/modules/book.module
index 5ac34dc67..eb9fd971c 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -79,10 +79,10 @@ function book_link($type, $node = 0, $main = 0) {
if ($type == "system") {
if (user_access("maintain books")) {
- menu("node/add/book",t("book page"), NULL, NULL,0);
- menu("admin/node/book", "books", NULL, NULL, 4);
- menu("admin/node/book/orphan", "orphan pages", NULL, NULL, 8);
- menu("admin/node/book/help", "help", NULL, NULL, 9);
+ menu("node/add/book", t("book page"), NULL, NULL,0);
+ menu("admin/node/book", t("books"), NULL, NULL, 4);
+ menu("admin/node/book/orphan", t("orphan pages"), NULL, NULL, 8);
+ menu("admin/node/book/help", t("help"), NULL, NULL, 9);
$result = db_query("SELECT n.nid, n.title FROM {node} n INNER JOIN {book} b ON n.nid = b.nid WHERE b.parent = 0 ORDER BY b.weight, n.title");
while ($book = db_fetch_object($result)) {