social_share_privacy 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
<% require 'uri'
|
|
1
2
|
/*
|
|
2
3
|
* jquery.socialshareprivacy.js | 2 Klicks fuer mehr Datenschutz
|
|
3
4
|
*
|
|
@@ -85,40 +86,40 @@
|
|
|
85
86
|
'services' : {
|
|
86
87
|
'facebook' : {
|
|
87
88
|
'status' : 'on',
|
|
88
|
-
'txt_info' : '<%= I18n.t('social_share_privacy.facebook.txt_info') %>',
|
|
89
|
-
'txt_fb_off' : '<%= I18n.t('social_share_privacy.facebook.txt_off') %>',
|
|
90
|
-
'txt_fb_on' : '<%= I18n.t('social_share_privacy.facebook.txt_on') %>',
|
|
89
|
+
'txt_info' : '<%= URI.escape(I18n.t('social_share_privacy.facebook.txt_info')) %>',
|
|
90
|
+
'txt_fb_off' : '<%= URI.escape(I18n.t('social_share_privacy.facebook.txt_off')) %>',
|
|
91
|
+
'txt_fb_on' : '<%= URI.escape(I18n.t('social_share_privacy.facebook.txt_on')) %>',
|
|
91
92
|
'perma_option' : 'on',
|
|
92
|
-
'display_name' : '<%= I18n.t('social_share_privacy.facebook.display_name') %>',
|
|
93
|
+
'display_name' : '<%= URI.escape(I18n.t('social_share_privacy.facebook.display_name')) %>',
|
|
93
94
|
'referrer_track' : '',
|
|
94
95
|
'language' : '<%= I18n.locale.to_s %>',
|
|
95
96
|
'action' : 'recommend'
|
|
96
97
|
},
|
|
97
98
|
'twitter' : {
|
|
98
99
|
'status' : 'on',
|
|
99
|
-
'txt_info' : '<%= I18n.t('social_share_privacy.twitter.txt_info') %>',
|
|
100
|
-
'txt_twitter_off' : '<%= I18n.t('social_share_privacy.twitter.txt_off') %>',
|
|
101
|
-
'txt_twitter_on' : '<%= I18n.t('social_share_privacy.twitter.txt_on') %>',
|
|
100
|
+
'txt_info' : '<%= URI.escape(I18n.t('social_share_privacy.twitter.txt_info')) %>',
|
|
101
|
+
'txt_twitter_off' : '<%= URI.escape(I18n.t('social_share_privacy.twitter.txt_off')) %>',
|
|
102
|
+
'txt_twitter_on' : '<%= URI.escape(I18n.t('social_share_privacy.twitter.txt_on')) %>',
|
|
102
103
|
'perma_option' : 'on',
|
|
103
|
-
'display_name' : '<%= I18n.t('social_share_privacy.twitter.display_name') %>',
|
|
104
|
+
'display_name' : '<%= URI.escape(I18n.t('social_share_privacy.twitter.display_name')) %>',
|
|
104
105
|
'referrer_track' : '',
|
|
105
106
|
'tweet_text' : getTweetText,
|
|
106
107
|
'language' : '<%= I18n.locale.to_s %>'
|
|
107
108
|
},
|
|
108
109
|
'gplus' : {
|
|
109
110
|
'status' : 'on',
|
|
110
|
-
'txt_info' : '<%= I18n.t('social_share_privacy.gplus.txt_info') %>',
|
|
111
|
-
'txt_gplus_off' : '<%= I18n.t('social_share_privacy.gplus.txt_off') %>',
|
|
112
|
-
'txt_gplus_on' : '<%= I18n.t('social_share_privacy.gplus.txt_on') %>',
|
|
111
|
+
'txt_info' : '<%= URI.escape(I18n.t('social_share_privacy.gplus.txt_info')) %>',
|
|
112
|
+
'txt_gplus_off' : '<%= URI.escape(I18n.t('social_share_privacy.gplus.txt_off')) %>',
|
|
113
|
+
'txt_gplus_on' : '<%= URI.escape(I18n.t('social_share_privacy.gplus.txt_on')) %>',
|
|
113
114
|
'perma_option' : 'on',
|
|
114
|
-
'display_name' : '<%= I18n.t('social_share_privacy.gplus.display_name')
|
|
115
|
+
'display_name' : '<%= URI.escape(I18n.t('social_share_privacy.gplus.display_name')) %>',
|
|
115
116
|
'referrer_track' : '',
|
|
116
117
|
'language' : '<%= I18n.locale.to_s %>'
|
|
117
118
|
}
|
|
118
119
|
},
|
|
119
120
|
'info_link' : 'http://www.heise.de/ct/artikel/2-Klicks-fuer-mehr-Datenschutz-1333879.html',
|
|
120
|
-
'txt_help' : '<%= I18n.t('social_share_privacy.txt_help') %>',
|
|
121
|
-
'settings_perma' : '<%= I18n.t('social_share_privacy.settings_perma') %>'
|
|
121
|
+
'txt_help' : '<%= URI.escape(I18n.t('social_share_privacy.txt_help')) %>',
|
|
122
|
+
'settings_perma' : '<%= URI.escape(I18n.t('social_share_privacy.settings_perma')) %>'
|
|
122
123
|
'cookie_path' : '/',
|
|
123
124
|
'cookie_domain' : document.location.host,
|
|
124
125
|
'cookie_expires' : '365',
|