* @copyright Copyright © 2019 Delo Design & NorrNext. All rights reserved. * @license GNU General Public License version 3 or later; see license.txt * @link https://www.norrnext.com */ defined('_JEXEC') or die; use Joomla\CMS\Filter\OutputFilter; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Factory; use Joomla\CMS\Layout\FileLayout; use Joomla\CMS\Uri\Uri; JLoader::register('JFormFieldQuantumtreecatalogs', JPATH_ROOT . DIRECTORY_SEPARATOR . implode(DIRECTORY_SEPARATOR, ['administrator', 'components', 'com_quantummanager', 'fields', 'quantumtreecatalogs.php'])); JFormHelper::loadFieldClass('text'); /** * Class JFormFieldQuantumconfigpath */ class JFormFieldQuantumconfigpath extends JFormFieldText { /** * @var string * @since version */ public $type = 'QuantumConfigpath'; /** * * @return string * * @since version */ public function getInput() { HTMLHelper::_('stylesheet', 'com_quantummanager/configfields.css', [ 'version' => filemtime(__FILE__), 'relative' => true ]); $this->__set('prefix', $this->getAttribute('prefix', Uri::root())); $html = parent::getInput(); $html = "
" . $this->prefix . "" . $html . "
"; return $html; } }