CoreFiles by mySites.guru
imagelist.php38 lines, 704 bytes, from Joomla_3.7.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 3.6.0-alpha
md5
7365661d0291bbfba80a8998881c383c
sha1
025c7cba8e47b1d43d2e8f59a6636ed724ab23a1
sha256
92b9e71ab3bd007dd5ae3769e4e27d8731d7067e1e3ca4938e23b9d9adab8675
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_fields
 *
 * @copyright   Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
defined('_JEXEC') or die;

if (!key_exists('field', $displayData))
{
	return;
}

$field = $displayData['field'];
$value = $field->value;

if ($value == '')
{
	return;
}

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

foreach ($value as $path)
{
	if (!$path || $path == '-1')
	{
		continue;
	}

	$buffer .= '<img src="images/' . $field->fieldparams->get('directory', '/') . '/' . $path
			. '" class="' . $field->fieldparams->get('image_class') . '"/>';
}

echo $buffer;

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