PHP Classes

File: application/templates/home/ajax/load_breadcrumb.php

Recommend this page to a friend!
  Classes of Tran Tuan   Pretty PHP S3 Files Manager   application/templates/home/ajax/load_breadcrumb.php   Download  
File: application/templates/home/ajax/load_breadcrumb.php
Role: Application script
Content type: text/plain
Description: Initial
Class: Pretty PHP S3 Files Manager
Web based interface to manage files in Amazon S3
Author: By
Last change:
Date: 8 years ago
Size: 847 bytes
 

Contents

Class file image Download
<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); ?>" />