@git Get Bible @github Get Bible @support Get Bible @copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html /------------------------------------------------------------------------------------------------------*/ use Joomla\CMS\Layout\LayoutHelper; // No direct access to this file defined('_JEXEC') or die; $displayData = [ 'textPrefix' => 'COM_GETBIBLE_CHAPTERS', 'formURL' => 'index.php?option=com_getbible&view=chapters', 'icon' => 'icon-generic', ]; if ($this->user->authorise('chapter.create', 'com_getbible')) { $displayData['createURL'] = 'index.php?option=com_getbible&task=chapter.add'; } echo LayoutHelper::render('joomla.content.emptystate', $displayData);