From d2d753532485d2b02a70c382e17a3b796a927ee0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 21 Nov 2010 13:13:34 +0300 Subject: [PATCH] add some more dijit Buttons --- modules/pref-feeds.php | 15 ++++++--------- prefs.js | 2 +- tt-rss.css | 6 ++++++ 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index d82cb3f0d..2923f3349 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -1259,25 +1259,22 @@ print ""; - print "
"; print "
  - +
"; - print "
 "; - - print ""; print "

".__('Your OPML can be published publicly and can be subscribed by anyone who knows the URL below.'); print "

" . __("Note: Published OPML does not include your Tiny Tiny RSS settings, feeds that require authentication or feeds hidden from Popular feeds.") . "
" . "

"; - print " "; @@ -1312,7 +1309,7 @@ $bm_url = htmlspecialchars("javascript:{if(confirm('$confirm_str'.replace('%s',window.location.href)))window.location.href='$bm_subscribe_url'+window.location.href}"); - print "" . __('Subscribe in Tiny Tiny RSS'). ""; + print "" . __('Subscribe in Tiny Tiny RSS'). ""; print ""; #pane @@ -1323,10 +1320,10 @@ $rss_url = '-2::' . htmlspecialchars(get_self_url_prefix() . "/backend.php?op=rss&id=-2&view-mode=all_articles");; - print " "; - print " "; print ""; #pane diff --git a/prefs.js b/prefs.js index 6baa9a0d4..9ce1012b7 100644 --- a/prefs.js +++ b/prefs.js @@ -809,7 +809,7 @@ function opmlImport() { var opml_file = $("opml_file"); if (opml_file.value.length == 0) { - alert(__("No OPML file to upload.")); + alert(__("Please choose an OPML file first.")); return false; } else { notify_progress("Importing, please wait...", true); diff --git a/tt-rss.css b/tt-rss.css index 8fa518492..87f6cb882 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -1619,3 +1619,9 @@ span.labelFixedLength { .dijitDialog .dijitToolbar { border : 1px solid #c0c0c0; } + +a.bookmarklet { + color : #4684ff; + border : 1px solid #ecf4ff; + padding : 2px; +}