@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('JPATH_BASE') or die('Restricted access'); use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\HTML\HTMLHelper as Html; use Joomla\CMS\Layout\LayoutHelper; use VDM\Joomla\Utilities\StringHelper; $id = (isset($displayData['id'])) ? $displayData['id'] : StringHelper::random(7); $full = (isset($displayData['full']) && $displayData['full']) ? true : false; $header = (isset($displayData['header'])) ? $displayData['header'] : false; $header_class = $displayData['header_class'] ?? 'uk-modal-title'; $header_class = (isset($displayData['header_class_other'])) ? $header_class . ' ' . $displayData['header_class_other'] : $header_class; $body_class = (isset($displayData['body_class'])) ? ' class="' . $displayData['body_class'] . '"' : ' class="uk-modal-body"'; $content = (isset($displayData['content'])) ? $displayData['content'] : ''; $buttons = $displayData['buttons'] ?? null; $buttons_class = $displayData['buttons_class'] ?? ''; $buttons_id = $displayData['buttons_id'] ?? ''; $close = (isset($displayData['close']) && !$displayData['close']) ? false : true; $overflow = (isset($displayData['overflow']) && !$displayData['overflow']) ? '' : ' uk-overflow-auto'; $dialog_class = (isset($displayData['dialog_class']) && $displayData['dialog_class']) ? $displayData['dialog_class'] : 'uk-modal-dialog'; // set the full modal behavior $modal_class = (isset($displayData['modal_class'])) ? ' class="' . $displayData['modal_class'] . '"' : ''; $class_close = ' class="uk-modal-close-default"'; if ($full) { $modal_class = $displayData['modal_class'] ?? ''; $modal_class = ' class="uk-modal-full ' . $modal_class . '"'; $class_close = ' class="uk-modal-close-full uk-close-large"'; } ?>
uk-modal>
type="button" uk-close>

>