]> git.wh0rd.org - tt-rss.git/commitdiff
fix opml export
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 28 Dec 2011 05:46:54 +0000 (09:46 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 28 Dec 2011 05:46:54 +0000 (09:46 +0400)
classes/pref_feeds.php
js/functions.js
js/prefs.js

index e2b12c99e1f1b50e012115832b722a05d72f8b9c..d326d2278cc45198fc5f3ed1b9bff373c90464ea 100644 (file)
@@ -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;
index a1c3939188346d022c78fa4dcdeef6cd57c0f93e..9b30bb302407b681e6e1c62ac18534a4014e5ef7 100644 (file)
@@ -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: sdoraira@vt.edu
index 0048e09df2592f9a36c5652ec7c9df58d264d690..ee3657e287b642d6e86184380a81ba9e18626982 100644 (file)
@@ -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;
+}
+
+