From 66e1bbfb937cab81c5943c264ff52208b0a71286 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Thu, 23 May 2002 14:14:48 +0000 Subject: - pending user accounts will not be notified to the site_email. - fixed access checks on the register form, do this before you enter the _save function. If registrations are disabled the register link will no longer show (again). - changed » to », using the names of entities are better than the numbers. - fixed user information being set when account is registered (properly this time, really!) - reversed the if(!...) commit. - node_add specifies more defaults. - added link to blog entries from user page. --- modules/book.module | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'modules/book.module') diff --git a/modules/book.module b/modules/book.module index 055b3681e..f6dab9d06 100644 --- a/modules/book.module +++ b/modules/book.module @@ -170,13 +170,7 @@ function book_delete(&$node) { function book_form(&$node, &$help, &$error) { global $user, $op; - if (!$node->status) { - $node->status = 1; - $node->moderate = 1; - $node->comment = 2; - } - - $output .= form_select(t("Parent"), "parent", $node->parent, book_toc(), t("The parent subject or category the page belongs in.")); + $output = form_select(t("Parent"), "parent", $node->parent, book_toc(), t("The parent subject or category the page belongs in.")); if ($node->format) { if ($op != t("Preview")) { -- cgit v1.2.3