CoreFiles by mySites.guru
create-folder.php26 lines, 719 bytes, from Joomla_4.3.2-Stable-Full_Package.zip
Raw History Compare with 4.3.1
md5
c8a7c2d5da15f9c77af75d080cd6dc5e
sha1
af704fc139336d3023e66f7597bae0a65345ca27
sha256
886143d20884e3c5362093dd9d8277aab27e4d5c00508125a54a334a7b735c50
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_media
 *
 * @copyright   (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;

Factory::getDocument()->getWebAssetManager()
    ->useScript('webcomponent.toolbar-button');

$title = Text::_('COM_MEDIA_CREATE_NEW_FOLDER');
?>
<joomla-toolbar-button>
    <button class="btn btn-info" onclick="MediaManager.Event.fire('onClickCreateFolder');">
        <span class="icon-folder icon-fw" aria-hidden="true"></span>
        <?php echo $title; ?>
    </button>
</joomla-toolbar-button>

The same content is in 233 releases, Joomla 4.2.0-beta3 to 6.3.0-alpha1. See them all, or every version of this file.