summaryrefslogtreecommitdiff
path: root/app/views/update/checkInstall.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-31 14:45:37 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-31 14:45:37 +0100
commita97bbd9bd54c5fa56d54b3c214cf4e8af96af8b2 (patch)
tree6e83890bc1b3814a12c3b7bedc0d5944f30f507b /app/views/update/checkInstall.phtml
parent42fd539a1b14f883077048a35864b4294b6efe94 (diff)
parente91b72b63cd11ae3c4f59e48439e93955242c673 (diff)
Merge branch 'dev'
Conflicts: CHANGELOG README.fr.md README.md app/Controllers/feedController.php app/Controllers/indexController.php app/i18n/en.php app/i18n/fr.php app/views/helpers/view/normal_view.phtml app/views/stats/index.phtml app/views/stats/repartition.phtml constants.php p/scripts/main.js
Diffstat (limited to 'app/views/update/checkInstall.phtml')
-rw-r--r--app/views/update/checkInstall.phtml38
1 files changed, 38 insertions, 0 deletions
diff --git a/app/views/update/checkInstall.phtml b/app/views/update/checkInstall.phtml
new file mode 100644
index 000000000..a92860c7e
--- /dev/null
+++ b/app/views/update/checkInstall.phtml
@@ -0,0 +1,38 @@
+<?php $this->partial('aside_configure'); ?>
+
+<div class="post">
+ <a href="<?php echo _url('index', 'index'); ?>"><?php echo _t('gen.action.back_to_rss_feeds'); ?></a>
+
+ <h2><?php echo _t('admin.check_install.php'); ?></h2>
+
+ <?php foreach ($this->status_php as $key => $status) { ?>
+ <p class="alert <?php echo $status ? 'alert-success' : 'alert-error'; ?>">
+ <?php
+ if ($key === 'php') {
+ echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok'), PHP_VERSION, '5.2.1');
+ } else {
+ echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok'));
+ }
+ ?>
+ </p>
+ <?php } ?>
+
+ <h2><?php echo _t('admin.check_install.files'); ?></h2>
+
+ <?php foreach ($this->status_files as $key => $status) { ?>
+ <p class="alert <?php echo $status ? 'alert-success' : 'alert-error'; ?>">
+ <?php echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok')); ?>
+ </p>
+ <?php } ?>
+
+ <?php /*
+ <h2><?php echo _t('admin.check_install.database'); ?></h2>
+
+ <?php foreach ($this->status_database as $key => $status) { ?>
+ <p class="alert <?php echo $status ? 'alert-success' : 'alert-error'; ?>">
+ <?php echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok')); ?>
+ </p>
+ <?php } ?>
+ */ ?>
+
+</div>