summaryrefslogtreecommitdiffstats
path: root/files/templates
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2011-04-17 16:19:21 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2011-04-17 16:19:21 +0200
commit270e1101f4e6dabb8ea578282bedd5476ca2e9f0 (patch)
tree12b46b0d53e2b331de8c8716dab72a033447ff5f /files/templates
parent5759802091d416563d27ab3540115d49e8e16b0d (diff)
downloadnextcloud-server-270e1101f4e6dabb8ea578282bedd5476ca2e9f0.tar.gz
nextcloud-server-270e1101f4e6dabb8ea578282bedd5476ca2e9f0.zip
some forgotten files...
Diffstat (limited to 'files/templates')
-rw-r--r--files/templates/index.php2
-rw-r--r--files/templates/part.breadcrumb.php4
-rw-r--r--files/templates/part.list.php9
3 files changed, 15 insertions, 0 deletions
diff --git a/files/templates/index.php b/files/templates/index.php
index 5277441b535..28187bcb531 100644
--- a/files/templates/index.php
+++ b/files/templates/index.php
@@ -14,6 +14,8 @@ type="file" name="file" id="fileSelector"><input type="submit"
id="file_upload_start" value="Upload" /><iframe id="file_upload_target"
name="file_upload_target" src=""></iframe></form>
</div>
+ <div id="file_action_panel">
+ </div>
</div>
<p class="nav">
diff --git a/files/templates/part.breadcrumb.php b/files/templates/part.breadcrumb.php
new file mode 100644
index 00000000000..4d11edb984a
--- /dev/null
+++ b/files/templates/part.breadcrumb.php
@@ -0,0 +1,4 @@
+ <a href="<?php echo link_to("files", "index.php?dir=/"); ?>"><img src="<?php echo image_path("", "actions/go-home.png"); ?>" alt="Root" /></a>
+ <?php foreach($_["breadcrumb"] as $crumb): ?>
+ <a href="<?php echo link_to("files", "index.php?dir=".$crumb["dir"]); ?>"><?php echo $crumb["name"]; ?></a>
+ <?php endforeach; ?> \ No newline at end of file
diff --git a/files/templates/part.list.php b/files/templates/part.list.php
new file mode 100644
index 00000000000..76d938326b6
--- /dev/null
+++ b/files/templates/part.list.php
@@ -0,0 +1,9 @@
+ <?php foreach($_["files"] as $file): ?>
+ <tr>
+ <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 $file["name"]; ?></a></td>
+ <td class="filesize"><?php echo human_file_size($file["size"]); ?></td>
+ <td class="date"><?php if($file["type"] != "dir") echo $file["date"]; ?></td>
+ <td class="fileaction"><a href="" title=""><img src="images/drop-arrow.png" alt="+" /></a></td>
+ </tr>
+ <?php endforeach; ?> \ No newline at end of file