@copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html Support Groups /-----------------------------------------------------------------------------------------------------------------------------*/ // No direct access to this file defined('_JEXEC') or die('Restricted access'); // set the defaults $items = $displayData->vvwsupport_groups; $user = JFactory::getUser(); $id = $displayData->item->id; // set the edit URL $edit = "index.php?option=com_supportgroups&view=support_groups&task=support_group.edit"; // set a return value $return = ($id) ? "index.php?option=com_supportgroups&view=additional_info&layout=edit&id=" . $id : ""; // check for a return value $jinput = JFactory::getApplication()->input; if ($_return = $jinput->get('return', null, 'base64')) { $return .= "&return=" . $_return; } // check if return value was set if (SupportgroupsHelper::checkString($return)) { // set the referral values $ref = ($id) ? "&ref=additional_info&refid=" . $id . "&return=" . urlencode(base64_encode($return)) : "&return=" . urlencode(base64_encode($return)); } else { $ref = ($id) ? "&ref=additional_info&refid=" . $id : ""; } ?>
$item): ?> authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0; $userChkOut = JFactory::getUser($item->checked_out); $canDo = SupportgroupsHelper::getActions('support_group',$item,'support_groups'); ?> published == 1): ?> published == 0): ?> published == 2): ?> published == -2): ?>
get('support_group.edit')): ?> escape($item->name); ?> checked_out): ?> name, $item->checked_out_time, 'support_groups.', $canCheckin); ?> escape($item->name); ?> escape($item->phone); ?> authorise('area.edit', 'com_supportgroups.area.' . (int)$item->area)): ?> escape($item->area_name); ?> escape($item->area_name); ?> authorise('facility.edit', 'com_supportgroups.facility.' . (int)$item->facility)): ?> escape($item->facility_name); ?> escape($item->facility_name); ?> escape($item->male); ?> escape($item->female); ?> id; ?>