diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-19 11:49:48 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-19 11:49:48 +0200 |
commit | ed3990b46bcb048963bbfcb567656e82d8686796 (patch) | |
tree | a6324accf3798f7ce47679958a3dd3e914bb6cc5 /templates | |
parent | 3e9a13efc9d95aac61191481fc9b90cfe3ca6e41 (diff) |
added form for google reader import
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.settings.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/part.settings.php b/templates/part.settings.php index 446e45c9d..ed0372241 100644 --- a/templates/part.settings.php +++ b/templates/part.settings.php @@ -37,4 +37,22 @@ </p> </fieldset> + + <fieldset class="personalblock"> + <legend><strong><?php p($l->t('Import Google Reader JSON')); ?></strong></legend> + <p><?php p($l->t('To import starred and shared articles from Google + Reader please upload the .json files from the Google Takeout archive')); ?> + <input type="file" id="google-upload" name="importgoogle" + oc-read-file="importGoogleReader($fileContent)"/> + <button title="<?php p($l->t('Import')); ?>" + oc-forward-click="{selector:'#google-upload'}"> + <?php p($l->t('Import')); ?> + </button> + + <p class="error" ng-show="error"> + <?php p($l->t('Error when importing: file does not contain valid OPML')); ?> + </p> + + </fieldset> +</div> </div>
\ No newline at end of file |