@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->vvwnotes; $user = Factory::getApplication()->getIdentity(); $id = $displayData->item->id; // set the edit URL $edit = "index.php?option=com_getbible&view=notes&task=note.edit"; // set a return value $return = ($id) ? "index.php?option=com_getbible&view=linker&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=linker&refid=" . $id . "&return=" . urlencode(base64_encode($return)) : "&return=" . urlencode(base64_encode($return)); } else { $ref = ($id) ? "&ref=linker&refid=" . $id : ""; } // set the create new URL $new = "index.php?option=com_getbible&view=notes&task=note.edit" . $ref; // set the create new and close URL $close_new = "index.php?option=com_getbible&view=notes&task=note.edit"; // load the action object $can = GetbibleHelper::getActions('note'); ?>
get('note.create')): ?>

$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('note',$item,'notes'); ?> published == 1): ?> published == 0): ?> published == 2): ?> published == -2): ?>
get('note.edit')): ?> escape($item->book_nr); ?> checked_out): ?> name, $item->checked_out_time, 'notes.', $canCheckin); ?> escape($item->book_nr); ?> escape($item->linker_name); ?> access); ?> id; ?>