Skip to content
Snippets Groups Projects
Commit f70f9f3b authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Merge pull request #1043 from owncloud/fix_breadcrumb_slashes

Replace %2F with / in breadcrumbs
parents 66e57f5f b5b48428
No related branches found
No related tags found
No related merge requests found
<?php for($i=0; $i<count($_["breadcrumb"]); $i++):
$crumb = $_["breadcrumb"][$i];
$dir = str_replace('+', '%20', urlencode($crumb["dir"])); ?>
$crumb = $_["breadcrumb"][$i];
$dir = str_replace('+', '%20', urlencode($crumb["dir"]));
$dir = str_replace('%2F', '/', $dir); ?>
<div class="crumb <?php if($i == count($_["breadcrumb"])-1) echo 'last';?> svg"
data-dir='<?php echo $dir;?>'
style='background-image:url("<?php echo OCP\image_path('core', 'breadcrumb.png');?>")'>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment