Move condition

This commit is contained in:
Frederic Guillot 2015-01-10 19:51:27 -05:00
parent 8f9c957f2f
commit c2cbc00f22
1 changed files with 2 additions and 2 deletions

View File

@ -69,14 +69,14 @@
</form>
</section>
<?php if (ENABLE_AUTO_UPDATE): ?>
<div class="page-section">
<h2><?= t('Advanced') ?></h2>
</div>
<section class="alert alert-error">
<ul>
<li><a href="?action=generate-tokens&amp;csrf=<?= $values['csrf'] ?>"><?= t('Generate new tokens') ?></a> (<?= t('Miniflux API') ?>, <?= t('Fever API') ?>, <?= t('Bookmarklet') ?>, <?= t('Bookmark RSS Feed') ?>)</li>
<?php if (ENABLE_AUTO_UPDATE): ?>
<li><a href="?action=confirm-auto-update"><?= t('Update Miniflux') ?></a> (<?= t('Don\'t forget to backup your database') ?>)</li>
<?php endif ?>
</ul>
</section>
<?php endif ?>