CoreFiles by mySites.guru
render.php30 lines, 703 bytes, from Joomla_3.8.3-Stable-Full_Package.zip
Raw History Compare with 3.8.2
md5
97c94770b52d58fab909908bbf17b2ba
sha1
02070a881b43ab42a6bdc8151555eaf979ce405a
sha256
17789940253184b7265254427b14d89ccd031dc15a84569b3c7dfeca2dd794a8
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_fields
 *
 * @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;

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 9 releases, Joomla 3.8.0-rc1 to 4.0.0-alpha2. See them all, or every version of this file.