fix opml export
This commit is contained in:
parent
a1159c01f3
commit
41f68571ab
|
@ -1452,7 +1452,7 @@ class Pref_Feeds extends Protected_Handler {
|
||||||
name=\"data_upload_iframe\" onload=\"dataImportComplete(this)\"
|
name=\"data_upload_iframe\" onload=\"dataImportComplete(this)\"
|
||||||
style=\"width: 400px; height: 100px; display: none;\"></iframe>";
|
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\"
|
enctype=\"multipart/form-data\" method=\"POST\"
|
||||||
action=\"backend.php\">
|
action=\"backend.php\">
|
||||||
<input id=\"export_file\" name=\"export_file\" type=\"file\">
|
<input id=\"export_file\" name=\"export_file\" type=\"file\">
|
||||||
|
|
|
@ -296,12 +296,6 @@ function gotoMain() {
|
||||||
document.location.href = "index.php";
|
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
|
/** * @(#)isNumeric.js * * Copyright (c) 2000 by Sundar Dorai-Raj
|
||||||
* * @author Sundar Dorai-Raj
|
* * @author Sundar Dorai-Raj
|
||||||
* * Email: sdoraira@vt.edu
|
* * Email: sdoraira@vt.edu
|
||||||
|
|
|
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue