Commit 55a449f9 authored by Dries's avatar Dries

- 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.
parent 223c224d
......@@ -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"));
}
}
......
......@@ -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"));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment