diff options
author | Andrew Dolgov <[email protected]> | 2012-12-24 15:03:19 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-12-24 15:03:19 +0400 |
commit | 6c2637d973a8887bdccf4cdbd15e30643605c576 (patch) | |
tree | fe07fbeb43c375b8c2ec74ebf36225440ef4eca1 /classes/pref/feeds.php | |
parent | 41b82aa4b98bc0e2004e7d28c2f5933fbe3ad7a3 (diff) |
move data import/export to a separate plugin
Diffstat (limited to 'classes/pref/feeds.php')
-rw-r--r-- | classes/pref/feeds.php | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index 373498f3c..447aa8947 100644 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -1376,9 +1376,7 @@ class Pref_Feeds extends Handler_Protected { print "</div>"; # feeds pane - print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Import and export')."\">"; - - print "<h3>" . __("OPML") . "</h3>"; + print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('OPML')."\">"; print "<p>" . __("Using OPML you can export and import your feeds, filters, labels and Tiny Tiny RSS settings.") . " "; @@ -1416,30 +1414,6 @@ class Pref_Feeds extends Handler_Protected { print "<button dojoType=\"dijit.form.Button\" onclick=\"return displayDlg('pubOPMLUrl')\">". __('Display published OPML URL')."</button> "; - - print "<h3>" . __("Article archive") . "</h3>"; - - print "<p>" . __("You can export and import your Starred and Archived articles for safekeeping or when migrating between tt-rss instances.") . "</p>"; - - print "<button dojoType=\"dijit.form.Button\" onclick=\"return exportData()\">". - __('Export my data')."</button> "; - - print "<hr>"; - - print "<iframe id=\"data_upload_iframe\" - name=\"data_upload_iframe\" onload=\"dataImportComplete(this)\" - style=\"width: 400px; height: 100px; display: none;\"></iframe>"; - - print "<form name=\"import_form\" style='display : block' target=\"data_upload_iframe\" - enctype=\"multipart/form-data\" method=\"POST\" - action=\"backend.php\"> - <input id=\"export_file\" name=\"export_file\" type=\"file\"> - <input type=\"hidden\" name=\"op\" value=\"dlg\"> - <input type=\"hidden\" name=\"method\" value=\"dataimport\"> - <button dojoType=\"dijit.form.Button\" onclick=\"return importData();\" type=\"submit\">" . - __('Import') . "</button>"; - - print "</div>"; # pane if (strpos($_SERVER['HTTP_USER_AGENT'], "Firefox") !== false) { |