miniflux-legacy/templates/add.php

20 lines
1.1 KiB
PHP
Raw Normal View History

2013-02-18 03:48:21 +01:00
<div class="page-header">
2013-04-13 03:08:55 +02:00
<h2><?= t('New subscription') ?></h2>
2013-02-24 20:04:56 +01:00
<ul>
2013-04-13 03:08:55 +02:00
<li><a href="?action=feeds"><?= t('feeds') ?></a></li>
<li><a href="?action=import"><?= t('import') ?></a></li>
<li><a href="?action=export"><?= t('export') ?></a></li>
2013-02-24 20:04:56 +01:00
</ul>
2013-02-18 03:48:21 +01:00
</div>
<form method="post" action="?action=subscribe" autocomplete="off">
2013-08-04 03:07:15 +02:00
<?= Helper\form_label(t('Website or Feed URL'), 'url') ?>
<?= Helper\form_text('url', $values, array(), array('required', 'autofocus', 'placeholder="'.t('http://website/').'"')) ?>
<?= Helper\form_checkbox('download_content', t('Download full content'), 1, isset($values['download_content']) ? $values['download_content'] : false) ?><br/>
<p class="form-help"><?= t('Downloading full content is slower because Miniflux grab the content from the original website. You should use that for subscriptions that display only a summary. This feature doesn\'t work with all websites.') ?></p>
2013-02-18 03:48:21 +01:00
<div class="form-actions">
2013-04-13 03:08:55 +02:00
<button type="submit" class="btn btn-blue"><?= t('Add') ?></button>
<?= t('or') ?> <a href="?action=feeds"><?= t('cancel') ?></a>
2013-02-18 03:48:21 +01:00
</div>
</form>