* * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die('Restricted access'); // Load Joomla framework if (version_compare(JVERSION, '3.3.0', '>=')) { JHtml::_('behavior.core'); } else { JHtml::_('behavior.framework', true); } // Load jQuery JHtml::_('jquery.framework'); $cssSuffix = JDEBUG ? '.css' : '.min.css'; // Load Bootstrap if (version_compare(JVERSION, '4.0', '>=')) { JHtml::_('bootstrap.collapse'); JHtml::_('bootstrap.tab'); // Tooltips are used by JAMSS reports JHtml::_('bootstrap.tooltip'); } else { JHtml::stylesheet('media/com_jedchecker/css/j4-style' . $cssSuffix); JHtml::script('media/com_jedchecker/js/bootstrap.bundle.min.js'); } JHtml::stylesheet('media/com_jedchecker/css/style' . $cssSuffix); JHtml::script('media/com_jedchecker/js/script.js'); // List of rules $options = json_encode($this->jsOptions); JFactory::getDocument()->addScriptDeclaration("var jed_options = $options;"); // Load translation for "JED Checker" title from sys.ini file JFactory::getLanguage()->load('com_jedchecker.sys', JPATH_ADMINISTRATOR); ?>