diff options
| author | lsces <lester@lsces.co.uk> | 2016-02-07 17:47:25 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2016-02-07 17:47:25 +0000 |
| commit | b434b0b967ec81d9612d99dbbb5ff43a8a9ca7cb (patch) | |
| tree | 22a476888bfe85a7b608c4550aff0e634f2ed36d /index.php | |
| parent | 989bcff1ef63dc647972682f8ab6cda9932855ed (diff) | |
| download | users-b434b0b967ec81d9612d99dbbb5ff43a8a9ca7cb.tar.gz users-b434b0b967ec81d9612d99dbbb5ff43a8a9ca7cb.tar.bz2 users-b434b0b967ec81d9612d99dbbb5ff43a8a9ca7cb.zip | |
Move from Smarty2 to Smarty3 function style
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -73,7 +73,7 @@ if( !empty( $_REQUEST['home'] ) ) { // now that we have all the offsets, we can get the content list include_once( LIBERTY_PKG_PATH.'get_content_list_inc.php' ); - //$gBitSmarty->assign_by_ref('offset', $offset); + //$gBitSmarty->assignByRef('offset', $offset); $gBitSmarty->assign( 'contentSelect', $contentSelect ); $gBitSmarty->assign( 'contentTypes', $contentTypes ); $gBitSmarty->assign( 'contentList', $contentList ); @@ -104,8 +104,8 @@ if( !empty( $_REQUEST['home'] ) ) { } else { $gBitSystem->verifyPermission( 'p_users_view_user_list' ); $users = $gQueryUser->getList( $_REQUEST ); - $gBitSmarty->assign_by_ref( 'users', $users ); - $gBitSmarty->assign_by_ref( 'usercount', $_REQUEST["cant"] ); + $gBitSmarty->assignByRef( 'users', $users ); + $gBitSmarty->assignByRef( 'usercount', $_REQUEST["cant"] ); // display an error message if( !empty( $_REQUEST['home'] )) { $gBitSystem->setHttpStatus( HttpStatusCodes::HTTP_GONE ); @@ -113,8 +113,8 @@ if( !empty( $_REQUEST['home'] ) ) { $gBitSmarty->assign( 'feedback', $feedback ); } $_REQUEST['listInfo']["URL"] = USERS_PKG_URL."index.php"; - $gBitSmarty->assign_by_ref( 'control', $_REQUEST['listInfo'] ); - $gBitSmarty->assign_by_ref( 'listInfo', $_REQUEST['listInfo'] ); + $gBitSmarty->assignByRef( 'control', $_REQUEST['listInfo'] ); + $gBitSmarty->assignByRef( 'listInfo', $_REQUEST['listInfo'] ); $browserTitle = $gBitSystem->getConfig( 'site_title' ).' '.tra( 'Members' ); $centerDisplay = 'bitpackage:users/index_list.tpl'; } |
