diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-06-04 18:44:14 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-06-04 18:44:14 +0200 |
commit | 3892fe55110ce86d742cabcf1422d96115590c5b (patch) | |
tree | fcfa3a717040232790ed5e7110431e71842eba7b /files/templates | |
parent | d8ba312679a9bdeedbae5cf64fe05874f1108620 (diff) | |
download | nextcloud-server-3892fe55110ce86d742cabcf1422d96115590c5b.tar.gz nextcloud-server-3892fe55110ce86d742cabcf1422d96115590c5b.zip |
some refactoring of the filebrowsers javascript code
Diffstat (limited to 'files/templates')
-rw-r--r-- | files/templates/part.list.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/templates/part.list.php b/files/templates/part.list.php index 0d3355678c3..f99cd87be24 100644 --- a/files/templates/part.list.php +++ b/files/templates/part.list.php @@ -1,5 +1,5 @@ <?php foreach($_["files"] as $file): ?> - <tr> + <tr data-file='<?php echo $file['name'];?>' data-type='<?php echo ($file["type"] == "dir")?'dir':'file'?>'> <td class="selection"><input type="checkbox" /></td> <td class="filename"><a style="background-image:url(<?php if($file["type"] == "dir") echo mimetype_icon("dir"); else echo mimetype_icon($file["mime"]); ?>)" href="<?php if($file["type"] == "dir") echo link_to("files", "index.php?dir=".$file["directory"]."/".$file["name"]); else echo link_to("files", "download.php?file=".$file["directory"]."/".$file["name"]); ?>" title=""><?php echo htmlspecialchars($file["name"]); ?></a></td> <td class="filesize"><?php echo human_file_size($file["size"]); ?></td> |