aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/feed/update.phtml
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2024-04-16 15:52:59 +0200
committerGravatar GitHub <noreply@github.com> 2024-04-16 15:52:59 +0200
commit22172fd5bc4d32f24701f51e621943d6095d27ee (patch)
tree38ef1e270f561880d3ff380c43492956fe7d99cf /app/views/helpers/feed/update.phtml
parentbf68205ae3b04ceb927cd0fb98e12f19b1daac37 (diff)
Download feed configs as opml: button (#6312)
* button in feed configs * i18n * naming download file: added .opml * .opml.xml * i18n fr * Fix i18n en-GB --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/views/helpers/feed/update.phtml')
-rw-r--r--app/views/helpers/feed/update.phtml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml
index ba91030bd..bc6f81091 100644
--- a/app/views/helpers/feed/update.phtml
+++ b/app/views/helpers/feed/update.phtml
@@ -787,6 +787,17 @@
</div>
</div>
+ <h2><?= _t('sub.import_export.export') ?></h2>
+ <div class="form-group">
+ <label class="group-name"><?= _t('sub.feed.export-as-opml.label') ?></label>
+ <div class="group-controls">
+ <a class="btn btn-important" href="<?= _url('index', 'opml', 'get', 'f_'.$this->feed->id()) ?>" download="<?= 'f_'.$this->feed->id()?> <?= $this->feed->name(true) ?>.opml.xml">
+ <?= _t('sub.feed.export-as-opml.download') ?>
+ </a>
+ <p class="help"><?= _i('help') ?> <?= _t('sub.feed.export-as-opml.help') ?></p>
+ </div>
+ </div>
+
</div>
<div id="popup">