summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2016-02-07 20:33:37 +0000
committerlsces <lester@lsces.co.uk>2016-02-07 20:33:37 +0000
commit27be7b4418c3895a3abed684c97f373f9429b038 (patch)
tree93c1cabb4f5a6f920a1caf23a6df963ec6c3b7f0 /edit.php
parent94047c98bb3e8f6f530d257c17b01d5cc20ba893 (diff)
downloadfisheye-27be7b4418c3895a3abed684c97f373f9429b038.tar.gz
fisheye-27be7b4418c3895a3abed684c97f373f9429b038.tar.bz2
fisheye-27be7b4418c3895a3abed684c97f373f9429b038.zip
Move from Smarty2 to Smarty3 function style
Diffstat (limited to 'edit.php')
-rw-r--r--edit.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/edit.php b/edit.php
index 02bfe2c..ae4fbb2 100644
--- a/edit.php
+++ b/edit.php
@@ -91,12 +91,12 @@ if( !empty( $_REQUEST['savegallery'] ) ) {
// Initalize the errors list which contains any errors which occured during storage
$errors = (!empty($gContent->mErrors) ? $gContent->mErrors : array());
-$gBitSmarty->assign_by_ref('errors', $errors);
+$gBitSmarty->assignByRef('errors', $errors);
$gBitSystem->setOnloadScript( 'updateGalleryPagination();' );
$gallery = $gContent->getParentGalleries();
-$gBitSmarty->assign_by_ref( 'parentGalleries', $gallery );
+$gBitSmarty->assignByRef( 'parentGalleries', $gallery );
$getHash = array(
'user_id' => $gBitUser->mUserId,
// 'max_records' => -1,
@@ -114,7 +114,7 @@ if( $gBitSystem->isFeatureActive( 'fisheye_show_all_to_admins' ) && $gBitUser->h
// $getHash['show_public'] = TRUE;
}
$galleryTree = $gContent->generateList( $getHash, array( 'name' => "gallery_id", 'id' => "gallerylist", 'item_attributes' => array( 'class'=>'listingtitle'), 'radio_checkbox' => TRUE, ) );
-$gBitSmarty->assign_by_ref( 'galleryTree', $galleryTree );
+$gBitSmarty->assignByRef( 'galleryTree', $galleryTree );
$gContent->invokeServices( 'content_edit_function' );