File manager - Edit - /home/jardides/www/Jardi-design/plugins/system/cwgears/fields/csscom.php
Back
<?php /** * @package Joomla * @subpackage CoalaWeb Gears * @author Steven Palmer <support@coalaweb.com> * @link https://coalaweb.com/ * @license GNU/GPL V3 or later; https://www.gnu.org/licenses/gpl-3.0.html * @copyright Copyright (c) 2021 Steven Palmer All rights reserved. * * CoalaWeb Gears is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ defined('_JEXEC') or die('Restricted access'); require_once (JPATH_SITE . '/plugins/system/cwgears/fields/base.php'); /** * Class CWElementCsscom */ class CWElementCsscom extends CWElement { /** * @param $name * @param $value * @param $node */ public function fetchElement($name, $value, &$node) { $doc = JFactory::getDocument(); $doc->addStyleSheet(JURI::root(true) . '/media/coalaweb/components/generic/css/com-coalaweb-base-j3.css'); $doc->addStyleSheet(JURI::root(true) . '/media/coalaweb/components/generic/css/com-coalaweb-base-v2.css'); // Fix help being displayed if(JFactory::getApplication()->input->getCmd('option', '') == 'com_config') { $doc->addScriptDeclaration(' jQuery(document).ready(function($) { $("button[rel=\'help\']").hide(); $(\'#jform_css_import-lbl\').closest(\'.control-group\').hide(); }); '); } } } /** * Class JFormFieldCsscom */ class JFormFieldCsscom extends CWElementCsscom { var $type = 'csscom'; }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings