checkInstall.phtml 1.2 KB

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