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,29 @@
<?php
/**
* @package Joomla.Administrator
* @subpackage com_messages
*
* @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;
$displayData = [
'textPrefix' => 'COM_MESSAGES',
'formURL' => 'index.php?option=com_messages&view=messages',
'helpURL' => 'https://docs.joomla.org/Special:MyLanguage/Help40:Private_Messages',
'icon' => 'icon-envelope inbox',
];
if (
$this->getCurrentUser()->authorise('core.create', 'com_messages')
&& $this->getCurrentUser()->authorise('core.manage', 'com_users')
) {
$displayData['createURL'] = 'index.php?option=com_messages&task=message.add';
}
echo LayoutHelper::render('joomla.content.emptystate', $displayData);