1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-01 14:19:15 +00:00

Merge pull request #18 from ilesinge/master

Fixing bookmarklet code in some languages
This commit is contained in:
Andrew Dolgov
2012-05-20 04:01:28 -07:00

View File

@@ -1501,7 +1501,7 @@ class Pref_Feeds extends Protected_Handler {
$bm_subscribe_url = str_replace('%s', '', add_feed_url());
$confirm_str = __('Subscribe to %s in Tiny Tiny RSS?');
$confirm_str = str_replace("'", "\'", __('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}");