* @link https://www.tassos.gr * @copyright Copyright © 2024 Tassos All Rights Reserved * @license GNU GPLv3 or later */ defined('_JEXEC') or die('Restricted access'); use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Factory; extract($displayData); HTMLHelper::script('plg_system_nrframework/vendor/signature.min.js', ['relative' => true, 'version' => 'auto']); HTMLHelper::script('plg_system_nrframework/widgets/signature.js', ['relative' => true, 'version' => 'auto']); if ($load_stylesheet) { HTMLHelper::stylesheet('plg_system_nrframework/widgets/signature.css', ['relative' => true, 'version' => 'auto']); } if ($load_css_vars) { Factory::getDocument()->addStyleDeclaration(' .nrf-widget.signature.' . $id . ' { --width: ' . $width . '; --height: ' . $height . '; --input-border-width: ' . $border_width . '; --input-border-color: ' . $border_color . '; --input-border-radius: ' . $border_radius . '; --input-background-color: ' . $background_color . '; --line-color: ' . (is_null($line_color) ? $border_color : $line_color) . '; } '); } ?>