social_share_privacy 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -165,7 +165,7 @@
|
|
165
165
|
if (facebook_on) {
|
166
166
|
var fb_enc_uri = encodeURIComponent(uri + options.services.facebook.referrer_track);
|
167
167
|
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>';
|
168
|
-
var fb_dummy_btn = '<img src="
|
168
|
+
var fb_dummy_btn = '<img src="<%= image_path 'social_share_privacy/facebook_dummy.png' %>" alt="Facebook "Like"-Dummy" class="fb_like_privacy_dummy" />';
|
169
169
|
|
170
170
|
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>');
|
171
171
|
|
@@ -198,7 +198,7 @@
|
|
198
198
|
var twitter_enc_uri = encodeURIComponent(uri + options.services.twitter.referrer_track);
|
199
199
|
var twitter_count_url = encodeURIComponent(uri);
|
200
200
|
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>';
|
201
|
-
var twitter_dummy_btn = '<img src="
|
201
|
+
var twitter_dummy_btn = '<img src="<%= image_path 'social_share_privacy/twitter_dummy.png' %>" alt=""Tweet this"-Dummy" class="tweet_this_dummy" />';
|
202
202
|
|
203
203
|
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>');
|
204
204
|
|
@@ -226,7 +226,7 @@
|
|
226
226
|
|
227
227
|
// we use the Google+ "asynchronous" code, standard code is flaky if inserted into dom after load
|
228
228
|
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>';
|
229
|
-
var gplus_dummy_btn = '<img src="
|
229
|
+
var gplus_dummy_btn = '<img src="<%= image_path 'social_share_privacy/gplus_dummy.png' %>" alt=""Google+1"-Dummy" class="gplus_one_dummy" />';
|
230
230
|
|
231
231
|
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>');
|
232
232
|
|