Version Description
- Added compatibility with WP 5.7.2
Download this release
Release Info
Developer | cifi |
Plugin | Starbox – the Author Box for Humans |
Version | 3.4.3 |
Comparing to | |
See all releases |
Code changes from version 3.1.9 to 3.4.3
- classes/DisplayController.php +4 -0
- config/config.php +4 -0
- config/paths.php +22 -6
- controllers/Frontend.php +80 -22
- core/UserSettings.php +10 -2
- languages/starbox-en_US.mo +0 -0
- languages/starbox-en_US.po +384 -0
- models/Frontend.php +135 -33
- models/UserSettings.php +29 -19
- readme.txt +75 -1
- starbox.php +7 -4
- themes/admin/UserSettings.php +22 -2
- themes/admin/css/hidedefault.css +3 -2
- themes/admin/css/hidedefault.min.css +1 -1
- themes/admin/css/menu.css +24 -24
- themes/admin/css/menu.min.css +1 -1
- themes/admin/js/menu.min.js +1 -8
- themes/business/css/frontend.css +6 -1
- themes/business/css/frontend.min.css +1 -1
- themes/business/js/frontend.js +4 -4
- themes/business/js/frontend.min.js +1 -5
- themes/drop-down/css/frontend.css +6 -5
- themes/drop-down/css/frontend.min.css +1 -1
- themes/drop-down/js/frontend.js +5 -7
- themes/drop-down/js/frontend.min.js +1 -9
- themes/fancy/css/frontend.css +6 -1
- themes/fancy/css/frontend.min.css +1 -1
- themes/fancy/js/frontend.min.js +1 -5
- themes/minimal/css/frontend.css +19 -2
- themes/minimal/css/frontend.min.css +1 -1
- themes/topstar-round/css/frontend.css +5 -4
- themes/topstar-round/css/frontend.min.css +1 -1
- themes/topstar-round/js/frontend.min.js +1 -4
- themes/topstar/css/frontend.css +5 -4
- themes/topstar/css/frontend.min.css +1 -1
- themes/topstar/js/frontend.min.js +1 -4
classes/DisplayController.php
CHANGED
@@ -59,6 +59,10 @@ class ABH_Classes_DisplayController {
|
|
59 |
|
60 |
if ($js_uri <> '') {
|
61 |
|
|
|
|
|
|
|
|
|
62 |
if (!wp_script_is(_ABH_NAMESPACE_ . $name)) {
|
63 |
wp_enqueue_script(_ABH_NAMESPACE_ . $name, $js_uri, null, ABH_VERSION, true);
|
64 |
}
|
59 |
|
60 |
if ($js_uri <> '') {
|
61 |
|
62 |
+
if (!wp_script_is('jquery')) {
|
63 |
+
wp_enqueue_script('jquery');
|
64 |
+
}
|
65 |
+
|
66 |
if (!wp_script_is(_ABH_NAMESPACE_ . $name)) {
|
67 |
wp_enqueue_script(_ABH_NAMESPACE_ . $name, $js_uri, null, ABH_VERSION, true);
|
68 |
}
|
config/config.php
CHANGED
@@ -6,6 +6,10 @@
|
|
6 |
|
7 |
defined('ABH_DEBUG') || define('ABH_DEBUG', false);
|
8 |
|
|
|
|
|
|
|
|
|
9 |
if (defined('NONCE_KEY')) {
|
10 |
define('_ABH_NONCE_ID_', NONCE_KEY);
|
11 |
} else {
|
6 |
|
7 |
defined('ABH_DEBUG') || define('ABH_DEBUG', false);
|
8 |
|
9 |
+
//add link to author
|
10 |
+
defined('ABH_AUTHORLINK') || define('ABH_AUTHORLINK', true);
|
11 |
+
defined('ABH_IMAGESIZE') || define('ABH_IMAGESIZE', 250);
|
12 |
+
|
13 |
if (defined('NONCE_KEY')) {
|
14 |
define('_ABH_NONCE_ID_', NONCE_KEY);
|
15 |
} else {
|
config/paths.php
CHANGED
@@ -6,9 +6,6 @@ define('_ABH_THEME_NAME_', 'admin'); //THIS LINE WILL BE CHANGED WITH THE USER S
|
|
6 |
|
7 |
/* Directories */
|
8 |
define('_ABH_ROOT_DIR_', plugin_dir_path(dirname(__FILE__)));
|
9 |
-
|
10 |
-
$upload_dir = wp_upload_dir();
|
11 |
-
define('_ABH_GRAVATAR_DIR_', ((isset($upload_dir['basedir']) && is_dir($upload_dir['basedir'])) ? $upload_dir['basedir'] . '/gravatar/' : _ABH_ROOT_DIR_ . '/gravatar/'));
|
12 |
define('_ABH_CLASSES_DIR_', _ABH_ROOT_DIR_ . '/classes/');
|
13 |
define('_ABH_CONTROLLER_DIR_', _ABH_ROOT_DIR_ . '/controllers/');
|
14 |
define('_ABH_MODEL_DIR_', _ABH_ROOT_DIR_ . '/models/');
|
@@ -19,6 +16,25 @@ define('_ABH_THEME_DIR_', _ABH_ROOT_DIR_ . '/themes/' . _ABH_THEME_NAME_ . '/');
|
|
19 |
|
20 |
/* URLS */
|
21 |
define('_ABH_URL_', plugins_url('/', dirname(__FILE__)));
|
22 |
-
define('
|
23 |
-
define('
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
/* Directories */
|
8 |
define('_ABH_ROOT_DIR_', plugin_dir_path(dirname(__FILE__)));
|
|
|
|
|
|
|
9 |
define('_ABH_CLASSES_DIR_', _ABH_ROOT_DIR_ . '/classes/');
|
10 |
define('_ABH_CONTROLLER_DIR_', _ABH_ROOT_DIR_ . '/controllers/');
|
11 |
define('_ABH_MODEL_DIR_', _ABH_ROOT_DIR_ . '/models/');
|
16 |
|
17 |
/* URLS */
|
18 |
define('_ABH_URL_', plugins_url('/', dirname(__FILE__)));
|
19 |
+
define('_ABH_ALL_THEMES_URL_', _ABH_URL_ . 'themes/');
|
20 |
+
define('_ABH_THEME_URL_', _ABH_URL_ . 'themes/' . _ABH_THEME_NAME_ . '/');
|
21 |
+
|
22 |
+
if (!defined('UPLOADS')) {
|
23 |
+
$basedir = WP_CONTENT_DIR . '/uploads/gravatar';
|
24 |
+
$baseurl = rtrim(content_url(), '/') . '/uploads/gravatar';
|
25 |
+
} else {
|
26 |
+
$basedir = rtrim(ABSPATH, '/') . '/' . trim(UPLOADS, '/') . '/gravatar';
|
27 |
+
$baseurl = home_url() . '/' . trim(UPLOADS, '/') . '/gravatar';
|
28 |
+
}
|
29 |
+
|
30 |
+
if (!is_dir($basedir)) {
|
31 |
+
@wp_mkdir_p($basedir);
|
32 |
+
}
|
33 |
+
|
34 |
+
if (!is_dir($basedir) || !function_exists('wp_is_writable') || !wp_is_writable($basedir)) {
|
35 |
+
$basedir = _ABH_ROOT_DIR_ . 'cache';
|
36 |
+
$baseurl = _ABH_URL_ . 'cache';
|
37 |
+
}
|
38 |
+
|
39 |
+
defined('_ABH_GRAVATAR_DIR_') || define('_ABH_GRAVATAR_DIR_', $basedir . '/');
|
40 |
+
defined('_ABH_GRAVATAR_URL_') || define('_ABH_GRAVATAR_URL_', $baseurl . '/');
|
controllers/Frontend.php
CHANGED
@@ -31,6 +31,8 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
31 |
public function hookShortStarboximg($param) {
|
32 |
global $post;
|
33 |
$id = 0;
|
|
|
|
|
34 |
|
35 |
if (isset($post->ID))
|
36 |
$this->custom[$post->ID] = true;
|
@@ -45,7 +47,7 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
45 |
|
46 |
if ($id === 'all') {
|
47 |
$args = array(
|
48 |
-
'
|
49 |
'order' => 'DESC'
|
50 |
);
|
51 |
|
@@ -68,12 +70,14 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
68 |
$show_list = array($id);
|
69 |
$this->model->author = get_userdatabylogin($id);
|
70 |
|
71 |
-
|
72 |
-
|
|
|
|
|
73 |
}
|
74 |
|
75 |
$args = array(
|
76 |
-
'
|
77 |
'order' => 'DESC',
|
78 |
);
|
79 |
|
@@ -109,11 +113,17 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
109 |
$desc = '';
|
110 |
$lpc = null; //latest posts category
|
111 |
$theme = '';
|
|
|
|
|
112 |
|
113 |
if (isset($post->ID))
|
114 |
$this->custom[$post->ID] = true;
|
115 |
|
116 |
-
extract(shortcode_atts(array('id' => 0, 'desc' => '', 'lpc' => '', 'theme' => ''), $param));
|
|
|
|
|
|
|
|
|
117 |
if ($theme <> '') {
|
118 |
if (!in_array($theme, ABH_Classes_Tools::getOption('abh_themes')))
|
119 |
$theme = '';
|
@@ -125,9 +135,12 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
125 |
if ((int)$id > 0) {
|
126 |
$this->model->author = get_userdata((int)$id);
|
127 |
|
128 |
-
|
129 |
-
|
130 |
-
|
|
|
|
|
|
|
131 |
}
|
132 |
|
133 |
$theme = ($theme == '' || $theme == 'default') ? ABH_Classes_Tools::getOption('abh_theme') : $theme;
|
@@ -144,14 +157,21 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
144 |
|
145 |
if ($id === 'all') {
|
146 |
$args = array(
|
147 |
-
'
|
148 |
-
'order' =>
|
149 |
);
|
150 |
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
$theme = ABH_Classes_Tools::getOption('abh_theme');
|
152 |
ABH_Classes_Tools::setOption('abh_powered_by', 0); //down show powered by for too many
|
153 |
|
154 |
$users = get_users($args);
|
|
|
155 |
foreach ($users as $user) {
|
156 |
$details = ABH_Classes_Tools::getOption('abh_author' . $user->ID);
|
157 |
if (!isset($details['abh_use']) || $details['abh_use'])
|
@@ -168,16 +188,24 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
168 |
$show_list = array($id);
|
169 |
$this->model->author = get_userdatabylogin($id);
|
170 |
|
171 |
-
|
172 |
-
|
173 |
-
|
|
|
|
|
|
|
174 |
}
|
175 |
|
176 |
$args = array(
|
177 |
-
'
|
178 |
-
'order' =>
|
179 |
);
|
180 |
|
|
|
|
|
|
|
|
|
|
|
181 |
$users = get_users($args);
|
182 |
foreach ($users as $user) {
|
183 |
// show mutiple authors in one shortcode
|
@@ -195,7 +223,8 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
195 |
$str = ABH_Classes_ObjController::getController('ABH_Controllers_Frontend')->showBox((int)$id, $desc);
|
196 |
}
|
197 |
|
198 |
-
if ($theme <> '') {
|
|
|
199 |
if (file_exists(_ABH_ALL_THEMES_DIR_ . $theme . '/css/frontend' . (ABH_DEBUG ? '' : '.min') . '.css')) {
|
200 |
ABH_Classes_ObjController::getController('ABH_Classes_DisplayController')
|
201 |
->loadMedia(_ABH_ALL_THEMES_URL_ . $theme . '/css/frontend' . (ABH_DEBUG ? '' : '.min') . '.css'); //load the css and js for frontend
|
@@ -219,7 +248,7 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
219 |
if (!empty($out) && isset($out[1])) {
|
220 |
if (trim($out[1]) <> '') {
|
221 |
$out[1] = trim(str_replace(array('" ', '"'), array('"&', ''), $out[1]));
|
222 |
-
if($out[1] <> '') {
|
223 |
@parse_str($out[1]);
|
224 |
}
|
225 |
}
|
@@ -268,6 +297,10 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
268 |
* @return string
|
269 |
*/
|
270 |
public function showBox($author_id = 0, $description = '') {
|
|
|
|
|
|
|
|
|
271 |
if ($author_id == 0) {
|
272 |
global $wp_query;
|
273 |
if (!empty($wp_query->posts))
|
@@ -291,11 +324,13 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
291 |
$this->model->author = get_userdata($author_id);
|
292 |
}
|
293 |
|
|
|
|
|
|
|
294 |
|
295 |
//get the author details settings
|
296 |
$this->model->details = ABH_Classes_Tools::getOption('abh_author' . $this->model->author->ID);
|
297 |
|
298 |
-
|
299 |
if ($description <> '')
|
300 |
$this->model->details['abh_extra_description'] = $description;
|
301 |
|
@@ -309,6 +344,10 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
309 |
* @return string
|
310 |
*/
|
311 |
public function showStarboximg($author_id = 0) {
|
|
|
|
|
|
|
|
|
312 |
if ($author_id == 0) {
|
313 |
global $wp_query;
|
314 |
if (!empty($wp_query->posts))
|
@@ -332,6 +371,10 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
332 |
$this->model->author = get_userdata($author_id);
|
333 |
}
|
334 |
|
|
|
|
|
|
|
|
|
335 |
//get the author details settings
|
336 |
$this->model->details = ABH_Classes_Tools::getOption('abh_author' . $this->model->author->ID);
|
337 |
|
@@ -379,6 +422,10 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
379 |
else
|
380 |
$this->model->author = get_userdata($post->post_author);
|
381 |
|
|
|
|
|
|
|
|
|
382 |
//get the author details settings
|
383 |
$this->model->details = ABH_Classes_Tools::getOption('abh_author' . $this->model->author->ID);
|
384 |
|
@@ -392,11 +439,13 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
392 |
$this->model->position = ABH_Classes_Tools::getOption('abh_position');
|
393 |
|
394 |
// For some themes the position is important to be on top
|
395 |
-
if
|
396 |
-
$this->model->
|
|
|
397 |
|
398 |
-
|
399 |
-
|
|
|
400 |
|
401 |
// set theme for author box shown for each article
|
402 |
if (is_author()) {
|
@@ -416,6 +465,10 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
416 |
}
|
417 |
|
418 |
if ($this->show) {
|
|
|
|
|
|
|
|
|
419 |
// load the theme css and js in header
|
420 |
if (file_exists(_ABH_ALL_THEMES_DIR_ . $theme . '/css/frontend' . (ABH_DEBUG ? '' : '.min') . '.css')) {
|
421 |
ABH_Classes_ObjController::getController('ABH_Classes_DisplayController')
|
@@ -460,6 +513,11 @@ class ABH_Controllers_Frontend extends ABH_Classes_FrontController {
|
|
460 |
|
461 |
// get the author data
|
462 |
$this->model->author = get_userdata($post->post_author);
|
|
|
|
|
|
|
|
|
|
|
463 |
//get the author details settings
|
464 |
$this->model->details = ABH_Classes_Tools::getOption('abh_author' . $this->model->author->ID);
|
465 |
|
31 |
public function hookShortStarboximg($param) {
|
32 |
global $post;
|
33 |
$id = 0;
|
34 |
+
$str = '';
|
35 |
+
$force = false;
|
36 |
|
37 |
if (isset($post->ID))
|
38 |
$this->custom[$post->ID] = true;
|
47 |
|
48 |
if ($id === 'all') {
|
49 |
$args = array(
|
50 |
+
'orderby' => 'post_count',
|
51 |
'order' => 'DESC'
|
52 |
);
|
53 |
|
70 |
$show_list = array($id);
|
71 |
$this->model->author = get_userdatabylogin($id);
|
72 |
|
73 |
+
if (isset($this->model->author->ID)) {
|
74 |
+
//get the author details settings
|
75 |
+
$this->model->details = ABH_Classes_Tools::getOption('abh_author' . $this->model->author->ID);
|
76 |
+
}
|
77 |
}
|
78 |
|
79 |
$args = array(
|
80 |
+
'orderby' => 'post_count',
|
81 |
'order' => 'DESC',
|
82 |
);
|
83 |
|
113 |
$desc = '';
|
114 |
$lpc = null; //latest posts category
|
115 |
$theme = '';
|
116 |
+
$orderby = 'post_count';
|
117 |
+
$order = 'DESC';
|
118 |
|
119 |
if (isset($post->ID))
|
120 |
$this->custom[$post->ID] = true;
|
121 |
|
122 |
+
extract(shortcode_atts(array('id' => 0, 'desc' => '', 'lpc' => '', 'theme' => '', 'orderby' => 'post_count', 'order' => 'DESC'), $param));
|
123 |
+
|
124 |
+
//Add the order
|
125 |
+
if (!in_array($orderby, array('post_count', 'display_name', 'name', 'user_login', 'login', 'user_nicename', 'nicename', 'user_email', 'email', 'last_name', 'first_name'))) $orderby = 'post_count';
|
126 |
+
if (!in_array(strtoupper($order), array('DESC', 'ASC'))) $order = 'ASC';
|
127 |
if ($theme <> '') {
|
128 |
if (!in_array($theme, ABH_Classes_Tools::getOption('abh_themes')))
|
129 |
$theme = '';
|
135 |
if ((int)$id > 0) {
|
136 |
$this->model->author = get_userdata((int)$id);
|
137 |
|
138 |
+
if (isset($this->model->author->ID)) {
|
139 |
+
//get the author details settings
|
140 |
+
if($this->model->details = ABH_Classes_Tools::getOption('abh_author' . $this->model->author->ID)){
|
141 |
+
$theme = ($theme == '' || $this->model->details['abh_theme'] <> 'default') ? $this->model->details['abh_theme'] : $theme;
|
142 |
+
}
|
143 |
+
}
|
144 |
}
|
145 |
|
146 |
$theme = ($theme == '' || $theme == 'default') ? ABH_Classes_Tools::getOption('abh_theme') : $theme;
|
157 |
|
158 |
if ($id === 'all') {
|
159 |
$args = array(
|
160 |
+
'orderby' => $orderby,
|
161 |
+
'order' => strtoupper($order)
|
162 |
);
|
163 |
|
164 |
+
if ($orderby == 'first_name' || $orderby == 'last_name') {
|
165 |
+
$args['orderby'] = 'meta_value';
|
166 |
+
$args['meta_key'] = $orderby;
|
167 |
+
}
|
168 |
+
|
169 |
+
|
170 |
$theme = ABH_Classes_Tools::getOption('abh_theme');
|
171 |
ABH_Classes_Tools::setOption('abh_powered_by', 0); //down show powered by for too many
|
172 |
|
173 |
$users = get_users($args);
|
174 |
+
|
175 |
foreach ($users as $user) {
|
176 |
$details = ABH_Classes_Tools::getOption('abh_author' . $user->ID);
|
177 |
if (!isset($details['abh_use']) || $details['abh_use'])
|
188 |
$show_list = array($id);
|
189 |
$this->model->author = get_userdatabylogin($id);
|
190 |
|
191 |
+
if (isset($this->model->author->ID)) {
|
192 |
+
//get the author details settings
|
193 |
+
if($this->model->details = ABH_Classes_Tools::getOption('abh_author' . $this->model->author->ID)){
|
194 |
+
$theme = ($theme == '' || $this->model->details['abh_theme'] <> 'default') ? $this->model->details['abh_theme'] : $theme;
|
195 |
+
}
|
196 |
+
}
|
197 |
}
|
198 |
|
199 |
$args = array(
|
200 |
+
'orderby' => $orderby,
|
201 |
+
'order' => strtoupper($order)
|
202 |
);
|
203 |
|
204 |
+
if ($orderby == 'first_name' || $orderby == 'last_name') {
|
205 |
+
$args['orderby'] = 'meta_value';
|
206 |
+
$args['meta_key'] = $orderby;
|
207 |
+
}
|
208 |
+
|
209 |
$users = get_users($args);
|
210 |
foreach ($users as $user) {
|
211 |
// show mutiple authors in one shortcode
|
223 |
$str = ABH_Classes_ObjController::getController('ABH_Controllers_Frontend')->showBox((int)$id, $desc);
|
224 |
}
|
225 |
|
226 |
+
if ($theme <> '' && $this->model->isHtmlHeader()) {
|
227 |
+
|
228 |
if (file_exists(_ABH_ALL_THEMES_DIR_ . $theme . '/css/frontend' . (ABH_DEBUG ? '' : '.min') . '.css')) {
|
229 |
ABH_Classes_ObjController::getController('ABH_Classes_DisplayController')
|
230 |
->loadMedia(_ABH_ALL_THEMES_URL_ . $theme . '/css/frontend' . (ABH_DEBUG ? '' : '.min') . '.css'); //load the css and js for frontend
|
248 |
if (!empty($out) && isset($out[1])) {
|
249 |
if (trim($out[1]) <> '') {
|
250 |
$out[1] = trim(str_replace(array('" ', '"'), array('"&', ''), $out[1]));
|
251 |
+
if ($out[1] <> '') {
|
252 |
@parse_str($out[1]);
|
253 |
}
|
254 |
}
|
297 |
* @return string
|
298 |
*/
|
299 |
public function showBox($author_id = 0, $description = '') {
|
300 |
+
if(!$this->model->isHtmlHeader()){
|
301 |
+
return;
|
302 |
+
}
|
303 |
+
|
304 |
if ($author_id == 0) {
|
305 |
global $wp_query;
|
306 |
if (!empty($wp_query->posts))
|
324 |
$this->model->author = get_userdata($author_id);
|
325 |
}
|
326 |
|
327 |
+
if (!isset($this->model->author->ID)) {
|
328 |
+
return;
|
329 |
+
}
|
330 |
|
331 |
//get the author details settings
|
332 |
$this->model->details = ABH_Classes_Tools::getOption('abh_author' . $this->model->author->ID);
|
333 |
|
|
|
334 |
if ($description <> '')
|
335 |
$this->model->details['abh_extra_description'] = $description;
|
336 |
|
344 |
* @return string
|
345 |
*/
|
346 |
public function showStarboximg($author_id = 0) {
|
347 |
+
if(!$this->model->isHtmlHeader()){
|
348 |
+
return;
|
349 |
+
}
|
350 |
+
|
351 |
if ($author_id == 0) {
|
352 |
global $wp_query;
|
353 |
if (!empty($wp_query->posts))
|
371 |
$this->model->author = get_userdata($author_id);
|
372 |
}
|
373 |
|
374 |
+
if (!isset($this->model->author->ID)) {
|
375 |
+
return;
|
376 |
+
}
|
377 |
+
|
378 |
//get the author details settings
|
379 |
$this->model->details = ABH_Classes_Tools::getOption('abh_author' . $this->model->author->ID);
|
380 |
|
422 |
else
|
423 |
$this->model->author = get_userdata($post->post_author);
|
424 |
|
425 |
+
if (!isset($this->model->author->ID)) {
|
426 |
+
return;
|
427 |
+
}
|
428 |
+
|
429 |
//get the author details settings
|
430 |
$this->model->details = ABH_Classes_Tools::getOption('abh_author' . $this->model->author->ID);
|
431 |
|
439 |
$this->model->position = ABH_Classes_Tools::getOption('abh_position');
|
440 |
|
441 |
// For some themes the position is important to be on top
|
442 |
+
if(isset($this->model->details['abh_theme'])) {
|
443 |
+
if (strpos($this->model->details['abh_theme'], 'topstar') !== false || ($this->model->details['abh_theme'] == 'default' && strpos(ABH_Classes_Tools::getOption('abh_theme'), 'topstar') !== false))
|
444 |
+
$this->model->position = 'up'; //force position for this theme
|
445 |
|
446 |
+
if ($this->model->details['abh_theme'] <> '' && $this->model->details['abh_theme'] <> 'default')
|
447 |
+
$theme = $this->model->details['abh_theme'];
|
448 |
+
}
|
449 |
|
450 |
// set theme for author box shown for each article
|
451 |
if (is_author()) {
|
465 |
}
|
466 |
|
467 |
if ($this->show) {
|
468 |
+
if(!$this->model->isHtmlHeader()){
|
469 |
+
return;
|
470 |
+
}
|
471 |
+
|
472 |
// load the theme css and js in header
|
473 |
if (file_exists(_ABH_ALL_THEMES_DIR_ . $theme . '/css/frontend' . (ABH_DEBUG ? '' : '.min') . '.css')) {
|
474 |
ABH_Classes_ObjController::getController('ABH_Classes_DisplayController')
|
513 |
|
514 |
// get the author data
|
515 |
$this->model->author = get_userdata($post->post_author);
|
516 |
+
|
517 |
+
if (!isset($this->model->author->ID)) {
|
518 |
+
return;
|
519 |
+
}
|
520 |
+
|
521 |
//get the author details settings
|
522 |
$this->model->details = ABH_Classes_Tools::getOption('abh_author' . $this->model->author->ID);
|
523 |
|
core/UserSettings.php
CHANGED
@@ -18,6 +18,8 @@ class ABH_Core_UserSettings extends ABH_Classes_BlockController {
|
|
18 |
$default = array(
|
19 |
'abh_use' => 1,
|
20 |
'abh_nofollow_social' => 1,
|
|
|
|
|
21 |
// --
|
22 |
'abh_title' => "",
|
23 |
'abh_company' => "",
|
@@ -41,8 +43,12 @@ class ABH_Core_UserSettings extends ABH_Classes_BlockController {
|
|
41 |
'abh_position' => "default",
|
42 |
);
|
43 |
|
44 |
-
if (!isset($this->author) || empty($this->author))
|
45 |
$this->author = $default;
|
|
|
|
|
|
|
|
|
46 |
|
47 |
$this->themes = @array_merge(array('default'), ABH_Classes_Tools::getOption('abh_themes'));
|
48 |
|
@@ -61,13 +67,15 @@ class ABH_Core_UserSettings extends ABH_Classes_BlockController {
|
|
61 |
|
62 |
$settings['abh_use'] = (bool)ABH_CLasses_Tools::getValue('abh_use');
|
63 |
$settings['abh_nofollow_social'] = (int)ABH_CLasses_Tools::getValue('abh_nofollow_social');
|
|
|
|
|
64 |
|
65 |
$settings['abh_title'] = ABH_CLasses_Tools::getValue('abh_title');
|
66 |
$settings['abh_company'] = ABH_CLasses_Tools::getValue('abh_company');
|
67 |
$settings['abh_company_url'] = ABH_CLasses_Tools::getValue('abh_company_url');
|
68 |
if (isset($_POST['abh_extra_description'])) {
|
69 |
$allowed_html = array(
|
70 |
-
'a' => array('href' => array(), 'title' => array(), 'style' => array(), 'class' => array()),
|
71 |
'img' => array('src' => array(), 'alt' => array(), 'style' => array(), 'class' => array()),
|
72 |
'br' => array(), 'p' => array(),
|
73 |
'em' => array(), 'b' => array(), 'strong' => array(),
|
18 |
$default = array(
|
19 |
'abh_use' => 1,
|
20 |
'abh_nofollow_social' => 1,
|
21 |
+
'abh_noopener_social' => 0,
|
22 |
+
'abh_noreferrer_social' => 0,
|
23 |
// --
|
24 |
'abh_title' => "",
|
25 |
'abh_company' => "",
|
43 |
'abh_position' => "default",
|
44 |
);
|
45 |
|
46 |
+
if (!isset($this->author) || empty($this->author)) {
|
47 |
$this->author = $default;
|
48 |
+
}else{
|
49 |
+
$this->author = @array_merge($default,$this->author);
|
50 |
+
|
51 |
+
}
|
52 |
|
53 |
$this->themes = @array_merge(array('default'), ABH_Classes_Tools::getOption('abh_themes'));
|
54 |
|
67 |
|
68 |
$settings['abh_use'] = (bool)ABH_CLasses_Tools::getValue('abh_use');
|
69 |
$settings['abh_nofollow_social'] = (int)ABH_CLasses_Tools::getValue('abh_nofollow_social');
|
70 |
+
$settings['abh_noopener_social'] = (int)ABH_CLasses_Tools::getValue('abh_noopener_social');
|
71 |
+
$settings['abh_noreferrer_social'] = (int)ABH_CLasses_Tools::getValue('abh_noreferrer_social');
|
72 |
|
73 |
$settings['abh_title'] = ABH_CLasses_Tools::getValue('abh_title');
|
74 |
$settings['abh_company'] = ABH_CLasses_Tools::getValue('abh_company');
|
75 |
$settings['abh_company_url'] = ABH_CLasses_Tools::getValue('abh_company_url');
|
76 |
if (isset($_POST['abh_extra_description'])) {
|
77 |
$allowed_html = array(
|
78 |
+
'a' => array('href' => array(), 'target' => array(), 'title' => array(), 'style' => array(), 'class' => array()),
|
79 |
'img' => array('src' => array(), 'alt' => array(), 'style' => array(), 'class' => array()),
|
80 |
'br' => array(), 'p' => array(),
|
81 |
'em' => array(), 'b' => array(), 'strong' => array(),
|
languages/starbox-en_US.mo
ADDED
Binary file
|
languages/starbox-en_US.po
ADDED
@@ -0,0 +1,384 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Starbox\n"
|
4 |
+
"POT-Creation-Date: 2013-10-08 13:06+0200\n"
|
5 |
+
"PO-Revision-Date: 2019-08-14 15:22+0300\n"
|
6 |
+
"Last-Translator: \n"
|
7 |
+
"Language-Team: Squirrly UK\n"
|
8 |
+
"Language: fr_FR\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.2.1\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"X-Poedit-SearchPath-0: .\n"
|
16 |
+
|
17 |
+
#: classes/Error.php:16
|
18 |
+
msgid ""
|
19 |
+
"Function get_class does not exists! Is required for StarBox to work properly."
|
20 |
+
msgstr ""
|
21 |
+
|
22 |
+
#: classes/Error.php:19
|
23 |
+
msgid ""
|
24 |
+
"Function file_exists does not exists! Is required for StarBox to work "
|
25 |
+
"properly."
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
#: classes/Error.php:23
|
29 |
+
msgid "The home directory is not set!"
|
30 |
+
msgstr ""
|
31 |
+
|
32 |
+
#: classes/Error.php:27
|
33 |
+
msgid "The PHP version has to be greater then 4.0"
|
34 |
+
msgstr ""
|
35 |
+
|
36 |
+
#: classes/Error.php:35
|
37 |
+
msgid ""
|
38 |
+
"For StarBox to work, the PHP version has to be equal or greater then 5.1"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: classes/Error.php:69
|
42 |
+
msgid "Turn off warnings!"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: classes/Error.php:70
|
46 |
+
msgid "Notice: "
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
#: classes/Error.php:74
|
50 |
+
msgid "Note: "
|
51 |
+
msgstr ""
|
52 |
+
|
53 |
+
#: classes/Tools.php:58
|
54 |
+
msgid "Settings"
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: classes/Tools.php:308
|
58 |
+
msgid "Notice"
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
+
#: config/paths.php:14
|
62 |
+
#, php-format
|
63 |
+
msgid ""
|
64 |
+
"Unable to create directory %s. Is its parent directory writable by the "
|
65 |
+
"server?"
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: controllers/Menu.php:39
|
69 |
+
msgid "StarBox Settings"
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: controllers/Menu.php:40
|
73 |
+
msgid "StarBox"
|
74 |
+
msgstr ""
|
75 |
+
|
76 |
+
#: models/Frontend.php:28
|
77 |
+
msgid "About"
|
78 |
+
msgstr "Author"
|
79 |
+
|
80 |
+
#: models/Frontend.php:29
|
81 |
+
msgid "Latest Posts"
|
82 |
+
msgstr "Recent Posts"
|
83 |
+
|
84 |
+
#: models/Frontend.php:59
|
85 |
+
msgid "at"
|
86 |
+
msgstr ""
|
87 |
+
|
88 |
+
#: models/Frontend.php:74
|
89 |
+
#, php-format
|
90 |
+
msgid "Latest posts by %s"
|
91 |
+
msgstr ""
|
92 |
+
|
93 |
+
#: models/Frontend.php:74
|
94 |
+
msgid "see all"
|
95 |
+
msgstr ""
|
96 |
+
|
97 |
+
#: models/Frontend.php:86
|
98 |
+
msgid "Facebook"
|
99 |
+
msgstr ""
|
100 |
+
|
101 |
+
#: models/Frontend.php:90
|
102 |
+
msgid "Twitter"
|
103 |
+
msgstr ""
|
104 |
+
|
105 |
+
#: models/Frontend.php:95 models/Frontend.php:97
|
106 |
+
msgid "Google Plus"
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: models/Frontend.php:101
|
110 |
+
msgid "LinkedIn"
|
111 |
+
msgstr ""
|
112 |
+
|
113 |
+
#: models/Frontend.php:105
|
114 |
+
msgid "Instagram"
|
115 |
+
msgstr ""
|
116 |
+
|
117 |
+
#: models/Frontend.php:109
|
118 |
+
msgid "Flickr"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: models/Frontend.php:113
|
122 |
+
msgid "Pinterest"
|
123 |
+
msgstr ""
|
124 |
+
|
125 |
+
#: models/Frontend.php:117
|
126 |
+
msgid "Tumblr"
|
127 |
+
msgstr ""
|
128 |
+
|
129 |
+
#: models/Frontend.php:121
|
130 |
+
msgid "YouTube"
|
131 |
+
msgstr ""
|
132 |
+
|
133 |
+
#: models/Frontend.php:125
|
134 |
+
msgid "Vimeo"
|
135 |
+
msgstr ""
|
136 |
+
|
137 |
+
#: models/Frontend.php:131 models/Frontend.php:133
|
138 |
+
msgid "Klout"
|
139 |
+
msgstr ""
|
140 |
+
|
141 |
+
#: models/UserSettings.php:34
|
142 |
+
msgid "File type error: Only JPEG, JPG, GIF or PNG files are allowed."
|
143 |
+
msgstr ""
|
144 |
+
|
145 |
+
#: models/UserSettings.php:47
|
146 |
+
msgid "GD error: The GD library must be installed on your server."
|
147 |
+
msgstr ""
|
148 |
+
|
149 |
+
#: models/UserSettings.php:54
|
150 |
+
msgid "Delete error: Could not delete the old gravatar."
|
151 |
+
msgstr ""
|
152 |
+
|
153 |
+
#: models/UserSettings.php:61
|
154 |
+
msgid "Upload error: Could not upload the gravatar."
|
155 |
+
msgstr ""
|
156 |
+
|
157 |
+
#: models/UserSettings.php:67
|
158 |
+
msgid "Permission error: Could not change the gravatar permissions."
|
159 |
+
msgstr ""
|
160 |
+
|
161 |
+
#: models/UserSettings.php:78
|
162 |
+
msgid "The gravatar has been updated."
|
163 |
+
msgstr ""
|
164 |
+
|
165 |
+
#: themes/admin/Menu.php:3
|
166 |
+
msgid "StartBox Settings"
|
167 |
+
msgstr ""
|
168 |
+
|
169 |
+
#: themes/admin/Menu.php:3 themes/admin/UserSettings.php:3
|
170 |
+
msgid "Please support us on Wordpress"
|
171 |
+
msgstr ""
|
172 |
+
|
173 |
+
#: themes/admin/Menu.php:12 themes/admin/Menu.php:25 themes/admin/Menu.php:36
|
174 |
+
#: themes/admin/Menu.php:47 themes/admin/UserSettings.php:10
|
175 |
+
msgid "Yes"
|
176 |
+
msgstr ""
|
177 |
+
|
178 |
+
#: themes/admin/Menu.php:14 themes/admin/Menu.php:27 themes/admin/Menu.php:38
|
179 |
+
#: themes/admin/Menu.php:49 themes/admin/UserSettings.php:12
|
180 |
+
msgid "No"
|
181 |
+
msgstr ""
|
182 |
+
|
183 |
+
#: themes/admin/Menu.php:17
|
184 |
+
msgid "Visible in <strong>posts</strong>"
|
185 |
+
msgstr ""
|
186 |
+
|
187 |
+
#: themes/admin/Menu.php:18
|
188 |
+
msgid "Hide Author Box from custom posts types"
|
189 |
+
msgstr ""
|
190 |
+
|
191 |
+
#: themes/admin/Menu.php:30
|
192 |
+
msgid "Visible in <strong>pages</strong>"
|
193 |
+
msgstr ""
|
194 |
+
|
195 |
+
#: themes/admin/Menu.php:41
|
196 |
+
msgid ""
|
197 |
+
"Show the Starbox with Top Star theme <strong>in the global feed of your "
|
198 |
+
"blog</strong> (eg. \"/blog\" page) under each title of every post"
|
199 |
+
msgstr ""
|
200 |
+
|
201 |
+
#: themes/admin/Menu.php:52
|
202 |
+
#, php-format
|
203 |
+
msgid ""
|
204 |
+
"Show the <strong>Open Graph</strong> Profile in meta for each author "
|
205 |
+
"%sdetails%s (useful for rich snippets)"
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: themes/admin/Menu.php:56
|
209 |
+
msgid "Theme setting:"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: themes/admin/Menu.php:65
|
213 |
+
msgid ""
|
214 |
+
"The Author Box <strong>position</strong> (Topstar and Topstar-round are "
|
215 |
+
"always on shown on top)"
|
216 |
+
msgstr ""
|
217 |
+
|
218 |
+
#: themes/admin/Menu.php:80
|
219 |
+
msgid ""
|
220 |
+
"Choose the default theme to be displayed <strong>inside each blog article</"
|
221 |
+
"strong>"
|
222 |
+
msgstr ""
|
223 |
+
|
224 |
+
#: themes/admin/Menu.php:84
|
225 |
+
msgid "Preview mode for the default theme"
|
226 |
+
msgstr ""
|
227 |
+
|
228 |
+
#: themes/admin/Menu.php:104
|
229 |
+
msgid ""
|
230 |
+
"Choose the theme to be displayed in your <strong>global list of posts</"
|
231 |
+
"strong> (eg. /blog)"
|
232 |
+
msgstr ""
|
233 |
+
|
234 |
+
#: themes/admin/Menu.php:109
|
235 |
+
#, php-format
|
236 |
+
msgid "Use the Google Tool to check rich snippets %sclick here%s"
|
237 |
+
msgstr ""
|
238 |
+
|
239 |
+
#: themes/admin/Menu.php:116
|
240 |
+
msgid ""
|
241 |
+
"Click \"go to user settings\" to setup the author box for each author you "
|
242 |
+
"have ( including per author Google Authorship)"
|
243 |
+
msgstr ""
|
244 |
+
|
245 |
+
#: themes/admin/Menu.php:119
|
246 |
+
msgid "Save settings"
|
247 |
+
msgstr ""
|
248 |
+
|
249 |
+
#: themes/admin/Menu.php:120
|
250 |
+
msgid "Go to user settings"
|
251 |
+
msgstr ""
|
252 |
+
|
253 |
+
#: themes/admin/UserSettings.php:3
|
254 |
+
msgid "Starbox Settings for this Author"
|
255 |
+
msgstr ""
|
256 |
+
|
257 |
+
#: themes/admin/UserSettings.php:15
|
258 |
+
msgid "Show the StarBox for this author"
|
259 |
+
msgstr ""
|
260 |
+
|
261 |
+
#: themes/admin/UserSettings.php:20
|
262 |
+
msgid "Change the Profile Image"
|
263 |
+
msgstr ""
|
264 |
+
|
265 |
+
#: themes/admin/UserSettings.php:23
|
266 |
+
msgid "File types: JPG, JPEG, GIF and PNG. Ideal image size is: 80x80"
|
267 |
+
msgstr ""
|
268 |
+
|
269 |
+
#: themes/admin/UserSettings.php:37
|
270 |
+
msgid "Upload"
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: themes/admin/UserSettings.php:38
|
274 |
+
msgid "Reset the uploaded image"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: themes/admin/UserSettings.php:39
|
278 |
+
#, php-format
|
279 |
+
msgid ""
|
280 |
+
"You can also set your image on %shttps://en.gravatar.com/%s for your email "
|
281 |
+
"address"
|
282 |
+
msgstr ""
|
283 |
+
|
284 |
+
#: themes/admin/UserSettings.php:46
|
285 |
+
msgid "Theme settings:"
|
286 |
+
msgstr ""
|
287 |
+
|
288 |
+
#: themes/admin/UserSettings.php:56
|
289 |
+
msgid "Default"
|
290 |
+
msgstr ""
|
291 |
+
|
292 |
+
#: themes/admin/UserSettings.php:57
|
293 |
+
msgid "Up"
|
294 |
+
msgstr ""
|
295 |
+
|
296 |
+
#: themes/admin/UserSettings.php:58
|
297 |
+
msgid "Down"
|
298 |
+
msgstr ""
|
299 |
+
|
300 |
+
#: themes/admin/UserSettings.php:61
|
301 |
+
msgid "The Author Box position"
|
302 |
+
msgstr ""
|
303 |
+
|
304 |
+
#: themes/admin/UserSettings.php:80
|
305 |
+
msgid "This Author's theme"
|
306 |
+
msgstr ""
|
307 |
+
|
308 |
+
#: themes/admin/UserSettings.php:83
|
309 |
+
msgid "Preview mode (change the theme)"
|
310 |
+
msgstr ""
|
311 |
+
|
312 |
+
#: themes/admin/UserSettings.php:94
|
313 |
+
msgid "Job settings:"
|
314 |
+
msgstr ""
|
315 |
+
|
316 |
+
#: themes/admin/UserSettings.php:96
|
317 |
+
msgid "Job Title:"
|
318 |
+
msgstr ""
|
319 |
+
|
320 |
+
#: themes/admin/UserSettings.php:97
|
321 |
+
msgid "Company:"
|
322 |
+
msgstr ""
|
323 |
+
|
324 |
+
#: themes/admin/UserSettings.php:98
|
325 |
+
msgid "Company URL:"
|
326 |
+
msgstr ""
|
327 |
+
|
328 |
+
#: themes/admin/UserSettings.php:103
|
329 |
+
msgid "Social settings:"
|
330 |
+
msgstr ""
|
331 |
+
|
332 |
+
#: themes/admin/UserSettings.php:105
|
333 |
+
msgid "To unlock social fields please enter your email:"
|
334 |
+
msgstr ""
|
335 |
+
|
336 |
+
#: themes/admin/UserSettings.php:123
|
337 |
+
msgid ""
|
338 |
+
"You will only subscribe to StarBox News (No spam). <br />We do not connect "
|
339 |
+
"your site to our server in any way. The plugin is stand-alone."
|
340 |
+
msgstr ""
|
341 |
+
|
342 |
+
#: themes/admin/UserSettings.php:127
|
343 |
+
msgid "Twitter:"
|
344 |
+
msgstr ""
|
345 |
+
|
346 |
+
#: themes/admin/UserSettings.php:128
|
347 |
+
msgid "Facebook:"
|
348 |
+
msgstr ""
|
349 |
+
|
350 |
+
#: themes/admin/UserSettings.php:129
|
351 |
+
msgid "Google +:"
|
352 |
+
msgstr ""
|
353 |
+
|
354 |
+
#: themes/admin/UserSettings.php:130
|
355 |
+
msgid "LinkedIn:"
|
356 |
+
msgstr ""
|
357 |
+
|
358 |
+
#: themes/admin/UserSettings.php:131
|
359 |
+
msgid "Klout:"
|
360 |
+
msgstr ""
|
361 |
+
|
362 |
+
#: themes/admin/UserSettings.php:132
|
363 |
+
msgid "Instagram:"
|
364 |
+
msgstr ""
|
365 |
+
|
366 |
+
#: themes/admin/UserSettings.php:133
|
367 |
+
msgid "Flickr:"
|
368 |
+
msgstr ""
|
369 |
+
|
370 |
+
#: themes/admin/UserSettings.php:134
|
371 |
+
msgid "Pinterest:"
|
372 |
+
msgstr ""
|
373 |
+
|
374 |
+
#: themes/admin/UserSettings.php:135
|
375 |
+
msgid "Tumblr:"
|
376 |
+
msgstr ""
|
377 |
+
|
378 |
+
#: themes/admin/UserSettings.php:136
|
379 |
+
msgid "YouTube:"
|
380 |
+
msgstr ""
|
381 |
+
|
382 |
+
#: themes/admin/UserSettings.php:137
|
383 |
+
msgid "Vimeo:"
|
384 |
+
msgstr ""
|
models/Frontend.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
class ABH_Models_Frontend {
|
4 |
|
5 |
public $author;
|
6 |
-
public $details;
|
7 |
public $category = null;
|
8 |
public $position;
|
9 |
public $single = true;
|
@@ -21,10 +21,41 @@ class ABH_Models_Frontend {
|
|
21 |
|
22 |
$content = '';
|
23 |
|
24 |
-
if (isset($this->author) && isset($this->author->ID)) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
if (!isset($this->author->user_description))
|
26 |
$this->author->user_description = '';
|
27 |
|
|
|
28 |
if ($this->details['abh_theme'] == 'default')
|
29 |
$this->details['abh_theme'] = ABH_Classes_Tools::getOption('abh_theme');
|
30 |
|
@@ -51,9 +82,9 @@ class ABH_Models_Frontend {
|
|
51 |
*/
|
52 |
public function getProfileImage() {
|
53 |
if (isset($this->details['abh_gravatar']) && $this->details['abh_gravatar'] <> '' && file_exists(_ABH_GRAVATAR_DIR_ . $this->details['abh_gravatar'])) {
|
54 |
-
return '<img src="' . _ABH_GRAVATAR_URL_ . $this->details['abh_gravatar'] . '" class="photo" width="
|
55 |
} else {
|
56 |
-
return get_avatar($this->author->ID,
|
57 |
}
|
58 |
}
|
59 |
|
@@ -62,18 +93,42 @@ class ABH_Models_Frontend {
|
|
62 |
* @return string
|
63 |
*/
|
64 |
private function showAuthorDescription() {
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
|
67 |
$content = '
|
68 |
-
<section class="' . (($this->single) ? 'vcard' : '') . ' abh_about_tab abh_tab" style="display:block">
|
69 |
-
<div class="abh_image">
|
70 |
-
|
71 |
-
|
72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
<div class="abh_text">
|
74 |
-
<
|
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>
|
78 |
</section>';
|
79 |
return $content;
|
@@ -84,16 +139,30 @@ class ABH_Models_Frontend {
|
|
84 |
* @return string
|
85 |
*/
|
86 |
private function showAuthorPosts() {
|
87 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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">
|
96 |
-
<
|
97 |
<div class="abh_description note" >' . $this->getLatestPosts() . '</div>
|
98 |
</div>
|
99 |
</section>';
|
@@ -104,53 +173,61 @@ class ABH_Models_Frontend {
|
|
104 |
* Get the social icon for the author
|
105 |
* @return string
|
106 |
*/
|
107 |
-
private function getSocial() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
$content = '';
|
109 |
$count = 0;
|
110 |
-
$nofollow = (!$this->details['abh_nofollow_social'] == 0) ? 'rel="nofollow"' : '';
|
111 |
|
112 |
if (isset($this->details['abh_facebook']) && $this->details['abh_facebook'] <> '') {
|
113 |
$count++;
|
114 |
-
$content .= '<a href="' . ((strpos($this->details['abh_facebook'], 'http') === false) ? 'http://facebook.com/' : '') . $this->details['abh_facebook'] . '" title="' . __('Facebook', _ABH_PLUGIN_NAME_) . '" class="abh_facebook" target="_blank" ' . $nofollow . '></a>';
|
115 |
}
|
116 |
if (isset($this->details['abh_twitter']) && $this->details['abh_twitter'] <> '') {
|
117 |
$count++;
|
118 |
-
$content .= '<a href="' . ((strpos($this->details['abh_twitter'], 'http') === false) ? 'http://twitter.com/' : '') . $this->details['abh_twitter'] . '" title="' . __('Twitter', _ABH_PLUGIN_NAME_) . '" class="abh_twitter" target="_blank" ' . $nofollow . '></a>';
|
119 |
-
}
|
120 |
-
if (isset($this->details['abh_google']) && $this->details['abh_google'] <> '') {
|
121 |
-
$count++;
|
122 |
-
if ($this->single)
|
123 |
-
$content .= '<a href="' . ((strpos($this->details['abh_google'], 'http') === false) ? 'http://plus.google.com/' : '') . $this->details['abh_google'] . '?rel=author" title="' . __('Google Plus', _ABH_PLUGIN_NAME_) . '" class="abh_google" rel="author" target="_blank" ' . $nofollow . '></a>';
|
124 |
-
else
|
125 |
-
$content .= '<a href="' . ((strpos($this->details['abh_google'], 'http') === false) ? 'http://plus.google.com/' : '') . $this->details['abh_google'] . '" title="' . __('Google Plus', _ABH_PLUGIN_NAME_) . '" class="abh_google" target="_blank" ' . $nofollow . '></a>';
|
126 |
}
|
127 |
if (isset($this->details['abh_linkedin']) && $this->details['abh_linkedin'] <> '') {
|
128 |
$count++;
|
129 |
-
$content .= '<a href="' . ((strpos($this->details['abh_linkedin'], 'http') === false) ? 'http://www.linkedin.com/in/' : '') . $this->details['abh_linkedin'] . '" title="' . __('LinkedIn', _ABH_PLUGIN_NAME_) . '" class="abh_linkedin" target="_blank" ' . $nofollow . '></a>';
|
130 |
}
|
131 |
if (isset($this->details['abh_instagram']) && $this->details['abh_instagram'] <> '') {
|
132 |
$count++;
|
133 |
-
$content .= '<a href="' . ((strpos($this->details['abh_instagram'], 'http') === false) ? 'http://instagram.com/' : '') . $this->details['abh_instagram'] . '" title="' . __('Instagram', _ABH_PLUGIN_NAME_) . '" class="abh_instagram" target="_blank" ' . $nofollow . '></a>';
|
134 |
}
|
135 |
if (isset($this->details['abh_flickr']) && $this->details['abh_flickr'] <> '') {
|
136 |
$count++;
|
137 |
-
$content .= '<a href="' . ((strpos($this->details['abh_flickr'], 'http') === false) ? 'http://www.flickr.com/photos/' : '') . $this->details['abh_flickr'] . '" title="' . __('Flickr', _ABH_PLUGIN_NAME_) . '" class="abh_flickr" target="_blank" ' . $nofollow . '></a>';
|
138 |
}
|
139 |
if (isset($this->details['abh_pinterest']) && $this->details['abh_pinterest'] <> '') {
|
140 |
$count++;
|
141 |
-
$content .= '<a href="' . ((strpos($this->details['abh_pinterest'], 'http') === false) ? 'http://pinterest.com/' : '') . $this->details['abh_pinterest'] . '" title="' . __('Pinterest', _ABH_PLUGIN_NAME_) . '" class="abh_pinterest" target="_blank" ' . $nofollow . '></a>';
|
142 |
}
|
143 |
if (isset($this->details['abh_tumblr']) && $this->details['abh_tumblr'] <> '') {
|
144 |
$count++;
|
145 |
-
$content .= '<a href="' . ((strpos($this->details['abh_tumblr'], 'http') === false) ? 'http://' . $this->details['abh_tumblr'] . '.tumblr.com/' : $this->details['abh_tumblr']) . '" title="' . __('Tumblr', _ABH_PLUGIN_NAME_) . '" class="abh_tumblr" target="_blank" ' . $nofollow . '></a>';
|
146 |
}
|
147 |
if (isset($this->details['abh_youtube']) && $this->details['abh_youtube'] <> '') {
|
148 |
$count++;
|
149 |
-
$content .= '<a href="' . ((strpos($this->details['abh_youtube'], 'http') === false) ? 'http://www.youtube.com/user/' : '') . $this->details['abh_youtube'] . '" title="' . __('YouTube', _ABH_PLUGIN_NAME_) . '" class="abh_youtube" target="_blank" ' . $nofollow . '></a>';
|
150 |
}
|
151 |
if (isset($this->details['abh_vimeo']) && $this->details['abh_vimeo'] <> '') {
|
152 |
$count++;
|
153 |
-
$content .= '<a href="' . ((strpos($this->details['abh_vimeo'], 'http') === false) ? 'http://vimeo.com/' : '') . $this->details['abh_vimeo'] . '" title="' . __('Vimeo', _ABH_PLUGIN_NAME_) . '" class="abh_vimeo" target="_blank" ' . $nofollow . '></a>';
|
154 |
}
|
155 |
|
156 |
|
@@ -289,4 +366,29 @@ class ABH_Models_Frontend {
|
|
289 |
return '<meta property="article:author" content="' . ((strpos($this->details['abh_facebook'], 'http') === false) ? 'http://facebook.com/' : '') . $this->details['abh_facebook'] . '" />' . "\n";
|
290 |
}
|
291 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
292 |
}
|
3 |
class ABH_Models_Frontend {
|
4 |
|
5 |
public $author;
|
6 |
+
public $details = null;
|
7 |
public $category = null;
|
8 |
public $position;
|
9 |
public $single = true;
|
21 |
|
22 |
$content = '';
|
23 |
|
24 |
+
if (isset($this->author) && isset($this->author->ID) ) {
|
25 |
+
|
26 |
+
if(!$this->details) {
|
27 |
+
$this->details = array(
|
28 |
+
'abh_use' => 1,
|
29 |
+
'abh_nofollow_social' => 1,
|
30 |
+
'abh_noopener_social' => 0,
|
31 |
+
'abh_noreferrer_social' => 0,
|
32 |
+
// --
|
33 |
+
'abh_title' => "",
|
34 |
+
'abh_company' => "",
|
35 |
+
'abh_company_url' => "",
|
36 |
+
'abh_extra_description' => "",
|
37 |
+
// --
|
38 |
+
'abh_socialtext' => "",
|
39 |
+
'abh_twitter' => "",
|
40 |
+
'abh_facebook' => "",
|
41 |
+
'abh_linkedin' => "",
|
42 |
+
'abh_instagram' => "",
|
43 |
+
'abh_flickr' => "",
|
44 |
+
'abh_pinterest' => "",
|
45 |
+
'abh_tumblr' => "",
|
46 |
+
'abh_youtube' => "",
|
47 |
+
'abh_vimeo' => "",
|
48 |
+
'abh_klout' => "",
|
49 |
+
'abh_gravatar' => "",
|
50 |
+
'abh_theme' => "default",
|
51 |
+
'abh_position' => "default",
|
52 |
+
);
|
53 |
+
}
|
54 |
+
|
55 |
if (!isset($this->author->user_description))
|
56 |
$this->author->user_description = '';
|
57 |
|
58 |
+
|
59 |
if ($this->details['abh_theme'] == 'default')
|
60 |
$this->details['abh_theme'] = ABH_Classes_Tools::getOption('abh_theme');
|
61 |
|
82 |
*/
|
83 |
public function getProfileImage() {
|
84 |
if (isset($this->details['abh_gravatar']) && $this->details['abh_gravatar'] <> '' && file_exists(_ABH_GRAVATAR_DIR_ . $this->details['abh_gravatar'])) {
|
85 |
+
return '<img src="' . _ABH_GRAVATAR_URL_ . $this->details['abh_gravatar'] . '" class="photo" width="' . ABH_IMAGESIZE . '" alt="' . $this->author->display_name . '" />';
|
86 |
} else {
|
87 |
+
return get_avatar($this->author->ID, ABH_IMAGESIZE);
|
88 |
}
|
89 |
}
|
90 |
|
93 |
* @return string
|
94 |
*/
|
95 |
private function showAuthorDescription() {
|
96 |
+
|
97 |
+
$rel = array();
|
98 |
+
$nofollow = '';
|
99 |
+
if(isset($this->details['abh_nofollow_social']) && $this->details['abh_nofollow_social']){
|
100 |
+
$rel[] = 'nofollow';
|
101 |
+
}
|
102 |
+
if(isset($this->details['abh_noopener_social']) && $this->details['abh_noopener_social']){
|
103 |
+
$rel[] = 'noopener';
|
104 |
+
}
|
105 |
+
if(isset($this->details['abh_noreferrer_social']) && $this->details['abh_noreferrer_social']){
|
106 |
+
$rel[] = 'noreferrer';
|
107 |
+
}
|
108 |
+
|
109 |
+
if(!empty($rel)){
|
110 |
+
$nofollow = 'rel="'.join(' ', $rel).'"';
|
111 |
+
}
|
112 |
|
113 |
$content = '
|
114 |
+
<section class="' . (($this->single) ? 'vcard author' : '') . ' abh_about_tab abh_tab" ' . (($this->single) ? 'itemscope itemprop="author" itemtype="http://schema.org/Person"' : '') . ' style="display:block">
|
115 |
+
<div class="abh_image" ' . (($this->single) ? 'itemscope itemtype="http://schema.org/ImageObject"' : '') . '>';
|
116 |
+
|
117 |
+
if (ABH_AUTHORLINK) {
|
118 |
+
if ($this->author->user_url) {
|
119 |
+
$content .= '<a href = "' . $this->author->user_url . '" class="url" target = "_blank" title = "' . $this->author->display_name . '" ' . $nofollow . ' > ' . $this->getProfileImage() . '</a > ';
|
120 |
+
} else {
|
121 |
+
$content .= '<a href = "' . get_author_posts_url($this->author->ID) . '" class="url" title = "' . $this->author->display_name . '" > ' . $this->getProfileImage() . '</a > ';
|
122 |
+
}
|
123 |
+
} else {
|
124 |
+
$content .= $this->getProfileImage();
|
125 |
+
}
|
126 |
+
$content .= '</div>
|
127 |
+
<div class="abh_social"> ' . $this->getSocial($this->single) . '</div>
|
128 |
<div class="abh_text">
|
129 |
+
<div class="abh_name fn name" ' . (($this->single) ? 'itemprop="name"' : '') . ' ' . ((ABH_Classes_Tools::getOption('abh_titlefontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_titlefontsize') . ' !important;"' : '') . '>' . (ABH_AUTHORLINK ? (($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>') : $this->author->display_name) . '</div>
|
130 |
<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>
|
131 |
+
<div class="description note abh_description" ' . (($this->single) ? 'itemprop="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>
|
132 |
</div>
|
133 |
</section>';
|
134 |
return $content;
|
139 |
* @return string
|
140 |
*/
|
141 |
private function showAuthorPosts() {
|
142 |
+
$rel = array();
|
143 |
+
$nofollow = '';
|
144 |
+
if(isset($this->details['abh_nofollow_social']) && $this->details['abh_nofollow_social']){
|
145 |
+
$rel[] = 'nofollow';
|
146 |
+
}
|
147 |
+
if(isset($this->details['abh_noopener_social']) && $this->details['abh_noopener_social']){
|
148 |
+
$rel[] = 'noopener';
|
149 |
+
}
|
150 |
+
if(isset($this->details['abh_noreferrer_social']) && $this->details['abh_noreferrer_social']){
|
151 |
+
$rel[] = 'noreferrer';
|
152 |
+
}
|
153 |
+
|
154 |
+
if(!empty($rel)){
|
155 |
+
$nofollow = 'rel="'.join(' ', $rel).'"';
|
156 |
+
}
|
157 |
|
158 |
$content = '
|
159 |
<section class="abh_posts_tab abh_tab" >
|
160 |
<div class="abh_image">
|
161 |
+
' . (ABH_AUTHORLINK ? (($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>') : $this->getProfileImage()) . '
|
162 |
</div>
|
163 |
<div class="abh_social"> ' . $this->getSocial() . '</div>
|
164 |
<div class="abh_text">
|
165 |
+
<div class="abh_name" ' . ((ABH_Classes_Tools::getOption('abh_titlefontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_titlefontsize') . ' !important;"' : '') . '>' . sprintf(__('Latest posts by %s', _ABH_PLUGIN_NAME_), $this->author->display_name) . ' <span class="abh_allposts">' . (ABH_AUTHORLINK ? '(<a href="' . get_author_posts_url($this->author->ID) . '">' . __('see all', _ABH_PLUGIN_NAME_) . '</a>)' : '') . '</span></div>
|
166 |
<div class="abh_description note" >' . $this->getLatestPosts() . '</div>
|
167 |
</div>
|
168 |
</section>';
|
173 |
* Get the social icon for the author
|
174 |
* @return string
|
175 |
*/
|
176 |
+
private function getSocial($itemprop = false) {
|
177 |
+
$rel = array();
|
178 |
+
$nofollow = '';
|
179 |
+
if(isset($this->details['abh_nofollow_social']) && $this->details['abh_nofollow_social']){
|
180 |
+
$rel[] = 'nofollow';
|
181 |
+
}
|
182 |
+
if(isset($this->details['abh_noopener_social']) && $this->details['abh_noopener_social']){
|
183 |
+
$rel[] = 'noopener';
|
184 |
+
}
|
185 |
+
if(isset($this->details['abh_noreferrer_social']) && $this->details['abh_noreferrer_social']){
|
186 |
+
$rel[] = 'noreferrer';
|
187 |
+
}
|
188 |
+
|
189 |
+
if(!empty($rel)){
|
190 |
+
$nofollow = 'rel="'.join(' ', $rel).'"';
|
191 |
+
}
|
192 |
+
|
193 |
$content = '';
|
194 |
$count = 0;
|
|
|
195 |
|
196 |
if (isset($this->details['abh_facebook']) && $this->details['abh_facebook'] <> '') {
|
197 |
$count++;
|
198 |
+
$content .= '<a ' . (($itemprop) ? 'itemprop="sameAs"' : '') . ' href="' . ((strpos($this->details['abh_facebook'], 'http') === false) ? 'http://facebook.com/' : '') . $this->details['abh_facebook'] . '" title="' . __('Facebook', _ABH_PLUGIN_NAME_) . '" class="abh_facebook" target="_blank" ' . $nofollow . '></a>';
|
199 |
}
|
200 |
if (isset($this->details['abh_twitter']) && $this->details['abh_twitter'] <> '') {
|
201 |
$count++;
|
202 |
+
$content .= '<a ' . (($itemprop) ? 'itemprop="sameAs"' : '') . ' href="' . ((strpos($this->details['abh_twitter'], 'http') === false) ? 'http://twitter.com/' : '') . $this->details['abh_twitter'] . '" title="' . __('Twitter', _ABH_PLUGIN_NAME_) . '" class="abh_twitter" target="_blank" ' . $nofollow . '></a>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
}
|
204 |
if (isset($this->details['abh_linkedin']) && $this->details['abh_linkedin'] <> '') {
|
205 |
$count++;
|
206 |
+
$content .= '<a ' . (($itemprop) ? 'itemprop="sameAs"' : '') . ' href="' . ((strpos($this->details['abh_linkedin'], 'http') === false) ? 'http://www.linkedin.com/in/' : '') . $this->details['abh_linkedin'] . '" title="' . __('LinkedIn', _ABH_PLUGIN_NAME_) . '" class="abh_linkedin" target="_blank" ' . $nofollow . '></a>';
|
207 |
}
|
208 |
if (isset($this->details['abh_instagram']) && $this->details['abh_instagram'] <> '') {
|
209 |
$count++;
|
210 |
+
$content .= '<a ' . (($itemprop) ? 'itemprop="sameAs"' : '') . ' href="' . ((strpos($this->details['abh_instagram'], 'http') === false) ? 'http://instagram.com/' : '') . $this->details['abh_instagram'] . '" title="' . __('Instagram', _ABH_PLUGIN_NAME_) . '" class="abh_instagram" target="_blank" ' . $nofollow . '></a>';
|
211 |
}
|
212 |
if (isset($this->details['abh_flickr']) && $this->details['abh_flickr'] <> '') {
|
213 |
$count++;
|
214 |
+
$content .= '<a ' . (($itemprop) ? 'itemprop="sameAs"' : '') . ' href="' . ((strpos($this->details['abh_flickr'], 'http') === false) ? 'http://www.flickr.com/photos/' : '') . $this->details['abh_flickr'] . '" title="' . __('Flickr', _ABH_PLUGIN_NAME_) . '" class="abh_flickr" target="_blank" ' . $nofollow . '></a>';
|
215 |
}
|
216 |
if (isset($this->details['abh_pinterest']) && $this->details['abh_pinterest'] <> '') {
|
217 |
$count++;
|
218 |
+
$content .= '<a ' . (($itemprop) ? 'itemprop="sameAs"' : '') . ' href="' . ((strpos($this->details['abh_pinterest'], 'http') === false) ? 'http://pinterest.com/' : '') . $this->details['abh_pinterest'] . '" title="' . __('Pinterest', _ABH_PLUGIN_NAME_) . '" class="abh_pinterest" target="_blank" ' . $nofollow . '></a>';
|
219 |
}
|
220 |
if (isset($this->details['abh_tumblr']) && $this->details['abh_tumblr'] <> '') {
|
221 |
$count++;
|
222 |
+
$content .= '<a ' . (($itemprop) ? 'itemprop="sameAs"' : '') . ' href="' . ((strpos($this->details['abh_tumblr'], 'http') === false) ? 'http://' . $this->details['abh_tumblr'] . '.tumblr.com/' : $this->details['abh_tumblr']) . '" title="' . __('Tumblr', _ABH_PLUGIN_NAME_) . '" class="abh_tumblr" target="_blank" ' . $nofollow . '></a>';
|
223 |
}
|
224 |
if (isset($this->details['abh_youtube']) && $this->details['abh_youtube'] <> '') {
|
225 |
$count++;
|
226 |
+
$content .= '<a ' . (($itemprop) ? 'itemprop="sameAs"' : '') . ' href="' . ((strpos($this->details['abh_youtube'], 'http') === false) ? 'http://www.youtube.com/user/' : '') . $this->details['abh_youtube'] . '" title="' . __('YouTube', _ABH_PLUGIN_NAME_) . '" class="abh_youtube" target="_blank" ' . $nofollow . '></a>';
|
227 |
}
|
228 |
if (isset($this->details['abh_vimeo']) && $this->details['abh_vimeo'] <> '') {
|
229 |
$count++;
|
230 |
+
$content .= '<a ' . (($itemprop) ? 'itemprop="sameAs"' : '') . ' href="' . ((strpos($this->details['abh_vimeo'], 'http') === false) ? 'http://vimeo.com/' : '') . $this->details['abh_vimeo'] . '" title="' . __('Vimeo', _ABH_PLUGIN_NAME_) . '" class="abh_vimeo" target="_blank" ' . $nofollow . '></a>';
|
231 |
}
|
232 |
|
233 |
|
366 |
return '<meta property="article:author" content="' . ((strpos($this->details['abh_facebook'], 'http') === false) ? 'http://facebook.com/' : '') . $this->details['abh_facebook'] . '" />' . "\n";
|
367 |
}
|
368 |
|
369 |
+
/**
|
370 |
+
* Check if the page is a valid HTML page
|
371 |
+
* @return bool
|
372 |
+
*/
|
373 |
+
public function isHtmlHeader() {
|
374 |
+
$headers = headers_list();
|
375 |
+
|
376 |
+
foreach ($headers as $index => $value) {
|
377 |
+
if (strpos($value, ':') !== false) {
|
378 |
+
$exploded = @explode(': ', $value);
|
379 |
+
if (@count((array)$exploded) > 1) {
|
380 |
+
$headers[$exploded[0]] = $exploded[1];
|
381 |
+
}
|
382 |
+
}
|
383 |
+
}
|
384 |
+
if (isset($headers['Content-Type'])) {
|
385 |
+
if (strpos($headers['Content-Type'], 'text/html') !== false) {
|
386 |
+
return true;
|
387 |
+
}
|
388 |
+
} else {
|
389 |
+
return false;
|
390 |
+
}
|
391 |
+
|
392 |
+
return false;
|
393 |
+
}
|
394 |
}
|
models/UserSettings.php
CHANGED
@@ -31,10 +31,12 @@ class ABH_Models_UserSettings {
|
|
31 |
$img = new Model_ABH_Image();
|
32 |
/* Transform the image into icon */
|
33 |
$img->openImage($out['gravatar']);
|
34 |
-
$img->resizeImage(
|
35 |
$img->saveImage();
|
36 |
|
37 |
-
|
|
|
|
|
38 |
|
39 |
$out['message'] .= __("The gravatar has been updated.", _ABH_PLUGIN_NAME_);
|
40 |
|
@@ -57,19 +59,26 @@ class Model_ABH_Image {
|
|
57 |
var $imgH;
|
58 |
var $image;
|
59 |
var $quality = 100;
|
|
|
|
|
|
|
|
|
|
|
60 |
|
61 |
-
function openImage($image) {
|
62 |
$this->image = $image;
|
63 |
|
64 |
-
if (!file_exists($image))
|
65 |
-
|
|
|
|
|
66 |
|
67 |
-
$imageData = getimagesize($image);
|
68 |
|
69 |
if (!$imageData) {
|
70 |
-
|
71 |
} else {
|
72 |
-
$this->imageType = image_type_to_mime_type($imageData[2]);
|
73 |
|
74 |
switch ($this->imageType) {
|
75 |
case 'image/gif':
|
@@ -93,18 +102,18 @@ class Model_ABH_Image {
|
|
93 |
|
94 |
// CHANGED EXCEPTION TO RETURN FALSE
|
95 |
default:
|
96 |
-
|
97 |
}
|
98 |
}
|
99 |
}
|
100 |
|
101 |
-
function saveImage() {
|
102 |
switch ($this->imageType) {
|
103 |
case 'image/jpg':
|
104 |
case 'image/jpeg':
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
break;
|
109 |
case 'image/gif':
|
110 |
if (function_exists('imagegif')) {
|
@@ -126,8 +135,9 @@ class Model_ABH_Image {
|
|
126 |
}
|
127 |
}
|
128 |
|
129 |
-
function resizeImage($maxwidth, $maxheight, $preserveAspect = true) {
|
130 |
-
if(!function_exists('imagesx')){
|
|
|
131 |
return;
|
132 |
}
|
133 |
|
@@ -153,19 +163,19 @@ class Model_ABH_Image {
|
|
153 |
$this->applyTransparency($dest);
|
154 |
// CHANGED EXCEPTION TO RETURN FALSE
|
155 |
if (imagecopyresampled($dest, $this->imgH, 0, 0, 0, 0, $newwidth, $newheight, $width, $height) == false)
|
156 |
-
|
157 |
} else {
|
158 |
$dest = imagecreatetruecolor($maxwidth, $maxheight);
|
159 |
$this->applyTransparency($dest);
|
160 |
// CHANGED EXCEPTION TO RETURN FALSE
|
161 |
if (imagecopyresampled($dest, $this->imgH, 0, 0, 0, 0, $maxwidth, $maxheight, $width, $height) == false)
|
162 |
-
|
163 |
}
|
164 |
$this->imgH = $dest;
|
165 |
}
|
166 |
}
|
167 |
|
168 |
-
function applyTransparency($imgH) {
|
169 |
if ($this->imageType == 'image/png' || $this->imageType == 'image/gif') {
|
170 |
imagealphablending($imgH, false);
|
171 |
$col = imagecolorallocatealpha($imgH, 255, 255, 255, 127);
|
@@ -174,7 +184,7 @@ class Model_ABH_Image {
|
|
174 |
}
|
175 |
}
|
176 |
|
177 |
-
function checkFunctions() {
|
178 |
return function_exists('gd_info');
|
179 |
}
|
180 |
|
31 |
$img = new Model_ABH_Image();
|
32 |
/* Transform the image into icon */
|
33 |
$img->openImage($out['gravatar']);
|
34 |
+
$img->resizeImage(ABH_IMAGESIZE, ABH_IMAGESIZE);
|
35 |
$img->saveImage();
|
36 |
|
37 |
+
if(!$img->isError()) {
|
38 |
+
copy($img->image, strtolower($out['gravatar']));
|
39 |
+
}
|
40 |
|
41 |
$out['message'] .= __("The gravatar has been updated.", _ABH_PLUGIN_NAME_);
|
42 |
|
59 |
var $imgH;
|
60 |
var $image;
|
61 |
var $quality = 100;
|
62 |
+
var $error = false;
|
63 |
+
|
64 |
+
public function isError(){
|
65 |
+
return $this->error;
|
66 |
+
}
|
67 |
|
68 |
+
public function openImage($image) {
|
69 |
$this->image = $image;
|
70 |
|
71 |
+
if (!file_exists($image)) {
|
72 |
+
$this->error = true;
|
73 |
+
return;
|
74 |
+
}
|
75 |
|
76 |
+
$imageData = @getimagesize($image);
|
77 |
|
78 |
if (!$imageData) {
|
79 |
+
$this->error = true;
|
80 |
} else {
|
81 |
+
$this->imageType = @image_type_to_mime_type($imageData[2]);
|
82 |
|
83 |
switch ($this->imageType) {
|
84 |
case 'image/gif':
|
102 |
|
103 |
// CHANGED EXCEPTION TO RETURN FALSE
|
104 |
default:
|
105 |
+
$this->error = true;
|
106 |
}
|
107 |
}
|
108 |
}
|
109 |
|
110 |
+
public function saveImage() {
|
111 |
switch ($this->imageType) {
|
112 |
case 'image/jpg':
|
113 |
case 'image/jpeg':
|
114 |
+
if (function_exists('imagejpeg')) {
|
115 |
+
return @imagejpeg($this->imgH, $this->image, $this->quality);
|
116 |
+
}
|
117 |
break;
|
118 |
case 'image/gif':
|
119 |
if (function_exists('imagegif')) {
|
135 |
}
|
136 |
}
|
137 |
|
138 |
+
public function resizeImage($maxwidth, $maxheight, $preserveAspect = true) {
|
139 |
+
if (!function_exists('imagesx')) {
|
140 |
+
$this->error = true;
|
141 |
return;
|
142 |
}
|
143 |
|
163 |
$this->applyTransparency($dest);
|
164 |
// CHANGED EXCEPTION TO RETURN FALSE
|
165 |
if (imagecopyresampled($dest, $this->imgH, 0, 0, 0, 0, $newwidth, $newheight, $width, $height) == false)
|
166 |
+
$this->error = true;
|
167 |
} else {
|
168 |
$dest = imagecreatetruecolor($maxwidth, $maxheight);
|
169 |
$this->applyTransparency($dest);
|
170 |
// CHANGED EXCEPTION TO RETURN FALSE
|
171 |
if (imagecopyresampled($dest, $this->imgH, 0, 0, 0, 0, $maxwidth, $maxheight, $width, $height) == false)
|
172 |
+
$this->error = true;
|
173 |
}
|
174 |
$this->imgH = $dest;
|
175 |
}
|
176 |
}
|
177 |
|
178 |
+
public function applyTransparency($imgH) {
|
179 |
if ($this->imageType == 'image/png' || $this->imageType == 'image/gif') {
|
180 |
imagealphablending($imgH, false);
|
181 |
$col = imagecolorallocatealpha($imgH, 255, 255, 255, 127);
|
184 |
}
|
185 |
}
|
186 |
|
187 |
+
public function checkFunctions() {
|
188 |
return function_exists('gd_info');
|
189 |
}
|
190 |
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: cifi, calinvingan, florinmuresan
|
3 |
Tags: author,author box,author profile fields,author social icons,bio,profile fields,
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to:
|
6 |
Stable tag: trunk
|
7 |
Donate link: http://starbox.squirrly.co/starbox-the-author-box-for-humans/
|
8 |
License: GPLv2 or later
|
@@ -102,6 +102,80 @@ 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.9 =
|
106 |
* Fixed drop-down see all click event
|
107 |
|
2 |
Contributors: cifi, calinvingan, florinmuresan
|
3 |
Tags: author,author box,author profile fields,author social icons,bio,profile fields,
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 5.7
|
6 |
Stable tag: trunk
|
7 |
Donate link: http://starbox.squirrly.co/starbox-the-author-box-for-humans/
|
8 |
License: GPLv2 or later
|
102 |
16. Author Box with Drop-Down Theme
|
103 |
|
104 |
== Changelog ==
|
105 |
+
= 3.4.3 =
|
106 |
+
* Added compatibility with WP 5.7.2
|
107 |
+
|
108 |
+
= 3.4.2 =
|
109 |
+
* Fixed the wp-content URL when WP_CONTENT_URL is defined and UPLOAD is not custom
|
110 |
+
* Added compatibility with WP 5.5.1
|
111 |
+
|
112 |
+
= 3.4.0 =
|
113 |
+
* Added compatibility with WP 5.5
|
114 |
+
* Added compatibility with custom UPLOAD paths
|
115 |
+
|
116 |
+
= 3.3.4 =
|
117 |
+
* Load jQuery if not queued
|
118 |
+
* Added Compatilibty with more WP themes
|
119 |
+
* Author Box Compatible with WordPress 5.4.1
|
120 |
+
|
121 |
+
= 3.3.3 =
|
122 |
+
* Author Box Compatible with WordPress 5.4
|
123 |
+
* Fixed the images issue in frontend
|
124 |
+
* Fixed the Dropbox CSS issue with the new tags
|
125 |
+
|
126 |
+
= 3.3.2 =
|
127 |
+
* Removed header H3 and H4 from Author Box
|
128 |
+
* Hide duplicate author box from more themes
|
129 |
+
|
130 |
+
= 3.3.1 =
|
131 |
+
* Updated view for default theme
|
132 |
+
* Don't show authors on api request
|
133 |
+
* Fixed warnings when user doesn't have Bio
|
134 |
+
|
135 |
+
= 3.3.0 =
|
136 |
+
* Added the Author Schema for 2020 in vcard
|
137 |
+
* CSS compatibility update for more themes
|
138 |
+
|
139 |
+
= 3.2.9 =
|
140 |
+
* Compatible with WordPress 5.3.2
|
141 |
+
|
142 |
+
= 3.2.8 =
|
143 |
+
* Compatible with WordPress 5.3.1
|
144 |
+
* Added noopener and noreferrer options for social media links
|
145 |
+
* Fixed compatibility with PHP 7.4
|
146 |
+
|
147 |
+
= 3.2.8 =
|
148 |
+
* Compatible with WordPress 5.3
|
149 |
+
* Fixed the wp-content/uploads URL error for HTTPS websites.
|
150 |
+
* Update the shortcode with order and orderby params
|
151 |
+
|
152 |
+
= 3.2.6 =
|
153 |
+
* Compatible with WordPress 5.2.1
|
154 |
+
|
155 |
+
= 3.2.5 =
|
156 |
+
* Fixed the Image upload when the PHP gd extension is missing
|
157 |
+
|
158 |
+
= 3.2.4 =
|
159 |
+
* Added ABH_AUTHORLINK constant to hide the author link
|
160 |
+
* Added ABH_IMAGESIZE constant to set the author image size
|
161 |
+
|
162 |
+
= 3.2.3 =
|
163 |
+
* Changes the resize image to 250px
|
164 |
+
* Compatible with WordPress 5.1.1
|
165 |
+
|
166 |
+
= 3.2.2 =
|
167 |
+
* Added target option in links
|
168 |
+
* Compatible with WordPress 5.1
|
169 |
+
|
170 |
+
= 3.2.1 =
|
171 |
+
* Compatible with WordPress 5.0.3
|
172 |
+
* Fixed image upload for gravatar when image has caps chars in the file name
|
173 |
+
|
174 |
+
= 3.2.0 =
|
175 |
+
* Compatible with WordPress 5.0
|
176 |
+
* Fixed gravatar directory in case there are no write permissions in uploads dir
|
177 |
+
* Fixed CSS issue and compatibilities with more themes
|
178 |
+
|
179 |
= 3.1.9 =
|
180 |
* Fixed drop-down see all click event
|
181 |
|
starbox.php
CHANGED
@@ -1,14 +1,17 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
-
* Copyright (c)
|
4 |
* The copyrights to the software code in this file are licensed under the (revised) BSD open source license.
|
5 |
*
|
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.
|
10 |
* Author URI: https://www.squirrly.co/wordpress-seo-by-squirrly
|
11 |
-
* License:
|
|
|
|
|
|
|
12 |
*
|
13 |
* This program is free software; you can redistribute it and/or modify
|
14 |
* it under the terms of the GNU General Public License as published by
|
@@ -22,7 +25,7 @@
|
|
22 |
*/
|
23 |
|
24 |
/* SET THE CURRENT VERSION ABOVE AND BELOW */
|
25 |
-
define('ABH_VERSION', '3.
|
26 |
|
27 |
if (!defined('ABHP_VERSION')) {
|
28 |
|
1 |
<?php
|
2 |
/*
|
3 |
+
* Copyright (c) 2021, Squirrly Limited.
|
4 |
* The copyrights to the software code in this file are licensed under the (revised) BSD open source license.
|
5 |
*
|
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.4.3
|
10 |
* Author URI: https://www.squirrly.co/wordpress-seo-by-squirrly
|
11 |
+
* License: GPLv2 or later
|
12 |
+
* License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
13 |
+
* Text Domain: starbox
|
14 |
+
* Domain Path: /languages
|
15 |
*
|
16 |
* This program is free software; you can redistribute it and/or modify
|
17 |
* it under the terms of the GNU General Public License as published by
|
25 |
*/
|
26 |
|
27 |
/* SET THE CURRENT VERSION ABOVE AND BELOW */
|
28 |
+
define('ABH_VERSION', '3.4.3');
|
29 |
|
30 |
if (!defined('ABHP_VERSION')) {
|
31 |
|
themes/admin/UserSettings.php
CHANGED
@@ -25,11 +25,11 @@
|
|
25 |
<p><span class="sq_settings_info"><?php echo ((defined('ABH_MESSAGE_FAVICON')) ? ABH_MESSAGE_FAVICON : '') ?></span></p>
|
26 |
<div>
|
27 |
<?php if (isset($view->author['abh_gravatar']) && $view->author['abh_gravatar'] <> '' && file_exists(_ABH_GRAVATAR_DIR_ . $view->author['abh_gravatar'])) { ?>
|
28 |
-
<img src="<?php echo _ABH_GRAVATAR_URL_ . $view->author['abh_gravatar'] . '?' . time() ?>" width="
|
29 |
<?php
|
30 |
} else {
|
31 |
|
32 |
-
echo get_avatar($view->user->ID,
|
33 |
}
|
34 |
?>
|
35 |
<div class="abh_upload">
|
@@ -155,6 +155,26 @@
|
|
155 |
</div>
|
156 |
<span><?php _e('Add rel="nofollow" to Social links and user URL', _ABH_PLUGIN_NAME_); ?></span>
|
157 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
|
159 |
</div>
|
160 |
</fieldset>
|
25 |
<p><span class="sq_settings_info"><?php echo ((defined('ABH_MESSAGE_FAVICON')) ? ABH_MESSAGE_FAVICON : '') ?></span></p>
|
26 |
<div>
|
27 |
<?php if (isset($view->author['abh_gravatar']) && $view->author['abh_gravatar'] <> '' && file_exists(_ABH_GRAVATAR_DIR_ . $view->author['abh_gravatar'])) { ?>
|
28 |
+
<img src="<?php echo _ABH_GRAVATAR_URL_ . $view->author['abh_gravatar'] . '?' . time() ?>" width="<?php echo ABH_IMAGESIZE?>" class="photo" />
|
29 |
<?php
|
30 |
} else {
|
31 |
|
32 |
+
echo get_avatar($view->user->ID, ABH_IMAGESIZE);
|
33 |
}
|
34 |
?>
|
35 |
<div class="abh_upload">
|
155 |
</div>
|
156 |
<span><?php _e('Add rel="nofollow" to Social links and user URL', _ABH_PLUGIN_NAME_); ?></span>
|
157 |
</div>
|
158 |
+
<div class="abh_option_content">
|
159 |
+
<div class="abh_switch">
|
160 |
+
<input id="abh_noopener_social_on" type="radio" class="abh_switch-input" name="abh_noopener_social" value="1" <?php echo ((!$view->author['abh_noopener_social'] == 0) ? "checked" : '') ?> />
|
161 |
+
<label for="abh_noopener_social_on" class="abh_switch-label abh_switch-label-off"><?php _e('Yes', _ABH_PLUGIN_NAME_); ?></label>
|
162 |
+
<input id="abh_noopener_social_off" type="radio" class="abh_switch-input" name="abh_noopener_social" value="0" <?php echo (($view->author['abh_noopener_social'] == 0) ? "checked" : '') ?> />
|
163 |
+
<label for="abh_noopener_social_off" class="abh_switch-label abh_switch-label-on"><?php _e('No', _ABH_PLUGIN_NAME_); ?></label>
|
164 |
+
<span class="abh_switch-selection"></span>
|
165 |
+
</div>
|
166 |
+
<span><?php _e('Add rel="noopener" to Social links and user URL', _ABH_PLUGIN_NAME_); ?></span>
|
167 |
+
</div>
|
168 |
+
<div class="abh_option_content">
|
169 |
+
<div class="abh_switch">
|
170 |
+
<input id="abh_noreferrer_social_on" type="radio" class="abh_switch-input" name="abh_noreferrer_social" value="1" <?php echo ((!$view->author['abh_noreferrer_social'] == 0) ? "checked" : '') ?> />
|
171 |
+
<label for="abh_noreferrer_social_on" class="abh_switch-label abh_switch-label-off"><?php _e('Yes', _ABH_PLUGIN_NAME_); ?></label>
|
172 |
+
<input id="abh_noreferrer_social_off" type="radio" class="abh_switch-input" name="abh_noreferrer_social" value="0" <?php echo (($view->author['abh_noreferrer_social'] == 0) ? "checked" : '') ?> />
|
173 |
+
<label for="abh_noreferrer_social_off" class="abh_switch-label abh_switch-label-on"><?php _e('No', _ABH_PLUGIN_NAME_); ?></label>
|
174 |
+
<span class="abh_switch-selection"></span>
|
175 |
+
</div>
|
176 |
+
<span><?php _e('Add rel="noreferrer" to Social links and user URL', _ABH_PLUGIN_NAME_); ?></span>
|
177 |
+
</div>
|
178 |
|
179 |
</div>
|
180 |
</fieldset>
|
themes/admin/css/hidedefault.css
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
-
.author-box, .article-author, .author-info, #entry-author-info, #author-bio-box, #cab-author, #authorarea, .author-wrap, #post-author
|
2 |
-
|
|
|
3 |
}
|
1 |
+
.author-box, .article-author, .author-info, #entry-author-info, #author-bio-box, #cab-author, #authorarea, .author-wrap, #post-author,
|
2 |
+
.author-bio, .autore, .card-profile{
|
3 |
+
display: none;
|
4 |
}
|
themes/admin/css/hidedefault.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
|
1 |
+
#author-bio-box,#authorarea,#cab-author,#entry-author-info,#post-author,.article-author,.author-bio,.author-box,.author-info,.author-wrap,.autore,.card-profile{display:none}
|
themes/admin/css/menu.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
.abh_message {
|
2 |
line-height: 19px;
|
3 |
-
padding:
|
4 |
font-size: 13px;
|
5 |
text-align: center;
|
6 |
margin: -1px 15px 0 5px;
|
@@ -46,9 +46,9 @@
|
|
46 |
padding-bottom: 6px;
|
47 |
height: auto;
|
48 |
border-bottom: 1px solid #CCC;
|
49 |
-
box-shadow:
|
50 |
-
-moz-box-shadow:
|
51 |
-
-webkit-box-shadow:
|
52 |
}
|
53 |
#abh_settings #abh_settings_title a.abh_button,
|
54 |
#abh_settings #abh_settings_title input.abh_button {
|
@@ -125,7 +125,8 @@
|
|
125 |
#abh_settings .abh_gravatar img {
|
126 |
float: left;
|
127 |
margin-top: 5px;
|
128 |
-
width: 80px
|
|
|
129 |
}
|
130 |
#abh_settings #abh_settings_body {
|
131 |
display: block;
|
@@ -178,7 +179,7 @@
|
|
178 |
margin: 10px 10px 22px 10px
|
179 |
}
|
180 |
#abh_settings_body #abh_settings_right fieldset {
|
181 |
-
margin: 10px
|
182 |
}
|
183 |
#abh_settings_body fieldset legend {
|
184 |
background: #fefefe repeat-x top left;
|
@@ -283,7 +284,7 @@
|
|
283 |
background-position: -112px -100px
|
284 |
}
|
285 |
#abh_settings_body fieldset .abh_icon_googleanalytics {
|
286 |
-
background-position:
|
287 |
}
|
288 |
#abh_settings_body fieldset .abh_icon_facebookinsights {
|
289 |
background-position: -59px -100px
|
@@ -370,7 +371,7 @@
|
|
370 |
.abh_switch {
|
371 |
float: left;
|
372 |
position: relative;
|
373 |
-
margin:
|
374 |
height: 26px;
|
375 |
width: 120px;
|
376 |
background: rgba(0, 0, 0, 0.25);
|
@@ -405,7 +406,7 @@
|
|
405 |
.abh_switch-input:checked + .abh_switch-label {
|
406 |
font-weight: bold;
|
407 |
color: rgba(0, 0, 0, 0.65);
|
408 |
-
text-shadow:
|
409 |
-webkit-transition: 0.15s ease-out;
|
410 |
-moz-transition: 0.15s ease-out;
|
411 |
-o-transition: 0.15s ease-out;
|
@@ -447,7 +448,7 @@
|
|
447 |
}
|
448 |
.abh_option_content_small {
|
449 |
clear: both;
|
450 |
-
padding:
|
451 |
height: 20px
|
452 |
}
|
453 |
.abh_option_content > span.abh_option_info_small {
|
@@ -456,7 +457,7 @@
|
|
456 |
color: #777
|
457 |
}
|
458 |
.abh_option_content_small .abh_switch {
|
459 |
-
margin:
|
460 |
height: 18px;
|
461 |
width: 60px
|
462 |
}
|
@@ -511,34 +512,34 @@
|
|
511 |
opacity: 1
|
512 |
}
|
513 |
span.abh_facebook {
|
514 |
-
background-position:
|
515 |
}
|
516 |
span.abh_flickr {
|
517 |
-
background-position: -24px
|
518 |
}
|
519 |
span.abh_google {
|
520 |
-
background-position: -48px
|
521 |
}
|
522 |
span.abh_instagram {
|
523 |
-
background-position: -72px
|
524 |
}
|
525 |
span.abh_linkedin {
|
526 |
-
background-position: -96px
|
527 |
}
|
528 |
span.abh_pinterest {
|
529 |
-
background-position: -120px
|
530 |
}
|
531 |
span.abh_tumblr {
|
532 |
-
background-position: -144px
|
533 |
}
|
534 |
span.abh_twitter {
|
535 |
-
background-position: -168px
|
536 |
}
|
537 |
span.abh_vimeo {
|
538 |
-
background-position: -192px
|
539 |
}
|
540 |
span.abh_youtube {
|
541 |
-
background-position: -216px
|
542 |
}
|
543 |
.abh_settings_rate {
|
544 |
display: block;
|
@@ -553,8 +554,8 @@ span.abh_youtube {
|
|
553 |
display: block;
|
554 |
width: 104px;
|
555 |
height: 26px;
|
556 |
-
background: transparent url('../img/sprite.png')
|
557 |
-
background-position:
|
558 |
}
|
559 |
#abh_box_preview_title {
|
560 |
font-size: 16px;
|
@@ -562,7 +563,6 @@ span.abh_youtube {
|
|
562 |
font-weight: bold;
|
563 |
color: orange;
|
564 |
text-align: center;
|
565 |
-
width: 700px;
|
566 |
width: 600px;
|
567 |
margin-left: 115px
|
568 |
}
|
1 |
.abh_message {
|
2 |
line-height: 19px;
|
3 |
+
padding: 0 0;
|
4 |
font-size: 13px;
|
5 |
text-align: center;
|
6 |
margin: -1px 15px 0 5px;
|
46 |
padding-bottom: 6px;
|
47 |
height: auto;
|
48 |
border-bottom: 1px solid #CCC;
|
49 |
+
box-shadow: 0 3px 12px -13px black;
|
50 |
+
-moz-box-shadow: 0 3px 12px -13px black;
|
51 |
+
-webkit-box-shadow: 0 3px 12px -13px black
|
52 |
}
|
53 |
#abh_settings #abh_settings_title a.abh_button,
|
54 |
#abh_settings #abh_settings_title input.abh_button {
|
125 |
#abh_settings .abh_gravatar img {
|
126 |
float: left;
|
127 |
margin-top: 5px;
|
128 |
+
width: 80px;
|
129 |
+
height: auto;
|
130 |
}
|
131 |
#abh_settings #abh_settings_body {
|
132 |
display: block;
|
179 |
margin: 10px 10px 22px 10px
|
180 |
}
|
181 |
#abh_settings_body #abh_settings_right fieldset {
|
182 |
+
margin: 10px 0 22px 0
|
183 |
}
|
184 |
#abh_settings_body fieldset legend {
|
185 |
background: #fefefe repeat-x top left;
|
284 |
background-position: -112px -100px
|
285 |
}
|
286 |
#abh_settings_body fieldset .abh_icon_googleanalytics {
|
287 |
+
background-position: 0 -100px
|
288 |
}
|
289 |
#abh_settings_body fieldset .abh_icon_facebookinsights {
|
290 |
background-position: -59px -100px
|
371 |
.abh_switch {
|
372 |
float: left;
|
373 |
position: relative;
|
374 |
+
margin: 0 9px 0 0;
|
375 |
height: 26px;
|
376 |
width: 120px;
|
377 |
background: rgba(0, 0, 0, 0.25);
|
406 |
.abh_switch-input:checked + .abh_switch-label {
|
407 |
font-weight: bold;
|
408 |
color: rgba(0, 0, 0, 0.65);
|
409 |
+
text-shadow: 0 1px rgba(255, 255, 255, 0.25);
|
410 |
-webkit-transition: 0.15s ease-out;
|
411 |
-moz-transition: 0.15s ease-out;
|
412 |
-o-transition: 0.15s ease-out;
|
448 |
}
|
449 |
.abh_option_content_small {
|
450 |
clear: both;
|
451 |
+
padding: 0 0;
|
452 |
height: 20px
|
453 |
}
|
454 |
.abh_option_content > span.abh_option_info_small {
|
457 |
color: #777
|
458 |
}
|
459 |
.abh_option_content_small .abh_switch {
|
460 |
+
margin: 0 9px 0 0;
|
461 |
height: 18px;
|
462 |
width: 60px
|
463 |
}
|
512 |
opacity: 1
|
513 |
}
|
514 |
span.abh_facebook {
|
515 |
+
background-position: 0 0
|
516 |
}
|
517 |
span.abh_flickr {
|
518 |
+
background-position: -24px 0
|
519 |
}
|
520 |
span.abh_google {
|
521 |
+
background-position: -48px 0
|
522 |
}
|
523 |
span.abh_instagram {
|
524 |
+
background-position: -72px 0
|
525 |
}
|
526 |
span.abh_linkedin {
|
527 |
+
background-position: -96px 0
|
528 |
}
|
529 |
span.abh_pinterest {
|
530 |
+
background-position: -120px 0
|
531 |
}
|
532 |
span.abh_tumblr {
|
533 |
+
background-position: -144px 0
|
534 |
}
|
535 |
span.abh_twitter {
|
536 |
+
background-position: -168px 0
|
537 |
}
|
538 |
span.abh_vimeo {
|
539 |
+
background-position: -192px 0
|
540 |
}
|
541 |
span.abh_youtube {
|
542 |
+
background-position: -216px 0
|
543 |
}
|
544 |
.abh_settings_rate {
|
545 |
display: block;
|
554 |
display: block;
|
555 |
width: 104px;
|
556 |
height: 26px;
|
557 |
+
background: transparent url('../img/sprite.png') no-repeat;
|
558 |
+
background-position: 0 -74px
|
559 |
}
|
560 |
#abh_box_preview_title {
|
561 |
font-size: 16px;
|
563 |
font-weight: bold;
|
564 |
color: orange;
|
565 |
text-align: center;
|
|
|
566 |
width: 600px;
|
567 |
margin-left: 115px
|
568 |
}
|
themes/admin/css/menu.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.abh_message{line-height:19px;padding:0;font-size:13px;text-align:center;margin:-1px 15px 0 5px;border-width:1px;border-style:solid;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:#fffbcc;border-color:#e6db55}.abh_notices{font-size:13px;color:#555}.abh_loading{height:60px;background:transparent url('../img/loading.gif') no-repeat center}.abh_minloading{height:20px;width:20px;background:transparent url('../img/minloading.gif') no-repeat center}.abh_error{text-align:center;font-size:14px;font-weight:bold;color:brown;margin:5px}#abh_settings{font-family:Arial,sans-serif;position:relative}#abh_settings #abh_settings_title{font-size:19px;font-weight:normal;line-height:35px;color:#333;margin:30px 15px 3px 0;padding-bottom:6px;height:auto;border-bottom:1px solid #CCC;box-shadow:0 3px 12px -8px black;-moz-box-shadow:0 3px 12px -8px black;-webkit-box-shadow:0 3px 12px -8px black}#abh_settings #abh_settings_title a.abh_button,#abh_settings #abh_settings_title input.abh_button{display:inline-block;font-size:15px;font-weight:bold;color:white;background-color:green;border:1px solid white;border-radius:5px;line-height:25px;padding:5px 10px;margin:6px 0 0 20px;text-decoration:none;cursor:pointer}#abh_settings #abh_subscribe{font-size:16px;font-weight:bold;margin-bottom:3px}#abh_option_subscribe #abh_subscribe_social{float:none;width:320px;height:30px;clear:both;padding-top:3px}#abh_option_subscribe #abh_subscribe_social span{float:left}#abh_settings #abh_subscribe_email{background-color:lightgoldenrodyellow;border:1px solid #333;margin:5px 0 0 0;padding:7px;font-size:15px}#abh_settings #abh_subscribe_subscribe{margin-left:3px;padding:0 25px;height:33px;font-size:14px;color:green;font-weight:bold}#abh_settings #abh_subscribe_confirmation{color:green;font-size:17px;font-weight:bold;margin:20px 0}#abh_settings .abh_upload{float:left;margin:20px}#abh_settings .abh_upload_reset{float:left;clear:both;margin:5px 0}#abh_settings .abh_upload_reset input{margin-right:3px;margin-top:3px}#abh_settings .abh_upload input{float:left}#abh_settings .abh_upload #abh_gravatar_update{margin-top:0;height:32px;padding:0 20px}#abh_settings .abh_gravatar img{float:left;margin-top:5px;width:80px}#abh_settings #abh_settings_body{display:block;font-size:12px;color:#333;line-height:16px;text-align:left;margin-top:20px}#abh_settings_body #abh_settings_left,#abh_settings_body #abh_settings_right{float:left}#abh_settings_body #abh_settings_left{width:70%;min-width:680px}#abh_settings_body #abh_settings_right{width:30%;max-width:345px}#abh_settings_body #abh_settings_right h4{font-size:15px}#abh_settings_body #abh_settings_right>div{background-color:white;margin:10px 0;padding:10px}#abh_settings_body #abh_settings_submit{clear:both}#abh_settings_body fieldset{min-width:400px;background:#fcfcfb;border:1px solid #f1f1f1;font-size:1.1em;margin:10px auto;padding:1em;font-family:Arial,Verdana,Helvetica,sans-serif;text-shadow:1px 1px white;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;box-shadow:0 5px 9px -8px #999}#abh_settings_body #abh_settings_left fieldset{margin:10px 10px 22px 10px}#abh_settings_body #abh_settings_right fieldset{margin:10px 0 22px 0}#abh_settings_body fieldset legend{background:#fefefe repeat-x top left;border:1px solid #ddd;font-size:14px;font-weight:normal;margin:0;padding:.2em .5em;line-height:20px;text-align:left;color:#333;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px}#abh_settings_body span.abh_settings_info{clear:both;display:block;font-size:10px;width:100%;text-align:right}#abh_settings_body ul.abh_settings_info>span{display:block;color:#777;font-size:14px;font-weight:bold;margin-bottom:10px;list-style:none}#abh_settings_body ul.abh_settings_info li{margin-left:5px;font-size:11px;font-weight:normal;color:#777}#abh_settings_body fieldset p{vertical-align:top;margin:.5em 0 0 0;padding:0 0 .5em 0;font-weight:normal;font-size:12px;line-height:20px}#abh_settings_body #abh_option_social p{clear:both}#abh_settings_body #abh_option_social p.abh_social_text{height:30px;line-height:30px}#abh_settings_body fieldset p.withborder{clear:both;vertical-align:top;min-height:45px;margin:7px 0 10px 0;padding:0 0 10px 0;font-weight:normal;font-size:12px;border-bottom:1px dashed #CCC}#abh_settings_body fieldset p.withcode strong{display:block;font-size:10px;color:#333;margin-left:15px;margin-top:10px}#abh_settings_body fieldset p.withcode input[type=text]{width:170px;font-size:10px;margin:0;border:1px solid green}#abh_settings_body fieldset p.abh_show_extra_description{clear:both;color:green;cursor:pointer;font-size:12px;font-weight:bold;margin-bottom:5px}#abh_settings_body fieldset p.abh_extra_description{clear:both}#abh_settings_body fieldset p.abh_extra_description textarea{height:86px}#abh_settings_body fieldset .abh_icon{display:block;float:left;background:transparent url('../img/sprite.png') no-repeat;margin:0 10px 0 0;color:brown;width:55px;height:50px}#abh_settings_body fieldset .abh_icon_googleplus{background-position:-221px -100px}#abh_settings_body fieldset .abh_icon_googlewt{background-position:-112px -100px}#abh_settings_body fieldset .abh_icon_googleanalytics{background-position:0 -100px}#abh_settings_body fieldset .abh_icon_facebookinsights{background-position:-59px -100px}#abh_settings_body fieldset .abh_icon_bingwt{background-position:-165px -100px}#abh_settings_body fieldset .abh_icon_alexat{background-position:-270px -100px}#abh_settings_body fieldset p input,#abh_settings_body fieldset p textarea{font-weight:bold;margin-left:15px;padding:4px;border:1px solid lightgray;max-width:415px;min-width:370px}#abh_settings_body .abh_select{float:left;font-weight:bold;margin-right:5px}#abh_settings_body .abh_description textarea{min-width:400px}#abh_settings_body div p span{display:block;float:left;min-width:100px;padding-top:4px;font-size:14px}#abh_settings_body .abh_button{font-size:15px;font-weight:bold;line-height:25px;padding:1px 10px;margin-left:11px;margin-top:5px;background-color:green;color:white}#abh_settings_body a.abh_button{background:#999;padding:5px 11px;text-transform:none;text-decoration:none}#abh_settings_body .customize,#abh_settings_body ._customize{font-size:12px;font-weight:bold;color:blue;cursor:pointer}#abh_settings_body ._customize{margin-top:10px}@media only screen and (max-width:900px){#abh_settings_body #abh_settings_left,#abh_settings_body #abh_settings_right{float:none;width:100%}}.abh_option_content{clear:both;padding:6px 0;height:35px}.abh_option_content>span{float:left;position:relative;padding-top:7px;display:block;vertical-align:middle;line-height:15px;font-size:14px;text-shadow:1px 1px #FFF;width:80%}.abh_switch{float:left;position:relative;margin:0 9px 0 0;height:26px;width:120px;background:rgba(0,0,0,0.25);border-radius:3px;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,0.3),0 1px rgba(255,255,255,0.1);box-shadow:inset 0 1px 3px rgba(0,0,0,0.3),0 1px rgba(255,255,255,0.1)}.abh_switch-label{position:relative;z-index:2;float:left;width:58px;line-height:26px;font-size:11px;color:rgba(255,255,255,0.35);text-align:center;text-shadow:0 1px 1px rgba(0,0,0,0.45);cursor:pointer}.abh_switch-label:active{font-weight:bold}.abh_switch-label-off{padding-left:2px}.abh_switch-label-on{padding-right:2px}.abh_switch-input{display:none !important}.abh_switch-input:checked+.abh_switch-label{font-weight:bold;color:rgba(0,0,0,0.65);text-shadow:0 1px rgba(255,255,255,0.25);-webkit-transition:.15s ease-out;-moz-transition:.15s ease-out;-o-transition:.15s ease-out;transition:.15s ease-out}.abh_switch-input:checked+.abh_switch-label-on ~ .abh_switch-selection{left:60px;background:lightcoral}.abh_switch-selection{display:block;position:absolute;z-index:1;top:2px;left:2px;width:58px;height:22px;background:#65bd63;border-radius:3px;background-image:-webkit-linear-gradient(top,#9dd993,#65bd63);background-image:-moz-linear-gradient(top,#9dd993,#65bd63);background-image:-o-linear-gradient(top,#9dd993,#65bd63);background-image:linear-gradient(to bottom,#9dd993,#65bd63);-webkit-box-shadow:inset 0 1px rgba(255,255,255,0.5),0 0 2px rgba(0,0,0,0.2);box-shadow:inset 0 1px rgba(255,255,255,0.5),0 0 2px rgba(0,0,0,0.2);-webkit-transition:left .15s ease-out;-moz-transition:left .15s ease-out;-o-transition:left .15s ease-out;transition:left .15s ease-out}#abh_settings .abh_option_strictposts{float:left;clear:both;margin:4px 0 10px 1px}#abh_settings .abh_option_strictposts input{margin-right:3px;margin-top:3px}.abh_option_content_small{clear:both;padding:0;height:20px}.abh_option_content>span.abh_option_info_small{line-height:20px;font-size:11px;color:#777}.abh_option_content_small .abh_switch{margin:0 9px 0 0;height:18px;width:60px}.abh_option_content_small .abh_switch-label{width:28px;line-height:17px;font-size:9px}.abh_option_content_small .abh_switch-input:checked+.abh_switch-label-on ~ .abh_switch-selection{left:31px}.abh_option_content_small .abh_switch-selection{top:1px;left:1px;width:28px;height:16px}.abh_option_content_small>span{font-size:11px !important}.abh_social_settings{display:block;float:right;line-height:1px;padding:0;margin:0;text-align:right}.abh_social_settings{width:140px;margin:0 0 0 auto}.abh_social_settings{display:inline-block;background:transparent url('../img/sprite.png') no-repeat;min-width:24px !important;width:24px !important;height:24px !important;padding:0 !important;margin:1px 5px 0 0 !important;opacity:.5;transition:opacity .2s;text-decoration:none;-moz-transition:opacity .2s;-webkit-transition:opacity .2s;-o-transition:opacity .2s;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px}.abh_social_settings:hover{opacity:1}span.abh_facebook{background-position:0 0}span.abh_flickr{background-position:-24px 0}span.abh_google{background-position:-48px 0}span.abh_instagram{background-position:-72px 0}span.abh_linkedin{background-position:-96px 0}span.abh_pinterest{background-position:-120px 0}span.abh_tumblr{background-position:-144px 0}span.abh_twitter{background-position:-168px 0}span.abh_vimeo{background-position:-192px 0}span.abh_youtube{background-position:-216px 0}.abh_settings_rate{display:block;font-size:14px;width:350px;clear:both;cursor:pointer}.abh_settings_rate span{margin:3px 5px 0 0;float:left;display:block;width:104px;height:26px;background:transparent url('../img/sprite.png') no-repeat;background-position:0 -74px}#abh_box_preview_title{font-size:16px;margin-top:10px;font-weight:bold;color:orange;text-align:center;width:700px;width:600px;margin-left:115px}#abh_box_preview{position:relative;background-color:white;border:1px solid #eee;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;width:600px;min-height:130px;padding:10px;margin-left:115px}#abh_box_preview .abh_box{margin:0 !important}
|
1 |
+
.abh_message{line-height:19px;padding:0;font-size:13px;text-align:center;margin:-1px 15px 0 5px;border-width:1px;border-style:solid;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:#fffbcc;border-color:#e6db55}.abh_notices{font-size:13px;color:#555}.abh_loading{height:60px;background:url(../img/loading.gif) no-repeat center}.abh_minloading{height:20px;width:20px;background:url(../img/minloading.gif) no-repeat center}.abh_error{text-align:center;font-size:14px;font-weight:700;color:brown;margin:5px}#abh_settings{font-family:Arial,sans-serif;position:relative}#abh_settings #abh_settings_title{font-size:19px;font-weight:400;line-height:35px;color:#333;margin:30px 15px 3px 0;padding-bottom:6px;height:auto;border-bottom:1px solid #ccc;box-shadow:0 3px 12px -13px #000;-moz-box-shadow:0 3px 12px -13px #000;-webkit-box-shadow:0 3px 12px -13px #000}#abh_settings #abh_settings_title a.abh_button,#abh_settings #abh_settings_title input.abh_button{display:inline-block;font-size:15px;font-weight:700;color:#fff;background-color:green;border:1px solid #fff;border-radius:5px;line-height:25px;padding:5px 10px;margin:6px 0 0 20px;text-decoration:none;cursor:pointer}#abh_settings #abh_subscribe{font-size:16px;font-weight:700;margin-bottom:3px}#abh_option_subscribe #abh_subscribe_social{float:none;width:320px;height:30px;clear:both;padding-top:3px}#abh_option_subscribe #abh_subscribe_social span{float:left}#abh_settings #abh_subscribe_email{background-color:#fafad2;border:1px solid #333;margin:5px 0 0;padding:7px;font-size:15px}#abh_settings #abh_subscribe_subscribe{margin-left:3px;padding:0 25px;height:33px;font-size:14px;color:green;font-weight:700}#abh_settings #abh_subscribe_confirmation{color:green;font-size:17px;font-weight:700;margin:20px 0}#abh_settings .abh_upload{float:left;margin:20px}#abh_settings .abh_upload_reset{float:left;clear:both;margin:5px 0}#abh_settings .abh_upload_reset input{margin-right:3px;margin-top:3px}#abh_settings .abh_upload #abh_gravatar_update{margin-top:0;height:32px;padding:0 20px}#abh_settings .abh_gravatar img{float:left;margin-top:5px;width:80px;height:auto}#abh_settings #abh_settings_body{display:block;font-size:12px;color:#333;line-height:16px;text-align:left;margin-top:20px}#abh_settings .abh_upload input,#abh_settings_body #abh_settings_left,#abh_settings_body #abh_settings_right{float:left}#abh_settings_body #abh_settings_left{width:70%;min-width:680px}#abh_settings_body #abh_settings_right{width:30%;max-width:345px}#abh_settings_body #abh_settings_right h4{font-size:15px}#abh_settings_body #abh_settings_right>div{background-color:#fff;margin:10px 0;padding:10px}#abh_settings_body #abh_option_social p,#abh_settings_body #abh_settings_submit{clear:both}#abh_settings_body fieldset,#abh_settings_body fieldset legend{border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px}#abh_settings_body fieldset{min-width:400px;background:#fcfcfb;border:1px solid #f1f1f1;font-size:1.1em;margin:10px auto;padding:1em;font-family:Arial,Verdana,Helvetica,sans-serif;text-shadow:1px 1px #fff;box-shadow:0 5px 9px -8px #999}#abh_settings_body #abh_settings_left fieldset{margin:10px 10px 22px}#abh_settings_body #abh_settings_right fieldset{margin:10px 0 22px}#abh_settings_body fieldset legend{background:#fefefe repeat-x top left;border:1px solid #ddd;font-size:14px;font-weight:400;margin:0;padding:.2em .5em;line-height:20px;text-align:left;color:#333}#abh_settings_body span.abh_settings_info{clear:both;display:block;font-size:10px;width:100%;text-align:right}#abh_settings_body ul.abh_settings_info>span{display:block;color:#777;font-size:14px;font-weight:700;margin-bottom:10px;list-style:none}#abh_settings_body ul.abh_settings_info li{margin-left:5px;font-size:11px;font-weight:400;color:#777}#abh_settings_body fieldset p{vertical-align:top;margin:.5em 0 0;padding:0 0 .5em;font-weight:400;font-size:12px;line-height:20px}#abh_settings_body #abh_option_social p.abh_social_text{height:30px;line-height:30px}#abh_settings_body fieldset p.withborder{clear:both;vertical-align:top;min-height:45px;margin:7px 0 10px;padding:0 0 10px;font-weight:400;font-size:12px;border-bottom:1px dashed #ccc}#abh_settings_body fieldset p.withcode strong{display:block;font-size:10px;color:#333;margin-left:15px;margin-top:10px}#abh_settings_body fieldset p.withcode input[type=text]{width:170px;font-size:10px;margin:0;border:1px solid green}#abh_settings_body fieldset p.abh_show_extra_description{clear:both;color:green;cursor:pointer;font-size:12px;font-weight:700;margin-bottom:5px}#abh_settings_body fieldset p.abh_extra_description{clear:both}#abh_settings_body fieldset p.abh_extra_description textarea{height:86px}#abh_settings_body fieldset .abh_icon{display:block;float:left;background:url(../img/sprite.png) no-repeat;margin:0 10px 0 0;color:brown;width:55px;height:50px}#abh_settings_body fieldset .abh_icon_googleplus{background-position:-221px -100px}#abh_settings_body fieldset .abh_icon_googlewt{background-position:-112px -100px}#abh_settings_body fieldset .abh_icon_googleanalytics{background-position:0 -100px}#abh_settings_body fieldset .abh_icon_facebookinsights{background-position:-59px -100px}#abh_settings_body fieldset .abh_icon_bingwt{background-position:-165px -100px}#abh_settings_body fieldset .abh_icon_alexat{background-position:-270px -100px}#abh_settings_body fieldset p input,#abh_settings_body fieldset p textarea{font-weight:700;margin-left:15px;padding:4px;border:1px solid #d3d3d3;max-width:415px;min-width:370px}#abh_settings_body .abh_select{float:left;font-weight:700;margin-right:5px}#abh_settings_body .abh_description textarea{min-width:400px}#abh_settings_body div p span{display:block;float:left;min-width:100px;padding-top:4px;font-size:14px}#abh_settings_body .abh_button{font-size:15px;font-weight:700;line-height:25px;padding:1px 10px;margin-left:11px;margin-top:5px;background-color:green;color:#fff}#abh_settings_body a.abh_button{background:#999;padding:5px 11px;text-transform:none;text-decoration:none}#abh_settings_body ._customize,#abh_settings_body .customize{font-size:12px;font-weight:700;color:#00f;cursor:pointer}#abh_settings_body ._customize{margin-top:10px}@media only screen and (max-width:900px){#abh_settings_body #abh_settings_left,#abh_settings_body #abh_settings_right{float:none;width:100%}}.abh_option_content{clear:both;padding:6px 0;height:35px}.abh_option_content>span{float:left;position:relative;padding-top:7px;display:block;vertical-align:middle;line-height:15px;font-size:14px;text-shadow:1px 1px #fff;width:80%}.abh_switch{float:left;position:relative;margin:0 9px 0 0;height:26px;width:120px;background:rgba(0,0,0,.25);border-radius:3px;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.3),0 1px rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.3),0 1px rgba(255,255,255,.1)}.abh_switch-label{position:relative;z-index:2;float:left;width:58px;line-height:26px;font-size:11px;color:rgba(255,255,255,.35);text-align:center;text-shadow:0 1px 1px rgba(0,0,0,.45);cursor:pointer}.abh_switch-label:active{font-weight:700}.abh_switch-label-off{padding-left:2px}.abh_switch-label-on{padding-right:2px}.abh_switch-input{display:none!important}.abh_switch-input:checked+.abh_switch-label{font-weight:700;color:rgba(0,0,0,.65);text-shadow:0 1px rgba(255,255,255,.25);-webkit-transition:.15s ease-out;-moz-transition:.15s ease-out;-o-transition:.15s ease-out;transition:.15s ease-out}.abh_switch-input:checked+.abh_switch-label-on~.abh_switch-selection{left:60px;background:#f08080}.abh_switch-selection{display:block;position:absolute;z-index:1;top:2px;left:2px;width:58px;height:22px;background:#65bd63;border-radius:3px;background-image:-webkit-linear-gradient(top,#9dd993,#65bd63);background-image:-moz-linear-gradient(top,#9dd993,#65bd63);background-image:-o-linear-gradient(top,#9dd993,#65bd63);background-image:linear-gradient(to bottom,#9dd993,#65bd63);-webkit-box-shadow:inset 0 1px rgba(255,255,255,.5),0 0 2px rgba(0,0,0,.2);box-shadow:inset 0 1px rgba(255,255,255,.5),0 0 2px rgba(0,0,0,.2);-webkit-transition:left .15s ease-out;-moz-transition:left .15s ease-out;-o-transition:left .15s ease-out;transition:left .15s ease-out}#abh_settings .abh_option_strictposts{float:left;clear:both;margin:4px 0 10px 1px}#abh_settings .abh_option_strictposts input{margin-right:3px;margin-top:3px}.abh_option_content_small{clear:both;padding:0;height:20px}.abh_option_content>span.abh_option_info_small{line-height:20px;font-size:11px;color:#777}.abh_option_content_small .abh_switch{margin:0 9px 0 0;height:18px;width:60px}.abh_option_content_small .abh_switch-label{width:28px;line-height:17px;font-size:9px}.abh_option_content_small .abh_switch-input:checked+.abh_switch-label-on~.abh_switch-selection{left:31px}.abh_option_content_small .abh_switch-selection{top:1px;left:1px;width:28px;height:16px}.abh_option_content_small>span{font-size:11px!important}.abh_social_settings{float:right;line-height:1px;text-align:right;display:inline-block;background:url(../img/sprite.png) no-repeat;min-width:24px!important;width:24px!important;height:24px!important;padding:0!important;margin:1px 5px 0 0!important;opacity:.5;transition:opacity .2s;text-decoration:none;-moz-transition:opacity .2s;-webkit-transition:opacity .2s;-o-transition:opacity .2s;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px}.abh_social_settings:hover{opacity:1}span.abh_facebook{background-position:0 0}span.abh_flickr{background-position:-24px 0}span.abh_google{background-position:-48px 0}span.abh_instagram{background-position:-72px 0}span.abh_linkedin{background-position:-96px 0}span.abh_pinterest{background-position:-120px 0}span.abh_tumblr{background-position:-144px 0}span.abh_twitter{background-position:-168px 0}span.abh_vimeo{background-position:-192px 0}span.abh_youtube{background-position:-216px 0}.abh_settings_rate{display:block;font-size:14px;width:350px;clear:both;cursor:pointer}.abh_settings_rate span{margin:3px 5px 0 0;float:left;display:block;width:104px;height:26px;background:url(../img/sprite.png) no-repeat;background-position:0 -74px}#abh_box_preview_title{font-size:16px;margin-top:10px;font-weight:700;color:orange;text-align:center;width:600px;margin-left:115px}#abh_box_preview{position:relative;background-color:#fff;border:1px solid #eee;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;width:600px;min-height:130px;padding:10px;margin-left:115px}#abh_box_preview .abh_box{margin:0!important}
|
themes/admin/js/menu.min.js
CHANGED
@@ -1,8 +1 @@
|
|
1 |
-
|
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};
|
1 |
+
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");if(jQuery("#description").length>0){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"))}jQuery("#abh_subscribe_subscribe").on("click",function(event){if(event){event.preventDefault()}if(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(data){jQuery.post(abh_Query.ajaxurl,{action:"abh_settings_subscribe",abh_nonce:abh_Query.abh_nonce}).done(function(data){});jQuery("#abh_option_subscribe").hide();jQuery("#abh_option_social").show();if(data.result=="success"){jQuery("#abh_option_social").prepend('<div id="abh_subscribe_confirmation">Thank you!</div>')}})}else{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(),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(data){jQuery("#abh_box_preview").removeClass("abh_loading");if(typeof data.box!=="undefined"){jQuery("#abh_box_preview").html(data.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(),abh_nonce:abh_Query.abh_nonce}).done(function(data){})})});function abh_validateEmail($email){var emailReg=/^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;if(!emailReg.test($email)){return false}else{return true}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
themes/business/css/frontend.css
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
.abh_box {
|
2 |
clear: both !important;
|
3 |
position: relative !important;
|
@@ -110,6 +114,7 @@
|
|
110 |
|
111 |
.abh_tab_content .abh_image img {
|
112 |
max-width: 80px !important;
|
|
|
113 |
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
|
114 |
overflow: hidden !important;
|
115 |
-webkit-border-radius: 50% 50% 50% 50% !important;
|
@@ -129,7 +134,7 @@
|
|
129 |
line-height: 1.5 !important
|
130 |
}
|
131 |
|
132 |
-
.abh_tab_content .abh_text
|
133 |
font-size: 20px !important;
|
134 |
padding: 0 !important;
|
135 |
margin: 0 !important;
|
1 |
+
section.abh_tab{
|
2 |
+
padding: 0 !important;
|
3 |
+
margin: 0 !important;
|
4 |
+
}
|
5 |
.abh_box {
|
6 |
clear: both !important;
|
7 |
position: relative !important;
|
114 |
|
115 |
.abh_tab_content .abh_image img {
|
116 |
max-width: 80px !important;
|
117 |
+
height: auto;
|
118 |
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
|
119 |
overflow: hidden !important;
|
120 |
-webkit-border-radius: 50% 50% 50% 50% !important;
|
134 |
line-height: 1.5 !important
|
135 |
}
|
136 |
|
137 |
+
.abh_tab_content .abh_text .abh_name {
|
138 |
font-size: 20px !important;
|
139 |
padding: 0 !important;
|
140 |
margin: 0 !important;
|
themes/business/css/frontend.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.abh_box{clear:both
|
1 |
+
.abh_tab_content .abh_text .abh_name,section.abh_tab{padding:0!important;margin:0!important}.abh_box,.abh_tabs{width:100%!important}.abh_box{clear:both!important;position:relative!important;padding:25px 0!important}.abh_tabs{list-style:none!important;padding:5px 0 1px!important;margin:0!important;font:13px arial!important;border-bottom:1px solid #ccc!important}.abh_tab_content .abh_text ul,.abh_tabs li{list-style:none!important;padding:0!important}.abh_tabs li{display:inline!important;margin:0!important}.abh_tabs li:after,.abh_tabs li:before{content:""!important;padding:0!important;margin:0!important}.abh_tab_content .abh_tab,.abh_tabs li i{display:none}.abh_tabs li a,.abh_tabs li a:hover{padding:4px 10px 5px!important;box-shadow:none!important;-webkit-box-shadow:none!important}.abh_tabs li a{background-color:transparent!important;border:0 solid #ccc!important;text-decoration:none!important;border-bottom:none!important;outline:0!important;font-size:100%!important;line-height:23px!important}.abh_tabs li a:hover{background-color:#ddd!important}.abh_tabs li a,.abh_tabs li.abh_active a{color:#333!important}.abh_tabs li.abh_active a,.abh_tabs li.abh_active a:hover{background-color:#eee!important;padding:4px 10px 5px!important;border-bottom:none!important;box-shadow:none!important;-webkit-box-shadow:none!important}.abh_tabs li a.icon_accept:hover{padding-left:24px!important}.abh_tabs_content_container{border:2px solid #ccc!important;border-top:none!important;padding:10px!important;width:400px!important}.abh_tab_content{padding:20px 12px!important;min-height:80px!important;overflow:hidden!important;border-bottom:1px solid #ccc!important}.abh_tab_content .abh_image{display:block;float:left!important;width:80px!important;margin-top:10px!important}.abh_tab_content .abh_image img{max-width:80px!important;height:auto;box-shadow:0 1px 4px rgba(0,0,0,.2)!important;overflow:hidden!important;-webkit-border-radius:50% 50% 50% 50%!important;-moz-border-radius:50% 50% 50% 50%!important;border-radius:50% 50% 50% 50%!important}.abh_tab_content .abh_image a{border:0!important;box-shadow:0 1px 4px rgba(0,0,0,.2)!important;-webkit-box-shadow:none!important}.abh_tab_content .abh_text{margin-left:96px!important;font-size:100%!important;line-height:1.5!important}.abh_tab_content .abh_text .abh_name{font-size:20px!important;clear:none!important;font-weight:700!important;text-align:left!important;line-height:20px!important}.abh_tab_content .abh_text .fn{text-transform:capitalize!important;clear:none!important;font-size:18px!important;line-height:24px!important;margin:0!important;padding:0!important;border:0!important}.abh_tab_content .abh_text a{font-size:100%!important}.abh_tab_content .abh_text .abh_job{line-height:20px!important;font-size:100%!important}.abh_tab_content .abh_text .abh_job span{vertical-align:top!important;font-size:13px!important;background-image:none!important;padding:0!important;margin:0!important}.abh_tab_content .abh_text .abh_description{position:static!important;padding-top:6px!important;font-size:14px!important;width:100%!important}.abh_tab_content .abh_text .abh_allposts{font-size:11px!important;vertical-align:middle!important}.abh_tab_content .abh_text ul{margin:5px 0 0 15px!important}.abh_tab_content .abh_text ul li,.abh_tab_content .abh_text ul li span{font-size:13px!important;line-height:20px!important;margin:0!important}.abh_tab_content .abh_social{display:block;float:right!important;line-height:1px!important;padding:0!important;margin:3px 0 0!important;text-align:right!important}.abh_tab_content .abh_social div{width:140px!important;margin:0 0 0 auto!important}.abh_box .abh_pwb a,.abh_tab_content .abh_social a,.abh_tab_content .abh_text a{text-decoration:none!important;box-shadow:none!important;-webkit-box-shadow:none!important}.abh_tab_content .abh_social a{display:inline-block;background:url(../img/sprite.png) no-repeat!important;width:24px!important;height:24px!important;margin:1px!important;padding:0!important;opacity:.5!important;transition:opacity .2s!important;-moz-transition:opacity .2s!important;-webkit-transition:opacity .2s!important;-o-transition:opacity .2s!important;border-radius:5px!important;-webkit-border-radius:5px!important;-moz-border-radius:5px!important}.abh_tab_content .abh_social a:hover{opacity:1!important}.abh_tab_content .abh_social a.abh_facebook{background-position:0 0!important}.abh_tab_content .abh_social a.abh_flickr{background-position:-24px 0!important}.abh_tab_content .abh_social a.abh_google{background-position:-48px 0!important}.abh_tab_content .abh_social a.abh_instagram{background-position:-72px 0!important}.abh_tab_content .abh_social a.abh_linkedin{background-position:-96px 0!important}.abh_tab_content .abh_social a.abh_pinterest{background-position:-120px 0!important}.abh_tab_content .abh_social a.abh_tumblr{background-position:-144px 0!important}.abh_tab_content .abh_social a.abh_twitter{background-position:-168px 0!important}.abh_tab_content .abh_social a.abh_vimeo{background-position:-192px 0!important}.abh_tab_content .abh_social a.abh_youtube{background-position:-216px 0!important}.abh_box .vcard{background:0 0!important;font-size:100%!important;border:0!important}.abh_box .abh_pwb a{position:absolute!important;font-size:9px!important;color:#999!important;right:0!important;bottom:5px!important}
|
themes/business/js/frontend.js
CHANGED
@@ -46,10 +46,10 @@ function abh_loadbox() {
|
|
46 |
}
|
47 |
}
|
48 |
|
49 |
-
jQuery(document).ready(function () {
|
50 |
-
|
51 |
-
|
52 |
-
});
|
53 |
var abh_timeout_loadbox = setTimeout(function () {
|
54 |
if (abh_loadbox_loaded === false)
|
55 |
abh_loadbox(); else
|
46 |
}
|
47 |
}
|
48 |
|
49 |
+
jQuery(document).ready(function () {
|
50 |
+
if (abh_loadbox_loaded === false)
|
51 |
+
abh_loadbox();
|
52 |
+
});
|
53 |
var abh_timeout_loadbox = setTimeout(function () {
|
54 |
if (abh_loadbox_loaded === false)
|
55 |
abh_loadbox(); else
|
themes/business/js/frontend.min.js
CHANGED
@@ -1,5 +1 @@
|
|
1 |
-
var $
|
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,e){if(c){b=$jscomp.global;a=a.split(".");for(e=0;e<a.length-1;e++){var d=a[e];d in b||(b[d]={});b=b[d]}a=a[a.length-1];e=b[a];c=c(e);c!=e&&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");var abh_loadbox_loaded=!1;(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,b){document.cookie=a+"="+b+"; expires=1440; path=/"}})(jQuery);
|
4 |
-
function abh_loadbox(){abh_loadbox_loaded=!0;jQuery(".abh_tabs li").click(function(a){a.preventDefault();jQuery(this).parents(".abh_box").find(".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("#",".")).addClass("abh_active");
|
5 |
-
jQuery._setCookie("abh_tab",a);return!1});if(null!==jQuery._getCookie("abh_tab")){jQuery(".abh_tab").hide();jQuery(".abh_tabs li").removeClass("abh_active");var a=jQuery._getCookie("abh_tab");jQuery(a.replace("#",".")+"_tab").fadeIn();jQuery(a.replace("#",".")).addClass("abh_active")}}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);
|
1 |
+
var abh_loadbox_loaded=false;(function($){$._getCookie=function(nombre){var dcookie=document.cookie;var cname=nombre+"=";var longitud=dcookie.length;var inicio=0;while(inicio<longitud){var vbegin=inicio+cname.length;if(dcookie.substring(inicio,vbegin)===cname){var vend=dcookie.indexOf(";",vbegin);if(vend===-1)vend=longitud;return unescape(dcookie.substring(vbegin,vend))}inicio=dcookie.indexOf(" ",inicio)+1;if(inicio===0)break}return null};$._setCookie=function(name,value){document.cookie=name+"="+value+"; expires="+60*24+"; path=/"}})(jQuery);function abh_loadbox(){abh_loadbox_loaded=true;jQuery(".abh_tabs li").click(function(event){event.preventDefault();jQuery(this).parents(".abh_box").find(".abh_tabs li").removeClass("abh_active");jQuery(this).addClass("abh_active");jQuery(this).parents(".abh_box").find(".abh_tab").hide();var selected_tab=jQuery(this).find("a").attr("href");jQuery(this).parents(".abh_box").find(selected_tab.replace("#",".")+"_tab").fadeIn();jQuery(this).parents(".abh_box").find(selected_tab.replace("#",".")+"_tab").parents(".abh_box").find(selected_tab.replace("#",".")).addClass("abh_active");jQuery._setCookie("abh_tab",selected_tab);return false});if(jQuery._getCookie("abh_tab")!==null){jQuery(".abh_tab").hide();jQuery(".abh_tabs li").removeClass("abh_active");var selected_tab=jQuery._getCookie("abh_tab");jQuery(selected_tab.replace("#",".")+"_tab").fadeIn();jQuery(selected_tab.replace("#",".")).addClass("abh_active")}}jQuery(document).ready(function(){if(abh_loadbox_loaded===false)abh_loadbox()});var abh_timeout_loadbox=setTimeout(function(){if(abh_loadbox_loaded===false)abh_loadbox();else clearTimeout(abh_timeout_loadbox)},1e3);
|
|
|
|
|
|
|
|
themes/drop-down/css/frontend.css
CHANGED
@@ -81,7 +81,8 @@
|
|
81 |
|
82 |
.abh_tab_content .abh_tab {
|
83 |
display: none;
|
84 |
-
border: none !important
|
|
|
85 |
}
|
86 |
|
87 |
.abh_tab_content .abh_image {
|
@@ -117,7 +118,7 @@
|
|
117 |
line-height: 1.5 !important
|
118 |
}
|
119 |
|
120 |
-
.abh_tab_content .abh_text
|
121 |
clear: none !important;
|
122 |
font-weight: bold !important;
|
123 |
position: absolute !important;
|
@@ -134,11 +135,11 @@
|
|
134 |
cursor: pointer !important
|
135 |
}
|
136 |
|
137 |
-
.abh_tab_content .abh_text
|
138 |
text-decoration: none !important
|
139 |
}
|
140 |
|
141 |
-
.abh_tab_content .abh_text
|
142 |
float: right !important;
|
143 |
background: transparent url('../img/sprite.png') no-repeat !important;
|
144 |
background-position: 0 -29px !important;
|
@@ -150,7 +151,7 @@
|
|
150 |
height: 17px !important
|
151 |
}
|
152 |
|
153 |
-
.abh_tab_content .abh_text
|
154 |
background-position: 0 -49px !important
|
155 |
}
|
156 |
|
81 |
|
82 |
.abh_tab_content .abh_tab {
|
83 |
display: none;
|
84 |
+
border: none !important;
|
85 |
+
padding: 20px 0;
|
86 |
}
|
87 |
|
88 |
.abh_tab_content .abh_image {
|
118 |
line-height: 1.5 !important
|
119 |
}
|
120 |
|
121 |
+
.abh_tab_content .abh_text .abh_name {
|
122 |
clear: none !important;
|
123 |
font-weight: bold !important;
|
124 |
position: absolute !important;
|
135 |
cursor: pointer !important
|
136 |
}
|
137 |
|
138 |
+
.abh_tab_content .abh_text .abh_name a:hover {
|
139 |
text-decoration: none !important
|
140 |
}
|
141 |
|
142 |
+
.abh_tab_content .abh_text .abh_name .abh_arrow {
|
143 |
float: right !important;
|
144 |
background: transparent url('../img/sprite.png') no-repeat !important;
|
145 |
background-position: 0 -29px !important;
|
151 |
height: 17px !important
|
152 |
}
|
153 |
|
154 |
+
.abh_tab_content .abh_text .abh_name .abh_active {
|
155 |
background-position: 0 -49px !important
|
156 |
}
|
157 |
|
themes/drop-down/css/frontend.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.abh_box_down
|
1 |
+
.abh_box_down,.abh_box_up{margin:0 0 15px!important}.abh_box{clear:both!important;position:relative!important;width:100%!important}.abh_tabs{display:none;position:absolute!important;top:57px!important;left:-3px!important;width:55px!important;list-style:none!important;padding:0 0 5px!important;margin:0!important;font:13px arial!important}.abh_tab_content .abh_text ul,.abh_tabs li{list-style:none!important;padding:0!important}.abh_tabs li{display:block;margin:0!important;width:100%!important;text-align:center!important;line-height:11px!important;height:15px!important}.abh_tabs li:before{content:""!important;padding:0!important;margin:0!important}.abh_tabs li a{font-size:10px!important;border:0 solid #ccc!important;text-decoration:none!important;border-bottom:none!important}.abh_tabs li a,.abh_tabs li.abh_active a{padding:0!important;box-shadow:none!important;-webkit-box-shadow:none!important}.abh_tabs li a.icon_accept:hover{padding-left:24px!important}.abh_tabs_content_container{border:2px solid #ccc!important;border-top:none!important;padding:10px!important;width:400px!important}.abh_tab_content{padding:31px 0 10px!important;margin-left:65px!important;min-height:10px!important;overflow:hidden!important;border-bottom:0 solid #ddd!important}.abh_tab_content .abh_tab{display:none;border:0!important;padding:20px 0}.abh_tab_content .abh_image{position:absolute!important;top:0!important;left:0!important;display:block;float:left!important;width:80px!important}.abh_tab_content .abh_image img{width:50px!important;height:50px!important;box-shadow:0 1px 4px rgba(0,0,0,.2)!important;overflow:hidden!important;-webkit-border-radius:50% 50% 50% 50%!important;-moz-border-radius:50% 50% 50% 50%!important;border-radius:50% 50% 50% 50%!important;cursor:pointer!important;padding:0!important;margin:0!important}.abh_tab_content .abh_image a{border:0!important;box-shadow:0 1px 4px rgba(0,0,0,.2)!important;-webkit-box-shadow:none!important}.abh_tab_content .abh_text{margin-left:5px!important;line-height:1.5!important}.abh_tab_content .abh_text .abh_name{clear:none!important;font-weight:700!important;position:absolute!important;top:11px!important;left:70px!important;text-transform:capitalize!important;text-align:left!important;font-size:18px!important;line-height:1!important;text-decoration:none!important;margin:0!important;padding:0 0 5px!important;border-bottom:1px solid #ddd!important;cursor:pointer!important}.abh_tab_content .abh_text .abh_name a:hover,.abh_tab_content .abh_text a{text-decoration:none!important}.abh_tab_content .abh_text .abh_name .abh_arrow{float:right!important;background:url(../img/sprite.png) no-repeat!important;background-position:0 -29px!important;display:inline-block!important;font-size:14px!important;padding-right:0!important;margin:0!important;width:35px!important;height:17px!important}.abh_tab_content .abh_text .abh_name .abh_active{background-position:0 -49px!important}.abh_tab_content .abh_text a{line-height:20px;font-size:100%!important}.abh_tab_content .abh_text .abh_job{display:none;font-size:13px!important;font-weight:100!important;line-height:35px!important}.abh_tab_content .abh_text .abh_job span{vertical-align:top!important;font-size:13px!important;background-image:none;padding:0!important;margin:0!important}.abh_tab_content .abh_description{display:none;position:static!important;width:100%!important;font-size:14px!important;margin:0!important}.abh_tab_content .abh_text .abh_allposts{display:none;font-size:11px!important;vertical-align:middle!important}.abh_tab_content .abh_text ul{margin:5px 0 0 10px!important}.abh_tab_content .abh_text ul li,.abh_tab_content .abh_text ul li span{font-size:13px!important;line-height:20px!important;margin:0!important;padding:3px 0!important}.abh_tab_content .abh_social{display:none;float:right!important;width:140px!important;padding:0!important;margin:0!important;line-height:1px!important;text-align:right!important}.abh_box .abh_pwb a,.abh_tab_content .abh_social a,.abh_tab_content .abh_text a{box-shadow:none!important;-webkit-box-shadow:none!important}.abh_tab_content .abh_social a{display:inline-block!important;background:url(../img/sprite.png) no-repeat!important;width:24px!important;height:24px!important;margin:1px!important;padding:0!important;opacity:.5!important;transition:opacity .2s!important;-moz-transition:opacity .2s!important;-webkit-transition:opacity .2s!important;-o-transition:opacity .2s!important;border-radius:5px!important;-webkit-border-radius:5px!important;-moz-border-radius:5px!important}.abh_tab_content .abh_social a:hover{opacity:1!important}.abh_tab_content .abh_social a.abh_facebook{background-position:0 0!important}.abh_tab_content .abh_social a.abh_flickr{background-position:-24px 0!important}.abh_tab_content .abh_social a.abh_google{background-position:-48px 0!important}.abh_tab_content .abh_social a.abh_instagram{background-position:-72px 0!important}.abh_tab_content .abh_social a.abh_linkedin{background-position:-96px 0!important}.abh_tab_content .abh_social a.abh_pinterest{background-position:-120px 0!important}.abh_tab_content .abh_social a.abh_tumblr{background-position:-144px 0!important}.abh_tab_content .abh_social a.abh_twitter{background-position:-168px 0!important}.abh_tab_content .abh_social a.abh_vimeo{background-position:-192px 0!important}.abh_tab_content .abh_social a.abh_youtube{background-position:-216px 0!important}.abh_box .vcard{background:0 0!important;font-size:100%!important;border:0!important}.abh_box .abh_pwb{display:none}.abh_box .abh_pwb a{position:absolute!important;text-decoration:none!important;font-size:9px!important;color:#999!important;right:0!important;bottom:-20px!important}
|
themes/drop-down/js/frontend.js
CHANGED
@@ -29,8 +29,7 @@ var abh_loadbox_loaded = false;
|
|
29 |
obj.find(".abh_social").show();
|
30 |
obj.find(".abh_pwb").show();
|
31 |
obj.find(".abh_tab_content").css('border-bottom-width', '1px');
|
32 |
-
obj.find(".abh_tab_content
|
33 |
-
obj.find(".abh_tab_content h4").css('border-bottom-width', '0px');
|
34 |
obj.find(".abh_description").slideDown('fast');
|
35 |
obj.find(".abh_arrow").addClass('abh_active');
|
36 |
};
|
@@ -42,8 +41,7 @@ var abh_loadbox_loaded = false;
|
|
42 |
obj.find(".abh_social").hide();
|
43 |
obj.find(".abh_pwb").hide();
|
44 |
obj.find(".abh_tab_content").css('border-bottom-width', '0px');
|
45 |
-
obj.find(".abh_tab_content
|
46 |
-
obj.find(".abh_tab_content h4").css('border-bottom-width', '1px');
|
47 |
obj.find(".abh_arrow").removeClass('abh_active');
|
48 |
});
|
49 |
};
|
@@ -51,7 +49,7 @@ var abh_loadbox_loaded = false;
|
|
51 |
|
52 |
function abh_loadbox() {
|
53 |
abh_loadbox_loaded = true;
|
54 |
-
jQuery(".abh_tab_content .abh_about_tab .
|
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,7 +57,7 @@ function abh_loadbox() {
|
|
59 |
jQuery.abh_showContent(jQuery(this).parents('.abh_box'));
|
60 |
}
|
61 |
});
|
62 |
-
jQuery(".abh_tab_content .abh_posts_tab img, .abh_posts_tab
|
63 |
if (jQuery(this).parents('.abh_box').find(".abh_tabs").is(':visible')) {
|
64 |
jQuery.abh_hideContent(jQuery(this).parents('.abh_box'));
|
65 |
} else {
|
@@ -77,7 +75,7 @@ function abh_loadbox() {
|
|
77 |
jQuery._setCookie('abh_tab', selected_tab);
|
78 |
return false;
|
79 |
});
|
80 |
-
jQuery(".abh_tab_content").find("
|
81 |
}
|
82 |
|
83 |
jQuery(document).ready(function () {
|
29 |
obj.find(".abh_social").show();
|
30 |
obj.find(".abh_pwb").show();
|
31 |
obj.find(".abh_tab_content").css('border-bottom-width', '1px');
|
32 |
+
obj.find(".abh_tab_content .abh_name").css('border-bottom-width', '0px');
|
|
|
33 |
obj.find(".abh_description").slideDown('fast');
|
34 |
obj.find(".abh_arrow").addClass('abh_active');
|
35 |
};
|
41 |
obj.find(".abh_social").hide();
|
42 |
obj.find(".abh_pwb").hide();
|
43 |
obj.find(".abh_tab_content").css('border-bottom-width', '0px');
|
44 |
+
obj.find(".abh_tab_content .abh_name").css('border-bottom-width', '1px');
|
|
|
45 |
obj.find(".abh_arrow").removeClass('abh_active');
|
46 |
});
|
47 |
};
|
49 |
|
50 |
function abh_loadbox() {
|
51 |
abh_loadbox_loaded = true;
|
52 |
+
jQuery(".abh_tab_content .abh_about_tab .abh_name").on('click', function (event) {
|
53 |
event.preventDefault();
|
54 |
if (jQuery(this).parents('.abh_box').find(".abh_tabs").is(':visible')) {
|
55 |
jQuery.abh_hideContent(jQuery(this).parents('.abh_box'));
|
57 |
jQuery.abh_showContent(jQuery(this).parents('.abh_box'));
|
58 |
}
|
59 |
});
|
60 |
+
jQuery(".abh_tab_content .abh_about_tab .abh_image img, .abh_tab_content .abh_posts_tab .abh_image img, .abh_posts_tab .abh_name").on('click', function (event) {
|
61 |
if (jQuery(this).parents('.abh_box').find(".abh_tabs").is(':visible')) {
|
62 |
jQuery.abh_hideContent(jQuery(this).parents('.abh_box'));
|
63 |
} else {
|
75 |
jQuery._setCookie('abh_tab', selected_tab);
|
76 |
return false;
|
77 |
});
|
78 |
+
jQuery(".abh_tab_content").find(".abh_name").append('<span class="abh_arrow"></span>');
|
79 |
}
|
80 |
|
81 |
jQuery(document).ready(function () {
|
themes/drop-down/js/frontend.min.js
CHANGED
@@ -1,9 +1 @@
|
|
1 |
-
var $
|
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,b,e,c){if(b){e=$jscomp.global;a=a.split(".");for(c=0;c<a.length-1;c++){var d=a[c];d in e||(e[d]={});e=e[d]}a=a[a.length-1];c=e[a];b=b(c);b!=c&&null!=b&&$jscomp.defineProperty(e,a,{configurable:!0,writable:!0,value:b})}};
|
3 |
-
$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,e){return $jscomp.findInternal(this,a,e).v}},"es6","es3");var abh_loadbox_loaded=!1;
|
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);
|
1 |
+
var abh_loadbox_loaded=false;(function($){$._getCookie=function(nombre){var dcookie=document.cookie;var cname=nombre+"=";var longitud=dcookie.length;var inicio=0;while(inicio<longitud){var vbegin=inicio+cname.length;if(dcookie.substring(inicio,vbegin)===cname){var vend=dcookie.indexOf(";",vbegin);if(vend===-1)vend=longitud;return unescape(dcookie.substring(vbegin,vend))}inicio=dcookie.indexOf(" ",inicio)+1;if(inicio===0)break}return null};$._setCookie=function(name,value){document.cookie=name+"="+value+"; expires="+60*24+"; path=/"};$.abh_showContent=function(obj){obj.find(".abh_tabs").show();obj.find(".abh_job").show();obj.find(".abh_allposts").show();obj.find(".abh_social").show();obj.find(".abh_pwb").show();obj.find(".abh_tab_content").css("border-bottom-width","1px");obj.find(".abh_tab_content .abh_name").css("border-bottom-width","0px");obj.find(".abh_description").slideDown("fast");obj.find(".abh_arrow").addClass("abh_active")};$.abh_hideContent=function(obj){obj.find(".abh_description").slideUp("fast",function(){obj.find(".abh_tabs").hide();obj.find(".abh_job").hide();obj.find(".abh_allposts").hide();obj.find(".abh_social").hide();obj.find(".abh_pwb").hide();obj.find(".abh_tab_content").css("border-bottom-width","0px");obj.find(".abh_tab_content .abh_name").css("border-bottom-width","1px");obj.find(".abh_arrow").removeClass("abh_active")})}})(jQuery);function abh_loadbox(){abh_loadbox_loaded=true;jQuery(".abh_tab_content .abh_about_tab .abh_name").on("click",function(event){event.preventDefault();if(jQuery(this).parents(".abh_box").find(".abh_tabs").is(":visible")){jQuery.abh_hideContent(jQuery(this).parents(".abh_box"))}else{jQuery.abh_showContent(jQuery(this).parents(".abh_box"))}});jQuery(".abh_tab_content .abh_about_tab .abh_image img, .abh_tab_content .abh_posts_tab .abh_image img, .abh_posts_tab .abh_name").on("click",function(event){if(jQuery(this).parents(".abh_box").find(".abh_tabs").is(":visible")){jQuery.abh_hideContent(jQuery(this).parents(".abh_box"))}else{jQuery.abh_showContent(jQuery(this).parents(".abh_box"))}});jQuery(".abh_tabs li").click(function(event){event.preventDefault();jQuery(".abh_tabs li").removeClass("abh_active");jQuery(this).addClass("abh_active");jQuery(this).parents(".abh_box").find(".abh_tab").hide();var selected_tab=jQuery(this).find("a").attr("href");jQuery(this).parents(".abh_box").find(selected_tab.replace("#",".")+"_tab").fadeIn();jQuery(this).parents(".abh_box").find(selected_tab.replace("#",".")+"_tab").parents(".abh_box").find(selected_tab.replace("#",".")).addClass("abh_active");jQuery._setCookie("abh_tab",selected_tab);return false});jQuery(".abh_tab_content").find(".abh_name").append('<span class="abh_arrow"></span>')}jQuery(document).ready(function(){if(abh_loadbox_loaded===false)abh_loadbox()});var abh_timeout_loadbox=setTimeout(function(){if(abh_loadbox_loaded===false)abh_loadbox();else clearTimeout(abh_timeout_loadbox)},1e3);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
themes/fancy/css/frontend.css
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
.abh_box {
|
2 |
clear: both !important;
|
3 |
width: 100% !important;
|
@@ -113,6 +117,7 @@
|
|
113 |
|
114 |
.abh_tab_content .abh_image img {
|
115 |
max-width: 80px !important;
|
|
|
116 |
border-radius: 3px !important;
|
117 |
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
|
118 |
-webkit-box-shadow: none !important;
|
@@ -129,7 +134,7 @@
|
|
129 |
line-height: 1.5 !important
|
130 |
}
|
131 |
|
132 |
-
.abh_tab_content .abh_text
|
133 |
clear: none !important;
|
134 |
font-size: 20px !important;
|
135 |
font-weight: bold !important;
|
1 |
+
section.abh_tab{
|
2 |
+
padding: 0 !important;
|
3 |
+
margin: 0 !important;
|
4 |
+
}
|
5 |
.abh_box {
|
6 |
clear: both !important;
|
7 |
width: 100% !important;
|
117 |
|
118 |
.abh_tab_content .abh_image img {
|
119 |
max-width: 80px !important;
|
120 |
+
height: auto;
|
121 |
border-radius: 3px !important;
|
122 |
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
|
123 |
-webkit-box-shadow: none !important;
|
134 |
line-height: 1.5 !important
|
135 |
}
|
136 |
|
137 |
+
.abh_tab_content .abh_text .abh_name {
|
138 |
clear: none !important;
|
139 |
font-size: 20px !important;
|
140 |
font-weight: bold !important;
|
themes/fancy/css/frontend.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.
|
1 |
+
.abh_tab_content .abh_text .abh_name,section.abh_tab{padding:0!important;margin:0!important}.abh_box,.abh_tabs{width:100%!important}.abh_box{clear:both!important;padding:25px 0!important;position:relative!important}.abh_tabs{list-style:none!important;padding:5px 0 0!important;margin:0!important;font:13px arial!important;border-bottom:1px solid #ccc!important}.abh_tab_content .abh_text ul,.abh_tabs li{list-style:none!important;padding:0!important}.abh_tabs li{display:inline!important;margin:0!important}.abh_tabs li:after,.abh_tabs li:before{content:""!important;padding:0!important;margin:0!important}.abh_tab_content .abh_tab,.abh_tabs li i{display:none}.abh_tabs li a{border:1px solid #ccc!important;padding:4px 10px 3px!important;text-decoration:none!important;background-color:#eee!important;border-bottom:none!important;outline:0!important;border-radius:5px 5px 0 0!important;-webkit-border-radius:5px 5px 0 0!important;-moz-border-radius:5px 5px 0 0!important;line-height:23px!important;box-shadow:none!important;-webkit-box-shadow:none!important}.abh_tabs li a:hover{background-color:#ddd!important;padding:4px 10px!important}.abh_tabs li.abh_active a,.abh_tabs li.abh_active a:hover{padding:4px 10px 5px!important;border-bottom:none!important}.abh_tabs li.abh_active a{color:#333!important;background-color:#fff!important;box-shadow:none!important;-webkit-box-shadow:none!important}.abh_tabs li.abh_active a:hover{background-color:#eee!important}.abh_tabs li a.icon_accept:hover{padding-left:24px!important}.abh_tabs_content_container{border:2px solid #ccc!important;border-top:none!important;padding:10px!important;width:400px!important}.abh_tab_content{padding:12px!important;background:#fff!important;min-height:80px!important;overflow:hidden!important;border-left:1px solid #ccc!important;border-right:1px solid #ccc!important;border-bottom:1px solid #ccc!important;border-radius:0 0 5px 5px!important;-webkit-border-radius:0 0 5px 5px!important;-moz-border-radius:0 0 5px 5px!important}.abh_tab_content .abh_image{display:block;float:left!important;width:80px!important}.abh_tab_content .abh_image a,.abh_tab_content .abh_image img{box-shadow:0 1px 4px rgba(0,0,0,.2)!important;-webkit-box-shadow:none!important}.abh_tab_content .abh_image img{max-width:80px!important;height:auto;border-radius:3px!important}.abh_tab_content .abh_image a{border:0!important}.abh_tab_content .abh_text{margin-left:96px!important;line-height:1.5!important}.abh_tab_content .abh_text .abh_name{clear:none!important;font-size:20px!important;font-weight:700!important;text-align:left!important;line-height:20px!important}.abh_tab_content .abh_text .fn{text-transform:capitalize!important;clear:none!important;font-size:18px!important;color:#333!important;line-height:1!important;margin:0!important;padding:0!important;border:0!important}.abh_tab_content .abh_text .fn a,.abh_tabs li a{color:#333!important}.abh_tab_content .abh_text a{text-decoration:none!important}.abh_tab_content .abh_text .abh_job{line-height:20px!important;font-size:100%!important}.abh_tab_content .abh_text .abh_job span{vertical-align:top!important;font-size:13px!important;background-image:none!important;padding:0!important;margin:0!important}.abh_tab_content .abh_text .abh_description{position:static!important;padding-top:6px!important;font-size:14px!important;width:100%!important}.abh_tab_content .abh_text .abh_allposts{font-size:11px!important;vertical-align:middle!important}.abh_tab_content .abh_text ul{margin:5px 0 0 15px!important}.abh_tab_content .abh_text ul li,.abh_tab_content .abh_text ul li span{font-size:13px!important;line-height:20px!important;margin:0!important}.abh_tab_content .abh_social{width:80px!important;clear:left!important;float:left!important;line-height:1px!important;padding:0!important;margin:3px 0 0!important;text-align:center!important}.abh_tab_content .abh_social div{width:auto!important}.abh_box .abh_pwb a,.abh_tab_content .abh_social a,.abh_tab_content .abh_social a:hover,.abh_tab_content .abh_text .fn a,.abh_tab_content .abh_text a{box-shadow:none!important;-webkit-box-shadow:none!important}.abh_tab_content .abh_social a{display:inline-block!important;background:url(../img/sprite.png) no-repeat!important;width:24px!important;height:24px!important;margin:1px!important;padding:0!important;opacity:.5!important;transition:opacity .2s!important;-moz-transition:opacity .2s!important;-webkit-transition:opacity .2s!important;-o-transition:opacity .2s!important;border-radius:5px!important;-webkit-border-radius:5px!important;-moz-border-radius:5px!important}.abh_tab_content .abh_social a:hover{opacity:1!important}.abh_tab_content .abh_social a.abh_facebook{background-position:0 0!important}.abh_tab_content .abh_social a.abh_flickr{background-position:-24px 0!important}.abh_tab_content .abh_social a.abh_google{background-position:-48px 0!important}.abh_tab_content .abh_social a.abh_instagram{background-position:-72px 0!important}.abh_tab_content .abh_social a.abh_linkedin{background-position:-96px 0!important}.abh_tab_content .abh_social a.abh_pinterest{background-position:-120px 0!important}.abh_tab_content .abh_social a.abh_tumblr{background-position:-144px 0!important}.abh_tab_content .abh_social a.abh_twitter{background-position:-168px 0!important}.abh_tab_content .abh_social a.abh_vimeo{background-position:-192px 0!important}.abh_tab_content .abh_social a.abh_youtube{background-position:-216px 0!important}.abh_box .vcard{background:0 0!important;font-size:100%!important;border:0!important}.abh_box .abh_pwb a{position:absolute!important;text-decoration:none!important;font-size:9px!important;color:#999!important;right:0!important;bottom:5px!important}
|
themes/fancy/js/frontend.min.js
CHANGED
@@ -1,5 +1 @@
|
|
1 |
-
var $
|
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,e){if(c){b=$jscomp.global;a=a.split(".");for(e=0;e<a.length-1;e++){var d=a[e];d in b||(b[d]={});b=b[d]}a=a[a.length-1];e=b[a];c=c(e);c!=e&&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");var abh_loadbox_loaded=!1;(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,b){document.cookie=a+"="+b+"; expires=1440; path=/"}})(jQuery);
|
4 |
-
function abh_loadbox(){abh_loadbox_loaded=!0;jQuery(".abh_tabs li").click(function(a){a.preventDefault();jQuery(this).parents(".abh_box").find(".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("#",".")).addClass("abh_active");
|
5 |
-
jQuery._setCookie("abh_tab",a);return!1});if(null!==jQuery._getCookie("abh_tab")){jQuery(".abh_tab").hide();jQuery(".abh_tabs li").removeClass("abh_active");var a=jQuery._getCookie("abh_tab");jQuery(a.replace("#",".")+"_tab").fadeIn();jQuery(a.replace("#",".")).addClass("abh_active")}}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);
|
1 |
+
var abh_loadbox_loaded=false;(function($){$._getCookie=function(nombre){var dcookie=document.cookie;var cname=nombre+"=";var longitud=dcookie.length;var inicio=0;while(inicio<longitud){var vbegin=inicio+cname.length;if(dcookie.substring(inicio,vbegin)===cname){var vend=dcookie.indexOf(";",vbegin);if(vend===-1)vend=longitud;return unescape(dcookie.substring(vbegin,vend))}inicio=dcookie.indexOf(" ",inicio)+1;if(inicio===0)break}return null};$._setCookie=function(name,value){document.cookie=name+"="+value+"; expires="+60*24+"; path=/"}})(jQuery);function abh_loadbox(){abh_loadbox_loaded=true;jQuery(".abh_tabs li").click(function(event){event.preventDefault();jQuery(this).parents(".abh_box").find(".abh_tabs li").removeClass("abh_active");jQuery(this).addClass("abh_active");jQuery(this).parents(".abh_box").find(".abh_tab").hide();var selected_tab=jQuery(this).find("a").attr("href");jQuery(this).parents(".abh_box").find(selected_tab.replace("#",".")+"_tab").fadeIn();jQuery(this).parents(".abh_box").find(selected_tab.replace("#",".")+"_tab").parents(".abh_box").find(selected_tab.replace("#",".")).addClass("abh_active");jQuery._setCookie("abh_tab",selected_tab);return false});if(jQuery._getCookie("abh_tab")!==null){jQuery(".abh_tab").hide();jQuery(".abh_tabs li").removeClass("abh_active");var selected_tab=jQuery._getCookie("abh_tab");jQuery(selected_tab.replace("#",".")+"_tab").fadeIn();jQuery(selected_tab.replace("#",".")).addClass("abh_active")}}jQuery(document).ready(function(){if(abh_loadbox_loaded===false)abh_loadbox()});var abh_timeout_loadbox=setTimeout(function(){if(abh_loadbox_loaded===false)abh_loadbox();else clearTimeout(abh_timeout_loadbox)},1e3);
|
|
|
|
|
|
|
|
themes/minimal/css/frontend.css
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
.abh_box {
|
2 |
clear: both !important;
|
3 |
width: 100% !important;
|
@@ -112,7 +116,8 @@
|
|
112 |
overflow: hidden !important;
|
113 |
border: 1px solid #ddd !important;
|
114 |
padding: 5px !important;
|
115 |
-
max-width: 80px !important
|
|
|
116 |
}
|
117 |
|
118 |
.abh_tab_content .abh_text {
|
@@ -120,7 +125,7 @@
|
|
120 |
line-height: 1.5 !important
|
121 |
}
|
122 |
|
123 |
-
.abh_tab_content .abh_text
|
124 |
font-size: 20px !important;
|
125 |
padding: 0 !important;
|
126 |
margin: 0 !important;
|
@@ -276,4 +281,16 @@
|
|
276 |
bottom: 5px !important;
|
277 |
box-shadow: none !important;
|
278 |
-webkit-box-shadow: none !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
}
|
1 |
+
section.abh_tab{
|
2 |
+
padding: 0 !important;
|
3 |
+
margin: 0 !important;
|
4 |
+
}
|
5 |
.abh_box {
|
6 |
clear: both !important;
|
7 |
width: 100% !important;
|
116 |
overflow: hidden !important;
|
117 |
border: 1px solid #ddd !important;
|
118 |
padding: 5px !important;
|
119 |
+
max-width: 80px !important;
|
120 |
+
height: auto;
|
121 |
}
|
122 |
|
123 |
.abh_tab_content .abh_text {
|
125 |
line-height: 1.5 !important
|
126 |
}
|
127 |
|
128 |
+
.abh_tab_content .abh_text .abh_name {
|
129 |
font-size: 20px !important;
|
130 |
padding: 0 !important;
|
131 |
margin: 0 !important;
|
281 |
bottom: 5px !important;
|
282 |
box-shadow: none !important;
|
283 |
-webkit-box-shadow: none !important;
|
284 |
+
}
|
285 |
+
|
286 |
+
@media only screen and (max-width: 600px) {
|
287 |
+
.abh_box .abh_image{
|
288 |
+
float: none !important;
|
289 |
+
margin: 5px auto !important;
|
290 |
+
}
|
291 |
+
|
292 |
+
.abh_box .abh_text{
|
293 |
+
margin: 0 !important;
|
294 |
+
width: 100% !important;
|
295 |
+
}
|
296 |
}
|
themes/minimal/css/frontend.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.
|
1 |
+
.abh_tab_content .abh_text .abh_name,.abh_tabs li:before,section.abh_tab{padding:0!important;margin:0!important}.abh_box,.abh_tabs{width:100%!important}.abh_box{clear:both!important;padding:25px 0!important;position:relative!important}.abh_tabs{list-style:none!important;padding:5px 0!important;margin:0!important;font:13px arial!important}.abh_tab_content .abh_text ul,.abh_tabs li{list-style:none!important;padding:0!important}.abh_tabs li{display:none;margin:0!important}.abh_tabs li:before{content:""!important}.abh_tab_content .abh_tab,.abh_tabs,.abh_tabs li i{display:none}.abh_tabs li a{background-color:transparent!important;border:0 solid #ccc!important;padding:4px 10px 5px!important;text-decoration:none!important;border-bottom:none!important;outline:0!important;box-shadow:0 1px 4px rgba(0,0,0,.2)!important;-webkit-box-shadow:none!important}.abh_tabs li a:hover{background-color:#ddd!important;padding:4px 10px 5px!important}.abh_tabs li a,.abh_tabs li.abh_active a{color:#333!important}.abh_tabs li.abh_active a,.abh_tabs li.abh_active a:hover{background-color:#eee!important;padding:4px 10px 5px!important;border-bottom:none!important}.abh_tabs li a.icon_accept:hover{padding-left:24px!important}.abh_tabs_content_container{border:2px solid #ccc!important;border-top:none!important;padding:10px!important;width:400px!important}.abh_tab_content{padding:20px 12px!important;min-height:80px!important;overflow:hidden!important;border-top:1px solid #ccc!important;border-bottom:1px solid #ccc!important}.abh_tab_content .abh_image{display:block;float:left!important;width:90px!important;margin:0!important;padding:0!important}.abh_tab_content .abh_image a,.abh_tab_content .abh_text a,.abh_tabs li.abh_active a{box-shadow:0 1px 4px rgba(0,0,0,.2)!important;-webkit-box-shadow:none!important}.abh_tab_content .abh_image a{border:0!important}.abh_tab_content .abh_image img{border-radius:3px!important;-webkit-border-radius:3px!important;-moz-border-radius:3px!important;box-shadow:none!important;overflow:hidden!important;border:1px solid #ddd!important;padding:5px!important;max-width:80px!important;height:auto}.abh_tab_content .abh_text{margin-left:110px!important;line-height:1.5!important}.abh_tab_content .abh_text .abh_name{font-size:20px!important;clear:none!important;font-weight:700!important;text-align:left!important;line-height:20px!important}.abh_tab_content .abh_text .fn{text-transform:capitalize!important;clear:none!important;font-size:18px!important;line-height:1!important;margin:0!important;padding:0!important;border:0!important}.abh_tab_content .abh_text a{font-size:100%!important;text-decoration:none!important}.abh_tab_content .abh_text .abh_job{line-height:20px!important;font-size:100%!important}.abh_tab_content .abh_text .abh_job span{font-size:13px!important;background-image:none!important;padding:0!important;margin:0!important}.abh_tab_content .abh_text .abh_description{position:static!important;padding-top:6px!important;font-size:13px!important;width:100%!important}.abh_tab_content .abh_text .abh_allposts{font-size:11px!important;vertical-align:middle!important}.abh_tab_content .abh_text ul{margin:5px 0 0 15px!important}.abh_tab_content .abh_text ul li,.abh_tab_content .abh_text ul li span{font-size:13px!important;line-height:20px!important;margin:0!important}.abh_tab_content .abh_social{display:block;float:right!important;line-height:1px!important;padding:0!important;margin:3px 0 0!important;text-align:right!important}.abh_tab_content .abh_social div{width:140px!important;margin:0 0 0 auto!important}.abh_box .abh_pwb a,.abh_tab_content .abh_social a{text-decoration:none!important;box-shadow:none!important;-webkit-box-shadow:none!important}.abh_tab_content .abh_social a{display:inline-block!important;background:url(../img/sprite.png) no-repeat!important;width:24px!important;height:24px!important;margin:1px!important;padding:0!important;opacity:.5!important;transition:opacity .2s!important;-moz-transition:opacity .2s!important;-webkit-transition:opacity .2s!important;-o-transition:opacity .2s!important;border-radius:5px!important;-webkit-border-radius:5px!important;-moz-border-radius:5px!important}.abh_tab_content .abh_social a:hover{opacity:1!important}.abh_tab_content .abh_social a.abh_facebook{background-position:0 0!important}.abh_tab_content .abh_social a.abh_flickr{background-position:-24px 0!important}.abh_tab_content .abh_social a.abh_google{background-position:-48px 0!important}.abh_tab_content .abh_social a.abh_instagram{background-position:-72px 0!important}.abh_tab_content .abh_social a.abh_linkedin{background-position:-96px 0!important}.abh_tab_content .abh_social a.abh_pinterest{background-position:-120px 0!important}.abh_tab_content .abh_social a.abh_tumblr{background-position:-144px 0!important}.abh_tab_content .abh_social a.abh_twitter{background-position:-168px 0!important}.abh_tab_content .abh_social a.abh_vimeo{background-position:-192px 0!important}.abh_tab_content .abh_social a.abh_youtube{background-position:-216px 0!important}.abh_box .vcard{background:0 0!important;font-size:100%!important;border:0!important}.abh_box .abh_pwb a{position:absolute!important;font-size:9px!important;color:#999!important;right:0!important;bottom:5px!important}@media only screen and (max-width:600px){.abh_box .abh_image{float:none!important;margin:5px auto!important}.abh_box .abh_text{margin:0!important;width:100%!important}}
|
themes/topstar-round/css/frontend.css
CHANGED
@@ -92,6 +92,7 @@
|
|
92 |
|
93 |
.abh_tab_content .abh_image img {
|
94 |
max-width: 100%;
|
|
|
95 |
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
|
96 |
overflow: hidden;
|
97 |
-webkit-border-radius: 50% 50% 50% 50%;
|
@@ -111,7 +112,7 @@
|
|
111 |
line-height: 1.5
|
112 |
}
|
113 |
|
114 |
-
.abh_tab_content .abh_text
|
115 |
clear: both;
|
116 |
font-weight: normal;
|
117 |
text-transform: capitalize;
|
@@ -125,11 +126,11 @@
|
|
125 |
cursor: pointer
|
126 |
}
|
127 |
|
128 |
-
.abh_tab_content .abh_text
|
129 |
text-decoration: none
|
130 |
}
|
131 |
|
132 |
-
.abh_tab_content .abh_text
|
133 |
float: right;
|
134 |
background: transparent url('../img/sprite.png') no-repeat;
|
135 |
background-position: 0 -29px;
|
@@ -141,7 +142,7 @@
|
|
141 |
height: 17px
|
142 |
}
|
143 |
|
144 |
-
.abh_tab_content .abh_text
|
145 |
background-position: 0 -49px
|
146 |
}
|
147 |
|
92 |
|
93 |
.abh_tab_content .abh_image img {
|
94 |
max-width: 100%;
|
95 |
+
height: auto;
|
96 |
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
|
97 |
overflow: hidden;
|
98 |
-webkit-border-radius: 50% 50% 50% 50%;
|
112 |
line-height: 1.5
|
113 |
}
|
114 |
|
115 |
+
.abh_tab_content .abh_text .abh_name {
|
116 |
clear: both;
|
117 |
font-weight: normal;
|
118 |
text-transform: capitalize;
|
126 |
cursor: pointer
|
127 |
}
|
128 |
|
129 |
+
.abh_tab_content .abh_text .abh_name a:hover {
|
130 |
text-decoration: none
|
131 |
}
|
132 |
|
133 |
+
.abh_tab_content .abh_text .abh_name .abh_arrow {
|
134 |
float: right;
|
135 |
background: transparent url('../img/sprite.png') no-repeat;
|
136 |
background-position: 0 -29px;
|
142 |
height: 17px
|
143 |
}
|
144 |
|
145 |
+
.abh_tab_content .abh_text .abh_name .abh_active {
|
146 |
background-position: 0 -49px
|
147 |
}
|
148 |
|
themes/topstar-round/css/frontend.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.abh_box_down
|
1 |
+
.abh_box_down,.abh_box_up{margin:0}.abh_box{position:absolute;width:0;height:0}.abh_tabs{display:none;position:absolute;top:57px;left:-3px;width:55px;list-style:none;padding:0 0 5px;margin:0;font:13px arial}.abh_tabs li{display:block;width:100%;text-align:center;line-height:11px;height:15px}.abh_tabs li a{font-size:10px;border:0 solid #ccc;border-bottom:none;padding:0}.abh_tabs li.abh_active a{padding:0;box-shadow:none!important;-webkit-box-shadow:none!important}.abh_tabs li a.icon_accept:hover{padding-left:24px}.abh_tabs_content_container{border:2px solid #ccc;border-top:none;padding:10px;width:400px}.abh_tab_content{display:block;position:absolute;width:80px;min-height:245px;top:-10px;left:-125px;text-align:right;padding:0;margin:0}.abh_tab_content .abh_tab{display:none}.abh_tab_content .abh_about{display:block}.abh_tab_content .abh_image{position:absolute;top:0;left:0;display:block;float:left}.abh_tab_content .abh_image img{max-width:100%;height:auto;box-shadow:0 1px 4px rgba(0,0,0,.2);overflow:hidden;-webkit-border-radius:50% 50% 50% 50%;-moz-border-radius:50% 50% 50% 50%;border-radius:50% 50% 50% 50%;cursor:pointer}.abh_tab_content .abh_image a{border:0!important;box-shadow:0 1px 4px rgba(0,0,0,.2)!important;-webkit-box-shadow:none!important}.abh_tab_content .abh_text{line-height:1.5}.abh_tab_content .abh_text .abh_name{clear:both;font-weight:400;text-transform:capitalize;text-align:center;font-size:12px;line-height:14px!important;text-decoration:none;margin:83px 0 0!important;padding:0 0 4px;border-bottom:1px solid #ddd;cursor:pointer}.abh_tab_content .abh_text .abh_name a:hover{text-decoration:none}.abh_tab_content .abh_text .abh_name .abh_arrow{float:right;background:url(../img/sprite.png) no-repeat;background-position:0 -29px;display:inline-block;font-size:14px;padding-right:13px;margin:0;width:8px;height:17px}.abh_tab_content .abh_text .abh_name .abh_active{background-position:0 -49px}.abh_tab_content .abh_text .fn a,.abh_tabs li a{text-decoration:none;box-shadow:none!important;-webkit-box-shadow:none!important}.abh_tab_content .abh_text .abh_job{display:none}.abh_tab_content .abh_text .abh_job span{font-size:13px;margin-bottom:15px}.abh_tab_content .abh_description{display:none;width:100%;margin-top:5px}.abh_tab_content .abh_text .abh_allposts{display:none;font-size:11px;vertical-align:middle}.abh_tab_content .abh_text ul{list-style:none;padding:0;margin:5px 0 0 10px}.abh_tab_content .abh_social{display:none;position:absolute;width:80px;top:130px;line-height:1px;padding:0;margin:3px 0 0;text-align:center}.abh_tab_content .abh_social div{width:auto!important}.abh_tab_content .abh_social a{display:inline-block;background:url(../img/sprite.png) no-repeat;width:24px;height:24px;margin:1px!important;padding:0!important;opacity:.5;transition:opacity .2s;-moz-transition:opacity .2s;-webkit-transition:opacity .2s;-o-transition:opacity .2s;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;box-shadow:none!important;-webkit-box-shadow:none!important}.abh_tab_content .abh_social a:hover{opacity:1}.abh_tab_content .abh_social a.abh_facebook{background-position:0 0}.abh_tab_content .abh_social a.abh_flickr{background-position:-24px 0}.abh_tab_content .abh_social a.abh_google{background-position:-48px 0}.abh_tab_content .abh_social a.abh_instagram{background-position:-72px 0}.abh_tab_content .abh_social a.abh_linkedin{background-position:-96px 0}.abh_tab_content .abh_social a.abh_pinterest{background-position:-120px 0}.abh_tab_content .abh_social a.abh_tumblr{background-position:-144px 0}.abh_tab_content .abh_social a.abh_twitter{background-position:-168px 0}.abh_tab_content .abh_social a.abh_vimeo{background-position:-192px 0}.abh_tab_content .abh_social a.abh_youtube{background-position:-216px 0}.abh_box .vcard{background:0 0;font-size:100%;border:0}.abh_box .abh_pwb{display:none}
|
themes/topstar-round/js/frontend.min.js
CHANGED
@@ -1,4 +1 @@
|
|
1 |
-
var
|
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");var abh_loadbox_loaded=!1;function abh_loadbox(){abh_loadbox_loaded=!0;jQuery(".abh_tab_content").mouseenter(function(){jQuery(this).find(".abh_social").stop().fadeIn("slow")}).mouseleave(function(){jQuery(this).find(".abh_social").stop().fadeOut("fast")})}jQuery(document).ready(function(){!1===abh_loadbox_loaded&&abh_loadbox()});
|
4 |
-
var abh_timeout_loadbox=setTimeout(function(){!1===abh_loadbox_loaded?abh_loadbox():clearTimeout(abh_timeout_loadbox)},1E3);
|
1 |
+
var abh_loadbox_loaded=false;function abh_loadbox(){abh_loadbox_loaded=true;jQuery(".abh_tab_content").mouseenter(function(){jQuery(this).find(".abh_social").stop().fadeIn("slow")}).mouseleave(function(){jQuery(this).find(".abh_social").stop().fadeOut("fast")})}jQuery(document).ready(function(){if(abh_loadbox_loaded===false)abh_loadbox()});var abh_timeout_loadbox=setTimeout(function(){if(abh_loadbox_loaded===false)abh_loadbox();else clearTimeout(abh_timeout_loadbox)},1e3);
|
|
|
|
|
|
themes/topstar/css/frontend.css
CHANGED
@@ -92,6 +92,7 @@
|
|
92 |
|
93 |
.abh_tab_content .abh_image img {
|
94 |
max-width: 100%;
|
|
|
95 |
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
|
96 |
overflow: hidden;
|
97 |
cursor: pointer
|
@@ -106,7 +107,7 @@
|
|
106 |
line-height: 1.5
|
107 |
}
|
108 |
|
109 |
-
.abh_tab_content .abh_text
|
110 |
clear: both;
|
111 |
font-weight: normal;
|
112 |
text-transform: capitalize;
|
@@ -120,11 +121,11 @@
|
|
120 |
cursor: pointer
|
121 |
}
|
122 |
|
123 |
-
.abh_tab_content .abh_text
|
124 |
text-decoration: none
|
125 |
}
|
126 |
|
127 |
-
.abh_tab_content .abh_text
|
128 |
float: right;
|
129 |
background: transparent url('../img/sprite.png') no-repeat;
|
130 |
background-position: 0 -29px;
|
@@ -136,7 +137,7 @@
|
|
136 |
height: 17px
|
137 |
}
|
138 |
|
139 |
-
.abh_tab_content .abh_text
|
140 |
background-position: 0 -49px
|
141 |
}
|
142 |
|
92 |
|
93 |
.abh_tab_content .abh_image img {
|
94 |
max-width: 100%;
|
95 |
+
height: auto;
|
96 |
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
|
97 |
overflow: hidden;
|
98 |
cursor: pointer
|
107 |
line-height: 1.5
|
108 |
}
|
109 |
|
110 |
+
.abh_tab_content .abh_text .abh_name {
|
111 |
clear: both;
|
112 |
font-weight: normal;
|
113 |
text-transform: capitalize;
|
121 |
cursor: pointer
|
122 |
}
|
123 |
|
124 |
+
.abh_tab_content .abh_text .abh_name a, .abh_tab_content .abh_text .abh_name a:hover{
|
125 |
text-decoration: none
|
126 |
}
|
127 |
|
128 |
+
.abh_tab_content .abh_text .abh_name .abh_arrow {
|
129 |
float: right;
|
130 |
background: transparent url('../img/sprite.png') no-repeat;
|
131 |
background-position: 0 -29px;
|
137 |
height: 17px
|
138 |
}
|
139 |
|
140 |
+
.abh_tab_content .abh_text .abh_name .abh_active {
|
141 |
background-position: 0 -49px
|
142 |
}
|
143 |
|
themes/topstar/css/frontend.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.abh_box_down
|
1 |
+
.abh_box_down,.abh_box_up{margin:0}.abh_box{position:absolute;width:0;height:0}.abh_tabs{display:none;position:absolute;top:57px;left:-3px;width:55px;list-style:none;padding:0 0 5px;margin:0;font:13px arial}.abh_tabs li{display:block;width:100%;text-align:center;line-height:11px;height:15px}.abh_tabs li a{font-size:10px;border:0 solid #ccc;border-bottom:none}.abh_tabs li a,.abh_tabs li.abh_active a{padding:0;box-shadow:none!important;-webkit-box-shadow:none!important}.abh_tabs li a.icon_accept:hover{padding-left:24px}.abh_tabs_content_container{border:2px solid #ccc;border-top:none;padding:10px;width:400px}.abh_tab_content{display:block;position:absolute;width:80px;min-height:245px;top:-10px;left:-125px;text-align:right;padding:0;margin:0}.abh_tab_content .abh_tab{display:none}.abh_tab_content .abh_about{display:block}.abh_tab_content .abh_image{position:absolute;top:0;left:0;display:block;float:left}.abh_tab_content .abh_image img{max-width:100%;height:auto;box-shadow:0 1px 4px rgba(0,0,0,.2);overflow:hidden;cursor:pointer}.abh_tab_content .abh_image a{border:0!important;-webkit-box-shadow:none!important}.abh_tab_content .abh_text{line-height:1.5}.abh_tab_content .abh_text .abh_name{clear:both;font-weight:400;text-transform:capitalize;text-align:right;font-size:12px;line-height:14px!important;text-decoration:none;margin:83px 0 0!important;padding:0 0 4px;border-bottom:1px solid #ddd;cursor:pointer}.abh_tab_content .abh_text .abh_name a,.abh_tab_content .abh_text .abh_name a:hover,.abh_tabs li a{text-decoration:none}.abh_tab_content .abh_text .abh_name .abh_arrow{float:right;background:url(../img/sprite.png) no-repeat;background-position:0 -29px;display:inline-block;font-size:14px;padding-right:13px;margin:0;width:8px;height:17px}.abh_tab_content .abh_text .abh_name .abh_active{background-position:0 -49px}.abh_tab_content .abh_text .fn a{text-decoration:none;box-shadow:none!important;-webkit-box-shadow:none!important}.abh_tab_content .abh_text .abh_job{display:none}.abh_tab_content .abh_text .abh_job span{font-size:13px;margin-bottom:15px}.abh_tab_content .abh_description{display:none;width:100%;margin-top:5px}.abh_tab_content .abh_text .abh_allposts{display:none;font-size:11px;vertical-align:middle}.abh_tab_content .abh_text ul{list-style:none;padding:0;margin:5px 0 0 10px}.abh_tab_content .abh_social{display:none;position:absolute;width:80px;top:130px;line-height:1px;padding:0;margin:3px 0 0;text-align:center}.abh_tab_content .abh_social div{width:auto!important}.abh_tab_content .abh_social a{display:inline-block;background:url(../img/sprite.png) no-repeat;width:24px;height:24px;margin:1px!important;padding:0!important;opacity:.5;transition:opacity .2s;-moz-transition:opacity .2s;-webkit-transition:opacity .2s;-o-transition:opacity .2s;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;box-shadow:none!important;-webkit-box-shadow:none!important}.abh_tab_content .abh_social a:hover{opacity:1}.abh_tab_content .abh_social a.abh_facebook{background-position:0 0}.abh_tab_content .abh_social a.abh_flickr{background-position:-24px 0}.abh_tab_content .abh_social a.abh_google{background-position:-48px 0}.abh_tab_content .abh_social a.abh_instagram{background-position:-72px 0}.abh_tab_content .abh_social a.abh_linkedin{background-position:-96px 0}.abh_tab_content .abh_social a.abh_pinterest{background-position:-120px 0}.abh_tab_content .abh_social a.abh_tumblr{background-position:-144px 0}.abh_tab_content .abh_social a.abh_twitter{background-position:-168px 0}.abh_tab_content .abh_social a.abh_vimeo{background-position:-192px 0}.abh_tab_content .abh_social a.abh_youtube{background-position:-216px 0}.abh_box .vcard{background:0 0;font-size:100%;border:0}.abh_box .abh_pwb{display:none}
|
themes/topstar/js/frontend.min.js
CHANGED
@@ -1,4 +1 @@
|
|
1 |
-
var
|
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");var abh_loadbox_loaded=!1;function abh_loadbox(){abh_loadbox_loaded=!0;jQuery(".abh_tab_content").mouseenter(function(){jQuery(this).find(".abh_social").stop().fadeIn("slow")}).mouseleave(function(){jQuery(this).find(".abh_social").stop().fadeOut("fast")})}jQuery(document).ready(function(){!1===abh_loadbox_loaded&&abh_loadbox()});
|
4 |
-
var abh_timeout_loadbox=setTimeout(function(){!1===abh_loadbox_loaded?abh_loadbox():clearTimeout(abh_timeout_loadbox)},1E3);
|
1 |
+
var abh_loadbox_loaded=false;function abh_loadbox(){abh_loadbox_loaded=true;jQuery(".abh_tab_content").mouseenter(function(){jQuery(this).find(".abh_social").stop().fadeIn("slow")}).mouseleave(function(){jQuery(this).find(".abh_social").stop().fadeOut("fast")})}jQuery(document).ready(function(){if(abh_loadbox_loaded===false)abh_loadbox()});var abh_timeout_loadbox=setTimeout(function(){if(abh_loadbox_loaded===false)abh_loadbox();else clearTimeout(abh_timeout_loadbox)},1e3);
|
|
|
|
|
|