From ce85b7c7f806126f6c4487cde54a990cfa8d1eba Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 10 Aug 2006 15:42:33 +0000 Subject: - Patch #74326 by Eaton, Royboy, chx, et al: building $node->body with arrays like FAPI for viewing. Once again, we're paving the path for CCK in core ... :) --- modules/forum/forum.module | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'modules/forum') diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 2c414ed0e..f2a4b4725 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -313,8 +313,11 @@ function forum_view(&$node, $teaser = FALSE, $page = FALSE) { } $node = node_prepare($node, $teaser); - - $node->body .= theme('forum_topic_navigation', $node); + $node->content['forum_navigation'] = array( + '#value' => theme('forum_topic_navigation', $node), + '#weight' => 100, + ); + return $node; } /** -- cgit v1.2.3