summaryrefslogtreecommitdiff
path: root/box.php
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-04-06 14:30:10 +0000
committerNick Palmer <nick@sluggardy.net>2007-04-06 14:30:10 +0000
commit36cf21b087452c3ac83f88282094a2ea335a6be8 (patch)
treeed879eb92ca79963416cc7b7e608e39ac4171678 /box.php
parentf8166e1b03217658c9b87556c8525684719b0795 (diff)
downloadcalendar-36cf21b087452c3ac83f88282094a2ea335a6be8.tar.gz
calendar-36cf21b087452c3ac83f88282094a2ea335a6be8.tar.bz2
calendar-36cf21b087452c3ac83f88282094a2ea335a6be8.zip
Remove event specific code now that we have previews.
Diffstat (limited to 'box.php')
-rw-r--r--box.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/box.php b/box.php
index 7b7406a..cd70e6f 100644
--- a/box.php
+++ b/box.php
@@ -1,14 +1,17 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_calendar/box.php,v 1.2 2007/04/05 21:33:07 nickpalmer Exp $
+// $Header: /cvsroot/bitweaver/_bit_calendar/box.php,v 1.3 2007/04/06 14:30:10 nickpalmer Exp $
// Copyright( c ) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
require_once( '../bit_setup_inc.php' );
+global $gContent, $gBitSystem;
include_once( LIBERTY_PKG_PATH.'lookup_content_inc.php' );
+$gContent->mInfo['rendered'] = $gContent->getPreview();
+
if (!empty($gContent->mInfo['content_type_guid'])) {
$gContent->mInfo['content_description'] = $gLibertySystem->mContentTypes[$gContent->mInfo['content_type_guid']]['content_description'];
}