social_share_privacy 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -155,7 +155,7 @@
|
|
155
155
|
if (facebook_on) {
|
156
156
|
var fb_enc_uri = encodeURIComponent(uri + options.services.facebook.referrer_track);
|
157
157
|
var fb_code = '<iframe src="http://www.facebook.com/plugins/like.php?locale=' + options.services.facebook.language + '&href=' + fb_enc_uri + '&send=false&layout=button_count&width=120&show_faces=false&action=' + options.services.facebook.action + '&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:145px; height:21px;" allowTransparency="true"></iframe>';
|
158
|
-
var fb_dummy_btn = '<img src="<%= image_path 'social_share_privacy/
|
158
|
+
var fb_dummy_btn = '<img src="<%= image_path 'social_share_privacy/dummy_facebook.png' %>" alt="Facebook "Like"-Dummy" class="fb_like_privacy_dummy" />';
|
159
159
|
|
160
160
|
context.append('<li class="facebook help_info"><span class="info">' + options.services.facebook.txt_info + '</span><span class="switch off">' + options.services.facebook.txt_fb_off + '</span><div class="fb_like dummy_btn">' + fb_dummy_btn + '</div></li>');
|
161
161
|
|
@@ -188,7 +188,7 @@
|
|
188
188
|
var twitter_enc_uri = encodeURIComponent(uri + options.services.twitter.referrer_track);
|
189
189
|
var twitter_count_url = encodeURIComponent(uri);
|
190
190
|
var twitter_code = '<iframe allowtransparency="true" frameborder="0" scrolling="no" src="http://platform.twitter.com/widgets/tweet_button.html?url=' + twitter_enc_uri + '&counturl=' + twitter_count_url + '&text=' + text + '&count=horizontal&lang=' + options.services.twitter.language + '" style="width:130px; height:25px;"></iframe>';
|
191
|
-
var twitter_dummy_btn = '<img src="<%= image_path 'social_share_privacy/
|
191
|
+
var twitter_dummy_btn = '<img src="<%= image_path 'social_share_privacy/dummy_twitter.png' %>" alt=""Tweet this"-Dummy" class="tweet_this_dummy" />';
|
192
192
|
|
193
193
|
context.append('<li class="twitter help_info"><span class="info">' + options.services.twitter.txt_info + '</span><span class="switch off">' + options.services.twitter.txt_twitter_off + '</span><div class="tweet dummy_btn">' + twitter_dummy_btn + '</div></li>');
|
194
194
|
|
@@ -216,7 +216,7 @@
|
|
216
216
|
|
217
217
|
// we use the Google+ "asynchronous" code, standard code is flaky if inserted into dom after load
|
218
218
|
var gplus_code = '<div class="g-plusone" data-size="medium" data-href="' + gplus_uri + '"></div><script type="text/javascript">window.___gcfg = {lang: "' + options.services.gplus.language + '"}; (function() { var po = document.createElement("script"); po.type = "text/javascript"; po.async = true; po.src = "https://apis.google.com/js/plusone.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s); })(); </script>';
|
219
|
-
var gplus_dummy_btn = '<img src="<%= image_path 'social_share_privacy/
|
219
|
+
var gplus_dummy_btn = '<img src="<%= image_path 'social_share_privacy/dummy_gplus.png' %>" alt=""Google+1"-Dummy" class="gplus_one_dummy" />';
|
220
220
|
|
221
221
|
context.append('<li class="gplus help_info"><span class="info">' + options.services.gplus.txt_info + '</span><span class="switch off">' + options.services.gplus.txt_gplus_off + '</span><div class="gplusone dummy_btn">' + gplus_dummy_btn + '</div></li>');
|
222
222
|
|