diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-22 11:45:36 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-22 11:57:58 -0400 |
commit | 25d474579acd4ead174a83b22f1a3d712e6b682a (patch) | |
tree | 94fb2670bb0e9b1dcf0b6d45f2373bea5a98df52 /apps/files_sharing/templates | |
parent | 9699ff03bd1a200fc7f73bb29173169d84009e5d (diff) | |
download | nextcloud-server-25d474579acd4ead174a83b22f1a3d712e6b682a.tar.gz nextcloud-server-25d474579acd4ead174a83b22f1a3d712e6b682a.zip |
Removing most of files_sharing, the Share API implemented the majority of it
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r-- | apps/files_sharing/templates/list.php | 30 | ||||
-rw-r--r-- | apps/files_sharing/templates/settings.php | 6 |
2 files changed, 0 insertions, 36 deletions
diff --git a/apps/files_sharing/templates/list.php b/apps/files_sharing/templates/list.php deleted file mode 100644 index d46ff818ac1..00000000000 --- a/apps/files_sharing/templates/list.php +++ /dev/null @@ -1,30 +0,0 @@ -<fieldset> - <legend><?php echo $l->t('Your Shared Files');?></legend> - <table id="itemlist"> - <thead> - <tr> - <th><?php echo $l->t('Item');?></th> - <th><?php echo $l->t('Shared With');?></th> - <th><?php echo $l->t('Permissions');?></th> - </tr> - </thead> - <tbody> - <?php foreach($_['shared_items'] as $item):?> - <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 $l->t('Read'); echo($item['permissions'] & OC_SHARE::WRITE ? ", ".$l->t('Edit') : ""); echo($item['permissions'] & OC_SHARE::DELETE ? ", ".$l->t('Delete') : "");?></td> - <td><button class="delete" data-source="<?php echo $item['source'];?>" data-uid_shared_with="<?php echo $item['uid_shared_with'];?>"><?php echo $l->t('Delete');?></button></td> - </tr> - <?php endforeach;?> - <tr id="share_item_row"> - <form action="#" id="share_item"> - <td class="source"><input placeholder="Item" id="source" /></td> - <td class="uid_shared_with"><input placeholder="Share With" id="uid_shared_with" /></td> - <td class="permissions"><input placeholder="Permissions" id="permissions" /></td> - <td><input type="submit" value="Share" /></td> - </form> - </tr> - </tbody> - </table> -</fieldset> diff --git a/apps/files_sharing/templates/settings.php b/apps/files_sharing/templates/settings.php deleted file mode 100644 index 5b6ba5f33ee..00000000000 --- a/apps/files_sharing/templates/settings.php +++ /dev/null @@ -1,6 +0,0 @@ -<form id="resharing"> - <fieldset class="personalblock"> - <input type="checkbox" name="allowResharing" id="allowResharing" value="1" <?php if ($_['allowResharing'] == 'yes') echo ' checked="checked"'; ?> /> <label for="allowResharing"><?php echo $l->t('Enable Resharing'); ?></label> <br/> - <em><?php echo $l->t('Allow users to reshare files they don\'t own');?></em> - </fieldset> -</form>
\ No newline at end of file |