diff options
-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 |