CoreFiles by mySites.guru
render.php31 lines, 752 bytes, from Joomla_3.7.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.7.0-alpha1
md5
5beb301722aff516dd6a6a1da3de0917
sha1
25130e8805fee52c7583f75da657f1fb07709230
sha256
c914a89cf62fc84f918ec677983810f93ae63fcd3fce865443208031b07807eb
<?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;
$class = $field->params->get('render_class');

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

?>

<dd class="field-entry <?php echo $class; ?>" id="field-entry-<?php echo $field->id; ?>">
	<span class="field-label"><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?>: </span>
	<span class="field-value"><?php echo $value; ?></span>
</dd>

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