Changeset 1535
- Timestamp:
- 10/28/09 10:05:59 (14 years ago)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/filemanager/inc/class.uifilemanager.inc.php
r1533 r1535 1628 1628 1629 1629 if(!in_array($mime_type,$viewable)){ 1630 echo lang('I npossbile to edit this file');1630 echo lang('Impossbile to edit this file'); 1631 1631 return False; 1632 1632 } … … 1673 1673 else 1674 1674 { 1675 echo lang('Could not save %1', $this->path.'/'.$this->edit_file); 1675 1676 $this->messages[]=lang('Could not save %1', $this->path.'/'.$this->edit_file); 1676 1677 } … … 1787 1788 $ls_array = $this->bo->vfs->ls(array( 1788 1789 'string' => $this->path.'/'.$this->file,//FIXME 1789 'relatives' => array(RELATIVE_ ALL),1790 'relatives' => array(RELATIVE_NONE), 1790 1791 'checksubdirs' => False, 1791 1792 'nofiles' => True -
trunk/phpgwapi/inc/class.vfs_sql.inc.php
r1534 r1535 873 873 $acl_operation = PHPGW_ACL_ADD; 874 874 } 875 875 // In your dir you can do anything you want 876 $path = explode('/',$p->fake_full_path); 876 877 if (!$this->acl_check (array( 877 'string' => $p->fake_full_path,878 'string' => '/'.$path[1].'/'.$path[2], 878 879 'relatives' => array ($p->mask), 879 880 'operation' => $acl_operation … … 1364 1365 ) 1365 1366 ); 1366 1367 // In your dir you can do anything you want 1368 $path = explode('/',$t->fake_full_path); 1367 1369 if (!$this->acl_check (array( 1368 'string' => $f->fake_full_path,1370 'string' => '/'.$path[1].'/'.$path[2], 1369 1371 'relatives' => array ($f->mask), 1370 1372 'operation' => PHPGW_ACL_READ 1371 1373 )) 1372 1374 || !$this->acl_check (array( 1373 'string' => $f->fake_full_path,1375 'string' => '/'.$path[1].'/'.$path[2], 1374 1376 'relatives' => array ($f->mask), 1375 1377 'operation' => PHPGW_ACL_DELETE … … 1381 1383 1382 1384 if (!$this->acl_check (array( 1383 'string' => $t->fake_full_path,1385 'string' => '/'.$path[1].'/'.$path[2], 1384 1386 'relatives' => array ($t->mask), 1385 1387 'operation' => PHPGW_ACL_ADD … … 1397 1399 { 1398 1400 if (!$this->acl_check (array( 1399 'string' => $t->fake_full_path,1401 'string' => '/'.$path[1].'/'.$path[2], 1400 1402 'relatives' => array ($t->mask), 1401 1403 'operation' => PHPGW_ACL_EDIT
Note: See TracChangeset
for help on using the changeset viewer.