27 lines
1.1 KiB
PHP
27 lines
1.1 KiB
PHP
|
<div class="page-header">
|
||
|
<h2><?= t('Edit subscription') ?></h2>
|
||
|
<ul>
|
||
|
<li><a href="?action=add"><?= t('add') ?></a></li>
|
||
|
<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>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
<form method="post" action="?action=edit-feed" autocomplete="off">
|
||
|
|
||
|
<?= Helper\form_hidden('id', $values) ?>
|
||
|
|
||
|
<?= Helper\form_label(t('Title'), 'title') ?>
|
||
|
<?= Helper\form_text('title', $values, $errors, array('required')) ?>
|
||
|
|
||
|
<?= Helper\form_label(t('Website URL'), 'site_url') ?>
|
||
|
<?= Helper\form_text('site_url', $values, $errors, array('required', 'placeholder="http://..."')) ?>
|
||
|
|
||
|
<?= Helper\form_label(t('Feed URL'), 'feed_url') ?>
|
||
|
<?= Helper\form_text('feed_url', $values, $errors, array('required', 'placeholder="http://..."')) ?>
|
||
|
|
||
|
<div class="form-actions">
|
||
|
<button type="submit" class="btn btn-blue"><?= t('Edit') ?></button> <?= t('or') ?> <a href="?action=feeds"><?= t('cancel') ?></a>
|
||
|
</div>
|
||
|
</form>
|