CoreFiles by mySites.guru
stats.php27 lines, 887 bytes, from Joomla_3.7.0-beta3-Beta-Full_Package.zip
Raw History Compare with 3.7.0-beta2
md5
51f7a75ed28b76e161c2a4a79a1554e5
sha1
de2179cc85d946a6c891e68ab4551d4808f2161f
sha256
0e6f0ad35f0475e32ea85420fa33b7cf23d81c4bb263aeafbf012f485ad16ef4
<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  System.Stats
 *
 * @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('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.7.0-alpha2 to 3.7.0-beta3. See them all, or every version of this file.