[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_messages/tmpl/config/ -> default.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  com_messages
   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\Router\Route;
  16  
  17  /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
  18  $wa = $this->document->getWebAssetManager();
  19  $wa->useScript('keepalive')
  20      ->useScript('form.validate');
  21  ?>
  22  
  23  <form action="<?php echo Route::_('index.php?option=com_messages&view=config'); ?>" method="post" name="adminForm" id="message-form" class="form-validate">
  24      <div class="form-grid">
  25          <div class="card">
  26              <div class="card-body">
  27                  <fieldset class="options-form">
  28                      <legend><?php echo Text::_('COM_MESSAGES_CONFIG_FORM'); ?></legend>
  29                      <?php echo $this->form->renderField('lock'); ?>
  30                      <?php echo $this->form->renderField('mail_on_new'); ?>
  31                      <?php echo $this->form->renderField('auto_purge'); ?>
  32                  </fieldset>
  33              </div>
  34          </div>
  35      </div>
  36  
  37      <input type="hidden" name="task" value="">
  38      <?php echo HTMLHelper::_('form.token'); ?>
  39  </form>


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