summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2008-06-25 22:21:21 +0000
committerChristian Fowler <spider@viovio.com>2008-06-25 22:21:21 +0000
commitaa82b6dd707fc543d7d56d900bc765d605e196e6 (patch)
tree4878dc98fa87c3381672a5d6513d475f58cda236
parent5894f968f624789316632806d2c39fa9856f194c (diff)
downloadquota-aa82b6dd707fc543d7d56d900bc765d605e196e6.tar.gz
quota-aa82b6dd707fc543d7d56d900bc765d605e196e6.tar.bz2
quota-aa82b6dd707fc543d7d56d900bc765d605e196e6.zip
change display call to use a hash for display options, add display_mode to options hashpre_update_permissioncreate_permissionR250
-rw-r--r--calculate_quota_inc.php4
-rw-r--r--index.php6
2 files changed, 5 insertions, 5 deletions
diff --git a/calculate_quota_inc.php b/calculate_quota_inc.php
index ac04803..bb56389 100644
--- a/calculate_quota_inc.php
+++ b/calculate_quota_inc.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
* @package quota
*
* settings that are useful to know about at upload time
@@ -13,7 +13,7 @@ require_once( QUOTA_PKG_PATH.'LibertyQuota.php' );
$quota = new LibertyQuota();
if( !$gBitUser->isAdmin() && !$quota->isUserUnderQuota( $gBitUser->mUserId ) ) {
- $gBitSystem->display( 'bitpackage:quota/over_quota.tpl', tra( 'You are over your quota.' ) );
+ $gBitSystem->display( 'bitpackage:quota/over_quota.tpl', tra( 'You are over your quota.' ) , array( 'display_mode' => 'display' ));
die;
}
diff --git a/index.php b/index.php
index 3832d6a..33dc765 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_quota/index.php,v 1.4 2006/05/18 18:37:49 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_quota/index.php,v 1.5 2008/06/25 22:21:21 spiderr 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.4 2006/05/18 18:37:49 squareing Exp $
+ * $Id: index.php,v 1.5 2008/06/25 22:21:21 spiderr Exp $
* @package quota
*/
@@ -21,5 +21,5 @@ $gBitSystem->verifyPackage( 'quota' );
require_once( QUOTA_PKG_PATH.'quota_inc.php' );
-$gBitSystem->display( 'bitpackage:quota/quota.tpl', 'View Quota' );
+$gBitSystem->display( 'bitpackage:quota/quota.tpl', 'View Quota' , array( 'display_mode' => 'display' ));
?>