2014-09-27 10:10:43 +02:00
|
|
|
<?php $this->partial('aside_configure'); ?>
|
|
|
|
|
|
|
|
<div class="post">
|
2015-02-08 18:55:48 +01:00
|
|
|
<a href="<?php echo _url('index', 'index'); ?>"><?php echo _t('gen.action.back_to_rss_feeds'); ?></a>
|
2014-09-27 10:10:43 +02:00
|
|
|
|
2015-02-08 18:55:48 +01:00
|
|
|
<h1><?php echo _t('admin.update'); ?></h1>
|
2014-09-27 10:10:43 +02:00
|
|
|
|
|
|
|
<p>
|
2015-02-08 18:55:48 +01:00
|
|
|
<?php echo _i('help'); ?> <?php echo _t('admin.update.current_version', FRESHRSS_VERSION); ?>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<?php echo _t('admin.update.last', $this->last_update_time); ?>
|
2014-09-27 10:10:43 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<?php if (!empty($this->message)) { ?>
|
|
|
|
<p class="alert <?php echo $this->message['status'] === 'bad' ? 'alert-error' : 'alert-warn'; ?>">
|
|
|
|
<span class="alert-head"><?php echo $this->message['title']; ?></span>
|
|
|
|
<?php echo $this->message['body']; ?>
|
|
|
|
</p>
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
<?php
|
2015-02-08 18:55:48 +01:00
|
|
|
if (empty($this->message) || $this->message['status'] !== 'good') {
|
2014-09-27 10:10:43 +02:00
|
|
|
?>
|
|
|
|
<p>
|
2015-02-08 18:55:48 +01:00
|
|
|
<a href="<?php echo _url('update', 'check'); ?>" class="btn"><?php echo _t('admin.update.check'); ?></a>
|
2014-09-27 10:10:43 +02:00
|
|
|
</p>
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
<?php if ($this->update_to_apply) { ?>
|
2015-02-08 18:55:48 +01:00
|
|
|
<a class="btn btn-important" href="<?php echo _url('update', 'apply'); ?>"><?php echo _t('admin.update.apply'); ?></a>
|
2014-09-27 10:10:43 +02:00
|
|
|
<?php } ?>
|
|
|
|
</div>
|