summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/templates
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-01-28 11:28:16 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-01-28 11:28:16 +0100
commitf28857377dc4a34237626e144aa796b58c133dfa (patch)
tree42dd9cc505a14ca9f0ae92972b67edb8f08151a0 /apps/files_trashbin/templates
parent8067a1394e3dab551e65ec8abd12e673a811bf40 (diff)
downloadnextcloud-server-f28857377dc4a34237626e144aa796b58c133dfa.tar.gz
nextcloud-server-f28857377dc4a34237626e144aa796b58c133dfa.zip
use hidden input field to disable sharing
Diffstat (limited to 'apps/files_trashbin/templates')
-rw-r--r--apps/files_trashbin/templates/part.list.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_trashbin/templates/part.list.php b/apps/files_trashbin/templates/part.list.php
index 7d2f09c62c6..fe8a71f44e6 100644
--- a/apps/files_trashbin/templates/part.list.php
+++ b/apps/files_trashbin/templates/part.list.php
@@ -1,3 +1,4 @@
+<input type="hidden" id="disableSharing" data-status="<?php echo $_['disableSharing']; ?>">
<?php foreach($_['files'] as $file):
$simple_file_size = OCP\simple_file_size($file['size']);
// the bigger the file, the darker the shade of grey; megabytes*2