From d81f159c633d558fc12c4df0126e8df8e7163fe3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 11 Sep 2003 17:53:45 +0000 Subject: - Committed Nick's path improvements; you can now control the look and feel of the breadcrumb navigation. --- modules/book.module | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'modules/book.module') diff --git a/modules/book.module b/modules/book.module index a0f52f5e1..0128d84c4 100644 --- a/modules/book.module +++ b/modules/book.module @@ -416,12 +416,9 @@ function book_view($node, $main = 0) { foreach ($path as $level) { $trail[] = l($level->title, "node/view/$level->nid"); } + theme("path", $trail); $output .= "
"; - $output .= "
". implode($trail, " » ") ."
"; - $output .= "
$node->title
"; - $output .= "
". t("Last updated by %u on %d", array("%u" => format_name($node), "%d" => format_date($node->changed))) ."
"; - $output .= "
$node->body
"; if ($node->moderate) { @@ -456,10 +453,9 @@ function book_view($node, $main = 0) { $output .= "
$titles
"; $output .= "
"; } - $output .= "
". theme("links", link_node($node, $main)) ."
"; $output .= ""; - - print $output; + $node->body = $output; + theme("node", $node, 0); } } -- cgit v1.2.3