* @copyright Copyright (c) 2020 Samuel Marshall / JCH Optimize * @license GNU/GPLv3, or later. See LICENSE file * * If LICENSE file missing, see . */ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Uri\Uri; defined('_JEXEC') or die; include_once dirname(__FILE__) . '/exclude.php'; class JFormFieldExcludejspei extends JFormFieldExclude { public $type = 'excludejspei'; public string $filetype = 'js'; public string $filegroup = 'file'; protected string $valueType = 'url'; protected function getInput(): string { $this->value = array_values($this->value); $i = 0; $nextIndex = count($this->value); $field = <<