2012-10-28 15:05:31 +00:00
|
|
|
<?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;?>
|
2011-10-21 21:30:12 +00:00
|
|
|
<?php for($i=0; $i<count($_["breadcrumb"]); $i++):
|
2012-11-16 11:58:24 +00:00
|
|
|
$crumb = $_["breadcrumb"][$i];
|
2012-11-29 17:30:02 +00:00
|
|
|
$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');?>")'>
|
2012-11-16 11:58:24 +00:00
|
|
|
<a href="<?php echo $_['baseURL'].$dir; ?>"><?php echo OCP\Util::sanitizeHTML($crumb["name"]); ?></a>
|
2011-07-07 19:43:35 +00:00
|
|
|
</div>
|
2012-12-18 14:41:58 +00:00
|
|
|
<?php endfor;
|