summaryrefslogtreecommitdiffstats
path: root/files/templates
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2011-10-03 22:59:40 +0100
committerTom Needham <needham.thomas@gmail.com>2011-10-03 22:59:40 +0100
commit02d7b1a1fc8f4bf62bfb973acfa0ee19ffa469ff (patch)
treedbf59263769a549a09f2aa5af3ccf2c9571bb125 /files/templates
parent0825073e8cac2a654bbc89b99b5a83cdfee7a836 (diff)
parente8c6252a4ce1151b11f1faa8e602c06aae4294d8 (diff)
downloadnextcloud-server-02d7b1a1fc8f4bf62bfb973acfa0ee19ffa469ff.tar.gz
nextcloud-server-02d7b1a1fc8f4bf62bfb973acfa0ee19ffa469ff.zip
Added breadcrumb and control bar.
Diffstat (limited to 'files/templates')
-rw-r--r--files/templates/part.breadcrumb.php2
-rw-r--r--files/templates/part.list.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/files/templates/part.breadcrumb.php b/files/templates/part.breadcrumb.php
index 9a265a9c1ea..63242dd326c 100644
--- a/files/templates/part.breadcrumb.php
+++ b/files/templates/part.breadcrumb.php
@@ -2,4 +2,4 @@
<div class="crumb svg" data-dir='<?php echo $crumb["dir"];?>' style='background-image:url("<?php echo image_path('core','breadcrumb.png');?>")'>
<a href="<?php echo $_['baseURL'].$crumb["dir"]; ?>"><?php echo htmlspecialchars($crumb["name"]); ?></a>
</div>
- <?php endforeach; ?>
+ <?php endforeach; ?> \ No newline at end of file
diff --git a/files/templates/part.list.php b/files/templates/part.list.php
index 398094f56d0..6bf5efe2fb2 100644
--- a/files/templates/part.list.php
+++ b/files/templates/part.list.php
@@ -8,7 +8,7 @@
<tr data-file="<?php echo $file['name'];?>" data-type="<?php echo ($file['type'] == 'dir')?'dir':'file'?>" data-mime="<?php echo $file['mime']?>" data-size='<?php echo $file['size'];?>'>
<td class="filename svg" style="background-image:url(<?php if($file['type'] == 'dir') echo mimetype_icon('dir'); else echo mimetype_icon($file['mime']); ?>)">
<?php if(!isset($_['readonly']) || !$_['readonly']) { ?><input type="checkbox" /><?php } ?>
- <a class="name" href="<?php if($file['type'] == 'dir') echo $_['baseURL'].$file['directory'].'/'.$file['name']; else echo $_['downloadURL'].$file['directory'].'/'.$file['name']; ?>" title="">
+ <a class="name" href="<?php if($file['type'] == 'dir') echo $_['baseURL'].$file['directory'].'/'.$file['name']; else echo $_['downloadURL'].urlencode($file['directory']).'/'.urlencode($file['name']); ?>" title="">
<span class="nametext">
<?php if($file['type'] == 'dir'):?>
<?php echo htmlspecialchars($file['name']);?>