CoreFiles by mySites.guru
stats.php27 lines, 887 bytes, from Joomla_3.6.2-Stable-Full_Package.zip
Raw History Compare with 3.6.1
md5
7cad3f21e0c86ab01efaa5212dc88d4e
sha1
73a08844632e110a3a2f94689d87f1260a0a7f09
sha256
08c9a0db4b29c23c917a9b315cac9e3c599a96cfd5e43ba74933b4d46c26e77b
<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  System.Stats
 *
 * @copyright   Copyright (C) 2005 - 2016 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 28 releases, Joomla 3.5.0-beta3 to 3.7.0-alpha1. See them all, or every version of this file.