6 lines
No EOL
434 B
PHP
Executable file
6 lines
No EOL
434 B
PHP
Executable file
<?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 $crumb["dir"];?>' style='background-image:url("<?php echo OCP\image_path('core','breadcrumb.png');?>")'>
|
|
<a href="<?php echo $_['baseURL'].$crumb["dir"]; ?>"><?php echo htmlentities($crumb["name"]); ?></a>
|
|
</div>
|
|
<?php endfor;?>
|