Move condition
This commit is contained in:
parent
8f9c957f2f
commit
c2cbc00f22
@ -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&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&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 ?>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user