[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/components/com_privacy/tmpl/confirm/ -> default.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Site
   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\Site\View\Confirm\HtmlView $this */
  18  
  19  HTMLHelper::_('behavior.keepalive');
  20  HTMLHelper::_('behavior.formvalidator');
  21  
  22  ?>
  23  <div class="request-confirm<?php echo $this->pageclass_sfx; ?>">
  24      <?php if ($this->params->get('show_page_heading')) : ?>
  25          <div class="page-header">
  26              <h1>
  27                  <?php echo $this->escape($this->params->get('page_heading')); ?>
  28              </h1>
  29          </div>
  30      <?php endif; ?>
  31      <form action="<?php echo Route::_('index.php?option=com_privacy&task=request.confirm'); ?>" method="post" class="form-validate form-horizontal well">
  32          <?php foreach ($this->form->getFieldsets() as $fieldset) : ?>
  33              <fieldset>
  34                  <?php if (!empty($fieldset->label)) : ?>
  35                      <legend><?php echo Text::_($fieldset->label); ?></legend>
  36                  <?php endif; ?>
  37                  <?php echo $this->form->renderFieldset($fieldset->name); ?>
  38              </fieldset>
  39          <?php endforeach; ?>
  40          <div class="control-group">
  41              <div class="controls">
  42                  <button type="submit" class="btn btn-primary validate">
  43                      <?php echo Text::_('JSUBMIT'); ?>
  44                  </button>
  45              </div>
  46          </div>
  47          <?php echo HTMLHelper::_('form.token'); ?>
  48      </form>
  49  </div>


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