diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index c0bb44168..dc3553d10 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -1501,6 +1501,18 @@ print "

"; } + print "

".__("Subscribing via bookmarklet")."

"; + + print "

" . __("Drag the link below to your browser toolbar, open the feed you're interested in in your browser and click on the link to subscribe to it.") . "

"; + + $bm_subscribe_url = str_replace('%s', '', add_feed_url()); + + $confirm_str = __('Subscribe to %s in Tiny Tiny RSS?'); + + $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 "

".__("Published articles")."

"; if (!get_pref($link, "_PREFS_PUBLISH_KEY")) {