summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-07-30 23:38:03 -0700
committerAndrew Dolgov <[email protected]>2011-07-30 23:38:03 -0700
commit01664ee728bf99bbcddf51939b4914b29d6f47ae (patch)
treee376cbb0edf08499f7ff62c5f9355d98d9bc0c59 /modules
parente78477b4e213e31cd19f483039f3af182e9f1cef (diff)
parent08ae2a5ba6b69b574c891a7fb3f88cab5d55b66f (diff)
Merge pull request #10 from meyercr/master
Extend OPML preferences pane, to provide more control of Export OPML
Diffstat (limited to 'modules')
-rw-r--r--modules/pref-feeds.php15
1 files changed, 10 insertions, 5 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index e16fa9b13..947716e91 100644
--- a/modules/pref-feeds.php
+++ b/modules/pref-feeds.php
@@ -1440,16 +1440,21 @@
name=\"upload_iframe\" onload=\"opmlImportComplete(this)\"
style=\"width: 400px; height: 100px; display: none;\"></iframe>";
- print "<form style='display : block' target=\"upload_iframe\"
+ print "<form name=\"opml_form\" style='display : block' target=\"upload_iframe\"
enctype=\"multipart/form-data\" method=\"POST\"
action=\"backend.php\">
<input id=\"opml_file\" name=\"opml_file\" type=\"file\">&nbsp;
<input type=\"hidden\" name=\"op\" value=\"dlg\">
<input type=\"hidden\" name=\"id\" value=\"importOpml\">
- <button dojoType=\"dijit.form.Button\" onclick=\"return opmlImport();\"
- type=\"submit\">".__('Import')."</button>
- <button dojoType=\"dijit.form.Button\" onclick=\"gotoExportOpml()\">".__('Export OPML')."</button>
- </form>";
+ <button dojoType=\"dijit.form.Button\" onclick=\"return opmlImport();\" type=\"submit\">" .
+ __('Import') . "</button>" .
+ "<p>" . __('Export Name:&nbsp;') .
+ "<input type=\"text\" id=\"filename\" value=\"TinyTinyRSS.opml\" />&nbsp;" .
+ __('Include Settings?&nbsp;') . "<input type=\"checkbox\" id=\"settings\" CHECKED />" .
+
+ "<button dojoType=\"dijit.form.Button\"
+ onclick=\"gotoExportOpml(document.opml_form.filename.value, document.opml_form.settings.checked)\" >" .
+ __('Export OPML') . "</button></p></form>";
print "<p>".__('Your OPML can be published publicly and can be subscribed by anyone who knows the URL below.');