13 lines
606 B
PHP
13 lines
606 B
PHP
<?php if(count($_["breadcrumb"])):?>
|
|
<div class="crumb">
|
|
<a href="<?php echo $_['baseURL'].urlencode($crumb['dir']); ?>">
|
|
<img src="<?php echo OCP\image_path('core','places/home.svg');?>" />
|
|
</a>
|
|
</div>
|
|
<?php endif;?>
|
|
<?php for($i=0; $i<count($_["breadcrumb"]); $i++):
|
|
$crumb = $_["breadcrumb"][$i]; ?>
|
|
<div class="crumb <?php if($i == count($_["breadcrumb"])-1) echo 'last';?> svg" data-dir='<?php echo urlencode($crumb["dir"]);?>'>
|
|
<a href="<?php echo $_['baseURL'].urlencode($crumb['dir']); ?>"><?php echo OCP\Util::sanitizeHTML($crumb["name"]); ?></a>
|
|
</div>
|
|
<?php endfor;?>
|