diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-06-04 20:16:44 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-06-04 20:16:44 +0200 |
commit | 1eb0faa2642babdd3031fdfa611ee10d1a3ccec5 (patch) | |
tree | 78b311b484839586f78200bb4b537627de89958a /files/templates | |
parent | 3892fe55110ce86d742cabcf1422d96115590c5b (diff) | |
download | nextcloud-server-1eb0faa2642babdd3031fdfa611ee10d1a3ccec5.tar.gz nextcloud-server-1eb0faa2642babdd3031fdfa611ee10d1a3ccec5.zip |
make fileactions extendable by plugins
Diffstat (limited to 'files/templates')
-rw-r--r-- | files/templates/index.php | 3 | ||||
-rw-r--r-- | files/templates/part.list.php | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/files/templates/index.php b/files/templates/index.php index 6222724e7be..11cf0360e1e 100644 --- a/files/templates/index.php +++ b/files/templates/index.php @@ -44,8 +44,5 @@ <div id="file_menu"> <ul> - <li><a href="" title="" id="download_single_file">Download</a></li> - <li><a href="" title="">Share</a></li> - <li><a href="" title="" id="delete_single_file">Delete</a></li> </ul> </div> diff --git a/files/templates/part.list.php b/files/templates/part.list.php index f99cd87be24..16d9d92c040 100644 --- a/files/templates/part.list.php +++ b/files/templates/part.list.php @@ -1,5 +1,5 @@ <?php foreach($_["files"] as $file): ?> - <tr data-file='<?php echo $file['name'];?>' data-type='<?php echo ($file["type"] == "dir")?'dir':'file'?>'> + <tr data-file='<?php echo $file['name'];?>' data-type='<?php echo ($file["type"] == "dir")?'dir':'file'?>' data-mime='<?php echo $file["mime"]?>'> <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> |