fix opml export

This commit is contained in:
Andrew Dolgov 2011-12-28 09:46:54 +04:00
parent a1159c01f3
commit 41f68571ab
3 changed files with 7 additions and 7 deletions

View 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;

View 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

View 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;
}