aboutsummaryrefslogtreecommitdiff
path: root/app/views/update/checkInstall.phtml
diff options
context:
space:
mode:
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..b36551340
--- /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('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>