diff options
| author | lsces <lester@lsces.co.uk> | 2016-02-07 22:08:06 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2016-02-07 22:08:06 +0000 |
| commit | 916761132c99b0ec5e08f4f306d87e223d45181d (patch) | |
| tree | ee406de43a377c51b5daa0dd7a45ab9c98365c69 /admin | |
| parent | d1d16bb3af6be46c6c38f0cba608e3f84f024d1e (diff) | |
| download | quota-916761132c99b0ec5e08f4f306d87e223d45181d.tar.gz quota-916761132c99b0ec5e08f4f306d87e223d45181d.tar.bz2 quota-916761132c99b0ec5e08f4f306d87e223d45181d.zip | |
Move from Smarty2 to Smarty3 function style
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/admin_quota_inc.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/admin/admin_quota_inc.php b/admin/admin_quota_inc.php index bbf8106..b6909ea 100644 --- a/admin/admin_quota_inc.php +++ b/admin/admin_quota_inc.php @@ -24,7 +24,7 @@ if( !empty( $_REQUEST['savequota'] ) ) { die; } else { $saveError = TRUE; - $gBitSmarty->assign_by_ref( 'errors', $gQuota->mErrors ); + $gBitSmarty->assignByRef( 'errors', $gQuota->mErrors ); } } elseif( !empty( $_REQUEST['assignquota'] ) ) { foreach( array_keys( $_REQUEST ) as $key ) { @@ -37,16 +37,16 @@ if( !empty( $_REQUEST['savequota'] ) ) { } $gQuota->load(); if( $gQuota->isValid() || isset( $_REQUEST['newquota'] ) || !empty( $saveError ) ) { - $gBitSmarty->assign_by_ref('gQuota', $gQuota); + $gBitSmarty->assignByRef('gQuota', $gQuota); } else { $quotas = $gQuota->getList(); $systemGroups = $gQuota->getQuotaGroups(); - $gBitSmarty->assign_by_ref('systemGroups', $systemGroups ); + $gBitSmarty->assignByRef('systemGroups', $systemGroups ); foreach( array_keys( $systemGroups ) as $groupId ) { $groupQuota[$groupId] = $gQuota->getQuotaMenu( 'quota_group_'.$groupId, $systemGroups[$groupId]['quota_id'] ); } - $gBitSmarty->assign_by_ref('groupQuota', $groupQuota ); - $gBitSmarty->assign_by_ref('quotaList', $quotas); + $gBitSmarty->assignByRef('groupQuota', $groupQuota ); + $gBitSmarty->assignByRef('quotaList', $quotas); } ?> |
