summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-09-11 11:37:18 +0400
committerAndrew Dolgov <[email protected]>2010-09-11 11:37:18 +0400
commit61c259710d67197c533c723ec159895ef121df53 (patch)
treeb9cf6efd533f32ea1267bc75aba152245fa2dca7 /modules
parent11a7a966066942a263e11ecd546dc7c101f00cc7 (diff)
parent46dc15380ed7a6712175f3e8a06a82ba8f4f1a92 (diff)
Merge branch 'master' into digest-experimental
Diffstat (limited to 'modules')
-rw-r--r--modules/pref-feeds.php12
1 files changed, 12 insertions, 0 deletions
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 "</p>";
}
+ print "<h3>".__("Subscribing via bookmarklet")."</h3>";
+
+ print "<p>" . __("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.") . "</p>";
+
+ $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 "<a href=\"$bm_url\" class='visibleLink'>" . __('Subscribe in Tiny Tiny RSS'). "</a>";
+
print "<h3>".__("Published articles")."</h3>";
if (!get_pref($link, "_PREFS_PUBLISH_KEY")) {