diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-08-01 18:41:18 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-08-01 18:41:18 +0000 |
| commit | 20a6e7fae0fc07d21241fcea7fc73d8bb8d309f9 (patch) | |
| tree | f83558d7778419afa63a01336801b73ddb09bf3e /index.php | |
| parent | d9d4e9f6a2e83af17932ba5b52a653f0d1258dcf (diff) | |
| download | quota-20a6e7fae0fc07d21241fcea7fc73d8bb8d309f9.tar.gz quota-20a6e7fae0fc07d21241fcea7fc73d8bb8d309f9.tar.bz2 quota-20a6e7fae0fc07d21241fcea7fc73d8bb8d309f9.zip | |
merge recent changes with HEAD - R1 and HEAD are identical now
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_quota/index.php,v 1.2 2005/06/28 07:45:56 spiderr Exp $ + * $Header: /cvsroot/bitweaver/_bit_quota/index.php,v 1.3 2005/08/01 18:41:18 squareing Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * 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 * - * $Id: index.php,v 1.2 2005/06/28 07:45:56 spiderr Exp $ + * $Id: index.php,v 1.3 2005/08/01 18:41:18 squareing Exp $ * @package quota */ @@ -33,13 +33,13 @@ if( $diskQuota != 0 ) { if( $quotaPercent > 100 ) { $errors['disk_quota'] = "You are over your disk quota."; - $smarty->assign_by_ref( 'errors', $errors ); + $gBitSmarty->assign_by_ref( 'errors', $errors ); $quotaPercent = 100; } -$smarty->assign( 'usage', round( ($diskUsage / 1000000), 2 ) ); -$smarty->assign( 'quota', round( ($diskQuota / 1000000), 2 ) ); -$smarty->assign_by_ref( 'quotaPercent', $quotaPercent ); +$gBitSmarty->assign( 'usage', round( ($diskUsage / 1000000), 2 ) ); +$gBitSmarty->assign( 'quota', round( ($diskQuota / 1000000), 2 ) ); +$gBitSmarty->assign_by_ref( 'quotaPercent', $quotaPercent ); $gBitSystem->display( 'bitpackage:quota/quota.tpl', 'View Quota' ); |
