2013-01-15 17:40:38 +04:00
|
|
|
<?php if(count($_["breadcrumb"])):?>
|
2012-10-28 19:05:31 +04:00
|
|
|
<div class="crumb">
|
2013-02-05 05:40:16 +04:00
|
|
|
<a href="<?php echo $_['baseURL']; ?>">
|
2013-02-09 20:35:47 +04:00
|
|
|
<img src="<?php echo OCP\image_path('core', 'places/home.svg');?>" class="svg" />
|
2012-10-28 19:05:31 +04:00
|
|
|
</a>
|
|
|
|
</div>
|
2013-01-15 17:40:38 +04:00
|
|
|
<?php endif;?>
|
2013-01-13 04:02:11 +04:00
|
|
|
<?php for($i=0; $i<count($_["breadcrumb"]); $i++):
|
2012-11-16 15:58:24 +04:00
|
|
|
$crumb = $_["breadcrumb"][$i];
|
2013-01-13 04:02:11 +04:00
|
|
|
$dir = str_replace('+', '%20', urlencode($crumb["dir"]));
|
|
|
|
$dir = str_replace('%2F', '/', $dir); ?>
|
|
|
|
<div class="crumb <?php if($i == count($_["breadcrumb"])-1) echo 'last';?> svg"
|
2013-01-25 19:20:55 +04:00
|
|
|
data-dir='<?php echo $dir;?>'>
|
2013-01-13 04:02:11 +04:00
|
|
|
<a href="<?php echo $_['baseURL'].$dir; ?>"><?php echo OCP\Util::sanitizeHTML($crumb["name"]); ?></a>
|
|
|
|
</div>
|
2013-01-15 17:40:38 +04:00
|
|
|
<?php endfor;
|