aboutsummaryrefslogtreecommitdiff
path: root/app/views/update
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/update')
-rw-r--r--app/views/update/apply.phtml4
-rw-r--r--app/views/update/checkInstall.phtml20
-rw-r--r--app/views/update/index.phtml18
3 files changed, 21 insertions, 21 deletions
diff --git a/app/views/update/apply.phtml b/app/views/update/apply.phtml
index 8221929ae..c5e6884db 100644
--- a/app/views/update/apply.phtml
+++ b/app/views/update/apply.phtml
@@ -1,9 +1,9 @@
<?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>
+ <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
- <h1><?php echo _t('admin.update'); ?></h1>
+ <h1><?= _t('admin.update') ?></h1>
<?php ask_info_update(); ?>
</div>
diff --git a/app/views/update/checkInstall.phtml b/app/views/update/checkInstall.phtml
index 33d78cbe7..183f914c0 100644
--- a/app/views/update/checkInstall.phtml
+++ b/app/views/update/checkInstall.phtml
@@ -1,15 +1,15 @@
<?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>
+ <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
- <h2><?php echo _t('admin.check_install.php'); ?></h2>
+ <h2><?= _t('admin.check_install.php') ?></h2>
<?php foreach ($this->status_php as $key => $status) { ?>
- <p class="alert <?php echo $status ? 'alert-success' : 'alert-error'; ?>">
+ <p class="alert <?= $status ? 'alert-success' : 'alert-error' ?>">
<?php
if ($key === 'php') {
- echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok'), PHP_VERSION, '5.3.8');
+ echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok'), PHP_VERSION, '5.6.0');
} else {
echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok'));
}
@@ -17,20 +17,20 @@
</p>
<?php } ?>
- <h2><?php echo _t('admin.check_install.files'); ?></h2>
+ <h2><?= _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 class="alert <?= $status ? 'alert-success' : 'alert-error' ?>">
+ <?= _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok')) ?>
</p>
<?php } ?>
<?php /*
- <h2><?php echo _t('admin.check_install.database'); ?></h2>
+ <h2><?= _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 class="alert <?= $status ? 'alert-success' : 'alert-error' ?>">
+ <?= _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok')) ?>
</p>
<?php } ?>
*/ ?>
diff --git a/app/views/update/index.phtml b/app/views/update/index.phtml
index 0599d5b0d..041941e39 100644
--- a/app/views/update/index.phtml
+++ b/app/views/update/index.phtml
@@ -1,16 +1,16 @@
<?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>
+ <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
- <h1><?php echo _t('admin.update'); ?></h1>
+ <h1><?= _t('admin.update') ?></h1>
<p>
- <?php echo _i('help'); ?> <?php echo _t('admin.update.current_version', FRESHRSS_VERSION); ?>
+ <?= _i('help') ?> <?= _t('admin.update.current_version', FRESHRSS_VERSION) ?>
</p>
<p>
- <?php echo _t('admin.update.last', $this->last_update_time); ?>
+ <?= _t('admin.update.last', $this->last_update_time) ?>
</p>
<?php if (!empty($this->message)) { ?>
@@ -28,9 +28,9 @@
break;
}
?>
- <p class="alert <?php echo $class; ?>">
- <span class="alert-head"><?php echo $this->message['title']; ?></span>
- <?php echo $this->message['body']; ?>
+ <p class="alert <?= $class ?>">
+ <span class="alert-head"><?= $this->message['title'] ?></span>
+ <?= $this->message['body'] ?>
</p>
<?php } ?>
@@ -38,11 +38,11 @@
if (empty($this->message) || $this->message['status'] !== 'good') {
?>
<p>
- <a href="<?php echo _url('update', 'check'); ?>" class="btn"><?php echo _t('admin.update.check'); ?></a>
+ <a href="<?= _url('update', 'check') ?>" class="btn"><?= _t('admin.update.check') ?></a>
</p>
<?php } ?>
<?php if ($this->update_to_apply) { ?>
- <a class="btn btn-important" href="<?php echo _url('update', 'apply'); ?>"><?php echo _t('admin.update.apply'); ?></a>
+ <a class="btn btn-important" href="<?= _url('update', 'apply') ?>"><?= _t('admin.update.apply') ?></a>
<?php } ?>
</div>