From: Andrew Dolgov Date: Wed, 28 Dec 2011 05:46:54 +0000 (+0400) Subject: fix opml export X-Git-Tag: 1.5.9~26 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=41f68571abfb56992896d6bc9677a79284285290;p=tt-rss.git fix opml export --- diff --git a/classes/pref_feeds.php b/classes/pref_feeds.php index e2b12c99..d326d227 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;\">"; - print "
  diff --git a/js/functions.js b/js/functions.js index a1c39391..9b30bb30 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: sdoraira@vt.edu diff --git a/js/prefs.js b/js/prefs.js index 0048e09d..ee3657e2 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; +} + +