CoreFiles by mySites.guru
color.php24 lines, 416 bytes, from Joomla_3.7.3-Stable-Full_Package.zip
Raw History Compare with 3.7.2
md5
02c4092c75a9abdcdf389079267e43d1
sha1
680ca4d1fb492f31f5eb6b808220ccad7de8075f
sha256
9e2d949c5388a5de3a9da64d4dcc841576c9d2a34f15d0706ceb40667f5e4ceb
<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  Fields.Color
 *
 * @copyright   Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @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 35 releases, Joomla 3.7.0-alpha2 to 4.0.0-alpha2. See them all, or every version of this file.