@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_HELP_DOCUMENTS', 'formURL' => 'index.php?option=com_sermondistributor&view=help_documents', 'icon' => 'icon-support', ]; if ($this->user->authorise('help_document.create', 'com_sermondistributor')) { $displayData['createURL'] = 'index.php?option=com_sermondistributor&task=help_document.add'; } echo LayoutHelper::render('joomla.content.emptystate', $displayData);