[ 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) 2016 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\Form\Form; 14 use Joomla\CMS\Language\Text; 15 16 extract($displayData); 17 18 /** 19 * Layout variables 20 * ----------------- 21 * @var Form $form The form instance for render the section 22 * @var string $basegroup The base group name 23 * @var string $group Current group name 24 * @var array $buttons Array of the buttons that will be rendered 25 */ 26 ?> 27 28 <tr class="subform-repeatable-group" data-base-name="<?php echo $basegroup; ?>" data-group="<?php echo $group; ?>"> 29 <?php foreach ($form->getGroup('') as $field) : ?> 30 <td data-column="<?php echo strip_tags($field->label); ?>"> 31 <?php echo $field->renderField(array('hiddenLabel' => true, 'hiddenDescription' => true)); ?> 32 </td> 33 <?php endforeach; ?> 34 <?php if (!empty($buttons)) : ?> 35 <td> 36 <div class="btn-group"> 37 <?php if (!empty($buttons['add'])) : ?> 38 <button type="button" class="group-add btn btn-sm btn-success" aria-label="<?php echo Text::_('JGLOBAL_FIELD_ADD'); ?>"> 39 <span class="icon-plus" aria-hidden="true"></span> 40 </button> 41 <?php endif; ?> 42 <?php if (!empty($buttons['remove'])) : ?> 43 <button type="button" class="group-remove btn btn-sm btn-danger" aria-label="<?php echo Text::_('JGLOBAL_FIELD_REMOVE'); ?>"> 44 <span class="icon-minus" aria-hidden="true"></span> 45 </button> 46 <?php endif; ?> 47 <?php if (!empty($buttons['move'])) : ?> 48 <button type="button" class="group-move btn btn-sm btn-primary" aria-label="<?php echo Text::_('JGLOBAL_FIELD_MOVE'); ?>"> 49 <span class="icon-arrows-alt" aria-hidden="true"></span> 50 </button> 51 <?php endif; ?> 52 </div> 53 </td> 54 <?php endif; ?> 55 </tr>
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 |