CoreFiles by mySites.guru
stats.php27 lines, 887 bytes, from Joomla_3.9.15-Stable-Full_Package.zip
Raw History Compare with 3.9.14
md5
418c2ee0ffb158ecc9826e3c5492e2b2
sha1
93f20901c6e6c1c4d75d82f052d54fb209b64d34
sha256
ec16797b6dc7579a2d5aec89123a01aa5015380867a3ca6bf7547896615684d4
<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  System.stats
 *
 * @copyright   Copyright (C) 2005 - 2020 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
 * -----------------
 * @var  array  $statsData  Array containing the data that will be sent to the stats server
 */

$versionFields = array('php_version', 'db_version', 'cms_version');
?>
<dl class="dl-horizontal js-pstats-data-details"  style="display:none;">
	<?php foreach ($statsData as $key => $value) : ?>
		<dt><?php echo JText::_('PLG_SYSTEM_STATS_LABEL_' . strtoupper($key)); ?></dt>
		<dd><?php echo in_array($key, $versionFields) ? (preg_match('/\d+(?:\.\d+)+/', $value, $matches) ? $matches[0] : $value) : $value; ?></dd>
	<?php endforeach; ?>
</dl>

The same content is in 4 releases, Joomla 3.9.15-rc to 3.9.16. See them all, or every version of this file.