diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-08-10 15:42:33 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-08-10 15:42:33 +0000 |
commit | ce85b7c7f806126f6c4487cde54a990cfa8d1eba (patch) | |
tree | 30d6bd007dc5b3f754dbbc575ffc4bd3c55a0c62 /modules/forum | |
parent | ba9f7f17946e35bac44c4dbdbef3bcd8d9a8e8f9 (diff) | |
download | brdo-ce85b7c7f806126f6c4487cde54a990cfa8d1eba.tar.gz brdo-ce85b7c7f806126f6c4487cde54a990cfa8d1eba.tar.bz2 |
- 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 ... :)
Diffstat (limited to 'modules/forum')
-rw-r--r-- | modules/forum/forum.module | 7 |
1 files changed, 5 insertions, 2 deletions
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; } /** |