summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/templates/part.list.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-12-02 15:27:40 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2013-12-02 16:30:03 +0100
commitee66db447fc12aed4ef441710a29fab2e03aa47e (patch)
treedc9ec7b20ce51f677396041198082a33fd068292 /apps/files_trashbin/templates/part.list.php
parenta81d4175ba1d0625a0096c6383f1af4505eb1d4d (diff)
downloadnextcloud-server-ee66db447fc12aed4ef441710a29fab2e03aa47e.tar.gz
nextcloud-server-ee66db447fc12aed4ef441710a29fab2e03aa47e.zip
make it possible to select folders
Diffstat (limited to 'apps/files_trashbin/templates/part.list.php')
-rw-r--r--apps/files_trashbin/templates/part.list.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/apps/files_trashbin/templates/part.list.php b/apps/files_trashbin/templates/part.list.php
index 78709d986ae..c32d9fd54da 100644
--- a/apps/files_trashbin/templates/part.list.php
+++ b/apps/files_trashbin/templates/part.list.php
@@ -35,18 +35,21 @@
<?php endif; ?>
<?php endif; ?>
>
- <?php if(!isset($_['readonly']) || !$_['readonly']): ?><input type="checkbox" /><?php endif; ?>
+ <?php if(!isset($_['readonly']) || !$_['readonly']): ?>
+ <input id="select-<?php p($file['id']); ?>" type="checkbox" />
+ <label for="select-<?php p($file['id']); ?>"></label>
+ <?php endif; ?>
<?php if($file['type'] === 'dir'): ?>
<?php if( $_['dirlisting'] ): ?>
- <a class="name" href="<?php p($_['baseURL'].'/'.$name); ?>" title="">
+ <a class="name dir" href="<?php p($_['baseURL'].'/'.$name); ?>" title="">
<?php else: ?>
- <a class="name" href="<?php p($_['baseURL'].'/'.$name.'.d'.$file['timestamp']); ?>" title="">
+ <a class="name dir" href="<?php p($_['baseURL'].'/'.$name.'.d'.$file['timestamp']); ?>" title="">
<?php endif; ?>
<?php else: ?>
<?php if( $_['dirlisting'] ): ?>
- <a class="name" href="<?php p($_['downloadURL'].'/'.$name); ?>" title="">
+ <a class="name file" href="<?php p($_['downloadURL'].'/'.$name); ?>" title="">
<?php else: ?>
- <a class="name" href="<?php p($_['downloadURL'].'/'.$name.'.d'.$file['timestamp']);?>" title="">
+ <a class="name file" href="<?php p($_['downloadURL'].'/'.$name.'.d'.$file['timestamp']);?>" title="">
<?php endif; ?>
<?php endif; ?>
<span class="nametext">