[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.Site 5 * @subpackage Layout 6 * 7 * @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org> 8 * @license GNU General Public License version 2 or later; see LICENSE.txt 9 */ 10 11 defined('_JEXEC') or die; 12 13 use Joomla\CMS\Language\Text; 14 15 extract($displayData); 16 17 /** 18 * Layout variables 19 * ----------------- 20 * @var string $selector Unique DOM identifier for the modal. CSS id without # 21 * @var array $params Modal parameters. Default supported parameters: 22 * - title string The modal title 23 * - backdrop mixed A boolean select if a modal-backdrop element should be included (default = true) 24 * The string 'static' includes a backdrop which doesn't close the modal on click. 25 * - keyboard boolean Closes the modal when escape key is pressed (default = true) 26 * - closeButton boolean Display modal close button (default = true) 27 * - animation boolean Fade in from the top of the page (default = true) 28 * - footer string Optional markup for the modal footer 29 * - url string URL of a resource to be inserted as an <iframe> inside the modal body 30 * - height string height of the <iframe> containing the remote resource 31 * - width string width of the <iframe> containing the remote resource 32 * - bodyHeight int Optional height of the modal body in viewport units (vh) 33 * - modalWidth int Optional width of the modal in viewport units (vh) 34 * @var string $body Markup for the modal body. Appended after the <iframe> if the URL option is set 35 */ 36 ?> 37 <div class="modal-header"> 38 <?php if (isset($params['title'])) : ?> 39 <h3 class="modal-title"><?php echo $params['title']; ?></h3> 40 <?php endif; ?> 41 <?php if (!isset($params['closeButton']) || $params['closeButton']) : ?> 42 <button type="button" class="btn-close novalidate" data-bs-dismiss="modal" aria-label="<?php echo Text::_('JLIB_HTML_BEHAVIOR_CLOSE'); ?>"> 43 </button> 44 <?php endif; ?> 45 </div>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |