From 55a449f97264019419f1e867bfcac4cc4a088102 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 2 Mar 2003 20:50:40 +0000 Subject: - This commit fixes URLs, and makes the "edit book outline" link at the bottom of an "/admin/node/edit/n" page work properly. Patch by Al. --- modules/book.module | 4 ++-- modules/book/book.module | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/book.module b/modules/book.module index 31182a3a8..56ab4e34a 100644 --- a/modules/book.module +++ b/modules/book.module @@ -256,7 +256,7 @@ function book_node_link($node = 0) { $output .= status(t("removed the node form the book.")); } - $output .= "

". t("Edit book outline") ."

"; + $output .= "

". t("Edit book outline for node ") . "$node->title

"; if ($edit["nid"]) { $page = db_fetch_object(db_query("SELECT * FROM book WHERE nid = '%d'", $node->nid)); @@ -279,7 +279,7 @@ function book_node_link($node = 0) { $output .= form_hidden("nid", $node->nid); - return form($output, "post", url("admin/book/outline")); + return form($output, "post", url("admin/node/book")); } } diff --git a/modules/book/book.module b/modules/book/book.module index 31182a3a8..56ab4e34a 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -256,7 +256,7 @@ function book_node_link($node = 0) { $output .= status(t("removed the node form the book.")); } - $output .= "

". t("Edit book outline") ."

"; + $output .= "

". t("Edit book outline for node ") . "$node->title

"; if ($edit["nid"]) { $page = db_fetch_object(db_query("SELECT * FROM book WHERE nid = '%d'", $node->nid)); @@ -279,7 +279,7 @@ function book_node_link($node = 0) { $output .= form_hidden("nid", $node->nid); - return form($output, "post", url("admin/book/outline")); + return form($output, "post", url("admin/node/book")); } } -- cgit v1.2.3