summaryrefslogtreecommitdiff
path: root/classes/dlg.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-24 15:03:19 +0400
committerAndrew Dolgov <[email protected]>2012-12-24 15:03:19 +0400
commit6c2637d973a8887bdccf4cdbd15e30643605c576 (patch)
treefe07fbeb43c375b8c2ec74ebf36225440ef4eca1 /classes/dlg.php
parent41b82aa4b98bc0e2004e7d28c2f5933fbe3ad7a3 (diff)
move data import/export to a separate plugin
Diffstat (limited to 'classes/dlg.php')
-rw-r--r--classes/dlg.php41
1 files changed, 0 insertions, 41 deletions
diff --git a/classes/dlg.php b/classes/dlg.php
index 10b6d580e..09f7cc387 100644
--- a/classes/dlg.php
+++ b/classes/dlg.php
@@ -16,24 +16,6 @@ class Dlg extends Handler_Protected {
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
@@ -704,29 +686,6 @@ class Dlg extends Handler_Protected {
return;
}
- function dataImport() {
- header("Content-Type: text/html"); # required for iframe
-
- print "<div style='text-align : center'>";
-
- if (is_file($_FILES['export_file']['tmp_name'])) {
-
- perform_data_import($this->link, $_FILES['export_file']['tmp_name'], $_SESSION['uid']);
-
- } else {
- print "<p>" . T_sprintf("Could not upload file. You might need to adjust upload_max_filesize
- in PHP.ini (current value = %s)", ini_get("upload_max_filesize")) . " or use CLI import tool.</p>";
-
- }
-
- print "<button dojoType=\"dijit.form.Button\"
- onclick=\"dijit.byId('dataImportDlg').hide()\">".
- __('Close this window')."</button>";
-
- print "</div>";
-
- }
-
function batchSubscribe() {
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"op\" value=\"rpc\">";
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"batchaddfeeds\">";