Changeset 1557
- Timestamp:
- 10/29/09 15:10:17 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/filemanager/inc/class.uifilemanager.inc.php
r1556 r1557 1056 1056 { 1057 1057 // upload button 1058 if (($this->usedSpace()*1024*1024) > $this->current_config['filemanager_quota_size']) 1058 $total = ($this->current_config['filemanager_quota_size'])*1024*1024; 1059 $usedSpace = $this->usedSpace(); 1060 if ($usedSpace < $total) 1059 1061 $toolbar.=$this->inputImage('upload','upload',lang('Upload')); 1060 1062 } … … 1162 1164 function fileUpload() 1163 1165 { 1164 if ( ($this->usedSpace()*1024*1024) > $this->current_config['filemanager_quota_size'])1166 if ($this->usedSpace() > ($this->current_config['filemanager_quota_size'])*1024*1024) 1165 1167 echo lang('You exceded the quota'); 1166 1168 else
Note: See TracChangeset
for help on using the changeset viewer.