default_folders.php
801 Bytes
<?php
/**
* @package Joomla.Administrator
* @subpackage com_templates
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
ksort($this->files, SORT_STRING);
?>
<ul class='nav nav-list directory-tree'>
<?php foreach ($this->files as $key => $value) : ?>
<?php if (is_array($value)) : ?>
<li class="folder-select">
<a class='folder-url nowrap' data-id='<?php echo base64_encode($key); ?>' href=''>
<span class='icon-folder'> <?php $explodeArray = explode('/', $key); echo $this->escape(end($explodeArray)); ?></span>
</a>
<?php echo $this->folderTree($value); ?>
</li>
<?php endif; ?>
<?php endforeach; ?>
</ul>