[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.Plugin 5 * @subpackage System.stats 6 * 7 * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> 8 * @license GNU General Public License version 2 or later; see LICENSE.txt 9 */ 10 11 defined('_JEXEC') or die; 12 13 use Joomla\CMS\Language\Text; 14 15 extract($displayData); 16 17 /** 18 * Layout variables 19 * ----------------- 20 * @var array $statsData Array containing the data that will be sent to the stats server 21 */ 22 23 $versionFields = array('php_version', 'db_version', 'cms_version'); 24 ?> 25 <table class="table mb-3 d-none" id="js-pstats-data-details"> 26 <caption class="visually-hidden"> 27 <?php echo Text::_('PLG_SYSTEM_STATS_STATISTICS'); ?> 28 </caption> 29 <thead> 30 <tr> 31 <th scope="col" class="w-15"> 32 <?php echo Text::_('PLG_SYSTEM_STATS_SETTING'); ?> 33 </th> 34 <th scope="col"> 35 <?php echo Text::_('PLG_SYSTEM_STATS_VALUE'); ?> 36 </th> 37 </tr> 38 </thead> 39 <tbody> 40 <?php foreach ($statsData as $key => $value) : ?> 41 <tr> 42 <th scope="row"><?php echo Text::_('PLG_SYSTEM_STATS_LABEL_' . strtoupper($key)); ?></th> 43 <td><?php echo in_array($key, $versionFields) ? (preg_match('/\d+(?:\.\d+)+/', $value, $matches) ? $matches[0] : $value) : $value; ?></td> 44 </tr> 45 <?php endforeach; ?> 46 </tbody> 47 </table>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |