1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-03 11:59:34 +00:00

implement neutral-format personal data export

This commit is contained in:
Andrew Dolgov
2011-12-27 21:09:22 +04:00
parent b4a9e560aa
commit 566faa1476
6 changed files with 196 additions and 8 deletions

View File

@@ -16,6 +16,24 @@ class Dlg extends Protected_Handler {
print "</dlg>";
}
function exportData() {
print "<p style='text-align : center' id='export_status_message'>You need to prepare exported data first by clicking the button below.</p>";
print "<div align='center'>";
print "<button dojoType=\"dijit.form.Button\"
onclick=\"dijit.byId('dataExportDlg').prepare()\">".
__('Prepare data')."</button>";
print "<button dojoType=\"dijit.form.Button\"
onclick=\"dijit.byId('dataExportDlg').hide()\">".
__('Close this window')."</button>";
print "</div>";
}
function importOpml() {
header("Content-Type: text/html"); # required for iframe