CoreFiles by mySites.guru
default_modal_delete_footer.php29 lines, 1,105 bytes, from Joomla_5.1.2-Stable-Full_Package.zip
Raw History Compare with 5.1.1
md5
22d2df9c0abcdba050a77dbbc23bf4ef
sha1
8b3a7264d5264abd6dc0b3138308a368c8cf6696
sha256
210a6edc1bf0112f61735fd9f5f90b0e9ff66762aa4084a83e76ab24d8ff69e7
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_templates
 *
 * @copyright   (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;

/** @var \Joomla\Component\Templates\Administrator\View\Template\HtmlView $this */

$input = Factory::getApplication()->getInput();
?>
<form method="post" action="">
    <input type="hidden" name="option" value="com_templates">
    <input type="hidden" name="task" value="template.delete">
    <input type="hidden" name="id" value="<?php echo $input->getInt('id'); ?>">
    <input type="hidden" name="file" value="<?php echo $this->file; ?>">
    <?php echo HTMLHelper::_('form.token'); ?>
    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal"><?php echo Text::_('COM_TEMPLATES_TEMPLATE_CLOSE'); ?></button>
    <button type="submit" class="btn btn-danger"><?php echo Text::_('COM_TEMPLATES_BUTTON_DELETE'); ?></button>
</form>

The same content is in 136 releases, Joomla 5.1.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.