summaryrefslogtreecommitdiff
path: root/modules/story.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-05-24 10:05:18 +0000
committerDries Buytaert <dries@buytaert.net>2001-05-24 10:05:18 +0000
commit540fdfc0c62f772c26a847177a83b08c5a5c0840 (patch)
tree228cd5c3c0b05582288fefd87a8bc862c2672027 /modules/story.module
parentb0288a46d8f24b0320da588fd4142060ac75d4fe (diff)
downloadbrdo-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.module3
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()) {