summaryrefslogtreecommitdiff
path: root/list_galleries.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 /list_galleries.php
parent94047c98bb3e8f6f530d257c17b01d5cc20ba893 (diff)
downloadfisheye-27be7b4418c3895a3abed684c97f373f9429b038.tar.gz
fisheye-27be7b4418c3895a3abed684c97f373f9429b038.tar.bz2
fisheye-27be7b4418c3895a3abed684c97f373f9429b038.zip
Move from Smarty2 to Smarty3 function style
Diffstat (limited to 'list_galleries.php')
-rw-r--r--list_galleries.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/list_galleries.php b/list_galleries.php
index 6048467..69bae81 100644
--- a/list_galleries.php
+++ b/list_galleries.php
@@ -24,7 +24,7 @@ if (!empty($_REQUEST['user_id']) && is_numeric($_REQUEST['user_id'])) {
if( $_REQUEST['user_id'] == $gBitUser->mUserId ) {
$_REQUEST['show_empty'] = TRUE;
}
- $gBitSmarty->assign_by_ref('gQueryUserId', $_REQUEST['user_id']);
+ $gBitSmarty->assignByRef('gQueryUserId', $_REQUEST['user_id']);
$template = 'user_galleries.tpl';
} else {
$template = 'list_galleries.tpl';
@@ -35,12 +35,12 @@ $_REQUEST['thumbnail_size'] = $gBitSystem->getConfig( 'fisheye_list_thumbnail_si
$galleryList = $gFisheyeGallery->getList( $_REQUEST );
$gFisheyeGallery->invokeServices( 'content_list_function', $_REQUEST );
// Pagination Data
-$gBitSmarty->assign_by_ref( 'listInfo', $_REQUEST['listInfo'] );
+$gBitSmarty->assignByRef( 'listInfo', $_REQUEST['listInfo'] );
$gBitSmarty->assign( 'galleryList', $galleryList );
// Display the template
$gDefaultCenter = "bitpackage:fisheye/$template";
-$gBitSmarty->assign_by_ref( 'gDefaultCenter', $gDefaultCenter );
+$gBitSmarty->assignByRef( 'gDefaultCenter', $gDefaultCenter );
$gBitSystem->display( 'bitpackage:kernel/dynamic.tpl', 'List Galleries' , array( 'display_mode' => 'list' ));
?>