summaryrefslogtreecommitdiff
path: root/app/views/update/index.phtml
blob: a1a872845bb0495275dd6b0ac99d55fd9f352c7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php $this->partial('aside_configure'); ?>

<div class="post">
	<h1><?php echo _t('update_system'); ?></h1>

	<?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 if (empty($this->message) || $this->message['status'] !== 'good') { ?>
	<p>
		<a href="<?php echo _url('update', 'check'); ?>" class="btn"><?php echo _t('update_check'); ?></a>
		<?php echo _i('help'); ?> <?php echo _t('update_last', $this->last_update_time); ?>
	</p>
	<?php } ?>
</div>