From 08ae2a5ba6b69b574c891a7fb3f88cab5d55b66f Mon Sep 17 00:00:00 2001 From: Craig Meyer Date: Sat, 30 Jul 2011 22:34:22 -0400 Subject: Extend OPML preferences pane, to provide more control of Export OPML User is prompted for filename, and also whether to include settings. Default filename is: TinyTinyRSS.opml modules/pref-feeds.php Prompt for output OPML filename (Default: TinyTinyRSS.opml ) opml.php Modify to support passing in name=&settings=[0|1] functions.js Modify to support passing in name=&settings=[0|1] --- functions.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'functions.js') diff --git a/functions.js b/functions.js index 335ed61ec..e8bd6af33 100644 --- a/functions.js +++ b/functions.js @@ -277,8 +277,9 @@ function gotoMain() { document.location.href = "tt-rss.php"; } -function gotoExportOpml() { - document.location.href = "opml.php?op=Export"; +function gotoExportOpml(filename, settings) { + tmp = settings ? 1 : 0; + document.location.href = "opml.php?op=Export&filename=" + filename + "&settings=" + tmp; } -- cgit v1.2.3-54-g00ecf