From b781610cad15907acaa71bebd63238aea6768f10 Mon Sep 17 00:00:00 2001 From: lucha Date: Sun, 15 Apr 2012 21:41:07 +0200 Subject: [PATCH] Fixed Facebook button - Privacy Share Buttons --- .../css/socialshareprivacy.css | 10 ++++----- .../js/jquery.privacysharebuttons.js | 22 ++++++++++++++----- .../js/jquery.privacysharebuttons.min.js | 2 +- .../plugins/privacy-share-buttons/readme.txt | 13 +++++------ 4 files changed, 28 insertions(+), 19 deletions(-) diff --git a/wp-content/plugins/privacy-share-buttons/css/socialshareprivacy.css b/wp-content/plugins/privacy-share-buttons/css/socialshareprivacy.css index de659436c..d290ed2ad 100755 --- a/wp-content/plugins/privacy-share-buttons/css/socialshareprivacy.css +++ b/wp-content/plugins/privacy-share-buttons/css/socialshareprivacy.css @@ -1,13 +1,13 @@ .social_share_privacy {clear:both; margin:0 auto; width:100%; margin-bottom:15px;} .social_share_privacy_area {clear:both; margin:20px 0 !important; padding:0; height:25px; width:100%;} .social_share_privacy_area li {margin:0 !important; padding:0; height:20px; float:left; list-style-type:none !important; list-style:none !important; background:none !important;} -.social_share_privacy_area li:before {content : "";} .social_share_privacy_area li .dummy_btn {float:left; margin-left:10px; cursor:pointer; padding:0;} -.social_share_privacy_area li .dummy_btn img {border: 0px; background: none;} /* Facebook begin */ -.social_share_privacy_area .facebook {width: 180px;} -/* Facebook end */ +.social_share_privacy_area .facebook {width: 175px;} +.social_share_privacy_area .facebook .fb_edge_comment_widget {width:400px;} +/* .social_share_privacy_area .facebook div.dummy_btn {width: 150px;} + *//* Facebook end */ /* Identica begin */ .social_share_privacy_area .identica {width:148px;} @@ -29,7 +29,7 @@ /* Flattr end */ /* Switch begin */ -.social_share_privacy_area li .switch {display: inline-block; text-indent:-9999em; background:transparent url(../images/socialshareprivacy_on_off.png) no-repeat 0 0 scroll; width:23px; height:12px; overflow:hidden; float:left; margin:4px 0 0; cursor:pointer;} +.social_share_privacy_area li .switch {display: none; text-indent:-9999em; background:transparent url(../images/socialshareprivacy_on_off.png) no-repeat 0 0 scroll; width:23px; height:12px; overflow:hidden; float:left; margin:4px 0 0; cursor:pointer;} .social_share_privacy_area li .switch.on {background-position:0 -12px;} /* Switch end */ diff --git a/wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.js b/wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.js index 0a4bac21d..3dfc84275 100644 --- a/wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.js +++ b/wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.js @@ -46,12 +46,22 @@ var SocialButton = function(elements, options){ 'dummy_img' : '', 'action' : 'recommend', 'iframe_src' : function (options){ - return ''; + // return ''; + return '
' + +'' + +'
'; + // return ''; } }, 'twitter' : { diff --git a/wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.min.js b/wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.min.js index 12f95735c..8d753eec6 100644 --- a/wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.min.js +++ b/wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.min.js @@ -1 +1 @@ -(function(b){var a=function(d,c){this.elements=d;this.options=b.extend(true,{},this.defaults,c);if(!this.is_on()){return}this.append_css();this.attach()};a.prototype={defaults:{info_link:"http://cavallette.noblogs.org/?p=7641",txt_help:"When you activate these buttons by clicking on them, some of your personal data will be transferred to third parties and can be stored by them. For more information click on the i ",settings_perma:"Permanently enable data transfer for:",css_path:"",uri:"",cookie_options:{path:"/",expires:365},services:{facebook:{display_name:"Facebook",status:"off",perma:"on",txt_info:"2 click for more privacy: only if you click here, the button will activate and you will be able to send your recommendation to Facebook. When enabled, data will be transferred to third parties - see i .",txt_off:"not connected with Facebook",txt_on:"connected with Facebook",dummy_img:"",action:"recommend",iframe_src:function(c){return''}},twitter:{display_name:"Twitter",status:"off",perma:"on",txt_info:"2 click for more privacy: only if you click here, the button will activate and you will be able to send your recommendation to Twitter. When enabled, data will be transferred to third parties - see i .",txt_off:"not connected with Twitter",txt_on:"connected with Twitter",dummy_img:"",reply_to:"",text:encodeURIComponent(document.title),iframe_src:function(d){var c=(d.services.twitter.reply_to!="")?"&via="+d.services.twitter.reply_to:"";return''}},identica:{display_name:"Identi.ca",status:"off",perma:"on",txt_info:"2 click for more privacy: only if you click here, the button will activate and you will be able to send your recommendation to Identi.ca. When enabled, data will be transferred to third parties - see i .",txt_off:"not connected with Identi.ca",txt_on:"connected with Identi.ca",dummy_img:"",text:encodeURIComponent(document.title),identica_lib:"",iframe_src:function(c){return''}},gplus:{display_name:"Google+",status:"off",perma:"on",txt_info:"2 click for more privacy: only if you click here, the button will activate and you will be able to send your recommendation to Google+. When enabled, data will be transferred to third parties - see i .",txt_off:"not connected with Google+",txt_on:"connected with Google+",dummy_img:"",language:"en",iframe_src:function(d){var c=b('
');var e='