CoreFiles by mySites.guru
default_batch_footer.php27 lines, 1,103 bytes, from Joomla_4.2.2-Stable-Full_Package.zip
Raw History Compare with 4.2.1
md5
96b00e1d2e1afc891d9709618255805c
sha1
063ce915d943578bad5b9a5f18d9a8304c3e4fa3
sha256
3d20e9652875b25096f09526107af88550c262c6bf117acf73693f93371c32f2
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_menus
 *
 * @copyright   (C) 2015 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\Language\Text;

$published = $this->state->get('filter.published');
$clientId  = $this->state->get('filter.client_id');
$menuType = Factory::getApplication()->getUserState('com_menus.items.menutype', '');
?>
<button type="button" class="btn btn-secondary" onclick="document.getElementById('batch-menu-id').value='';document.getElementById('batch-access').value='';document.getElementById('batch-language-id').value=''" data-bs-dismiss="modal">
    <?php echo Text::_('JCANCEL'); ?>
</button>
<?php if ((strlen($menuType) && $menuType != '*' && $clientId == 0) || ($published >= 0 && $clientId == 1)) : ?>
    <button type="submit" class="btn btn-success" onclick="Joomla.submitbutton('item.batch');return false;">
        <?php echo Text::_('JGLOBAL_BATCH_PROCESS'); ?>
    </button>
<?php endif; ?>

The same content is in 93 releases, Joomla 4.2.0-beta3 to 5.0.3. See them all, or every version of this file.