Your IP : 216.73.216.240


Current Path : /home/juvelize/saulnois/tmp/install_695d2cf0b4957/html/backlist/
Upload File :
Current File : /home/juvelize/saulnois/tmp/install_695d2cf0b4957/html/backlist/default_batch_body.php

<?php
/*
* @package		Tech Fry Library
* @license		https://www.gnu.org/licenses/gpl-3.0.en.html
*/

defined('_JEXEC') or die;

use Joomla\CMS\Language\Text;
use Joomla\CMS\Factory;
use Joomla\CMS\Form\FormFactoryInterface;

$task = $this->form_view . '.batch';
$form_name = 'batch_' . $this->view_name;
$form_path = JPATH_ADMINISTRATOR . '/components/' . $this->option . '/forms/' . $form_name . '.xml';

// If batch form doesn't exists, return
if (!file_exists($form_path))
{
    return;
}

$form = Factory::getContainer()->get(FormFactoryInterface::class)->createForm('batchform', array('control' => 'batch'));
$form->loadFile($form_path);

echo '<div class="p-3">';
    echo $form->renderFieldset('batch');
echo '</div>';
?>
<div class="btn-toolbar p-3">
    <joomla-toolbar-button task="<?php echo $task; ?>" class="ms-auto">
        <button type="button" class="btn btn-success"><?php echo Text::_('JGLOBAL_BATCH_PROCESS'); ?></button>
    </joomla-toolbar-button>
</div>