primo commit

This commit is contained in:
2024-12-17 17:34:10 +01:00
commit e650f8df99
16435 changed files with 2451012 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<?php
/**
* @package Joomla.Administrator
* @subpackage com_banners
*
* @copyright (C) 2021 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\Layout\LayoutHelper;
/** @var \Joomla\Component\Banners\Administrator\View\Clients\HtmlView $this */
$displayData = [
'textPrefix' => 'COM_BANNERS_CLIENT',
'formURL' => 'index.php?option=com_banners&view=clients',
'helpURL' => 'https://docs.joomla.org/Special:MyLanguage/Help5.x:Banners:_Clients',
'icon' => 'icon-bookmark banners',
];
if (count($this->getCurrentUser()->getAuthorisedCategories('com_banners', 'core.create')) > 0) {
$displayData['createURL'] = 'index.php?option=com_banners&task=client.add';
}
echo LayoutHelper::render('joomla.content.emptystate', $displayData);