1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00
freshrss_ynh/sources/app/views/update/checkInstall.phtml

39 lines
1.2 KiB
PHTML
Raw Normal View History

2015-02-08 18:55:48 +01:00
<?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>