summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-12-28 09:46:54 +0400
committerAndrew Dolgov <[email protected]>2011-12-28 09:46:54 +0400
commit41f68571abfb56992896d6bc9677a79284285290 (patch)
tree5b0d1cf113c26deee45838316d518b8858034ea4
parenta1159c01f3b8f88222f9c4a7f9e0e8801f3951d2 (diff)
fix opml export
-rw-r--r--classes/pref_feeds.php2
-rw-r--r--js/functions.js6
-rw-r--r--js/prefs.js6
3 files changed, 7 insertions, 7 deletions
diff --git a/classes/pref_feeds.php b/classes/pref_feeds.php
index e2b12c99e..d326d2278 100644
--- a/classes/pref_feeds.php
+++ b/classes/pref_feeds.php
@@ -1452,7 +1452,7 @@ class Pref_Feeds extends Protected_Handler {
name=\"data_upload_iframe\" onload=\"dataImportComplete(this)\"
style=\"width: 400px; height: 100px; display: none;\"></iframe>";
- print "<form name=\"opml_form\" style='display : block' target=\"data_upload_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\">&nbsp;
diff --git a/js/functions.js b/js/functions.js
index a1c393918..9b30bb302 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -296,12 +296,6 @@ function gotoMain() {
document.location.href = "index.php";
}
-function gotoExportOpml(filename, settings) {
- tmp = settings ? 1 : 0;
- document.location.href = "opml.php?op=Export&filename=" + filename + "&settings=" + tmp;
-}
-
-
/** * @(#)isNumeric.js * * Copyright (c) 2000 by Sundar Dorai-Raj
* * @author Sundar Dorai-Raj
* * Email: [email protected]
diff --git a/js/prefs.js b/js/prefs.js
index 0048e09df..ee3657e28 100644
--- a/js/prefs.js
+++ b/js/prefs.js
@@ -2064,4 +2064,10 @@ function dataImportComplete(iframe) {
}
}
+function gotoExportOpml(filename, settings) {
+ tmp = settings ? 1 : 0;
+ document.location.href = "opml.php?op=Export&filename=" + filename + "&settings=" + tmp;
+}
+
+