CoreFiles by mySites.guru
default.php41 lines, 1,267 bytes, from Joomla_5.2.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 5.1.0-alpha4
md5
e249b0cdc4f244698cc62874c9df14b9
sha1
1888216382138f69ea6f59418932ffc36bad81c6
sha256
d0587d74daa79bc3a13b229a2bd3e4510826d7660ce7050a1d5c907bd29258be
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_banners
 *
 * @copyright   (C) 2009 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\Router\Route;
use Joomla\CMS\Session\Session;

/** @var \Joomla\Component\Banners\Administrator\View\Download\HtmlView $this */

/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
$wa = $this->getDocument()->getWebAssetManager();
$wa->useScript('form.validate');

?>
<div class="container-popup">
    <form
        class="form-horizontal form-validate"
        id="download-form"
        name="adminForm"
        action="<?php echo Route::_('index.php?option=com_banners&task=tracks.display&format=raw&' . Session::getFormToken() . '=1'); ?>"
        method="post">

        <?php foreach ($this->form->getFieldset() as $field) : ?>
            <?php echo $this->form->renderField($field->fieldname); ?>
        <?php endforeach; ?>

        <button class="visually-hidden"
            id="exportBtn"
            type="button"
            onclick="this.form.submit();window.top.setTimeout('window.parent.Joomla.Modal.getCurrent().close()', 700);">
        </button>
    </form>
</div>

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