diff options
author | Andrew Dolgov <[email protected]> | 2011-12-27 21:09:22 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-12-27 21:09:22 +0400 |
commit | 566faa14760112f81eea78fe441d5adc1b872da1 (patch) | |
tree | e3e9d12ef58f52324e503421fc28a3c5bed379a9 /classes/pref_feeds.php | |
parent | b4a9e560aabfb26e8a55e742853785e074feb672 (diff) |
implement neutral-format personal data export
Diffstat (limited to 'classes/pref_feeds.php')
-rw-r--r-- | classes/pref_feeds.php | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/classes/pref_feeds.php b/classes/pref_feeds.php index ed3783d67..f9ed1b554 100644 --- a/classes/pref_feeds.php +++ b/classes/pref_feeds.php @@ -1398,15 +1398,15 @@ class Pref_Feeds extends Protected_Handler { print "</div>"; # feeds pane - print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('OPML')."\">"; + print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Import and export')."\">"; - print "<p>" . __("Using OPML you can export and import your feeds, filters, labels and Tiny Tiny RSS settings.") . " "; + print "<h2>" . __("OPML") . "</h2>"; - print "<span class=\"insensitive\">" . __("Note: Only main settings profile can be migrated using OPML.") . "</span>"; + print "<h3>" . __("Import") . "</h3>"; - print "</p>"; + print "<p>" . __("Using OPML you can export and import your feeds, filters, labels and Tiny Tiny RSS settings.") . " "; - print "<h3>" . __("Import") . "</h3>"; + print __("Only main settings profile can be migrated using OPML.") . "</p>"; print "<br/><iframe id=\"upload_iframe\" name=\"upload_iframe\" onload=\"opmlImportComplete(this)\" @@ -1435,12 +1435,19 @@ class Pref_Feeds extends Protected_Handler { print "<p>".__('Your OPML can be published publicly and can be subscribed by anyone who knows the URL below.') . " "; - print "<span class=\"insensitive\">" . __("Note: Published OPML does not include your Tiny Tiny RSS settings, feeds that require authentication or feeds hidden from Popular feeds.") . "</span>" . "</p>"; + print __("Published OPML does not include your Tiny Tiny RSS settings, feeds that require authentication or feeds hidden from Popular feeds.") . "</p>"; print "<button dojoType=\"dijit.form.Button\" onclick=\"return displayDlg('pubOPMLUrl')\">". __('Display URL')."</button> "; + print "<h2>" . __("Data Export") . "</h2>"; + + print "<p>" . __("You can export your Starred and Archived articles using database-neutral format for safekeeping.") . "</p>"; + + print "<button dojoType=\"dijit.form.Button\" onclick=\"return exportData()\">". + __('Export my data')."</button> "; + print "</div>"; # pane if (strpos($_SERVER['HTTP_USER_AGENT'], "Firefox") !== false) { |