?
Path : /home/admin/public_html/old/administrator/components/com_media/views/media/tmpl/ |
Current File : /home/admin/public_html/old/administrator/components/com_media/views/media/tmpl/default_folders.php |
<?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // Set up the sanitised target for the ul $ulTarget = str_replace('/', '-', $this->folders['data']->relative); ?> <ul class="nav nav-list collapse in" id="collapseFolder-<?php echo $ulTarget; ?>"> <?php if (isset($this->folders['children'])) : foreach ($this->folders['children'] as $folder) : // Get a sanitised name for the target $target = str_replace('/', '-', $folder['data']->relative); ?> <li id="<?php echo $target; ?>"> <span class="icon-folder-2 pull-left" data-toggle="collapse" data-target="#collapseFolder-<?php echo $target; ?>"></span> <a href="index.php?option=com_media&view=mediaList&tmpl=component&folder=<?php echo $folder['data']->relative; ?>" target="folderframe"> <?php echo $folder['data']->name; ?> </a> <?php echo $this->getFolderLevel($folder); ?> </li> <?php endforeach; endif; ?> </ul>