@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\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\HTML\HTMLHelper as Html; use TrueChristianChurch\Component\Sermondistributor\Administrator\Helper\SermondistributorHelper; // No direct access to this file defined('_JEXEC') or die; $edit = "index.php?option=com_sermondistributor&view=sermons&task=sermon.edit"; ?> items as $i => $item): ?> user->authorise('core.manage', 'com_checkin') || $item->checked_out == $this->user->id || $item->checked_out == 0; $userChkOut = Factory::getContainer()-> get(\Joomla\CMS\User\UserFactoryInterface::class)-> loadUserById($item->checked_out); $canDo = SermondistributorHelper::getActions('sermon',$item,'sermons'); ?>