checkInstall.phtml 1.1 KB

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