about.phtml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /** @var FreshRSS_View $this */
  3. if (FreshRSS_Auth::hasAccess()) {
  4. $this->partial('aside_configure');
  5. }
  6. ?>
  7. <main class="post content">
  8. <?php if (FreshRSS_Auth::hasAccess()) {?>
  9. <div class="link-back-wrapper">
  10. <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
  11. </div>
  12. <?php } ?>
  13. <h1><?= _t('index.about') ?></h1>
  14. <p><?= _t('index.about.freshrss_description') ?></p>
  15. <h2><?= _t('index.about.project_website') ?></h2>
  16. <a href="<?= FRESHRSS_WEBSITE ?>" target="_blank"><?= FRESHRSS_WEBSITE ?></a>
  17. <h2><?= _t('index.about.documentation') ?></h2>
  18. <a href="<?= FRESHRSS_WIKI ?>" target="_blank"><?= FRESHRSS_WIKI ?></a>
  19. <h2><?= _t('index.about.bugs_reports') ?></h2>
  20. <?= _t('index.about.github') ?>
  21. <h2><?= _t('index.about.license') ?></h2>
  22. <?= _t('index.about.agpl3') ?>
  23. <?php
  24. if (FreshRSS_Auth::hasAccess()) { ?>
  25. <h2><?= _t('index.about.version') ?></h2>
  26. <?= FRESHRSS_VERSION ?>
  27. <?php
  28. $env = FreshRSS_Context::$system_conf->environment;
  29. if ($env !== 'production' && FreshRSS_Context::$user_conf->is_admin) { ?>
  30. <h2>data/config.php</h2>
  31. <code>'environment' => '<?= $env; ?>'</code><br />
  32. <?php
  33. }
  34. }
  35. ?>
  36. <h2><?= _t('index.about.credits') ?></h2>
  37. <p><?= _t('index.about.credits_content') ?></p>
  38. </main>