@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 /------------------------------------------------------------------------------------------------------*/ // No direct access to this file defined('_JEXEC') or die('Restricted access'); // set book $favourite_verse['book_options'] = array_map( function ($item) { return (object) ['key' => (int) $item->nr, 'value' => $item->name]; }, $this->books); $favourite_verse['book_default'] = (int) $this->chapter->book_nr; // set chapter $favourite_verse['chapter_default'] = (int) $this->chapter->chapter; // set verse $favourite_verse['verse_default'] = (int) $this->verses->first; // set buttons $buttons = [ ['id' => 'getbible-new-favourite-verse-session', 'name' => JText::_('COM_GETBIBLE_NEW'), 'class' => 'uk-button uk-button-default uk-width-1-4'], ['id' => 'getbible-select-favourite-verse', 'name' => JText::_('COM_GETBIBLE_SELECT'), 'class' => 'uk-button uk-button-default uk-width-2-4'], ['id' => 'getbible-cancel-favourite-verse', 'close' => true, 'name' => JText::_('COM_GETBIBLE_CANCEL'), 'class' => 'uk-button uk-button-danger uk-width-1-4'] ]; ?> 'getbible_favourite_verse_selector', 'header' => JText::_('COM_GETBIBLE_FAVOURITE_VERSE'), 'header_class_other' => 'uk-text-center', 'close' => true, 'content' => JLayoutHelper::render('getbiblefavouriteverse', $favourite_verse), 'buttons_class' => 'uk-button-group uk-width-1-1', 'buttons_id' => 'getbible-favourite-buttons', 'buttons' => $buttons ]); ?>