nextcloud/files/templates/part.breadcrumb.php

6 lines
434 B
PHP
Raw Normal View History

<?php for($i=0; $i<count($_["breadcrumb"]); $i++):
2011-10-21 21:09:41 +04:00
$crumb = $_["breadcrumb"][$i]; ?>
<div class="crumb <?php if($i == count($_["breadcrumb"])-1) echo 'last';?> svg" data-dir='<?php echo $crumb["dir"];?>' style='background-image:url("<?php echo image_path('core','breadcrumb.png');?>")'>
2011-10-21 21:09:41 +04:00
<a href="<?php echo $_['baseURL'].$crumb["dir"]; ?>"><?php echo htmlspecialchars($crumb["name"]); ?></a>
</div>
<?php endfor;?>