20c24f234f
fixes issue #438
7 lines
475 B
PHP
7 lines
475 B
PHP
<?php for($i=0; $i<count($_["breadcrumb"]); $i++):
|
|
$crumb = $_["breadcrumb"][$i];
|
|
$dir = str_replace('+','%20', urlencode($crumb["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');?>")'>
|
|
<a href="<?php echo $_['baseURL'].$dir; ?>"><?php echo OCP\Util::sanitizeHTML($crumb["name"]); ?></a>
|
|
</div>
|
|
<?php endfor;?>
|