Human readable permissions in shared files list

This commit is contained in:
Michael Gapczynski 2011-07-31 13:15:07 -04:00
parent 17058c9467
commit f88c4b1f48
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
<tr class='item'>
<td class='source'><?php echo substr($item['source'], strlen("/".$_SESSION['user_id']."/files/"));?></td>
<td class='uid_shared_with'><?php echo $item['uid_shared_with'];?></td>
<td class='permissions'><?php echo $item['is_writeable'];?></td>
<td class='permissions'><?php echo "Read"; echo($item['permissions'] & OC_SHARE::WRITE ? ", Edit" : ""); echo($item['permissions'] & OC_SHARE::DELETE ? ", Delete" : "");?></td>
<td><button class='delete fancybutton' data-source='<?php echo $item['source'];?>' data-uid_shared_with='<?php echo $item['uid_shared_with'];?>'>Delete</button></td>
</tr>
<?php endforeach;?>