Changeset 2883 for trunk/filemanager
- Timestamp:
- 05/31/10 11:50:36 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/filemanager/inc/class.uifilemanager.inc.php
r2857 r2883 488 488 $owner_id = $this->bo->vfs->ownerOf($this->bo->fakebase,$path[2]); 489 489 $user_id = $GLOBALS['phpgw_info']['user']['account_id']; 490 490 491 if ($owner_id == $user_id) 491 492 { … … 504 505 // change dir to this->path 505 506 $this->bo->vfs->cd(array('string' => $this->path, 'relatives' => array(RELATIVE_NONE), 'relative' => False)); 507 506 508 $return['permissions'] = $this->get_permissions(); 507 509 $return['quota']['usedSpace'] = $this->bo->vfs->get_size(array( 508 510 'string' => $this->path, 509 511 'relatives' => array(RELATIVE_NONE) 510 )); 512 )); 513 511 514 $return['files_count'] = $this->bo->vfs->count_files(array( 512 515 'string' => $this->path, … … 526 529 continue; 527 530 } 531 if ($files['size'] == "" && $files['name'] == "") 532 continue; 528 533 /* small keys to safe bandwidth */ 529 534 $tuple['name'] = $files['name'];
Note: See TracChangeset
for help on using the changeset viewer.