CoreFiles by mySites.guru
default_folders.php26 lines, 805 bytes, from Joomla_4.0.1-Stable-Full_Package.zip
Raw History Compare with 4.0.0
md5
96bf89319e20ce46b136f7edb19aa6e0
sha1
e7af40b26dfd1d547cf0077489e27ea903f2e7d4
sha256
e592fef727c13c0873b5faf5a8631ad29d5f9b92986136be1f39fe1318c45fdd
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_templates
 *
 * @copyright   (C) 2013 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;
ksort($this->files, SORT_STRING);
?>

<ul class="directory-tree treeselect">
	<?php foreach($this->files as $key => $value) : ?>
		<?php if (is_array($value)) : ?>
			<li class="folder-select">
				<a class="folder-url" data-id="<?php echo base64_encode($key); ?>" href="">
					<span class="icon-folder icon-fw" aria-hidden="true"></span>
					<?php $explodeArray = explode('/', $key); echo $this->escape(end($explodeArray)); ?>
				</a>
				<?php echo $this->folderTree($value); ?>
			</li>
		<?php endif; ?>
	<?php endforeach; ?>
</ul>

The same content is in 27 releases, Joomla 4.0.0-beta6 to 4.1.0-alpha3. See them all, or every version of this file.