nextcloud/apps/files_trashbin/templates/part.breadcrumb.php

20 lines
704 B
PHP
Raw Normal View History

<div class="crumb home">
<a href="<?php print_unescaped($_['home']); ?>">
<img src="<?php print_unescaped(OCP\image_path('core', 'places/home.svg'));?>" class="svg" />
</a>
</div>
2013-12-13 15:17:10 +04:00
<div class="crumb svg"
data-dir='/'>
<a href="<?php p($_['baseURL']); ?>"><?php p($l->t("Deleted Files")); ?></a>
2013-12-13 15:17:10 +04:00
</div>
<?php if(count($_["breadcrumb"])):?>
<?php endif;?>
<?php for($i=0; $i<count($_["breadcrumb"]); $i++):
$crumb = $_["breadcrumb"][$i];
2013-07-04 20:23:31 +04:00
$dir = \OCP\Util::encodePath($crumb["dir"]); ?>
2013-04-18 20:28:03 +04: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>
</div>
<?php endfor;