summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-03-02 20:50:40 +0000
committerDries Buytaert <dries@buytaert.net>2003-03-02 20:50:40 +0000
commit55a449f97264019419f1e867bfcac4cc4a088102 (patch)
treece341991dba8463c0ca3003be89443a1c9f3fd29
parent223c224d43f2e9eb3172696bcf521d93420aca93 (diff)
downloadbrdo-55a449f97264019419f1e867bfcac4cc4a088102.tar.gz
brdo-55a449f97264019419f1e867bfcac4cc4a088102.tar.bz2
- 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.
-rw-r--r--modules/book.module4
-rw-r--r--modules/book/book.module4
2 files changed, 4 insertions, 4 deletions
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 .= "<h3>". t("Edit book outline") ."</h3>";
+ $output .= "<h3>". t("Edit book outline for node <i>") . "$node->title</i></h3>";
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 .= "<h3>". t("Edit book outline") ."</h3>";
+ $output .= "<h3>". t("Edit book outline for node <i>") . "$node->title</i></h3>";
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"));
}
}