summaryrefslogtreecommitdiff
path: root/image_order.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 /image_order.php
parent94047c98bb3e8f6f530d257c17b01d5cc20ba893 (diff)
downloadfisheye-27be7b4418c3895a3abed684c97f373f9429b038.tar.gz
fisheye-27be7b4418c3895a3abed684c97f373f9429b038.tar.bz2
fisheye-27be7b4418c3895a3abed684c97f373f9429b038.zip
Move from Smarty2 to Smarty3 function style
Diffstat (limited to 'image_order.php')
-rw-r--r--image_order.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/image_order.php b/image_order.php
index 145a543..e2e9d8a 100644
--- a/image_order.php
+++ b/image_order.php
@@ -34,7 +34,7 @@ if (!empty($_REQUEST['cancel'])) {
$batchCon = array_flip( $_REQUEST['batch'] );
// increment the first element from 0 to 1 (element 0 index before flip) so any conditional tests will pass, particularly in the .tpl
$batchCon[key($batchCon)]++;
- $gBitSmarty->assign_by_ref( 'batchEdit', $batchCon );
+ $gBitSmarty->assignByRef( 'batchEdit', $batchCon );
}
if( !empty( $_REQUEST['is_favorite'] ) ) {
@@ -211,10 +211,10 @@ if( $gBitSystem->isFeatureActive( 'fisheye_show_all_to_admins' ) && $gBitUser->h
// $listHash['show_public'] = TRUE;
}
$galleryList = $gContent->getList( $listHash );
-$gBitSmarty->assign_by_ref( 'galleryList', $galleryList );
+$gBitSmarty->assignByRef( 'galleryList', $galleryList );
$gContent->loadImages();
-$gBitSmarty->assign_by_ref('formfeedback', $feedback);
+$gBitSmarty->assignByRef('formfeedback', $feedback);
$gBitThemes->loadAjax( 'mochikit' );
$gBitSystem->display( 'bitpackage:fisheye/image_order.tpl', tra( 'Edit Gallery Images' ).': '.$gContent->getTitle() , array( 'display_mode' => 'display' ));