first commit

This commit is contained in:
2025-06-17 11:53:18 +02:00
commit 9f0f7ba12b
8804 changed files with 1369176 additions and 0 deletions

View File

@ -0,0 +1,44 @@
<?php
/**
* @package Joomla.Administrator
* @subpackage com_admin
*
* @copyright (C) 2008 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
/** @var \Joomla\Component\Admin\Administrator\View\Sysinfo\HtmlView $this */
?>
<div class="main-card">
<?php echo HTMLHelper::_('uitab.startTabSet', 'myTab', ['active' => 'site', 'recall' => true, 'breakpoint' => 768]); ?>
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'site', Text::_('COM_ADMIN_SYSTEM_INFORMATION')); ?>
<?php echo $this->loadTemplate('system'); ?>
<?php echo HTMLHelper::_('uitab.endTab'); ?>
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'phpsettings', Text::_('COM_ADMIN_PHP_SETTINGS')); ?>
<?php echo $this->loadTemplate('phpsettings'); ?>
<?php echo HTMLHelper::_('uitab.endTab'); ?>
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'config', Text::_('COM_ADMIN_CONFIGURATION_FILE')); ?>
<?php echo $this->loadTemplate('config'); ?>
<?php echo HTMLHelper::_('uitab.endTab'); ?>
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'directory', Text::_('COM_ADMIN_DIRECTORY_PERMISSIONS')); ?>
<?php echo $this->loadTemplate('directory'); ?>
<?php echo HTMLHelper::_('uitab.endTab'); ?>
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'phpinfo', Text::_('COM_ADMIN_PHP_INFORMATION')); ?>
<?php echo $this->loadTemplate('phpinfo'); ?>
<?php echo HTMLHelper::_('uitab.endTab'); ?>
<?php echo HTMLHelper::_('uitab.endTabSet'); ?>
</div>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<layout title="COM_ADMIN_SYSINFO_VIEW_DEFAULT_TITLE">
<message>
<![CDATA[COM_ADMIN_SYSINFO_VIEW_DEFAULT_DESC]]>
</message>
</layout>
</metadata>

View File

@ -0,0 +1,46 @@
<?php
/**
* @package Joomla.Administrator
* @subpackage com_admin
*
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
/** @var \Joomla\Component\Admin\Administrator\View\Sysinfo\HtmlView $this */
?>
<div class="sysinfo">
<table class="table">
<caption class="visually-hidden">
<?php echo Text::_('COM_ADMIN_CONFIGURATION_FILE'); ?>
</caption>
<thead>
<tr>
<th scope="col" class="w-30">
<?php echo Text::_('COM_ADMIN_SETTING'); ?>
</th>
<th scope="col">
<?php echo Text::_('COM_ADMIN_VALUE'); ?>
</th>
</tr>
</thead>
<tbody>
<?php foreach ($this->config as $key => $value) : ?>
<tr>
<th scope="row">
<?php echo $key; ?>
</th>
<td>
<?php echo HTMLHelper::_('configuration.value', $value); ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,47 @@
<?php
/**
* @package Joomla.Administrator
* @subpackage com_admin
*
* @copyright (C) 2008 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
/** @var \Joomla\Component\Admin\Administrator\View\Sysinfo\HtmlView $this */
?>
<div class="sysinfo">
<table class="table">
<caption class="visually-hidden">
<?php echo Text::_('COM_ADMIN_DIRECTORY_PERMISSIONS'); ?>
</caption>
<thead>
<tr>
<th scope="col" class="w-60">
<?php echo Text::_('COM_ADMIN_DIRECTORY'); ?>
</th>
<th scope="col">
<?php echo Text::_('COM_ADMIN_STATUS'); ?>
</th>
</tr>
</thead>
<tbody>
<?php foreach ($this->directory as $dir => $info) : ?>
<tr>
<th scope="row">
<?php echo '&#x200E;' . HTMLHelper::_('directory.message', $dir, $info['message']); ?>
</th>
<td>
<?php echo HTMLHelper::_('directory.writable', $info['writable']); ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,18 @@
<?php
/**
* @package Joomla.Administrator
* @subpackage com_admin
*
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/** @var \Joomla\Component\Admin\Administrator\View\Sysinfo\HtmlView $this */
?>
<div class="sysinfo">
<?php echo $this->phpInfo; ?>
</div>

View File

