diff options
| author | 2025-01-10 08:31:44 +0100 | |
|---|---|---|
| committer | 2025-01-10 08:31:44 +0100 | |
| commit | 82b1d999dcfaccea7996d4dccd4778754ec39389 (patch) | |
| tree | e45e49ba758581d2c28895a8a303142caa67b4cd /app/views | |
| parent | 5368f38753a3e655ed3d7d7dfc7af2cc22de7980 (diff) | |
New: About page with env information (#7161)
* infobox
* i18n
* CSS improved
* themes
* Update app/views/index/about.phtml
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Update app/views/index/about.phtml
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Environment information => System information
* Issue templates: Env info -> System info
* i18n: IT
Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com>
* i18n: DE
* Update app/i18n/it/index.php
Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com>
* added: php_uname()
* i18n: fr
* Add database version
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com>
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/index/about.phtml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/views/index/about.phtml b/app/views/index/about.phtml index 8a633f7cc..3c2ccb054 100644 --- a/app/views/index/about.phtml +++ b/app/views/index/about.phtml @@ -18,6 +18,29 @@ <h2><?= _t('index.about.bugs_reports') ?></h2> <?= _t('index.about.github') ?> + <?php if (FreshRSS_Auth::hasAccess('admin')) { ?> + <details class="envInfo"> + <summary><?= _t('index.about.bug_reports.environment_information') ?></summary> + <dl> + <dt><?= _t('index.about.bug_reports.environment_information.version_frss') ?></dt> + <dd><?= FRESHRSS_VERSION ?></dd> + <dt><?= _t('index.about.bug_reports.environment_information.version_php') ?></dt> + <dd><?= PHP_VERSION ?></dd> + <dt><?= _t('index.about.bug_reports.environment_information.database') ?></dt> + <dd><?= FreshRSS_Context::systemConf()->db['type'] ?></dd> + <?php $databaseDAO = FreshRSS_Factory::createDatabaseDAO(); ?> + <dd><?= $databaseDAO->version() ?></dd> + <dt><?= _t('index.about.bug_reports.environment_information.server_software') ?></dt> + <dd> + <?= is_string($_SERVER['SERVER_SOFTWARE'] ?? null) ? $_SERVER['SERVER_SOFTWARE'] : '' ?><br /> + <?= php_uname('s') . ' ' . php_uname('r') . ' ' . php_uname('v') . ' ' . php_uname('m') ?> + </dd> + <dt><?= _t('index.about.bug_reports.environment_information.browser') ?></dt> + <dd><?= is_string($_SERVER['HTTP_USER_AGENT'] ?? null) ? $_SERVER['HTTP_USER_AGENT'] : '' ?></dd> + </dl> + </details> + <?php } ?> + <h2><?= _t('index.about.license') ?></h2> <?= _t('index.about.agpl3') ?> |
