@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\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\HTML\HTMLHelper as Html; use TrueChristianBible\Component\GetBible\Administrator\Helper\GetbibleHelper; use TrueChristianBible\Joomla\Utilities\StringHelper; use TrueChristianBible\Joomla\Utilities\ArrayHelper; // No direct access to this file defined('_JEXEC') or die; // set the defaults $items = $displayData->vvymessage; $user = Factory::getApplication()->getIdentity(); $id = $displayData->item->id; // set the edit URL $edit = "index.php?option=com_getbible&view=open_ai_messages&task=open_ai_message.edit"; // set a return value $return = ($id) ? "index.php?option=com_getbible&view=open_ai_response&layout=edit&id=" . $id : ""; // check for a return value $jinput = Factory::getApplication()->input; if ($_return = $jinput->get('return', null, 'base64')) { $return .= "&return=" . $_return; } // check if return value was set if (StringHelper::check($return)) { // set the referral values $ref = ($id) ? "&ref=open_ai_response&refid=" . $id . "&return=" . urlencode(base64_encode($return)) : "&return=" . urlencode(base64_encode($return)); } else { $ref = ($id) ? "&ref=open_ai_response&refid=" . $id : ""; } ?>
$item): ?> authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0; $userChkOut = Factory::getContainer()-> get(\Joomla\CMS\User\UserFactoryInterface::class)-> loadUserById($item->checked_out); $canDo = GetbibleHelper::getActions('open_ai_message',$item,'open_ai_messages'); ?> published == 1): ?> published == 0): ?> published == 2): ?> published == -2): ?>
get('open_ai_message.edit')): ?> role); ?> checked_out): ?> name, $item->checked_out_time, 'open_ai_messages.', $canCheckin); ?> role); ?> escape($item->open_ai_response_response_id); ?> authorise('prompt.edit', 'com_getbible.prompt.' . (int) $item->prompt_id)): ?> escape($item->prompt_name); ?> escape($item->prompt_name); ?> source); ?> id; ?>