Starbox – the Author Box for Humans - Version 3.1.9

Version Description

  • Fixed drop-down see all click event
Download this release

Release Info

Developer cifi
Plugin Icon 128x128 Starbox – the Author Box for Humans
Version 3.1.9
Comparing to
See all releases

Code changes from version 3.1.7 to 3.1.9

models/Frontend.php CHANGED
@@ -71,7 +71,7 @@ class ABH_Models_Frontend {
71
  </div>
72
  <div class="abh_social"> ' . $this->getSocial() . '</div>
73
  <div class="abh_text">
74
- <h3 class="fn name" ' . ((ABH_Classes_Tools::getOption('abh_titlefontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_titlefontsize') . ' !important;"' : '') . '>' . (($this->author->user_url) ? '<a href="' . $this->author->user_url . '" class="url" target="_blank">' . $this->author->display_name . '</a>' : '<a href="' . get_author_posts_url($this->author->ID) . '" class="url">' . $this->author->display_name . '</a>') . '</h3>
75
  <div class="abh_job" ' . ((ABH_Classes_Tools::getOption('abh_descfontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_descfontsize') . ' !important;"' : '') . '>' . (($this->details['abh_title'] <> '' && $this->details['abh_company'] <> '') ? '<span class="title" ' . ((ABH_Classes_Tools::getOption('abh_descfontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_descfontsize') . ' !important;"' : '') . '>' . $this->details['abh_title'] . '</span> ' . __('at', _ABH_PLUGIN_NAME_) . ' <span class="org" ' . ((ABH_Classes_Tools::getOption('abh_descfontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_descfontsize') . ' !important;"' : '') . '>' . (($this->details['abh_company_url'] <> '') ? sprintf('<a href="%s" target="_blank">%s</a>', $this->details['abh_company_url'], $this->details['abh_company']) : $this->details['abh_company']) . '</span>' : '') . '</div>
76
  <div class="description note abh_description" ' . ((ABH_Classes_Tools::getOption('abh_descfontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_descfontsize') . ' !important;"' : '') . '>' . ((isset($this->details['abh_extra_description']) && $this->details['abh_extra_description'] <> '') ? nl2br($this->details['abh_extra_description']) : nl2br($this->author->user_description)) . '</div>
77
  </div>
@@ -84,10 +84,12 @@ class ABH_Models_Frontend {
84
  * @return string
85
  */
86
  private function showAuthorPosts() {
 
 
87
  $content = '
88
  <section class="abh_posts_tab abh_tab" >
89
  <div class="abh_image">
90
- ' . (($this->author->user_url) ? '<a href="' . $this->author->user_url . '" class="url" target="_blank" title="' . $this->author->display_name . '">' . $this->getProfileImage() . '</a>' : '<a href="' . get_author_posts_url($this->author->ID) . '" class="url" title="' . $this->author->display_name . '">' . $this->getProfileImage() . '</a>') . '
91
  </div>
92
  <div class="abh_social"> ' . $this->getSocial() . '</div>
93
  <div class="abh_text">
71
  </div>
72
  <div class="abh_social"> ' . $this->getSocial() . '</div>
73
  <div class="abh_text">
74
+ <h3 class="fn name" ' . ((ABH_Classes_Tools::getOption('abh_titlefontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_titlefontsize') . ' !important;"' : '') . '>' . (($this->author->user_url) ? '<a href="' . $this->author->user_url . '" class="url" target="_blank" ' . $nofollow . '>' . $this->author->display_name . '</a>' : '<a href="' . get_author_posts_url($this->author->ID) . '" class="url">' . $this->author->display_name . '</a>') . '</h3>
75
  <div class="abh_job" ' . ((ABH_Classes_Tools::getOption('abh_descfontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_descfontsize') . ' !important;"' : '') . '>' . (($this->details['abh_title'] <> '' && $this->details['abh_company'] <> '') ? '<span class="title" ' . ((ABH_Classes_Tools::getOption('abh_descfontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_descfontsize') . ' !important;"' : '') . '>' . $this->details['abh_title'] . '</span> ' . __('at', _ABH_PLUGIN_NAME_) . ' <span class="org" ' . ((ABH_Classes_Tools::getOption('abh_descfontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_descfontsize') . ' !important;"' : '') . '>' . (($this->details['abh_company_url'] <> '') ? sprintf('<a href="%s" target="_blank">%s</a>', $this->details['abh_company_url'], $this->details['abh_company']) : $this->details['abh_company']) . '</span>' : '') . '</div>
76
  <div class="description note abh_description" ' . ((ABH_Classes_Tools::getOption('abh_descfontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_descfontsize') . ' !important;"' : '') . '>' . ((isset($this->details['abh_extra_description']) && $this->details['abh_extra_description'] <> '') ? nl2br($this->details['abh_extra_description']) : nl2br($this->author->user_description)) . '</div>
77
  </div>
84
  * @return string
85
  */
86
  private function showAuthorPosts() {
87
+ $nofollow = (!$this->details['abh_nofollow_social'] == 0) ? 'rel="nofollow"' : '';
88
+
89
  $content = '
90
  <section class="abh_posts_tab abh_tab" >
91
  <div class="abh_image">
92
+ ' . (($this->author->user_url) ? '<a href="' . $this->author->user_url . '" class="url" target="_blank" title="' . $this->author->display_name . '" ' . $nofollow . '>' . $this->getProfileImage() . '</a>' : '<a href="' . get_author_posts_url($this->author->ID) . '" class="url" title="' . $this->author->display_name . '">' . $this->getProfileImage() . '</a>') . '
93
  </div>
94
  <div class="abh_social"> ' . $this->getSocial() . '</div>
95
  <div class="abh_text">
readme.txt CHANGED
@@ -102,7 +102,10 @@ Download it from the Wordpress directory and try it out. Having an author box af
102
  16. Author Box with Drop-Down Theme
103
 
104
  == Changelog ==
105
- = 3.1.7 =
 
 
 
106
  * Compatible with more theme and plugins
107
  * Fixed small bugs for PHP 7.2
108
  * Added Nofollow for author URL
102
  16. Author Box with Drop-Down Theme
103
 
104
  == Changelog ==
105
+ = 3.1.9 =
106
+ * Fixed drop-down see all click event
107
+
108
+ = 3.1.8 =
109
  * Compatible with more theme and plugins
110
  * Fixed small bugs for PHP 7.2
111
  * Added Nofollow for author URL
starbox.php CHANGED
@@ -6,7 +6,7 @@
6
  * Plugin Name: StarBox
7
  * Author: Squirrly UK
8
  * Description: Starbox is the Author Box for Humans. Professional Themes to choose from, HTML5, Social Media Profiles, Google Authorship
9
- * Version: 3.1.7
10
  * Author URI: https://www.squirrly.co/wordpress-seo-by-squirrly
11
  * License: GPL v2 or later
12
  *
@@ -22,7 +22,7 @@
22
  */
23
 
24
  /* SET THE CURRENT VERSION ABOVE AND BELOW */
25
- define('ABH_VERSION', '3.1.7');
26
 
27
  if (!defined('ABHP_VERSION')) {
28
 
6
  * Plugin Name: StarBox
7
  * Author: Squirrly UK
8
  * Description: Starbox is the Author Box for Humans. Professional Themes to choose from, HTML5, Social Media Profiles, Google Authorship
9
+ * Version: 3.1.9
10
  * Author URI: https://www.squirrly.co/wordpress-seo-by-squirrly
11
  * License: GPL v2 or later
12
  *
22
  */
23
 
24
  /* SET THE CURRENT VERSION ABOVE AND BELOW */
25
+ define('ABH_VERSION', '3.1.9');
26
 
27
  if (!defined('ABHP_VERSION')) {
28
 
themes/admin/js/menu.js CHANGED
@@ -1,5 +1,5 @@
1
  jQuery(document).ready(function () {
2
- jQuery('#abh_settings').find('.abh_show_extra_description').bind('click', function () {
3
  jQuery('#abh_settings').find('.abh_extra_description').show();
4
  jQuery('#abh_settings').find('.abh_show_extra_description').hide();
5
  });
@@ -9,7 +9,7 @@ jQuery(document).ready(function () {
9
  jQuery('.abh_description_author').append('<table></table>');
10
  jQuery('.abh_description_author').find('table').append(jQuery('#description').parents('tr:last'));
11
  }
12
- jQuery('#abh_subscribe_subscribe').bind('click', function (event) {
13
  if (event) {
14
  event.preventDefault();
15
  }
@@ -39,7 +39,7 @@ jQuery(document).ready(function () {
39
  alert('The email is not valid! Please enter a valid email address. Thank you');
40
  }
41
  });
42
- jQuery('#abh_theme_select,#abh_titlefontsize_select, #abh_descfontsize_select').bind('change', function () {
43
  jQuery('#abh_box_preview').addClass('abh_loading');
44
  jQuery('#abh_box_preview').html('');
45
  jQuery.post(
@@ -58,7 +58,7 @@ jQuery(document).ready(function () {
58
  }
59
  });
60
  });
61
- jQuery('.abh_powered_by').bind('click', function () {
62
  jQuery.post(
63
  abh_Query.ajaxurl,
64
  {
1
  jQuery(document).ready(function () {
2
+ jQuery('#abh_settings').find('.abh_show_extra_description').on('click', function () {
3
  jQuery('#abh_settings').find('.abh_extra_description').show();
4
  jQuery('#abh_settings').find('.abh_show_extra_description').hide();
5
  });
9
  jQuery('.abh_description_author').append('<table></table>');
10
  jQuery('.abh_description_author').find('table').append(jQuery('#description').parents('tr:last'));
11
  }
12
+ jQuery('#abh_subscribe_subscribe').on('click', function (event) {
13
  if (event) {
14
  event.preventDefault();
15
  }
39
  alert('The email is not valid! Please enter a valid email address. Thank you');
40
  }
41
  });
42
+ jQuery('#abh_theme_select,#abh_titlefontsize_select, #abh_descfontsize_select').on('change', function () {
43
  jQuery('#abh_box_preview').addClass('abh_loading');
44
  jQuery('#abh_box_preview').html('');
45
  jQuery.post(
58
  }
59
  });
60
  });
61
+ jQuery('.abh_powered_by').on('click', function () {
62
  jQuery.post(
63
  abh_Query.ajaxurl,
64
  {
themes/admin/js/menu.min.js CHANGED
@@ -1,8 +1,8 @@
1
  var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,c,b){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(c.call(b,f,e,a))return{i:e,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,c,b){a!=Array.prototype&&a!=Object.prototype&&(a[c]=b.value)};
2
  $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,c,b,d){if(c){b=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in b||(b[e]={});b=b[e]}a=a[a.length-1];d=b[a];c=c(d);c!=d&&null!=c&&$jscomp.defineProperty(b,a,{configurable:!0,writable:!0,value:c})}};
3
  $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,b){return $jscomp.findInternal(this,a,b).v}},"es6","es3");
4
- jQuery(document).ready(function(){jQuery("#abh_settings").find(".abh_show_extra_description").bind("click",function(){jQuery("#abh_settings").find(".abh_extra_description").show();jQuery("#abh_settings").find(".abh_show_extra_description").hide()});jQuery("form").attr("enctype","multipart/form-data");0<jQuery("#description").length&&(jQuery("#description").parents(".form-table:last").before(jQuery("#abh_settings")),jQuery(".abh_description_author").append("<table></table>"),jQuery(".abh_description_author").find("table").append(jQuery("#description").parents("tr:last")));
5
- jQuery("#abh_subscribe_subscribe").bind("click",function(a){a&&a.preventDefault();abh_validateEmail(jQuery("#abh_subscribe_email").val())?jQuery.post("https://api.squirrly.co/sq/users/subscribe?callback=?",{email:jQuery("#abh_subscribe_email").val(),url:jQuery("#abh_subscribe_url").val()}).done(function(a){jQuery.post(abh_Query.ajaxurl,{action:"abh_settings_subscribe",abh_nonce:abh_Query.abh_nonce}).done(function(a){});jQuery("#abh_option_subscribe").hide();jQuery("#abh_option_social").show();"success"==
6
- a.result&&jQuery("#abh_option_social").prepend('<div id="abh_subscribe_confirmation">Thank you!</div>')}):alert("The email is not valid! Please enter a valid email address. Thank you")});jQuery("#abh_theme_select,#abh_titlefontsize_select, #abh_descfontsize_select").bind("change",function(){jQuery("#abh_box_preview").addClass("abh_loading");jQuery("#abh_box_preview").html("");jQuery.post(abh_Query.ajaxurl,{action:"abh_get_box",user_id:jQuery("#user_id").val(),abh_theme:jQuery("#abh_theme_select").find(":selected").val(),
7
- abh_titlefontsize:jQuery("#abh_titlefontsize_select").find(":selected").val(),abh_descfontsize:jQuery("#abh_descfontsize_select").find(":selected").val(),abh_nonce:abh_Query.abh_nonce}).done(function(a){jQuery("#abh_box_preview").removeClass("abh_loading");"undefined"!==typeof a.box&&jQuery("#abh_box_preview").html(a.box)})});jQuery(".abh_powered_by").bind("click",function(){jQuery.post(abh_Query.ajaxurl,{action:"abh_powered_by",abh_powered_by:jQuery("#abh_settings").find("input[name=abh_powered_by]:checked").val(),
8
  abh_nonce:abh_Query.abh_nonce}).done(function(a){})})});function abh_validateEmail(a){return/^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/.test(a)?!0:!1};
1
  var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,c,b){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(c.call(b,f,e,a))return{i:e,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,c,b){a!=Array.prototype&&a!=Object.prototype&&(a[c]=b.value)};
2
  $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,c,b,d){if(c){b=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in b||(b[e]={});b=b[e]}a=a[a.length-1];d=b[a];c=c(d);c!=d&&null!=c&&$jscomp.defineProperty(b,a,{configurable:!0,writable:!0,value:c})}};
3
  $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,b){return $jscomp.findInternal(this,a,b).v}},"es6","es3");
4
+ jQuery(document).ready(function(){jQuery("#abh_settings").find(".abh_show_extra_description").on("click",function(){jQuery("#abh_settings").find(".abh_extra_description").show();jQuery("#abh_settings").find(".abh_show_extra_description").hide()});jQuery("form").attr("enctype","multipart/form-data");0<jQuery("#description").length&&(jQuery("#description").parents(".form-table:last").before(jQuery("#abh_settings")),jQuery(".abh_description_author").append("<table></table>"),jQuery(".abh_description_author").find("table").append(jQuery("#description").parents("tr:last")));
5
+ jQuery("#abh_subscribe_subscribe").on("click",function(a){a&&a.preventDefault();abh_validateEmail(jQuery("#abh_subscribe_email").val())?jQuery.post("https://api.squirrly.co/sq/users/subscribe?callback=?",{email:jQuery("#abh_subscribe_email").val(),url:jQuery("#abh_subscribe_url").val()}).done(function(a){jQuery.post(abh_Query.ajaxurl,{action:"abh_settings_subscribe",abh_nonce:abh_Query.abh_nonce}).done(function(a){});jQuery("#abh_option_subscribe").hide();jQuery("#abh_option_social").show();"success"==
6
+ a.result&&jQuery("#abh_option_social").prepend('<div id="abh_subscribe_confirmation">Thank you!</div>')}):alert("The email is not valid! Please enter a valid email address. Thank you")});jQuery("#abh_theme_select,#abh_titlefontsize_select, #abh_descfontsize_select").on("change",function(){jQuery("#abh_box_preview").addClass("abh_loading");jQuery("#abh_box_preview").html("");jQuery.post(abh_Query.ajaxurl,{action:"abh_get_box",user_id:jQuery("#user_id").val(),abh_theme:jQuery("#abh_theme_select").find(":selected").val(),
7
+ abh_titlefontsize:jQuery("#abh_titlefontsize_select").find(":selected").val(),abh_descfontsize:jQuery("#abh_descfontsize_select").find(":selected").val(),abh_nonce:abh_Query.abh_nonce}).done(function(a){jQuery("#abh_box_preview").removeClass("abh_loading");"undefined"!==typeof a.box&&jQuery("#abh_box_preview").html(a.box)})});jQuery(".abh_powered_by").on("click",function(){jQuery.post(abh_Query.ajaxurl,{action:"abh_powered_by",abh_powered_by:jQuery("#abh_settings").find("input[name=abh_powered_by]:checked").val(),
8
  abh_nonce:abh_Query.abh_nonce}).done(function(a){})})});function abh_validateEmail(a){return/^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/.test(a)?!0:!1};
themes/drop-down/js/frontend.js CHANGED
@@ -51,7 +51,7 @@ var abh_loadbox_loaded = false;
51
 
52
  function abh_loadbox() {
53
  abh_loadbox_loaded = true;
54
- jQuery(".abh_tab_content .abh_image img, .abh_tab_content h4, .abh_tab_content h3").bind('click', function (event) {
55
  event.preventDefault();
56
  if (jQuery(this).parents('.abh_box').find(".abh_tabs").is(':visible')) {
57
  jQuery.abh_hideContent(jQuery(this).parents('.abh_box'));
@@ -59,6 +59,13 @@ function abh_loadbox() {
59
  jQuery.abh_showContent(jQuery(this).parents('.abh_box'));
60
  }
61
  });
 
 
 
 
 
 
 
62
  jQuery(".abh_tabs li").click(function (event) {
63
  event.preventDefault();
64
  jQuery(".abh_tabs li").removeClass('abh_active');
51
 
52
  function abh_loadbox() {
53
  abh_loadbox_loaded = true;
54
+ jQuery(".abh_tab_content .abh_about_tab .abh_image img, .abh_tab_content .abh_about_tab h4, .abh_tab_content h3").on('click', function (event) {
55
  event.preventDefault();
56
  if (jQuery(this).parents('.abh_box').find(".abh_tabs").is(':visible')) {
57
  jQuery.abh_hideContent(jQuery(this).parents('.abh_box'));
59
  jQuery.abh_showContent(jQuery(this).parents('.abh_box'));
60
  }
61
  });
62
+ jQuery(".abh_tab_content .abh_posts_tab img, .abh_posts_tab h4").on('click', function (event) {
63
+ if (jQuery(this).parents('.abh_box').find(".abh_tabs").is(':visible')) {
64
+ jQuery.abh_hideContent(jQuery(this).parents('.abh_box'));
65
+ } else {
66
+ jQuery.abh_showContent(jQuery(this).parents('.abh_box'));
67
+ }
68
+ });
69
  jQuery(".abh_tabs li").click(function (event) {
70
  event.preventDefault();
71
  jQuery(".abh_tabs li").removeClass('abh_active');
themes/drop-down/js/frontend.min.js CHANGED
@@ -4,6 +4,6 @@ $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,e){ret
4
  (function(a){a._getCookie=function(a){var b=document.cookie,c=a+"=";a=b.length;for(var d=0;d<a;){var f=d+c.length;if(b.substring(d,f)===c)return c=b.indexOf(";",f),-1===c&&(c=a),unescape(b.substring(f,c));d=b.indexOf(" ",d)+1;if(0===d)break}return null};a._setCookie=function(a,e){document.cookie=a+"="+e+"; expires=1440; path=/"};a.abh_showContent=function(a){a.find(".abh_tabs").show();a.find(".abh_job").show();a.find(".abh_allposts").show();a.find(".abh_social").show();a.find(".abh_pwb").show();a.find(".abh_tab_content").css("border-bottom-width",
5
  "1px");a.find(".abh_tab_content h3").css("border-bottom-width","0px");a.find(".abh_tab_content h4").css("border-bottom-width","0px");a.find(".abh_description").slideDown("fast");a.find(".abh_arrow").addClass("abh_active")};a.abh_hideContent=function(a){a.find(".abh_description").slideUp("fast",function(){a.find(".abh_tabs").hide();a.find(".abh_job").hide();a.find(".abh_allposts").hide();a.find(".abh_social").hide();a.find(".abh_pwb").hide();a.find(".abh_tab_content").css("border-bottom-width","0px");
6
  a.find(".abh_tab_content h3").css("border-bottom-width","1px");a.find(".abh_tab_content h4").css("border-bottom-width","1px");a.find(".abh_arrow").removeClass("abh_active")})}})(jQuery);
7
- function abh_loadbox(){abh_loadbox_loaded=!0;jQuery(".abh_tab_content .abh_image img, .abh_tab_content h4, .abh_tab_content h3").bind("click",function(a){a.preventDefault();jQuery(this).parents(".abh_box").find(".abh_tabs").is(":visible")?jQuery.abh_hideContent(jQuery(this).parents(".abh_box")):jQuery.abh_showContent(jQuery(this).parents(".abh_box"))});jQuery(".abh_tabs li").click(function(a){a.preventDefault();jQuery(".abh_tabs li").removeClass("abh_active");jQuery(this).addClass("abh_active");jQuery(this).parents(".abh_box").find(".abh_tab").hide();
8
- a=jQuery(this).find("a").attr("href");jQuery(this).parents(".abh_box").find(a.replace("#",".")+"_tab").fadeIn();jQuery(this).parents(".abh_box").find(a.replace("#",".")+"_tab").parents(".abh_box").find(a.replace("#",".")).addClass("abh_active");jQuery._setCookie("abh_tab",a);return!1});jQuery(".abh_tab_content").find("h3").append('<span class="abh_arrow"></span>')}jQuery(document).ready(function(){!1===abh_loadbox_loaded&&abh_loadbox()});
9
- var abh_timeout_loadbox=setTimeout(function(){!1===abh_loadbox_loaded?abh_loadbox():clearTimeout(abh_timeout_loadbox)},1E3);
4
  (function(a){a._getCookie=function(a){var b=document.cookie,c=a+"=";a=b.length;for(var d=0;d<a;){var f=d+c.length;if(b.substring(d,f)===c)return c=b.indexOf(";",f),-1===c&&(c=a),unescape(b.substring(f,c));d=b.indexOf(" ",d)+1;if(0===d)break}return null};a._setCookie=function(a,e){document.cookie=a+"="+e+"; expires=1440; path=/"};a.abh_showContent=function(a){a.find(".abh_tabs").show();a.find(".abh_job").show();a.find(".abh_allposts").show();a.find(".abh_social").show();a.find(".abh_pwb").show();a.find(".abh_tab_content").css("border-bottom-width",
5
  "1px");a.find(".abh_tab_content h3").css("border-bottom-width","0px");a.find(".abh_tab_content h4").css("border-bottom-width","0px");a.find(".abh_description").slideDown("fast");a.find(".abh_arrow").addClass("abh_active")};a.abh_hideContent=function(a){a.find(".abh_description").slideUp("fast",function(){a.find(".abh_tabs").hide();a.find(".abh_job").hide();a.find(".abh_allposts").hide();a.find(".abh_social").hide();a.find(".abh_pwb").hide();a.find(".abh_tab_content").css("border-bottom-width","0px");
6
  a.find(".abh_tab_content h3").css("border-bottom-width","1px");a.find(".abh_tab_content h4").css("border-bottom-width","1px");a.find(".abh_arrow").removeClass("abh_active")})}})(jQuery);
7
+ function abh_loadbox(){abh_loadbox_loaded=!0;jQuery(".abh_tab_content .abh_about_tab .abh_image img, .abh_tab_content .abh_about_tab h4, .abh_tab_content h3").on("click",function(a){a.preventDefault();jQuery(this).parents(".abh_box").find(".abh_tabs").is(":visible")?jQuery.abh_hideContent(jQuery(this).parents(".abh_box")):jQuery.abh_showContent(jQuery(this).parents(".abh_box"))});jQuery(".abh_tab_content .abh_posts_tab img, .abh_posts_tab h4").on("click",function(a){jQuery(this).parents(".abh_box").find(".abh_tabs").is(":visible")?
8
+ jQuery.abh_hideContent(jQuery(this).parents(".abh_box")):jQuery.abh_showContent(jQuery(this).parents(".abh_box"))});jQuery(".abh_tabs li").click(function(a){a.preventDefault();jQuery(".abh_tabs li").removeClass("abh_active");jQuery(this).addClass("abh_active");jQuery(this).parents(".abh_box").find(".abh_tab").hide();a=jQuery(this).find("a").attr("href");jQuery(this).parents(".abh_box").find(a.replace("#",".")+"_tab").fadeIn();jQuery(this).parents(".abh_box").find(a.replace("#",".")+"_tab").parents(".abh_box").find(a.replace("#",
9
+ ".")).addClass("abh_active");jQuery._setCookie("abh_tab",a);return!1});jQuery(".abh_tab_content").find("h3").append('<span class="abh_arrow"></span>')}jQuery(document).ready(function(){!1===abh_loadbox_loaded&&abh_loadbox()});var abh_timeout_loadbox=setTimeout(function(){!1===abh_loadbox_loaded?abh_loadbox():clearTimeout(abh_timeout_loadbox)},1E3);