phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] filemanager/index.php, 1.30.2.9.2.17


From: nomail
Subject: [Phpgroupware-cvs] filemanager/index.php, 1.30.2.9.2.17
Date: Thu, 15 Jul 2004 02:19:36 +0200

Update of /filemanager
Modified Files:
        Branch: Version-0_9_16-branch
          index.php

date: 2004/07/15 00:19:36;  author: skwashd;  state: Exp;  lines: +5 -3

Log Message:
fix for bug #9614
=====================================================================
Index: filemanager/index.php
diff -u filemanager/index.php:1.30.2.9.2.16 filemanager/index.php:1.30.2.9.2.17
--- filemanager/index.php:1.30.2.9.2.16 Fri May 28 07:23:27 2004
+++ filemanager/index.php       Thu Jul 15 00:19:36 2004
@@ -4,7 +4,7 @@
 # DEV NOTE:
 #
 # index.php is depreciated by the inc/class.xxphpwebhosting.inc.php files.
-# index.php is still used in the 0.9.14 release, but all future changes should 
be
+# index.php is still used in the 0.9.16 release, but all future changes should 
be
 # made to the inc/class.xxphpwebhosting.inc.php files (3-tiered).  This 
includes using templates.
 ###
 
@@ -56,7 +56,7 @@
                        if (is_array ($$var))
                        {
                                $temp = array ();
-      //some fixes in this section were supplied by Michael Totschnig
+                               //some fixes in this section were supplied by 
Michael Totschnig
                                while (list ($varkey, $varvalue) = each ($$var))
                                {
                                        if (is_int ($varkey))
@@ -110,7 +110,9 @@
 
 include ('../header.inc.php');
 $GLOBALS['phpgw']->accounts->read_repository();
-$quota = $GLOBALS['phpgw']->accounts->data['quota']*1024*1024; 
+$quota = ($GLOBALS['phpgw']->accounts->data['quota'] == -1 ? -1 
+       : $GLOBALS['phpgw']->accounts->data['quota']*1024*1024); 
+
 $imagepath=$GLOBALS['phpgw']->common->get_image_path();
 if ($execute && $command_line)
 {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]