Version Description
- Bugfix: More robust CSS
Download this release
Release Info
Developer | shareaholic |
Plugin | WordPress Social Tools, Related Posts, Monetization – Shareaholic |
Version | 6.1.3.7 |
Comparing to | |
See all releases |
Code changes from version 6.1.3.6 to 6.1.3.7
js/sexy-bookmarks-public.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
jQuery(document).ready(function(){jQuery(".shr-bookmarks a.external").attr("target","_blank");var a=jQuery(".shr-bookmarks").height(),b=jQuery(".shr-bookmarks ul.socials").height(),e=jQuery(".shr-bookmarks div.shr-getshr").outerHeight(!0);b>a&&jQuery(".shr-bookmarks-expand").hover(function(){jQuery(this).animate({height:b+e+"px"},{duration:400,queue:!1})},function(){jQuery(this).animate({height:a+"px"},{duration:400,queue:!1})});if(jQuery(".shr-bookmarks-center")||jQuery(".shr-bookmarks-spaced")){var c=
|
2 |
-
jQuery(".shr-bookmarks").width(),d=jQuery(".shr-bookmarks:first ul.socials li").width(),f=jQuery(".shr-bookmarks:first ul.socials li").length,g=Math.floor(c/d),d=Math.min(g,f)*d;0<jQuery(".shr-bookmarks-spaced").length?(c=Math.floor((c-d)/(Math.min(g,f)+1)),jQuery(".shr-bookmarks ul.socials li").attr("style","margin-left:"+c+"px !important")):jQuery(!0)&&(c=(c-d)/2,jQuery(".shr-bookmarks-center").attr("style","margin-left:"+c+"px !important"))}0<e
|
3 |
-
a
|
4 |
function getBrowser(){var a=navigator.userAgent,b="";-1!=a.indexOf("MSIE")?b="Internet Explorer":-1!=a.indexOf("Firefox")?b="Firefox":-1!=a.indexOf("Flock")?b="Flock":-1!=a.indexOf("Chrome")?b="Google Chrome":-1!=a.indexOf("Safari")?b="Safari":-1!=a.indexOf("Opera")?b="Opera":-1!=a.indexOf("Songbird")&&(b="Songbird");return b};
|
1 |
jQuery(document).ready(function(){jQuery(".shr-bookmarks a.external").attr("target","_blank");var a=jQuery(".shr-bookmarks").height(),b=jQuery(".shr-bookmarks ul.socials").height(),e=jQuery(".shr-bookmarks div.shr-getshr").outerHeight(!0);b>a&&jQuery(".shr-bookmarks-expand").hover(function(){jQuery(this).animate({height:b+e+"px"},{duration:400,queue:!1})},function(){jQuery(this).animate({height:a+"px"},{duration:400,queue:!1})});if(jQuery(".shr-bookmarks-center")||jQuery(".shr-bookmarks-spaced")){var c=
|
2 |
+
jQuery(".shr-bookmarks").width(),d=jQuery(".shr-bookmarks:first ul.socials li").width(),f=jQuery(".shr-bookmarks:first ul.socials li").length,g=Math.floor(c/d),d=Math.min(g,f)*d;0<jQuery(".shr-bookmarks-spaced").length?(c=Math.floor((c-d)/(Math.min(g,f)+1)),jQuery(".shr-bookmarks ul.socials li").attr("style","margin-left:"+c+"px !important")):jQuery(!0)&&(c=(c-d)/2,jQuery(".shr-bookmarks-center").attr("style","margin-left:"+c+"px !important"))}!(0<e)||0!=jQuery(".shr-bookmarks-expand").length&&b>
|
3 |
+
a||jQuery(".shr-bookmarks").height(a+e);c=getShareText();""!=c&&(jQuery(".shr-bookmarks div.shr-getshr a").text(c),jQuery(".shr-bookmarks").hover(function(){jQuery(".shr-bookmarks div.shr-getshr").css("visibility","visible")},function(){jQuery(".shr-bookmarks div.shr-getshr").css("visibility","hidden")}))});function getShareText(){var a=getBrowser(),b="";""!=a&&(b="Get Shareaholic for "+a);return b}
|
4 |
function getBrowser(){var a=navigator.userAgent,b="";-1!=a.indexOf("MSIE")?b="Internet Explorer":-1!=a.indexOf("Firefox")?b="Firefox":-1!=a.indexOf("Flock")?b="Flock":-1!=a.indexOf("Chrome")?b="Google Chrome":-1!=a.indexOf("Safari")?b="Safari":-1!=a.indexOf("Opera")?b="Opera":-1!=a.indexOf("Songbird")&&(b="Songbird");return b};
|
js/shareaholic-admin.min.js
CHANGED
@@ -25,7 +25,7 @@ d);jQuery("#tip_bg_color_picker div").css("backgroundColor","#"+d);jQuery("#tip_
|
|
25 |
jQuery("body").bind("click",function(){jQuery("#tip_bg_color_picker_holder").hide();jQuery("body").unbind("click")});return!1}),jQuery("#tip_bg_color_reset").bind("click",function(){jQuery("#tip_bg_color").val("#000000");jQuery("#tip_bg_color_picker div").css("backgroundColor","#000000")}),jQuery("#tip_bg_color_picker_holder").click(function(){return!1}),jQuery("#tip_text_color_picker_holder").ColorPicker({flat:!0,color:jQuery("#tip_text_color").val(),onChange:function(c,d,k,e){jQuery("#tip_text_color").val("#"+
|
26 |
d);jQuery("#tip_text_color_picker div").css("backgroundColor","#"+d)},onSubmit:function(c,d,k,e){jQuery("#tip_text_color").val("#"+d);jQuery("#tip_text_color_picker div").css("backgroundColor","#"+d);jQuery("#tip_text_color_picker_holder").toggle()}}),jQuery("#tip_text_color_picker_holder").find("input").each(function(c){jQuery(this).attr("maxlength","50")}),jQuery("#tip_text_color_picker div").bind("click",function(){jQuery("#tip_text_color_picker_holder").toggle();jQuery("#tip_text_color_picker_holder").ColorPickerSetColor(jQuery("#tip_text_color").val());
|
27 |
jQuery("body").trigger("click");jQuery("#tip_text_color_picker_holder").is(":visible")&&jQuery("body").bind("click",function(){jQuery("#tip_text_color_picker_holder").hide();jQuery("body").unbind("click")});return!1}),jQuery("#tip_text_color_picker_holder").click(function(){return!1}),jQuery("#tip_text_color_reset").bind("click",function(){jQuery("#tip_text_color").val("#ffffff");jQuery("#tip_text_color_picker div").css("backgroundColor","#ffffff")}));"undefined"!=typeof jQuery("#pubGaSocial-yes")&&
|
28 |
-
0<jQuery("#pubGaSocial-yes").length&&(c=jQuery("#pubGaSocial-yes").get(0).checked)&&jQuery(".pubGaSocial_prefs").fadeIn("fast");
|
29 |
jQuery(".cb_prefs").fadeIn("fast");"undefined"!=typeof jQuery("#useSbSettings-no")&&0<jQuery("#useSbSettings-no").length&&(jQuery("#useSbSettings-no").get(0).checked&&jQuery(".topbar_prefs").fadeIn("fast"),jQuery("#tb_bg_color_picker_holder").ColorPicker({flat:!0,color:jQuery("#tb_bg_color").val(),onChange:function(c,d,k,e){jQuery("#tb_bg_color").val("#"+d);jQuery("#tb_bg_color_picker div").css("backgroundColor","#"+d)},onSubmit:function(c,d,k,e){jQuery("#tb_bg_color").val("#"+d);jQuery("#tb_bg_color_picker div").css("backgroundColor",
|
30 |
"#"+d);jQuery("#tb_bg_color_picker_holder").toggle()}}),jQuery("#tb_bg_color_picker_holder").find("input").each(function(c){jQuery(this).attr("maxlength","50")}),jQuery("#tb_bg_color_picker div").bind("click",function(){jQuery("#tb_bg_color_picker_holder").toggle();jQuery("#tb_bg_color_picker_holder").ColorPickerSetColor(jQuery("#tb_bg_color").val());jQuery("body").trigger("click");jQuery("#tb_bg_color_picker_holder").is(":visible")&&jQuery("body").bind("click",function(){jQuery("#tb_bg_color_picker_holder").hide();
|
31 |
jQuery("body").unbind("click")});return!1}),jQuery("#tb_bg_color_reset").bind("click",function(){jQuery("#tb_bg_color").val("#000000");jQuery("#tb_bg_color_picker div").css("backgroundColor","#000000")}),jQuery("#tb_bg_color_picker_holder").click(function(){return!1}),jQuery("#tb_border_color_picker_holder").ColorPicker({flat:!0,color:jQuery("#tb_border_color").val(),onChange:function(c,d,k,e){jQuery("#tb_border_color").val("#"+d);jQuery("#tb_border_color_picker div").css("backgroundColor","#"+d)},
|
25 |
jQuery("body").bind("click",function(){jQuery("#tip_bg_color_picker_holder").hide();jQuery("body").unbind("click")});return!1}),jQuery("#tip_bg_color_reset").bind("click",function(){jQuery("#tip_bg_color").val("#000000");jQuery("#tip_bg_color_picker div").css("backgroundColor","#000000")}),jQuery("#tip_bg_color_picker_holder").click(function(){return!1}),jQuery("#tip_text_color_picker_holder").ColorPicker({flat:!0,color:jQuery("#tip_text_color").val(),onChange:function(c,d,k,e){jQuery("#tip_text_color").val("#"+
|
26 |
d);jQuery("#tip_text_color_picker div").css("backgroundColor","#"+d)},onSubmit:function(c,d,k,e){jQuery("#tip_text_color").val("#"+d);jQuery("#tip_text_color_picker div").css("backgroundColor","#"+d);jQuery("#tip_text_color_picker_holder").toggle()}}),jQuery("#tip_text_color_picker_holder").find("input").each(function(c){jQuery(this).attr("maxlength","50")}),jQuery("#tip_text_color_picker div").bind("click",function(){jQuery("#tip_text_color_picker_holder").toggle();jQuery("#tip_text_color_picker_holder").ColorPickerSetColor(jQuery("#tip_text_color").val());
|
27 |
jQuery("body").trigger("click");jQuery("#tip_text_color_picker_holder").is(":visible")&&jQuery("body").bind("click",function(){jQuery("#tip_text_color_picker_holder").hide();jQuery("body").unbind("click")});return!1}),jQuery("#tip_text_color_picker_holder").click(function(){return!1}),jQuery("#tip_text_color_reset").bind("click",function(){jQuery("#tip_text_color").val("#ffffff");jQuery("#tip_text_color_picker div").css("backgroundColor","#ffffff")}));"undefined"!=typeof jQuery("#pubGaSocial-yes")&&
|
28 |
+
0<jQuery("#pubGaSocial-yes").length&&(c=jQuery("#pubGaSocial-yes").get(0).checked)&&jQuery(".pubGaSocial_prefs").fadeIn("fast");"undefined"!=typeof jQuery("#recommendations-yes")&&0<jQuery("#recommendations-yes").length&&(c=jQuery("#recommendations-yes").get(0).checked)&&(jQuery(".recommendations_prefs-1").fadeIn("fast"),jQuery("#recommendations-style-image").get(0).checked&&jQuery(".recommendations_prefs-2").fadeIn("fast"));"undefined"!=typeof jQuery("#cb-yes")&&0<jQuery("#cb-yes").length&&(c=jQuery("#cb-yes").get(0).checked)&&
|
29 |
jQuery(".cb_prefs").fadeIn("fast");"undefined"!=typeof jQuery("#useSbSettings-no")&&0<jQuery("#useSbSettings-no").length&&(jQuery("#useSbSettings-no").get(0).checked&&jQuery(".topbar_prefs").fadeIn("fast"),jQuery("#tb_bg_color_picker_holder").ColorPicker({flat:!0,color:jQuery("#tb_bg_color").val(),onChange:function(c,d,k,e){jQuery("#tb_bg_color").val("#"+d);jQuery("#tb_bg_color_picker div").css("backgroundColor","#"+d)},onSubmit:function(c,d,k,e){jQuery("#tb_bg_color").val("#"+d);jQuery("#tb_bg_color_picker div").css("backgroundColor",
|
30 |
"#"+d);jQuery("#tb_bg_color_picker_holder").toggle()}}),jQuery("#tb_bg_color_picker_holder").find("input").each(function(c){jQuery(this).attr("maxlength","50")}),jQuery("#tb_bg_color_picker div").bind("click",function(){jQuery("#tb_bg_color_picker_holder").toggle();jQuery("#tb_bg_color_picker_holder").ColorPickerSetColor(jQuery("#tb_bg_color").val());jQuery("body").trigger("click");jQuery("#tb_bg_color_picker_holder").is(":visible")&&jQuery("body").bind("click",function(){jQuery("#tb_bg_color_picker_holder").hide();
|
31 |
jQuery("body").unbind("click")});return!1}),jQuery("#tb_bg_color_reset").bind("click",function(){jQuery("#tb_bg_color").val("#000000");jQuery("#tb_bg_color_picker div").css("backgroundColor","#000000")}),jQuery("#tb_bg_color_picker_holder").click(function(){return!1}),jQuery("#tb_border_color_picker_holder").ColorPicker({flat:!0,color:jQuery("#tb_border_color").val(),onChange:function(c,d,k,e){jQuery("#tb_border_color").val("#"+d);jQuery("#tb_border_color_picker div").css("backgroundColor","#"+d)},
|
js/shareaholic-promo.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
var shr_cdn_root="https://dtym7iokkjlif.cloudfront.net";function getBrowser(){var a=navigator.userAgent,c="";-1!=a.indexOf("MSIE")?c="Internet Explorer":-1!=a.indexOf("Firefox")?c="Firefox":-1!=a.indexOf("Flock")?c="Flock":-1!=a.indexOf("Chrome")?c="Google Chrome":-1!=a.indexOf("Safari")?c="Safari":-1!=a.indexOf("Opera")?c="Opera":-1!=a.indexOf("Songbird")&&(c="Songbird");return c}
|
2 |
-
jQuery(window).load(function(){jQuery.cookie=function(c,a,b){if("undefined"!=typeof a){b=b||{};null===a&&(a="",b.expires=-1);var d="";
|
3 |
-
""!=document.cookie)
|
4 |
break;case "Google Chrome":a='<div id="ext-promo-prompt" class="fs_a fs_c_midgrey2"><img src="'+shr_cdn_root+'/media/images/chrome_32x32.png" height=24 width=24 align="absmiddle" style="margin: -4px 8px 0 8px;" />Get the <a href="https://chrome.google.com/webstore/detail/kbmipnjdeifmobkhgogdnomkihhgojep" target="_new">shareaholic chrome extension</a> - It is the best way to <a href="https://chrome.google.com/webstore/detail/kbmipnjdeifmobkhgogdnomkihhgojep" target="_new">share your content, discover, and connect with the Best of the Web</a>! <a class="close" href="javascript:ext_promo_noThanks();">x</a> <a class="install rounded_5" href="https://chrome.google.com/webstore/detail/kbmipnjdeifmobkhgogdnomkihhgojep" target="_new">Install</a></div>'}setTimeout(function(){if(0==
|
5 |
-
jQuery(".extLives").length){var c=jQuery.cookie("no_cp"),f=window!=window.top;1
|
1 |
var shr_cdn_root="https://dtym7iokkjlif.cloudfront.net";function getBrowser(){var a=navigator.userAgent,c="";-1!=a.indexOf("MSIE")?c="Internet Explorer":-1!=a.indexOf("Firefox")?c="Firefox":-1!=a.indexOf("Flock")?c="Flock":-1!=a.indexOf("Chrome")?c="Google Chrome":-1!=a.indexOf("Safari")?c="Safari":-1!=a.indexOf("Opera")?c="Opera":-1!=a.indexOf("Songbird")&&(c="Songbird");return c}
|
2 |
+
jQuery(window).load(function(){jQuery.cookie=function(c,a,b){if("undefined"!=typeof a){b=b||{};null===a&&(a="",b.expires=-1);var d="";b.expires&&("number"==typeof b.expires||b.expires.toUTCString)&&("number"==typeof b.expires?(d=new Date,d.setTime(d.getTime()+864E5*b.expires)):d=b.expires,d="; expires="+d.toUTCString());var e=b.path?"; path="+b.path:"",g=b.domain?"; domain="+b.domain:"";b=b.secure?"; secure":"";document.cookie=[c,"=",encodeURIComponent(a),d,e,g,b].join("")}else{a=null;if(document.cookie&&
|
3 |
+
""!=document.cookie)for(b=document.cookie.split(";"),d=0;d<b.length;d++)if(e=jQuery.trim(b[d]),e.substring(0,c.length+1)==c+"="){a=decodeURIComponent(e.substring(c.length+1));break}return a}};var a="";switch(getBrowser()){case "Firefox":a='<div id="ext-promo-prompt" class="fs_a fs_c_midgrey2"><img src="'+shr_cdn_root+'/media/images/firefox_32x32.png" height=24 width=24 align="absmiddle" style="margin: -4px 8px 0 8px;" />Get the <a href="https://addons.mozilla.org/en-US/firefox/addon/5457/" target="_new">shareaholic firefox extension</a> - It is the best way to <a href="https://addons.mozilla.org/en-US/firefox/addon/5457/" target="_new">share your content, discover, and connect with the Best of the Web</a>! <a class="close" href="javascript:ext_promo_noThanks();">x</a> <a class="install rounded_5" href="https://addons.mozilla.org/en-US/firefox/addon/5457/" target="_new">Install</a></div>';
|
4 |
break;case "Google Chrome":a='<div id="ext-promo-prompt" class="fs_a fs_c_midgrey2"><img src="'+shr_cdn_root+'/media/images/chrome_32x32.png" height=24 width=24 align="absmiddle" style="margin: -4px 8px 0 8px;" />Get the <a href="https://chrome.google.com/webstore/detail/kbmipnjdeifmobkhgogdnomkihhgojep" target="_new">shareaholic chrome extension</a> - It is the best way to <a href="https://chrome.google.com/webstore/detail/kbmipnjdeifmobkhgogdnomkihhgojep" target="_new">share your content, discover, and connect with the Best of the Web</a>! <a class="close" href="javascript:ext_promo_noThanks();">x</a> <a class="install rounded_5" href="https://chrome.google.com/webstore/detail/kbmipnjdeifmobkhgogdnomkihhgojep" target="_new">Install</a></div>'}setTimeout(function(){if(0==
|
5 |
+
jQuery(".extLives").length){var c=jQuery.cookie("no_cp"),f=window!=window.top;1==c||f||(jQuery("body").prepend(a),0!=jQuery("#wpadminbar").length&&(jQuery("#ext-promo-prompt").css("margin-top",jQuery("#wpadminbar").css("height")),jQuery("#ext-promo-prompt").css("margin-bottom","-"+jQuery("#ext-promo-prompt").css("height"))),jQuery("div#ext-promo-prompt").show())}},500)});function ext_promo_noThanks(){jQuery.cookie("no_cp","1",{expires:60,path:"/"});jQuery("div#ext-promo-prompt").hide()};
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: shareaholic
|
|
3 |
Tags: sexybookmarks, shareaholic, shareholic, facebook, twitter, linkedin, URL Shortener, bitly, tinyurl, Goo.gl, Google+1, Google Analytics, Google Plus, Google, Instapaper, Wish List, Digg, Gmail, Google Bookmarks, Translate, Tumblr, AIM, Yahoo Messenger, Delicious, StumbleUpon, mister wong, evernote, add this, addtoany, share this, sharethis, share and follow, share and enjoy, sharing is sexy, sharing is caring, yahoo, reddit, hackernews, tweet button, twitter button, fark, buffer, myspace, orkut, netlog, hubspot, weheartit, printfriendly, yammer, pinterest, google translate, bookmarks, social, email button, social share, socialize, sociable, sharebar, bookmark button, share button, social bookmarking, bookmarks menu, bookmarking, share, seo, analytics, stats, sharing, facebook like, facebook recommend, WPMU, mutisite, shortcode, yaarp, yarpp, nrelate, outbrain, linkwithin, related content, related posts, related, popular posts, popular, thumbnails, recommendations
|
4 |
Requires at least: 2.7
|
5 |
Tested up to: 3.5.1
|
6 |
-
Stable tag: 6.1.3.
|
7 |
|
8 |
Adds an attractive social bookmarking menu and related content widget to your posts, pages, index, or any combination of the three.
|
9 |
|
@@ -127,6 +127,9 @@ Please see here: [Usage & Installation Instructions](https://shareaholic.com/too
|
|
127 |
|
128 |
== Changelog ==
|
129 |
|
|
|
|
|
|
|
130 |
= 6.1.3.6 =
|
131 |
* Show Related Posts data status
|
132 |
* Updated screenshots (corrected WordPress logo)
|
3 |
Tags: sexybookmarks, shareaholic, shareholic, facebook, twitter, linkedin, URL Shortener, bitly, tinyurl, Goo.gl, Google+1, Google Analytics, Google Plus, Google, Instapaper, Wish List, Digg, Gmail, Google Bookmarks, Translate, Tumblr, AIM, Yahoo Messenger, Delicious, StumbleUpon, mister wong, evernote, add this, addtoany, share this, sharethis, share and follow, share and enjoy, sharing is sexy, sharing is caring, yahoo, reddit, hackernews, tweet button, twitter button, fark, buffer, myspace, orkut, netlog, hubspot, weheartit, printfriendly, yammer, pinterest, google translate, bookmarks, social, email button, social share, socialize, sociable, sharebar, bookmark button, share button, social bookmarking, bookmarks menu, bookmarking, share, seo, analytics, stats, sharing, facebook like, facebook recommend, WPMU, mutisite, shortcode, yaarp, yarpp, nrelate, outbrain, linkwithin, related content, related posts, related, popular posts, popular, thumbnails, recommendations
|
4 |
Requires at least: 2.7
|
5 |
Tested up to: 3.5.1
|
6 |
+
Stable tag: 6.1.3.7
|
7 |
|
8 |
Adds an attractive social bookmarking menu and related content widget to your posts, pages, index, or any combination of the three.
|
9 |
|
127 |
|
128 |
== Changelog ==
|
129 |
|
130 |
+
= 6.1.3.7 =
|
131 |
+
* [Bugfix](http://wordpress.org/support/topic/big-issue-with-css): More robust CSS
|
132 |
+
|
133 |
= 6.1.3.6 =
|
134 |
* Show Related Posts data status
|
135 |
* Updated screenshots (corrected WordPress logo)
|
sexy-bookmarks.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Shareaholic | share buttons, analytics, related posts
|
4 |
Plugin URI: https://shareaholic.com/publishers/
|
5 |
Description: Whether you want to get people sharing, grow your fans, make money, or know who's reading your content, Shareaholic will help you get it done. See <a href="admin.php?page=sexy-bookmarks.php">configuration panel</a> for more settings.
|
6 |
-
Version: 6.1.3.
|
7 |
Author: Shareaholic
|
8 |
Author URI: https://shareaholic.com
|
9 |
Credits & Thanks: https://shareaholic.com/tools/wordpress/credits
|
@@ -14,7 +14,7 @@ Credits & Thanks: https://shareaholic.com/tools/wordpress/credits
|
|
14 |
* @desc Define Plugin version
|
15 |
*/
|
16 |
|
17 |
-
define('SHRSB_vNum','6.1.3.
|
18 |
|
19 |
|
20 |
/*
|
@@ -147,7 +147,7 @@ require_once 'includes/shrsb_classicbookmarks_page.php'; // Classic Bookmarks g
|
|
147 |
|
148 |
|
149 |
function shr_upgrade_routine() {
|
150 |
-
if(SHRSB_vNum === '6.1.3.
|
151 |
global $shrsb_recommendations;
|
152 |
if($shrsb_recommendations['recommendations'] !== '1') {
|
153 |
$shrsb_recommendations['recommendations'] = '1';
|
3 |
Plugin Name: Shareaholic | share buttons, analytics, related posts
|
4 |
Plugin URI: https://shareaholic.com/publishers/
|
5 |
Description: Whether you want to get people sharing, grow your fans, make money, or know who's reading your content, Shareaholic will help you get it done. See <a href="admin.php?page=sexy-bookmarks.php">configuration panel</a> for more settings.
|
6 |
+
Version: 6.1.3.7
|
7 |
Author: Shareaholic
|
8 |
Author URI: https://shareaholic.com
|
9 |
Credits & Thanks: https://shareaholic.com/tools/wordpress/credits
|
14 |
* @desc Define Plugin version
|
15 |
*/
|
16 |
|
17 |
+
define('SHRSB_vNum','6.1.3.7');
|
18 |
|
19 |
|
20 |
/*
|
147 |
|
148 |
|
149 |
function shr_upgrade_routine() {
|
150 |
+
if(SHRSB_vNum === '6.1.3.7' ) {
|
151 |
global $shrsb_recommendations;
|
152 |
if($shrsb_recommendations['recommendations'] !== '1') {
|
153 |
$shrsb_recommendations['recommendations'] = '1';
|
spritegen_default/jquery.shareaholic-publishers-sb.min.js
CHANGED
@@ -62,7 +62,7 @@ h="shr-7",j="shr-generic",i=true,k=true;SHR4P.debug(c);if(typeof g=="undefined"|
|
|
62 |
case "vertical":i=true;k=false;break;case "none":k=i=false}if(i){h=h+"-count";j=j+"-count"}if(i&&k){h=h+"-compact";j=j+"-compact"}if(i&&typeof SHRSB_Globals!="undefined"&&SHRSB_Globals.perfoption=="1"){var n=this;if(k){this.style.marginRight="0px";d=document.createElement("div");n=document.createElement("div");b(this).after(n);n.className="shr_compact_div";d.className="shr_compact_tick";d.appendChild(document.createElement("s"));d.appendChild(document.createElement("i"));b(this).after(d)}d=function(a){n.innerHTML=
|
63 |
a.count};i&&SHR4P.utils.getTwitShrCnt(decodeURIComponent(a),d)}var m=a,o={title:f,link:m,short_link:"",shortener:SHRSB_Globals.shortener?SHRSB_Globals.shortener:"google",shortener_key:encodeURIComponent(SHRSB_Globals.shortener_key)?SHRSB_Globals.shortener_key:"",v:1,apitype:1,apikey:SHR4P.shr_apiKey,twitter_template:SHR4P.shr_twitter_template?SHR4P.shr_twitter_template:"${title} - ${short_link}",service:7},a=b(this),f=SHR4P.shr_image||SHR4P.shr_twitter_image,i=SHR4P.shr_image?".shr-7-count{background-position:-57px -80px;}.shr-7-count-compact,.shr-7{height:14px;width:55px;background-position:-228px -79px;}.shr-7-count-compact:hover,.shr-7:hover{height:14px;width:55px;background-position:-228px -100px;}.shr-7-count-compact:active,.shr-7:active{height:14px;width:55px;background-position:-228px -121px;}":
|
64 |
".shr-7-count{background-position:-57px -80px;}.shr-7-count-compact,.shr-7{height:14px;width:55px;background-position:0px 0px;}.shr-7-count-compact:hover,.shr-7:hover{height:14px;width:55px;background-position:0px -21px;}.shr-7-count-compact:active,.shr-7:active{height:14px;width:55px;background-position:0px -41px;}";a.before(b('<style type="text/css"> div.shareaholic a{background-image:url('+f+") !important;}.shr-generic-count{height:53px;width:57px;font-weight:bold;font-size:14px;padding-top:7px;text-align:center;background:transparent no-repeat scroll;background-position:0px -80px;color:black;cursor:pointer;text-decoration:none;display:block;}.shr-generic-count-compact,.shr-generic{height:23px;width:63px;font-weight:bold;font-size:14px;padding-top:7px;text-align:center;background:transparent no-repeat scroll;background-position:0px -50px;color:black;cursor:pointer;text-decoration:none;display:block;} "+
|
65 |
-
(i+".shr_compact_div{background:#EFEFEF;border:1px solid #C1C1C1;float:left;font-weight:normal;height:14px;margin-left:1px;min-width:15px;padding:1px 2px 1px 2px;text-align:center;font-size:11px;display:block;margin-top:2px;margin-right:15px;line-height:1.3em;}.shr_compact_tick{float:left;position:relative;z-index:2;width:5px;top:5px;left:2px;border-collapse:separate;border-spacing:2px 2px;margin-top:2px;}.shr_compact_tick i{left:2px;top:-6px;border-right-color:#EFEFEF;font-style:italic;}.shr_compact_tick s{text-decoration:line-through;text-align:left;}.shr_compact_tick s,i{border:solid transparent;border-right-color:#C7C7C7;display:block;position:relative;border-width:5px 5px 0 0;}")+
|
66 |
"</style>"));c.wrap('<div class="shr-7 shareaholic" style="float:left; '+l+' margin:0px 0px 0px 10px !important;"></div>');c.parent().removeClass("shr-7");c.addClass(j);c.addClass(h);SHR4P.debug(c);SHR4P.ga.socialAction({serviceId:7,serviceAction:"render",link:m});SHR4P.utils.isMobileBrowser()||c.click(function(a){SHR4P.ga.socialAction({serviceId:7,serviceAction:"share",link:m});SHR4P.utils.showServiceLet(o,"twitter");a.preventDefault()});c.attr("data-shr_status","1")}})}};
|
67 |
SHR4P.fbUtil={fbConnectAdd:0,renderFBWidgetCalled:!1,likeButtonsToRender:[],hasFB:function(){return typeof window.FB=="object"&&FB.Event&&typeof FB.Event.subscribe=="function"},addLikeButton:function(b,c){if(SHR4P.fbUtil.hasFBNameSpace()){var a=SHR4P.jQuery('<fb:like href="'+c+'"layout="button_count" show_faces="true" width="60" font=""></fb:like>').appendTo(b);typeof window.FB!="undefined"&&FB.XFBML&&FB.XFBML.parse?FB.XFBML.parse(a.get(0)):SHR4P.fbUtil.likeButtonsToRender.push(a.get(0))}else SHR4P.jQuery('<iframe src="https://www.facebook.com/plugins/like.php?app_id=207766518608&href='+
|
68 |
c+'&send=false&layout=button_count&width=90&show_faces=false&action=like&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>').appendTo(b)},renderFBWidgets:function(){if(!SHR4P.fbUtil.renderFBWidgetCalled){setTimeout("SHR4P.fbUtil.renderFBLikeButtons()",0);setTimeout("SHR4P.fbUtil.renderFBSendButtons()",0);for(var b=0;b<SHR4P.fbUtil.likeButtonsToRender.length;++b)typeof window.FB!=
|
62 |
case "vertical":i=true;k=false;break;case "none":k=i=false}if(i){h=h+"-count";j=j+"-count"}if(i&&k){h=h+"-compact";j=j+"-compact"}if(i&&typeof SHRSB_Globals!="undefined"&&SHRSB_Globals.perfoption=="1"){var n=this;if(k){this.style.marginRight="0px";d=document.createElement("div");n=document.createElement("div");b(this).after(n);n.className="shr_compact_div";d.className="shr_compact_tick";d.appendChild(document.createElement("s"));d.appendChild(document.createElement("i"));b(this).after(d)}d=function(a){n.innerHTML=
|
63 |
a.count};i&&SHR4P.utils.getTwitShrCnt(decodeURIComponent(a),d)}var m=a,o={title:f,link:m,short_link:"",shortener:SHRSB_Globals.shortener?SHRSB_Globals.shortener:"google",shortener_key:encodeURIComponent(SHRSB_Globals.shortener_key)?SHRSB_Globals.shortener_key:"",v:1,apitype:1,apikey:SHR4P.shr_apiKey,twitter_template:SHR4P.shr_twitter_template?SHR4P.shr_twitter_template:"${title} - ${short_link}",service:7},a=b(this),f=SHR4P.shr_image||SHR4P.shr_twitter_image,i=SHR4P.shr_image?".shr-7-count{background-position:-57px -80px;}.shr-7-count-compact,.shr-7{height:14px;width:55px;background-position:-228px -79px;}.shr-7-count-compact:hover,.shr-7:hover{height:14px;width:55px;background-position:-228px -100px;}.shr-7-count-compact:active,.shr-7:active{height:14px;width:55px;background-position:-228px -121px;}":
|
64 |
".shr-7-count{background-position:-57px -80px;}.shr-7-count-compact,.shr-7{height:14px;width:55px;background-position:0px 0px;}.shr-7-count-compact:hover,.shr-7:hover{height:14px;width:55px;background-position:0px -21px;}.shr-7-count-compact:active,.shr-7:active{height:14px;width:55px;background-position:0px -41px;}";a.before(b('<style type="text/css"> div.shareaholic a{background-image:url('+f+") !important;}.shr-generic-count{height:53px;width:57px;font-weight:bold;font-size:14px;padding-top:7px;text-align:center;background:transparent no-repeat scroll;background-position:0px -80px;color:black;cursor:pointer;text-decoration:none;display:block;}.shr-generic-count-compact,.shr-generic{height:23px;width:63px;font-weight:bold;font-size:14px;padding-top:7px;text-align:center;background:transparent no-repeat scroll;background-position:0px -50px;color:black;cursor:pointer;text-decoration:none;display:block;} "+
|
65 |
+
(i+".shr_compact_div{background:#EFEFEF;border:1px solid #C1C1C1;float:left;font-weight:normal;height:14px;margin-left:1px;min-width:15px;padding:1px 2px 1px 2px;text-align:center;font-size:11px;display:block;margin-top:2px;margin-right:15px;line-height:1.3em;}.shr_compact_tick{float:left;position:relative;z-index:2;width:5px;top:5px;left:2px;border-collapse:separate;border-spacing:2px 2px;margin-top:2px;}.shr_compact_tick i{left:2px;top:-6px;border-right-color:#EFEFEF;font-style:italic;}.shr_compact_tick s{text-decoration:line-through;text-align:left;}.shr_compact_tick s, .shr_compact_tick i{border:solid transparent;border-right-color:#C7C7C7;display:block;position:relative;border-width:5px 5px 0 0;}")+
|
66 |
"</style>"));c.wrap('<div class="shr-7 shareaholic" style="float:left; '+l+' margin:0px 0px 0px 10px !important;"></div>');c.parent().removeClass("shr-7");c.addClass(j);c.addClass(h);SHR4P.debug(c);SHR4P.ga.socialAction({serviceId:7,serviceAction:"render",link:m});SHR4P.utils.isMobileBrowser()||c.click(function(a){SHR4P.ga.socialAction({serviceId:7,serviceAction:"share",link:m});SHR4P.utils.showServiceLet(o,"twitter");a.preventDefault()});c.attr("data-shr_status","1")}})}};
|
67 |
SHR4P.fbUtil={fbConnectAdd:0,renderFBWidgetCalled:!1,likeButtonsToRender:[],hasFB:function(){return typeof window.FB=="object"&&FB.Event&&typeof FB.Event.subscribe=="function"},addLikeButton:function(b,c){if(SHR4P.fbUtil.hasFBNameSpace()){var a=SHR4P.jQuery('<fb:like href="'+c+'"layout="button_count" show_faces="true" width="60" font=""></fb:like>').appendTo(b);typeof window.FB!="undefined"&&FB.XFBML&&FB.XFBML.parse?FB.XFBML.parse(a.get(0)):SHR4P.fbUtil.likeButtonsToRender.push(a.get(0))}else SHR4P.jQuery('<iframe src="https://www.facebook.com/plugins/like.php?app_id=207766518608&href='+
|
68 |
c+'&send=false&layout=button_count&width=90&show_faces=false&action=like&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>').appendTo(b)},renderFBWidgets:function(){if(!SHR4P.fbUtil.renderFBWidgetCalled){setTimeout("SHR4P.fbUtil.renderFBLikeButtons()",0);setTimeout("SHR4P.fbUtil.renderFBSendButtons()",0);for(var b=0;b<SHR4P.fbUtil.likeButtonsToRender.length;++b)typeof window.FB!=
|