Robot
d1e1a56671
Move beta to main repo. Fix #1053 so that the right and left tabs display correctly in Joomla 4&5.
34 lines
1.0 KiB
PHP
34 lines
1.0 KiB
PHP
<?php
|
|
/**
|
|
* @package Joomla.Component.Builder
|
|
*
|
|
* @created 4th September 2022
|
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
|
* @git Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
|
|
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
*/
|
|
|
|
// No direct access to this JCB template file (EVER)
|
|
defined('_JCB_TEMPLATE') or die;
|
|
?>
|
|
###BOM###
|
|
|
|
use Joomla\CMS\Layout\LayoutHelper;
|
|
|
|
// No direct access to this file
|
|
defined('_JEXEC') or die;###LICENSE_LOCKED_DEFINED###
|
|
|
|
$displayData = [
|
|
'textPrefix' => 'COM_###COMPONENT###_###VIEWS###',
|
|
'formURL' => 'index.php?option=com_###component###&view=###views###',
|
|
'icon' => 'icon-###ICOMOON###',
|
|
];
|
|
|
|
if ($this->user->authorise('###view###.create', 'com_###component###'))
|
|
{
|
|
$displayData['createURL'] = 'index.php?option=com_###component###&task=###view###.add';
|
|
}
|
|
|
|
echo LayoutHelper::render('joomla.content.emptystate', $displayData);
|