[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_privacy/tmpl/request/ -> edit.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  com_privacy
   6   *
   7   * @copyright   (C) 2018 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\Router\Route;
  16  
  17  /** @var \Joomla\Component\Privacy\Administrator\View\Request\HtmlView $this */
  18  
  19  /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
  20  $wa = $this->document->getWebAssetManager();
  21  $wa->useScript('keepalive')
  22      ->useScript('form.validate');
  23  
  24  ?>
  25  
  26  <form action="<?php echo Route::_('index.php?option=com_privacy&view=request&layout=edit&id=' . (int) $this->item->id); ?>" method="post" name="adminForm" id="item-form" aria-label="<?php echo Text::_('COM_PRIVACY_REQUEST_FORM_' . ((int) $this->item->id === 0 ? 'NEW' : 'EDIT'), true); ?>" class="form-validate">
  27      <div class="form-horizontal">
  28          <div class="card mt-3">
  29              <div class="card-body">
  30                  <fieldset class="adminform">
  31                      <?php echo $this->form->renderField('email'); ?>
  32                      <?php echo $this->form->renderField('status'); ?>
  33                      <?php echo $this->form->renderField('request_type'); ?>
  34                  </fieldset>
  35              </div>
  36          </div>
  37  
  38          <input type="hidden" name="task" value="" />
  39          <?php echo HTMLHelper::_('form.token'); ?>
  40      </div>
  41  </form>


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