From b86e23216e6d6d6c9ebb0efa0d29e9b4418d2e09 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Sun, 12 May 2002 18:16:50 +0000 Subject: [PATCH] - fixed some nav links. --- modules/book.module | 4 ++-- modules/book/book.module | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/book.module b/modules/book.module index d7564035817..538f6395772 100644 --- a/modules/book.module +++ b/modules/book.module @@ -406,8 +406,8 @@ function book_view($node, $main = 0) { } $output .= "
"; - $output .= " ". ($prev ? l(t("previous"), array("id" => $prev->nid), "", array("title" => t("View the previous page in this book."))) : t("previous")) ."". lm(t("index"), array("mod" => "book"), t("View this book's table of contents.")) ."". ($next ? l(t("next"), array("id" => $next->nid), "", array("title" => t("View the next page in this book."))) : t("next")) .""; - $output .= " ". ($prev ? "". check_output($prev->title) ."" : " ") ."". ($node->parent ? l(t("up"), array("id" => $node->parent), "", array("title" => t("View this page's parent section."))) : t("up")) ."". ($next ? "". check_output($next->title) ."" : " ") .""; + $output .= " ". ($prev ? l(t("previous"), array("id" => $prev->nid), "node", array("title" => t("View the previous page in this book."))) : t("previous")) ."". lm(t("index"), array("mod" => "book"), t("View this book's table of contents.")) ."". ($next ? l(t("next"), array("id" => $next->nid), "node", array("title" => t("View the next page in this book."))) : t("next")) .""; + $output .= " ". ($prev ? "". check_output($prev->title) ."" : " ") ."". ($node->parent ? l(t("up"), array("id" => $node->parent), "node", array("title" => t("View this page's parent section."))) : t("up")) ."". ($next ? "". check_output($next->title) ."" : " ") .""; $output .= "
"; $output .= "
". $theme->links(link_node($node, $main)) ."
"; $output .= ""; diff --git a/modules/book/book.module b/modules/book/book.module index d7564035817..538f6395772 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -406,8 +406,8 @@ function book_view($node, $main = 0) { } $output .= "
"; - $output .= " ". ($prev ? l(t("previous"), array("id" => $prev->nid), "", array("title" => t("View the previous page in this book."))) : t("previous")) ."". lm(t("index"), array("mod" => "book"), t("View this book's table of contents.")) ."". ($next ? l(t("next"), array("id" => $next->nid), "", array("title" => t("View the next page in this book."))) : t("next")) .""; - $output .= " ". ($prev ? "". check_output($prev->title) ."" : " ") ."". ($node->parent ? l(t("up"), array("id" => $node->parent), "", array("title" => t("View this page's parent section."))) : t("up")) ."". ($next ? "". check_output($next->title) ."" : " ") .""; + $output .= " ". ($prev ? l(t("previous"), array("id" => $prev->nid), "node", array("title" => t("View the previous page in this book."))) : t("previous")) ."". lm(t("index"), array("mod" => "book"), t("View this book's table of contents.")) ."". ($next ? l(t("next"), array("id" => $next->nid), "node", array("title" => t("View the next page in this book."))) : t("next")) .""; + $output .= " ". ($prev ? "". check_output($prev->title) ."" : " ") ."". ($node->parent ? l(t("up"), array("id" => $node->parent), "node", array("title" => t("View this page's parent section."))) : t("up")) ."". ($next ? "". check_output($next->title) ."" : " ") .""; $output .= "
"; $output .= "
". $theme->links(link_node($node, $main)) ."
"; $output .= "";