summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/templates
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2011-06-16 14:40:21 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2011-06-16 14:40:21 -0400
commitbf66563cda15acbe8f5b12be76fb5ba387a6798c (patch)
treef73267301216db63ac14b53dfdd233d11a4659f5 /apps/files_sharing/templates
parent8603b0973f994be5fb3e585817c220b22e6d2c24 (diff)
downloadnextcloud-server-bf66563cda15acbe8f5b12be76fb5ba387a6798c.tar.gz
nextcloud-server-bf66563cda15acbe8f5b12be76fb5ba387a6798c.zip
First version of shared storage provider - not functional
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r--apps/files_sharing/templates/admin.php15
1 files changed, 8 insertions, 7 deletions
diff --git a/apps/files_sharing/templates/admin.php b/apps/files_sharing/templates/admin.php
index 764aee00b49..827b64143c5 100644
--- a/apps/files_sharing/templates/admin.php
+++ b/apps/files_sharing/templates/admin.php
@@ -2,25 +2,26 @@
<table id='itemlist'>
<thead>
<tr>
- <td class='item'>Item</td>
- <td class='uid_shared_with'>Shared With</td>
- <td class='link'>Link</td>
+ <th>Item</th>
+ <th>Shared With</th>
+ <th>Permissions</th>
</tr>
</thead>
<tbody>
<?php foreach($_['shared_items'] as $item):?>
<tr class='link' id='<?php echo $item['id'];?>'>
- <td class='item'><?php echo $link['item'];?></td>
+ <td class='item'><?php echo $item['item'];?></td>
<td class='uid_shared_with'><?php echo $item['uid_shared_with'];?></td>
- <td class='link'><a href='get.php?token=<?php echo $link['token'];?>'><?php echo $_['baseUrl'];?>?token=<?php echo $link['token'];?></a></td>
+ <td class='permissions'><?php echo $item['permissions'];?></td>
<td><button class='delete fancybutton' data-token='<?php echo $link['token'];?>'>Delete</button></td>
</tr>
<?php endforeach;?>
<tr id='newlink_row'>
<form action='#' id='newlink'>
<input type='hidden' id='expire_time'/>
- <td class='path'><input placeholder='Path' id='path'/></td>
- <td class='expire'><input placeholder='Expires' id='expire'/></td>
+ <td class='path'><input placeholder='Item' id='path'/></td>
+ <td class='expire'><input placeholder='Share With' id='expire'/></td>
+ <td class='permissions'><input placeholder='Permissions' id='expire'/></td>
<td><input type='submit' value='Share'/></td>
</form>
</tr>