@copyright Copyright (C) 2021. All Rights Reserved. @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) .-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( \____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) /------------------------------------------------------------------------------------------------------*/ // No direct access to this file defined('_JEXEC') or die('Restricted access'); // set the defaults $items = $displayData->vvwreleases; $user = JFactory::getUser(); $id = $displayData->item->id; // set the edit URL $edit = "index.php?option=com_extensiondistributor&view=releases&task=release.edit"; // set a return value $return = ($id) ? "index.php?option=com_extensiondistributor&view=extension&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 (ExtensiondistributorHelper::checkString($return)) { // set the referral values $ref = ($id) ? "&ref=extension&refid=" . $id . "&return=" . urlencode(base64_encode($return)) : "&return=" . urlencode(base64_encode($return)); } else { $ref = ($id) ? "&ref=extension&refid=" . $id : ""; } // set the create new URL $new = "index.php?option=com_extensiondistributor&view=releases&task=release.edit" . $ref; // load the action object $can = ExtensiondistributorHelper::getActions('release'); ?>
get('core.create')): ?>

$item): ?> authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0; $userChkOut = JFactory::getUser($item->checked_out); $canDo = ExtensiondistributorHelper::getActions('release',$item,'releases'); ?> published == 1): ?> published == 0): ?> published == 2): ?> published == -2): ?>
get('core.edit')): ?> escape($item->version_number); ?> checked_out): ?> name, $item->checked_out_time, 'releases.', $canCheckin); ?> escape($item->version_number); ?> id,'id','stability'); $stability = $lists['stability']; ?>
file == -1) : ?>
N/A
input->get('view')); ?> Download
release_date,'DATE_FORMAT_LC3'); ?>
reltype); ?>
description; ?>
id; ?>