* @license GNU General Public License version 2 or later; see LICENSE.txt */ // Restrict direct access defined('_JEXEC') or die; use Joomla\CMS\Application\AdministratorApplication; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\Component\Scheduler\Administrator\Task\TaskOption; use Joomla\Component\Scheduler\Administrator\View\Task\HtmlView; /** @var HtmlView $this */ $wa = $this->document->getWebAssetManager(); $wa->useScript('keepalive'); $wa->useScript('form.validate'); $wa->useStyle('com_scheduler.admin-view-task-css'); /** @var AdministratorApplication $app */ $app = $this->app; $input = $app->getInput(); // Fieldsets to be ignored by the `joomla.edit.params` template. $this->ignore_fieldsets = ['aside', 'details', 'exec_hist', 'custom-cron-rules', 'basic', 'advanced', 'priority']; // Used by the `joomla.edit.params` template to render the right template for UI tabs. $this->useCoreUI = true; $advancedFieldsets = $this->form->getFieldsets('params'); // Don't show the params fieldset, they will be loaded later foreach ($advancedFieldsets as $name => $fieldset) : if ($name === 'task_params') : unset($advancedFieldsets[$name]); continue; endif; $this->ignore_fieldsets[] = $fieldset->name; endforeach; ?>