CoreFiles by mySites.guru
stats.php31 lines, 938 bytes, from Joomla_4.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha2
md5
f238a919e14851002aeb0a3fdc3e4ac6
sha1
7b95249174769494003c7435a73e56feb4849706
sha256
856528334b4d272187e3e529f7cbf307a2e0649b744c8bf5a8710f3ffbd1fea7
<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  System.stats
 *
 * @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;

use Joomla\CMS\Language\Text;

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 mb-1 js-pstats-data-details d-none">
	<?php foreach ($statsData as $key => $value) : ?>
	<tr>
		<td><b><?php echo Text::_('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.