<ul class="folder-breadcrumb">
<li><i class="fa fa-folder-open-o"></i> <b>Current path :</b> </li>
<li><a onclick="PrettyS3FilesManager.Bucket.loadObjects('/', 0)" href="javascript:;">/</a></li>
<?php
$prefix = '';
if(!empty($folder)):
foreach ($folder as $row): $name .= $row . "/"; $prefix = $name; ?>
<?php if ($row == end($folder)) : ?>
<li class="active"><?php echo $row; ?></li>
<?php else: ?>
<li><a onclick="PrettyS3FilesManager.File.breadCrumbNavigator('<?php echo $name; ?>', 0, '<?php echo md5($name); ?>')" href="javascript:;"><?php echo $row; ?></a></li>
<li>/</li>
<?php endif; ?>
<?php endforeach;
endif;
?>
</ul>
<input type="hidden" id="prefix_curent" value="<?php echo md5($prefix); ?>" />
|