[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_users/tmpl/group/ -> edit.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  com_users
   6   *
   7   * @copyright   (C) 2009 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\HTML\HTMLHelper;
  14  use Joomla\CMS\Language\Text;
  15  use Joomla\CMS\Layout\LayoutHelper;
  16  use Joomla\CMS\Router\Route;
  17  
  18  /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
  19  $wa = $this->document->getWebAssetManager();
  20  $wa->useScript('keepalive')
  21      ->useScript('form.validate');
  22  
  23  $this->useCoreUI = true;
  24  ?>
  25  
  26  <form action="<?php echo Route::_('index.php?option=com_users&layout=edit&id=' . (int) $this->item->id); ?>" method="post" name="adminForm" id="group-form" aria-label="<?php echo Text::_('COM_USERS_GROUP_FORM_' . ((int) $this->item->id === 0 ? 'NEW' : 'EDIT'), true); ?>" class="main-card form-validate">
  27      <?php echo HTMLHelper::_('uitab.startTabSet', 'myTab', ['active' => 'details', 'recall' => true, 'breakpoint' => 768]); ?>
  28      <?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'details', Text::_('COM_USERS_USERGROUP_DETAILS')); ?>
  29      <div class="form-grid">
  30          <?php echo $this->form->renderField('title'); ?>
  31          <?php echo $this->form->renderField('parent_id'); ?>
  32      </div>
  33      <?php echo HTMLHelper::_('uitab.endTab'); ?>
  34      <?php $this->ignore_fieldsets = array('group_details'); ?>
  35      <?php echo LayoutHelper::render('joomla.edit.params', $this); ?>
  36      <?php echo HTMLHelper::_('uitab.endTabSet'); ?>
  37  
  38      <input type="hidden" name="task" value="">
  39      <?php echo HTMLHelper::_('form.token'); ?>
  40  </form>


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer