checkInstall.phtml 1.2 KB

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