CoreFiles by mySites.guru
color.php24 lines, 403 bytes, from Joomla_4.0.2-Stable-Full_Package.zip
Raw History Compare with 4.0.1
md5
5cb8d7ecafae9c5f3ea6bb7c5935b229
sha1
3faa68ed1bf16436792d7ab9305d0d59529c392d
sha256
0c0c391e61eb4a588299569917ae47d2bdc4e070f97ffa7fd250d1f23e837c72
<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  Fields.Color
 *
 * @copyright   (C) 2016 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;
}

if (is_array($value))
{
	$value = implode(', ', $value);
}

echo htmlentities($value);

The same content is in 76 releases, Joomla 3.10.0-alpha2 to 4.2.0-beta2. See them all, or every version of this file.