Move condition

This commit is contained in:
Frederic Guillot 2015-01-10 19:51:27 -05:00
parent 8f9c957f2f
commit c2cbc00f22

View File

@ -69,14 +69,14 @@
</form> </form>
</section> </section>
<?php if (ENABLE_AUTO_UPDATE): ?>
<div class="page-section"> <div class="page-section">
<h2><?= t('Advanced') ?></h2> <h2><?= t('Advanced') ?></h2>
</div> </div>
<section class="alert alert-error"> <section class="alert alert-error">
<ul> <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> <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> <li><a href="?action=confirm-auto-update"><?= t('Update Miniflux') ?></a> (<?= t('Don\'t forget to backup your database') ?>)</li>
<?php endif ?>
</ul> </ul>
</section> </section>
<?php endif ?>