checkInstall.phtml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. <h1><?= _t('gen.menu.check_install') ?></h1>
  7. <h2><?= _t('admin.check_install.php') ?></h2>
  8. <?php foreach ($this->status_php as $key => $status) { ?>
  9. <p class="alert <?= $status ? 'alert-success' : 'alert-error' ?>">
  10. <?php
  11. if ($key === 'php') {
  12. echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok'), PHP_VERSION, FRESHRSS_MIN_PHP_VERSION);
  13. } else {
  14. echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok'));
  15. }
  16. ?>
  17. </p>
  18. <?php } ?>
  19. <h2><?= _t('admin.check_install.files') ?></h2>
  20. <?php foreach ($this->status_files as $key => $status) { ?>
  21. <p class="alert <?= $status ? 'alert-success' : 'alert-error' ?>">
  22. <?= _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok')) ?>
  23. </p>
  24. <?php } ?>
  25. <?php /*
  26. <h2><?= _t('admin.check_install.database') ?></h2>
  27. <?php foreach ($this->status_database as $key => $status) { ?>
  28. <p class="alert <?= $status ? 'alert-success' : 'alert-error' ?>">
  29. <?= _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok')) ?>
  30. </p>
  31. <?php } ?>
  32. */ ?>
  33. </div>