summaryrefslogtreecommitdiffstats
path: root/apps/files/templates
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-10-02 09:56:08 -0700
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-10-02 09:56:08 -0700
commitf8093699f70813f72954725e3cfa69510b7f7e2a (patch)
tree4eda4d683f97a62bd5e52ce179825fd6bc0dbbe9 /apps/files/templates
parentc87b9fafc47c63f5705e175132d844de20a66436 (diff)
parent0d5653c6b1a5ef78f3619a7937c20a795797a499 (diff)
downloadnextcloud-server-f8093699f70813f72954725e3cfa69510b7f7e2a.tar.gz
nextcloud-server-f8093699f70813f72954725e3cfa69510b7f7e2a.zip
Merge pull request #5093 from owncloud/file-actions
File Selected on Click instead of download.
Diffstat (limited to 'apps/files/templates')
-rw-r--r--apps/files/templates/part.list.php15
1 files changed, 7 insertions, 8 deletions
diff --git a/apps/files/templates/part.list.php b/apps/files/templates/part.list.php
index 1e4d4d11c98..0679da334de 100644
--- a/apps/files/templates/part.list.php
+++ b/apps/files/templates/part.list.php
@@ -30,16 +30,15 @@ $totalsize = 0; ?>
<?php endif; ?>
<?php if($file['type'] == 'dir'): ?>
<a class="name" href="<?php p(rtrim($_['baseURL'],'/').'/'.trim($directory,'/').'/'.$name); ?>" title="">
+ <span class="nametext">
+ <?php print_unescaped(htmlspecialchars($file['name']));?>
+ </span>
<?php else: ?>
- <a class="name" href="<?php p(rtrim($_['downloadURL'],'/').'/'.trim($directory,'/').'/'.$name); ?>" title="">
+ <a class="name" href="<?php p(rtrim($_['downloadURL'],'/').'/'.trim($directory,'/').'/'.$name); ?>">
+ <label class="filetext" title="" for="select-<?php p($file['fileid']); ?>"></label>
+ <span class="nametext"><?php print_unescaped(htmlspecialchars($file['basename']));?><span class='extension'><?php p($file['extension']);?></span>
+ </a>
<?php endif; ?>
- <span class="nametext">
- <?php if($file['type'] == 'dir'):?>
- <?php print_unescaped(htmlspecialchars($file['name']));?>
- <?php else:?>
- <?php print_unescaped(htmlspecialchars($file['basename']));?><span class='extension'><?php p($file['extension']);?></span>
- <?php endif;?>
- </span>
<?php if($file['type'] == 'dir'):?>
<span class="uploadtext" currentUploads="0">
</span>