CoreFiles by mySites.guru
renderfield.php36 lines, 1,103 bytes, from Joomla_3.8.4-rc-Release_Candidate-Full_Package.zip
Raw History Compare with 3.8.3-rc
md5
20c7ed767797ac9588e7c49ce5af422f
sha1
b65f5bca03b692a5e516f7ac4a029cef3a766280
sha256
482aa99fd2c9f3c2f2071e7d9718564866aea834c5b5c0af2942fe49286566f1
<?php
/**
 * @package     Joomla.Site
 * @subpackage  Layout
 *
 * @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('JPATH_BASE') or die;

extract($displayData);

/**
 * Layout variables
 * ---------------------
 * 	$options         : (array)  Optional parameters
 * 	$label           : (string) The html code for the label (not required if $options['hiddenLabel'] is true)
 * 	$input           : (string) The input field html code
 */

if (!empty($options['showonEnabled']))
{
	JHtml::_('jquery.framework');
	JHtml::_('script', 'jui/cms.js', array('version' => 'auto', 'relative' => true));
}

$class = empty($options['class']) ? '' : ' ' . $options['class'];
$rel   = empty($options['rel']) ? '' : ' ' . $options['rel'];
?>
<div class="control-group<?php echo $class; ?>"<?php echo $rel; ?>>
	<?php if (empty($options['hiddenLabel'])) : ?>
		<div class="control-label"><?php echo $label; ?></div>
	<?php endif; ?>
	<div class="controls"><?php echo $input; ?></div>
</div>

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