]> source.dussan.org Git - nextcloud-server.git/commitdiff
it is not possible to unshare files
authorBjoern Schiessle <schiessle@owncloud.com>
Thu, 5 Dec 2013 16:41:19 +0000 (17:41 +0100)
committerBjoern Schiessle <schiessle@owncloud.com>
Fri, 6 Dec 2013 11:35:47 +0000 (12:35 +0100)
apps/files/templates/index.php

index 99d66ed3f9ce2646ec354d00df96e5ab2f9fde33..00ec109621f0e3c17cb83ea60bee7e55ae4ad2e0 100644 (file)
                        <th <?php if (!$_['fileHeader']):?>class="hidden"<?php endif; ?> id="headerDate">
                                <span id="modified"><?php p($l->t( 'Modified' )); ?></span>
                                <?php if ($_['permissions'] & OCP\PERMISSION_DELETE): ?>
-<!--                                   NOTE: Temporary fix to allow unsharing of files in root of Shared folder -->
-                                       <?php if ($_['dir'] == '/Shared'): ?>
-                                               <span class="selectedActions"><a href="" class="delete-selected">
-                                                       <?php p($l->t('Unshare'))?>
-                                                       <img class="svg" alt="<?php p($l->t('Unshare'))?>"
-                                                                src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" />
-                                               </a></span>
-                                       <?php else: ?>
-                                               <span class="selectedActions"><a href="" class="delete-selected">
-                                                       <?php p($l->t('Delete'))?>
-                                                       <img class="svg" alt="<?php p($l->t('Delete'))?>"
-                                                                src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" />
-                                               </a></span>
-                                       <?php endif; ?>
+                                       <span class="selectedActions"><a href="" class="delete-selected">
+                                               <?php p($l->t('Delete'))?>
+                                               <img class="svg" alt="<?php p($l->t('Delete'))?>"
+                                                        src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" />
+                                       </a></span>
                                <?php endif; ?>
                        </th>
                </tr>