summaryrefslogtreecommitdiffstats
path: root/admin/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/index.php')
-rwxr-xr-xadmin/index.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/admin/index.php b/admin/index.php
index 153c2ad..76ebb25 100755
--- a/admin/index.php
+++ b/admin/index.php
@@ -127,6 +127,20 @@ ob_start();
</table>
</form>
</div>
+
+ <div class="widget">
+ <h3><?=_g('Upload OPML file')?></h3>
+ <form action="subscriptions.php" method="post" id="opmlimport" enctype="multipart/form-data">
+ <p>Beware! This will totally erase and replace the list of your feeds just above.</p>
+ <fieldset>
+ <label for="url"><?=_g('File:')?></label>
+ <input type="file" class="text" name="opml" id="opml" class="text" size="50" />
+ <input type="submit" class="submit add" name="upload" value="<?=_g('Upload OPML file and replace existing feeds')?>" />
+ </fieldset>
+ <input type="hidden" value="<?php echo $csrf->generate('feedmanage'); ?>" name="_csrf">
+ </form>
+ </div>
+
<?php
$page_content = ob_get_contents();
ob_end_clean();