summaryrefslogtreecommitdiff
path: root/lookup_content_inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'lookup_content_inc.php')
-rw-r--r--lookup_content_inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/lookup_content_inc.php b/lookup_content_inc.php
index 162fdbe..14787c8 100644
--- a/lookup_content_inc.php
+++ b/lookup_content_inc.php
@@ -3,7 +3,7 @@
* lookup_content_inc
*
* @author spider <spider@steelsun.com>
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
* @package Liberty
* @subpackage functions
*/
@@ -19,22 +19,22 @@
// vd( $gStructure->mInfo );
$gStructure->loadNavigation();
$gStructure->loadPath();
- $smarty->assign( 'structureInfo', $gStructure->mInfo );
+ $gBitSmarty->assign( 'structureInfo', $gStructure->mInfo );
// $_REQUEST['page_id'] = $gStructure->mInfo['page_id'];
if( $viewContent = $gStructure->getLibertyObject( $gStructure->mInfo['content_id'], $gStructure->mInfo['content_type']['content_type_guid'] ) ) {
$viewContent->load();
$viewContent->setStructure( $_REQUEST['structure_id'] );
- $smarty->assign_by_ref( 'pageInfo', $viewContent->mInfo );
+ $gBitSmarty->assign_by_ref( 'pageInfo', $viewContent->mInfo );
$gContent = &$viewContent;
- $smarty->assign_by_ref( 'gContent', $gContent );
+ $gBitSmarty->assign_by_ref( 'gContent', $gContent );
}
}
} elseif( !empty( $_REQUEST['content_id'] ) ) {
require_once( LIBERTY_PKG_PATH.'LibertyBase.php');
if( $gContent = LibertyBase::getLibertyObject( $_REQUEST['content_id'] ) ) {
if( $gContent->load() ) {
- $smarty->assign_by_ref( 'gContent', $gContent );
- $smarty->assign_by_ref( 'pageInfo', $gContent->mInfo );
+ $gBitSmarty->assign_by_ref( 'gContent', $gContent );
+ $gBitSmarty->assign_by_ref( 'pageInfo', $gContent->mInfo );
}
}
}