File manager - Edit - /home/opticamezl/www/newok/checkboxes.php.tar
Back
home/opticamezl/www/newok/plugins/fields/checkboxes/tmpl/checkboxes.php 0000644 00000001237 15172734762 0022503 0 ustar 00 <?php /** * @package Joomla.Plugin * @subpackage Fields.Checkboxes * * @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; use Joomla\CMS\Language\Text; $fieldValue = $field->value; if ($fieldValue === '' || $fieldValue === null) { return; } $fieldValue = (array) $fieldValue; $texts = []; $options = $this->getOptionsFromField($field); foreach ($options as $value => $name) { if (in_array((string) $value, $fieldValue)) { $texts[] = Text::_($name); } } echo htmlentities(implode(', ', $texts));
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0 |
proxy
|
phpinfo
|
Settings