CoreFiles by mySites.guru
color.php24 lines, 427 bytes, from Joomla_3.10.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha6
md5
2f37189067381a101f0c05be5d4a6005
sha1
b24b1a2262176d461009cdc60a7c5598c5339112
sha256
27ea9ffbcf8e4a972faeaaefe1a3281c6a6cc1cea34e88c75c5fc59c69421a51
<?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 8 releases, Joomla 3.10.0-alpha4 to 3.10.0-rc2. See them all, or every version of this file.