diff options
author | Andrew Dolgov <[email protected]> | 2011-07-31 10:44:20 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-07-31 10:44:20 +0400 |
commit | 71bc164586e9701b866a02814286f919dd744644 (patch) | |
tree | 0bd3156b9157cc8c376bea3909078337bf69fe48 | |
parent | 01664ee728bf99bbcddf51939b4914b29d6f47ae (diff) |
tweak OPML panel UI a bit
-rw-r--r-- | modules/pref-feeds.php | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 947716e91..1645ca0ba 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -1430,13 +1430,15 @@ print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('OPML')."\">"; - print "<p>" . __("Using OPML you can export and import your feeds and Tiny Tiny RSS settings."); + print "<p>" . __("Using OPML you can export and import your feeds and Tiny Tiny RSS settings.") . " "; - print "<div class=\"insensitive\">" . __("Note: Only main settings profile can be migrated using OPML.") . "</div>"; + print "<span class=\"insensitive\">" . __("Note: Only main settings profile can be migrated using OPML.") . "</span>"; print "</p>"; - print "<iframe id=\"upload_iframe\" + print "<h3>" . __("Import") . "</h3>"; + + print "<br/><iframe id=\"upload_iframe\" name=\"upload_iframe\" onload=\"opmlImportComplete(this)\" style=\"width: 400px; height: 100px; display: none;\"></iframe>"; @@ -1447,18 +1449,23 @@ <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>" . - "<p>" . __('Export Name: ') . - "<input type=\"text\" id=\"filename\" value=\"TinyTinyRSS.opml\" /> " . - __('Include Settings? ') . "<input type=\"checkbox\" id=\"settings\" CHECKED />" . + __('Import') . "</button>"; + + print "<h3>" . __("Export") . "</h3>"; + + print "<p>" . __('Filename:') . + " <input type=\"text\" id=\"filename\" value=\"TinyTinyRSS.opml\" /> " . + __('Include settings') . "<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>"; + __('Export') . "</button></p></form>"; + + print "<h3>" . __("Publish") . "</h3>"; - print "<p>".__('Your OPML can be published publicly and can be subscribed by anyone who knows the URL below.'); + print "<p>".__('Your OPML can be published publicly and can be subscribed by anyone who knows the URL below.') . " "; - print "<div class=\"insensitive\">" . __("Note: Published OPML does not include your Tiny Tiny RSS settings, feeds that require authentication or feeds hidden from Popular feeds.") . "</div>" . "</p>"; + print "<span class=\"insensitive\">" . __("Note: Published OPML does not include your Tiny Tiny RSS settings, feeds that require authentication or feeds hidden from Popular feeds.") . "</span>" . "</p>"; print "<button dojoType=\"dijit.form.Button\" onclick=\"return displayDlg('pubOPMLUrl')\">". __('Display URL')."</button> "; |