2014-03-27 22:53:19 +00:00
|
|
|
<div class="crumb svg <?php if(!count($_["breadcrumb"])) p('last');?>" data-dir=''>
|
2013-12-13 13:34:26 +00:00
|
|
|
<a href="<?php print_unescaped($_['baseURL']); ?>">
|
2014-01-15 12:36:14 +00:00
|
|
|
<?php if(isset($_['rootBreadCrumb'])):
|
|
|
|
echo $_['rootBreadCrumb'];
|
|
|
|
else:?>
|
|
|
|
<img src="<?php print_unescaped(OCP\image_path('core', 'places/home.svg'));?>" class="svg" />
|
|
|
|
<?php endif;?>
|
2013-12-13 13:34:26 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
2013-01-13 00:02:11 +00:00
|
|
|
<?php for($i=0; $i<count($_["breadcrumb"]); $i++):
|
2012-11-16 11:58:24 +00:00
|
|
|
$crumb = $_["breadcrumb"][$i];
|
2013-07-04 16:23:31 +00:00
|
|
|
$dir = \OCP\Util::encodePath($crumb["dir"]); ?>
|
2013-02-27 20:14:15 +00:00
|
|
|
<div class="crumb <?php if($i == count($_["breadcrumb"])-1) p('last');?> svg"
|
|
|
|
data-dir='<?php p($dir);?>'>
|
|
|
|
<a href="<?php p($_['baseURL'].$dir); ?>"><?php p($crumb["name"]); ?></a>
|
2013-01-13 00:02:11 +00:00
|
|
|
</div>
|
2013-01-15 13:40:38 +00:00
|
|
|
<?php endfor;
|