@ -0,0 +1,197 @@
<?php
/**
* @package Joomla.Administrator
* @subpackage com_admin
*
* @copyright (C) 2008 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
/** @var \Joomla\Component\Admin\Administrator\View\Sysinfo\HtmlView $this */
?>
<div class="sysinfo">
<table class="table">
<caption class="visually-hidden">
<?php echo Text::_('COM_ADMIN_PHP_SETTINGS'); ?>
</caption>
<thead>
<tr>
<th scope="col" class="w-30">
<?php echo Text::_('COM_ADMIN_SETTING'); ?>
</th>
<th scope="col">
<?php echo Text::_('COM_ADMIN_VALUE'); ?>
</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_UPLOAD_MAX_FILESIZE'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.string', $this->phpSettings['upload_max_filesize']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_POST_MAX_SIZE'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.string', $this->phpSettings['post_max_size']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_MEMORY_LIMIT'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.string', $this->phpSettings['memory_limit']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_OPEN_BASEDIR'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.string', $this->phpSettings['open_basedir']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_DISPLAY_ERRORS'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.boolean', $this->phpSettings['display_errors']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_SHORT_OPEN_TAGS'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.boolean', $this->phpSettings['short_open_tag']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_FILE_UPLOADS'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.boolean', $this->phpSettings['file_uploads']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_OUTPUT_BUFFERING'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.boolean', $this->phpSettings['output_buffering']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_SESSION_SAVE_PATH'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.string', $this->phpSettings['session.save_path']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_SESSION_AUTO_START'); ?>
</th>
<td>
<?php echo (int) $this->phpSettings['session.auto_start']; ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_XML_ENABLED'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.set', $this->phpSettings['xml']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_ZLIB_ENABLED'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.set', $this->phpSettings['zlib']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_ZIP_ENABLED'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.set', $this->phpSettings['zip']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_DISABLED_FUNCTIONS'); ?>
</th>
<td class="break-word">
<?php echo HTMLHelper::_('phpsetting.string', $this->phpSettings['disable_functions']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::sprintf('COM_ADMIN_EXTENSION_AVAILABLE', 'Fileinfo'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.set', $this->phpSettings['fileinfo']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_MBSTRING_ENABLED'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.set', $this->phpSettings['mbstring']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::sprintf('COM_ADMIN_EXTENSION_AVAILABLE', 'GD'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.set', $this->phpSettings['gd']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::sprintf('COM_ADMIN_EXTENSION_AVAILABLE', 'iconv'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.set', $this->phpSettings['iconv']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::sprintf('COM_ADMIN_EXTENSION_AVAILABLE', 'intl'); ?>
</th>
<td>
<?php echo HTMLHelper::_('phpsetting.set', $this->phpSettings['intl']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_MAX_INPUT_VARS'); ?>
</th>
<td>
<?php echo (int) $this->phpSettings['max_input_vars']; ?>
</td>
</tr>
</tbody>
</table>
</div>

View File

@ -0,0 +1,141 @@
<?php
/**
* @package Joomla.Administrator
* @subpackage com_admin
*
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
/** @var \Joomla\Component\Admin\Administrator\View\Sysinfo\HtmlView $this */
?>
<div class="sysinfo">
<table class="table">
<caption class="visually-hidden">
<?php echo Text::_('COM_ADMIN_SYSTEM_INFORMATION'); ?>
</caption>
<thead>
<tr>
<th scope="col" class="w-30">
<?php echo Text::_('COM_ADMIN_SETTING'); ?>
</th>
<th scope="col">
<?php echo Text::_('COM_ADMIN_VALUE'); ?>
</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_PHP_BUILT_ON'); ?>
</th>
<td>
<?php echo $this->info['php']; ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_DATABASE_TYPE'); ?>
</th>
<td>
<?php echo $this->info['dbserver']; ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_DATABASE_VERSION'); ?>
</th>
<td>
<?php echo $this->info['dbversion']; ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_DATABASE_COLLATION'); ?>
</th>
<td>
<?php echo $this->info['dbcollation']; ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_DATABASE_CONNECTION_COLLATION'); ?>
</th>
<td>
<?php echo $this->info['dbconnectioncollation']; ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_DATABASE_CONNECTION_ENCRYPTION'); ?>
</th>
<td>
<?php echo $this->info['dbconnectionencryption'] ?: Text::_('JNONE'); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_DATABASE_CONNECTION_ENCRYPTION_SUPPORTED'); ?>
</th>
<td>
<?php echo $this->info['dbconnencryptsupported'] ? Text::_('JYES') : Text::_('JNO'); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_PHP_VERSION'); ?>
</th>
<td>
<?php echo $this->info['phpversion']; ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_WEB_SERVER'); ?>
</th>
<td>
<?php echo HTMLHelper::_('system.server', $this->info['server']); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_WEBSERVER_TO_PHP_INTERFACE'); ?>
</th>
<td>
<?php echo $this->info['sapi_name']; ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_JOOMLA_VERSION'); ?>
</th>
<td>
<?php echo $this->info['version']; ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_JOOMLA_COMPAT_PLUGIN'); ?>
</th>
<td>
<?php echo $this->info['compatpluginenabled'] ? Text::_('JENABLED') . ' (' . $this->info['compatpluginparameters'] . ')' : Text::_('JDISABLED'); ?>
</td>
</tr>
<tr>
<th scope="row">
<?php echo Text::_('COM_ADMIN_USER_AGENT'); ?>
</th>
<td>
<?php echo htmlspecialchars($this->info['useragent'], ENT_COMPAT, 'UTF-8'); ?>
</td>
</tr>
</tbody>
</table>
</div>