summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-08-01 18:41:18 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-08-01 18:41:18 +0000
commit20a6e7fae0fc07d21241fcea7fc73d8bb8d309f9 (patch)
treef83558d7778419afa63a01336801b73ddb09bf3e /admin
parentd9d4e9f6a2e83af17932ba5b52a653f0d1258dcf (diff)
downloadquota-20a6e7fae0fc07d21241fcea7fc73d8bb8d309f9.tar.gz
quota-20a6e7fae0fc07d21241fcea7fc73d8bb8d309f9.tar.bz2
quota-20a6e7fae0fc07d21241fcea7fc73d8bb8d309f9.zip
merge recent changes with HEAD - R1 and HEAD are identical now
Diffstat (limited to 'admin')
-rw-r--r--admin/admin_quota_inc.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/admin/admin_quota_inc.php b/admin/admin_quota_inc.php
index af2e6c7..37a9ac3 100644
--- a/admin/admin_quota_inc.php
+++ b/admin/admin_quota_inc.php
@@ -1,11 +1,11 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_quota/admin/admin_quota_inc.php,v 1.1 2005/06/19 05:02:20 bitweaver Exp $
+// $Header: /cvsroot/bitweaver/_bit_quota/admin/admin_quota_inc.php,v 1.2 2005/08/01 18:41:18 squareing Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
if (isset($_REQUEST["quotaset"]) && isset($_REQUEST["homeSample"])) {
$gBitSystem->storePreference("home_quota", $_REQUEST["homeSample"]);
- $smarty->assign('home_quota', $_REQUEST["homeSample"]);
+ $gBitSmarty->assign('home_quota', $_REQUEST["homeSample"]);
}
require_once( QUOTA_PKG_PATH.'LibertyQuota.php' );
@@ -22,7 +22,7 @@ if( !empty( $_REQUEST['savequota'] ) ) {
die;
} else {
$saveError = TRUE;
- $smarty->assign_by_ref( 'errors', $gQuota->mErrors );
+ $gBitSmarty->assign_by_ref( 'errors', $gQuota->mErrors );
}
} elseif( !empty( $_REQUEST['assignquota'] ) ) {
foreach( array_keys( $_REQUEST ) as $key ) {
@@ -35,16 +35,16 @@ if( !empty( $_REQUEST['savequota'] ) ) {
}
$gQuota->load();
if( $gQuota->isValid() || isset( $_REQUEST['newquota'] ) || !empty( $saveError ) ) {
- $smarty->assign_by_ref('gQuota', $gQuota);
+ $gBitSmarty->assign_by_ref('gQuota', $gQuota);
} else {
$quotas = $gQuota->getList();
$systemGroups = $gQuota->getQuotaGroups();
- $smarty->assign_by_ref('systemGroups', $systemGroups );
+ $gBitSmarty->assign_by_ref('systemGroups', $systemGroups );
foreach( array_keys( $systemGroups ) as $groupId ) {
$groupQuota[$groupId] = $gQuota->getQuotaMenu( 'quota_group_'.$groupId, $systemGroups[$groupId]['quota_id'] );
}
- $smarty->assign_by_ref('groupQuota', $groupQuota );
- $smarty->assign_by_ref('quotaList', $quotas);
+ $gBitSmarty->assign_by_ref('groupQuota', $groupQuota );
+ $gBitSmarty->assign_by_ref('quotaList', $quotas);
}
?>