芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/timucuy2124.gob.mx/plugins/fields/radio/tmpl/radio.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; $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[] = Text::_($optionText); } } echo htmlentities(implode(', ', $texts));