File manager - Edit - /home/capoccitel/www/modules/mod_rtaddress/fields/icon.php
Back
<?php /** * @version 1.0.0 * @package mod_rtfeatures * @author RadiusTheme <support@radiustheme.com> * @copyright 2016 RadiusTheme.com * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; defined('JPATH_BASE') or die; jimport('joomla.form.formfield'); jimport('joomla.filesystem.folder'); jimport('joomla.filesystem.file'); class JFormFieldIcon extends JFormField { protected $type = 'icon'; protected function getInput() { include(dirname(__FILE__) . '/fontawesome-icons.php'); ksort($rtfeature_icons); $options[] = JHTML::_( 'select.option', '','None'); foreach($rtfeature_icons as $icon => $unicode) { $options[] = JHTML::_( 'select.option', ucfirst(str_replace('fa-', '', $icon)) ); } return JHTML::_('select.genericlist', $options, 'jform[params]['.$this->fieldname.']', '', 'value', 'text', $this->value, 'jform_params_sp_style'); } }
| ver. 1.6 |
Github
|
.
| PHP 7.4.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings