@copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html A sermon distributor that links to Dropbox. /----------------------------------------------------------------------------------------------------------------------------------*/ use Joomla\CMS\Layout\LayoutHelper; // No direct access to this file defined('_JEXEC') or die; $displayData = [ 'textPrefix' => 'COM_SERMONDISTRIBUTOR_EXTERNAL_SOURCES', 'formURL' => 'index.php?option=com_sermondistributor&view=external_sources', 'icon' => 'icon-puzzle', ]; if ($this->user->authorise('external_source.create', 'com_sermondistributor')) { $displayData['createURL'] = 'index.php?option=com_sermondistributor&task=external_source.add'; } echo LayoutHelper::render('joomla.content.emptystate', $displayData);