summaryrefslogtreecommitdiffstats
path: root/templates/part.settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.settings.php')
-rw-r--r--templates/part.settings.php23
1 files changed, 12 insertions, 11 deletions
diff --git a/templates/part.settings.php b/templates/part.settings.php
index 5dac1f05a..b5860124d 100644
--- a/templates/part.settings.php
+++ b/templates/part.settings.php
@@ -1,15 +1,16 @@
<fieldset class="personalblock">
- <legend><strong><?php p($l->t('Import / Export OPML')); ?></strong></legend>
- <input type="file" id="opml-upload" name="files[]" read-file/>
- <button title="<?php p($l->t('Import')); ?>" forward-click="{selector:'#opml-upload'}">
- <?php p($l->t('Import')); ?>
- </button>
- <a class="button"
- href="<?php print_unescaped(\OC_Helper::linkToRoute('news_export_opml')) ?>"
- title="<?php p($l->t('Export')); ?>"><?php p($l->t('Export')); ?></a>
+ <legend><strong><?php p($l->t('Import / Export OPML')); ?></strong></legend>
+ <input type="file" id="opml-upload" name="files[]" read-file/>
+ <button title="<?php p($l->t('Import')); ?>" forward-click="{selector:'#opml-upload'}">
+ <?php p($l->t('Import')); ?>
+ </button>
+ <button ng-disabled="feeds.length==0" title="<?php p($l->t('Export')); ?>"
+ ng-click="export()">
+ <?php p($l->t('Export')); ?>
+ </button>
</fieldset>
<fieldset class="personalblock">
- <legend><strong><?php p($l->t('Subscribelet')); ?></strong></legend>
- <p><?php print_unescaped($this->inc('part.subscribelet'));?>
- </p>
+ <legend><strong><?php p($l->t('Subscribelet')); ?></strong></legend>
+ <p><?php print_unescaped($this->inc('part.subscribelet'));?>
+ </p>
</fieldset>