* @copyright Copyright (C) 2020 Vast Development Method. All rights reserved. * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html * * Portal for mobile health clinics */ // No direct access to this file defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\HTML\HTMLHelper as Html; use VDM\Component\Ehealthportal\Administrator\Helper\EhealthportalHelper; $edit = "index.php?option=com_ehealthportal&view=sites&task=site.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 = EhealthportalHelper::getActions('site',$item,'sites'); ?> get('core.edit.state')): ?> saveOrder) { $iconClass = ' inactive tip-top" hasTooltip" title="' . Html::tooltipText('JORDERINGDISABLED'); } ?> saveOrder) : ?> get('core.edit')): ?> checked_out) : ?> id); ?> id); ?>
get('core.edit')): ?> escape($item->site_name); ?> checked_out): ?> name, $item->checked_out_time, 'sites.', $canCheckin); ?> escape($item->site_name); ?>
escape($item->description); ?> escape($item->site_region); ?> get('core.edit.state')) : ?> checked_out) : ?> published, $i, 'sites.', true, 'cb'); ?> published, $i, 'sites.', false, 'cb'); ?> published, $i, 'sites.', true, 'cb'); ?> published, $i, 'sites.', false, 'cb'); ?> id; ?>