CoreFiles by mySites.guru
stats.php29 lines, 924 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
9cb49057f5c6b156ec968b479e7db271
sha1
e6cc047f6fadab5157f43371a2ef0476dce5e409
sha256
71f6dcce5a73037d3a8e7597a5705f61114ef578789b051a2752b51f88ad5b5e
<?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');
?>
<table class="table table-striped m-1-b js-pstats-data-details" style="display:none;">
	<?php foreach ($statsData as $key => $value) : ?>
	<tr>
		<td><b><?php echo JText::_('PLG_SYSTEM_STATS_LABEL_' . strtoupper($key)); ?></b></td>
		<td><?php echo in_array($key, $versionFields) ? (preg_match('/\d+(?:\.\d+)+/', $value, $matches) ? $matches[0] : $value) : $value; ?></td>
	</tr>
	<?php endforeach; ?>
</table>

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