first commit

This commit is contained in:
2025-06-17 11:53:18 +02:00
commit 9f0f7ba12b
8804 changed files with 1369176 additions and 0 deletions

View File

@ -0,0 +1,26 @@
<?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>

View File

@ -0,0 +1,26 @@
<?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::_('JTOOLBAR_DELETE');
?>
<joomla-toolbar-button>
<button id="mediaDelete" class="btn btn-danger" onclick="MediaManager.Event.fire('onClickDelete');">
<span class="icon-times" aria-hidden="true"></span>
<?php echo $title; ?>
</button>
</joomla-toolbar-button>

View File

@ -0,0 +1,26 @@
<?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::_('JTOOLBAR_UPLOAD');
?>
<joomla-toolbar-button>
<button class="btn btn-success" onclick="MediaManager.Event.fire('onClickUpload');">
<span class="icon-upload" aria-hidden="true"></span>
<?php echo $title; ?>
</button>
</joomla-toolbar-button>