CoreFiles by mySites.guru
render.php30 lines, 703 bytes, from Joomla_3.8.13-Stable-Full_Package.zip
Raw History Compare with 3.8.12
md5
dc09a9d4261dc805c4be594497759915
sha1
cbf9564bdf5c177a12f7fdc16358f006bfe9c1d0
sha256
31550ba5508e158670914f2f7d8fbf241e9f9b08c7f2cc6f726c53d2f21b0466
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_fields
 *
 * @copyright   Copyright (C) 2005 - 2018 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'];
$label = JText::_($field->label);
$value = $field->value;
$showLabel = $field->params->get('showlabel');

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

?>
<?php if ($showLabel == 1) : ?>
	<span class="field-label"><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?>: </span>
<?php endif; ?>
<span class="field-value"><?php echo $value; ?></span>

The same content is in 20 releases, Joomla 3.8.4-rc to 4.0.0-alpha3. See them all, or every version of this file.