2011-10-22 01:30:12 +04:00
|
|
|
<?php for($i=0; $i<count($_["breadcrumb"]); $i++):
|
2012-12-29 04:41:37 +04:00
|
|
|
$crumb = $_["breadcrumb"][$i];
|
|
|
|
$dir = str_replace('+', '%20', urlencode($crumb["dir"]));
|
|
|
|
$dir = str_replace('%2F', '/', $dir); ?>
|
2012-11-29 21:30:02 +04:00
|
|
|
<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 15:58:24 +04:00
|
|
|
<a href="<?php echo $_['baseURL'].$dir; ?>"><?php echo OCP\Util::sanitizeHTML($crumb["name"]); ?></a>
|
2011-07-07 23:43:35 +04:00
|
|
|
</div>
|
2012-11-29 21:30:02 +04:00
|
|
|
<?php endfor;
|