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
2016-07-24 12:51:49 +02:00

38 lines
1.2 KiB
PHTML
Executable file

<?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.3.0');
} 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>