summaryrefslogtreecommitdiff
path: root/preview.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2007-05-30 21:27:29 +0000
committerChristian Fowler <spider@viovio.com>2007-05-30 21:27:29 +0000
commited6a81fa4f5930bbe6f177bb7f0dd1c7ba793094 (patch)
tree8e3c9c2fab0f1a8ace7890b92ee183ebe0a2fbf5 /preview.php
parent0beedc292f54ddcf46eabb9ad80fe6f69aa94da8 (diff)
downloadliberty-ed6a81fa4f5930bbe6f177bb7f0dd1c7ba793094.tar.gz
liberty-ed6a81fa4f5930bbe6f177bb7f0dd1c7ba793094.tar.bz2
liberty-ed6a81fa4f5930bbe6f177bb7f0dd1c7ba793094.zip
improvement to LibertyStructures editing - separate Add Content with Mochikit Ajax magic, add default getThumbnailUrl to LibertyContent and optionall show in structures or get_content_list
Diffstat (limited to 'preview.php')
-rw-r--r--preview.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/preview.php b/preview.php
index 39d45d8..b55ec66 100644
--- a/preview.php
+++ b/preview.php
@@ -1,10 +1,12 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_liberty/preview.php,v 1.1 2007/04/08 18:00:35 nickpalmer Exp $
+// $Header: /cvsroot/bitweaver/_bit_liberty/preview.php,v 1.2 2007/05/30 21:27:28 spiderr 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.
+global $gLightweightScan;
+$gLightwieightScan = TRUE;
require_once( '../bit_setup_inc.php' );
global $gContent, $gBitSystem, $gBitSmarty;
@@ -20,4 +22,6 @@ if (isset($_REQUEST['closeclick'])) {
}
header( 'Content-Type: text/html; charset=utf-8' );
-echo $gContent->getPreview(); \ No newline at end of file
+echo $gContent->getPreview();
+
+?>