From 47daf7f00649956aed14dc4e6aa2145bb4c87b2a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 12 Jan 2002 12:51:21 +0000 Subject: - Added some more explanations. --- modules/book.module | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/book.module') diff --git a/modules/book.module b/modules/book.module index 8a8464bb2..7bcb0d2ef 100644 --- a/modules/book.module +++ b/modules/book.module @@ -82,9 +82,9 @@ function book_save($op, $node) { /* ** If a node administrator updates a book page, we don't create a ** new revision unless we are explicitly instructed to. If a node - ** administrator updates a book page using the "update this book - ** page"-link (like regular users do) then he'll be treated as a - ** regular user. + ** administrator updates a book page using the "edit this page" + ** link (like regular users do) then he'll be treated as a regular + ** user. */ return array("format", "parent", "weight"); @@ -103,7 +103,7 @@ function book_link($type, $node = 0, $main = 0) { } if ($type == "node" && $node->type == "book" && book_access("update", $node)) { - $links[] = "nid\" title=\"". t("Suggest an update for this book page.") ."\">". t("update this book page") .""; + $links[] = "nid\" title=\"". t("Suggest an update for this book page.") ."\">". t("edit this page") .""; } return $links ? $links : array(); @@ -136,7 +136,7 @@ function book_load($node) { /* ** We set the revision field to indicate that we have to create ** a new revision when updating this book page. We enable this - ** always such that the "update this book page"-links appear. + ** always such that the "edit this page"-links appear. */ $book->revision = 1; @@ -402,7 +402,7 @@ function book_view($node, $main = 0) { $output .= "
"; $output .= " ". ($prev ? "nid\" title=\"". t("View the previous page in this book.") ."\">". t("previous") ."" : t("previous")) ."index". ($next ? "nid\" title=\"". t("View the next page in this book.") ."\">". t("next") ."" : t("next")) .""; - $output .= " ". ($prev ? "". check_output($prev->title) ."" : " ") ."". ($node->parent ? "parent\" title=\"". t("View the parent section.") ."\">". t("up") ."" : t("up")) ."". ($next ? "". check_output($next->title) ."" : " ") .""; + $output .= " ". ($prev ? "". check_output($prev->title) ."" : " ") ."". ($node->parent ? "parent\" title=\"". t("View this page's parent section.") ."\">". t("up") ."" : t("up")) ."". ($next ? "". check_output($next->title) ."" : " ") .""; $output .= "
"; $output .= "
". $theme->links(link_node($node, $main)) ."
"; $output .= ""; -- cgit v1.2.3