checkInstall.phtml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /** @var FreshRSS_View $this */
  3. $this->partial('aside_configure');
  4. ?>
  5. <main class="post">
  6. <div class="link-back-wrapper">
  7. <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
  8. </div>
  9. <h1><?= _t('gen.menu.check_install') ?></h1>
  10. <h2><?= _t('admin.check_install.php') ?></h2>
  11. <?php foreach ($this->status_php as $key => $status) { ?>
  12. <p class="alert <?= $status ? 'alert-success' : 'alert-error' ?>">
  13. <?php
  14. if ($key === 'php') {
  15. echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok'), PHP_VERSION, FRESHRSS_MIN_PHP_VERSION);
  16. } else {
  17. echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok'));
  18. }
  19. ?>
  20. </p>
  21. <?php } ?>
  22. <h2><?= _t('admin.check_install.files') ?></h2>
  23. <?php foreach ($this->status_files as $key => $status) { ?>
  24. <p class="alert <?= $status ? 'alert-success' : 'alert-error' ?>">
  25. <?= _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok')) ?>
  26. </p>
  27. <?php } ?>
  28. <?php /*
  29. <h2><?= _t('admin.check_install.database') ?></h2>
  30. <?php foreach ($this->status_database as $key => $status) { ?>
  31. <p class="alert <?= $status ? 'alert-success' : 'alert-error' ?>">
  32. <?= _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok')) ?>
  33. </p>
  34. <?php } ?>
  35. */ ?>
  36. </main>