Blame view

sources/apps/files/templates/part.breadcrumb.php 591 Bytes
03e52840d   Kload   Init
1
2
3
4
5
6
7
8
9
  <?php if(count($_["breadcrumb"])):?>
  	<div class="crumb" data-dir=''>
  		<a href="<?php print_unescaped($_['baseURL']); ?>">
  			<img src="<?php print_unescaped(OCP\image_path('core', 'places/home.svg'));?>" class="svg" />
  		</a>
  	</div>
  <?php endif;?>
  <?php for($i=0; $i<count($_["breadcrumb"]); $i++):
  	$crumb = $_["breadcrumb"][$i];
31b7f2792   Kload   Upgrade to ownclo...
10
  	$dir = \OCP\Util::encodePath($crumb["dir"]); ?>
03e52840d   Kload   Init
11
12
13
14
15
  	<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;