CoreFiles by mySites.guru
media.php31 lines, 537 bytes, from Joomla_3.7.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.7.0-alpha1
md5
a8d9614ab43764a6f0aa7b0647a31b56
sha1
da027a14650361bb7fcdb3014987091c49ff168c
sha256
d2260b7a3b13557d642695a9a605742f4994fe22e89eb379ffae7cbd3a6cddd9
<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  Fields.Media
 *
 * @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;
}

$value  = (array) $value;
$buffer = '';

foreach ($value as $path)
{
	if (!$path)
	{
		continue;
	}

	$buffer .= '<img src="' . $path . '" class="' . $fieldParams->get('image_class') . '"/>';
}

echo $buffer;

No other release has this exact content. See every version of this file.