[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_media/layouts/toolbar/ -> create-folder.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  com_media
   6   *
   7   * @copyright   (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
   8   * @license     GNU General Public License version 2 or later; see LICENSE.txt
   9   */
  10  
  11  defined('_JEXEC') or die;
  12  
  13  use Joomla\CMS\Factory;
  14  use Joomla\CMS\Language\Text;
  15  
  16  Factory::getDocument()->getWebAssetManager()
  17      ->useScript('webcomponent.toolbar-button');
  18  
  19  $title = Text::_('COM_MEDIA_CREATE_NEW_FOLDER');
  20  ?>
  21  <joomla-toolbar-button>
  22      <button class="btn btn-info" onclick="MediaManager.Event.fire('onClickCreateFolder');">
  23          <span class="icon-folder icon-fw" aria-hidden="true"></span>
  24          <?php echo $title; ?>
  25      </button>
  26  </joomla-toolbar-button>


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer