diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-05-24 10:05:18 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-05-24 10:05:18 +0000 |
commit | 540fdfc0c62f772c26a847177a83b08c5a5c0840 (patch) | |
tree | 228cd5c3c0b05582288fefd87a8bc862c2672027 /modules/story.module | |
parent | b0288a46d8f24b0320da588fd4142060ac75d4fe (diff) | |
download | brdo-540fdfc0c62f772c26a847177a83b08c5a5c0840.tar.gz brdo-540fdfc0c62f772c26a847177a83b08c5a5c0840.tar.bz2 |
- Replaced $theme->story() by a more generic $theme->node(). All themes
required an update (and so will your custom themes).
Diffstat (limited to 'modules/story.module')
-rw-r--r-- | modules/story.module | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/story.module b/modules/story.module index 637a4613a..d4faf74d9 100644 --- a/modules/story.module +++ b/modules/story.module @@ -31,7 +31,8 @@ function story_help() { function story_view($node, $main = 0) { global $theme; - $theme->story($node, $main); + $node->body = ($main ? $node->abstract : "$node->abstract<HR>$node->body"); + $theme->node($node, $main); } function story_form($edit = array()) { |