File Manager
Pro
/data/web/virtuals/8819/virtual/www/plugins/fields/radio/tmpl
PHP 7.4.33
Linux
/data/web/virtuals/8819/virtual/www/plugins/fields/radio/tmpl/radio.php
596 B
0640
Back
<?php /** * @package Joomla.Plugin * @subpackage Fields.Radio * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $value = $field->value; if ($value == '') { return; } $value = (array) $value; $texts = array(); $options = $this->getOptionsFromField($field); foreach ($options as $optionValue => $optionText) { if (in_array((string) $optionValue, $value)) { $texts[] = JText::_($optionText); } } echo htmlentities(implode(', ', $texts));
Cancel
Download
Save changes
File Manager Pro · single-file PHP 7.4.33 on Linux · paths encrypted in URL (AES-256-CTR)