diff options
| -rw-r--r-- | assign_content.php | 4 | ||||
| -rw-r--r-- | lookup_pigeonholes_inc.php | 2 | ||||
| -rw-r--r-- | view.php | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/assign_content.php b/assign_content.php index e2157da..9e15b47 100644 --- a/assign_content.php +++ b/assign_content.php @@ -24,7 +24,7 @@ $gBitSystem->verifyPermission( 'p_pigeonholes_insert_member' ); include_once( PIGEONHOLES_PKG_PATH.'lookup_pigeonholes_inc.php' ); $feedback = ''; -$gBitSmarty->assign_by_ref( 'feedback', $feedback ); +$gBitSmarty->assignByRef( 'feedback', $feedback ); $contentTypes = array( '' => tra( 'All Content' ) ); foreach( $gLibertySystem->mContentTypes as $cType ) { @@ -101,7 +101,7 @@ if(( !empty( $_REQUEST['insert_content'] ) || !empty( $_REQUEST['insert_content_ $assignableContent = $gContent->getAssignableContent( $listHash ); } -$gBitSmarty->assign_by_ref( 'listInfo', $listHash['listInfo'] ); +$gBitSmarty->assignByRef( 'listInfo', $listHash['listInfo'] ); $listHash = array( 'load_only_root' => TRUE, diff --git a/lookup_pigeonholes_inc.php b/lookup_pigeonholes_inc.php index 095d1d7..62ce442 100644 --- a/lookup_pigeonholes_inc.php +++ b/lookup_pigeonholes_inc.php @@ -16,5 +16,5 @@ */ $gContent = new Pigeonholes( ( !empty( $_REQUEST['structure_id'] ) ? $_REQUEST['structure_id'] : NULL ), ( !empty( $_REQUEST['content_id'] ) ? $_REQUEST['content_id'] : NULL ) ); $gContent->load( TRUE ); -$gBitSmarty->assign_by_ref( 'gContent', $gContent ); +$gBitSmarty->assignByRef( 'gContent', $gContent ); ?> @@ -28,7 +28,7 @@ if (isset($_REQUEST['structure_id'])) { header("Location:".$gContent->getDisplayUrl()); } -$gBitSmarty->assign_by_ref( 'memberFeedback', $memberFeedback = array() ); +$gBitSmarty->assignByRef( 'memberFeedback', $memberFeedback = array() ); // set up structure related stuff global $gStructure; @@ -55,7 +55,7 @@ if( empty( $gStructure ) || !$gStructure->isValid() ) { $gBitSystem->fatalError( tra( 'Invalid structure' )); } -$gBitSmarty->assign_by_ref( 'gStructure', $gStructure ); +$gBitSmarty->assignByRef( 'gStructure', $gStructure ); $gBitSmarty->assign( 'structureInfo', $gStructure->mInfo ); $gBitSmarty->assign( 'subtree', $gStructure->getSubTree( $gStructure->mStructureId ) ); |
