diff options
author | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-06-11 16:14:24 -0400 |
---|---|---|
committer | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-06-11 16:14:24 -0400 |
commit | 8603b0973f994be5fb3e585817c220b22e6d2c24 (patch) | |
tree | 26eb5b9e48208f4cd53ec211be5d1f15740447ec /apps/files_sharing/templates | |
parent | 016a892a78472cc954f1e26feba0facfe4c893d5 (diff) | |
download | nextcloud-server-8603b0973f994be5fb3e585817c220b22e6d2c24.tar.gz nextcloud-server-8603b0973f994be5fb3e585817c220b22e6d2c24.zip |
Initial setup of sharing app
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r-- | apps/files_sharing/templates/admin.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/apps/files_sharing/templates/admin.php b/apps/files_sharing/templates/admin.php new file mode 100644 index 00000000000..764aee00b49 --- /dev/null +++ b/apps/files_sharing/templates/admin.php @@ -0,0 +1,29 @@ +<?php if ($_['shared_items'] == null) {echo "You are not sharing any of your files";} else {?> +<table id='itemlist'> + <thead> + <tr> + <td class='item'>Item</td> + <td class='uid_shared_with'>Shared With</td> + <td class='link'>Link</td> + </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='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><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><input type='submit' value='Share'/></td> + </form> + </tr> + </tbody> +</table> +<?php } ?>
\ No newline at end of file |