Version Description
- New: Brand new admin interface.
- New: CSS resources are combined and optimized.
- New: Support for font awesome 5 icons.
- New: Weibo, Renren, Odnoklassniki, Line, Skype, Mix social icons added.
- New: Custom colors can be selected for share icons.
- New: Added new options for Floating sharebar, mobile sharebar
- New: Enhanced existing developer APIs and added new filters.
Download this release
Release Info
Developer | vaakash |
Plugin | WP Socializer |
Version | 4.0 |
Comparing to | |
See all releases |
Code changes from version 3.3.4 to 4.0
- README.md +0 -5
- admin/admin.php +178 -198
- admin/buttons.php +43 -29
- admin/buttons_picker.php +283 -0
- admin/css/button_picker_preview.css +117 -0
- admin/css/style.css +364 -303
- admin/css/style_setup.css +4 -21
- admin/css/style_widgets.css +2 -0
- admin/followbar.php +68 -61
- admin/general_settings.php +37 -3
- admin/help.php +0 -48
- admin/images/banners/floating-sharebar.svg +178 -0
- admin/images/banners/follow-bar.svg +127 -0
- admin/images/banners/import-export.png +0 -0
- admin/images/banners/{mobile-sharebar.png → mobile-sharebar-big.png} +0 -0
- admin/images/banners/mobile-sharebar.svg +237 -0
- admin/images/banners/settings.png +0 -0
- admin/images/banners/setup.png +0 -0
- admin/images/banners/{share-buttons.png → share-buttons-big.png} +0 -0
- admin/images/banners/share-buttons.svg +250 -0
- admin/images/banners/test.png +0 -0
- admin/images/banners/text-sharebar.png +0 -0
- admin/images/banners/text-sharebar.svg +174 -0
- admin/images/banners/{widgets.png → widgets-big.png} +0 -0
- admin/images/banners/widgets.svg +250 -0
- admin/images/icons/{social_buttons.png → social_icons.png} +0 -0
- admin/images/select_images/bb-1.svg +1 -0
- admin/images/select_images/counter-1.svg +1 -0
- admin/images/select_images/counter-2.svg +1 -0
- admin/images/select_images/counter-3.svg +1 -0
- admin/images/select_images/layout-fluid.svg +1 -0
- admin/images/select_images/layout-horizontal.svg +1 -0
- admin/images/select_images/layout-vertical.svg +1 -0
- admin/images/select_images/lr-hide-all.svg +1 -0
- admin/images/select_images/lr-hide-sel.svg +1 -0
- admin/images/select_images/lr-show-all.svg +1 -0
- admin/images/select_images/lr-show-sel.svg +1 -0
- admin/images/select_images/pos-bl.svg +1 -0
- admin/images/select_images/pos-bm.svg +1 -0
- admin/images/select_images/pos-br.svg +1 -0
- admin/images/select_images/pos-lm.svg +1 -0
- admin/images/select_images/pos-rm.svg +1 -0
- admin/images/select_images/pos-tl.svg +1 -0
- admin/images/select_images/pos-tm.svg +1 -0
- admin/images/select_images/pos-tr.svg +1 -0
- admin/images/select_images/shape-circle.svg +1 -0
- admin/images/select_images/shape-diamond.svg +1 -0
- admin/images/select_images/shape-drop.svg +1 -0
- admin/images/select_images/shape-ribbon.svg +1 -0
- admin/images/select_images/shape-square.svg +1 -0
- admin/images/select_images/shape-squircle-2.svg +1 -0
- admin/images/select_images/shape-squircle.svg +1 -0
- admin/images/select_images/size.svg +1 -0
- admin/images/tips/btn-layouts.png +0 -0
- admin/images/tips/btn-shapes.png +0 -0
- admin/images/tips/btn-sizes.png +0 -0
- admin/import_export.php +12 -2
- admin/js/script.js +179 -230
- admin/js/script_setup.js +2 -2
- admin/js/setup/buttons.json +53 -265
- admin/js/setup/sharebar.json +0 -111
- admin/js/setup/templates.json +9 -241
- admin/mobile_sharebar.php +35 -15
- admin/setup.php +46 -40
- admin/sharebar.php +29 -30
- admin/text_sharebar.php +22 -12
- admin/widgets.php +13 -2
- core/buttons.php +8 -3
- core/includes.php +28 -1
- core/lists.php +219 -79
- core/location_rules.php +7 -7
- core/services.php +79 -29
- core/templates.php +47 -32
- core/widgets.php +4 -10
- public/css/wp-socializer.css +80 -87
- public/css/wp-socializer.min.css +1 -1
- public/css/wpsr.min.css +6 -0
- public/js/wp-socializer.js +12 -12
- public/js/wp-socializer.min.js +1 -35
- readme.txt +38 -33
- services/facebook.php +53 -12
- services/google_plus.php +48 -8
- services/html.php +29 -7
- services/linkedin.php +35 -6
- services/pinterest.php +32 -8
- services/pocket.php +35 -6
- services/reddit.php +30 -6
- services/share_counter.php +55 -11
- services/sharethis.php +19 -4
- services/{social_buttons.php → social_icons.php} +108 -113
- services/stumbleupon.php +0 -105
- services/twitter.php +38 -14
- wpsr.php +4 -5
README.md
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
# WP Socializer #
|
2 |
-
|
3 |
-
WP Socializer is an all in one complete social media plugin to add native social media buttons, icons, floating sharebar, follow us buttons, profile icons, mobile sharebar and selected text share popups easily with complete control and customization.
|
4 |
-
|
5 |
-
It powers a drag & drop admin interface to create buttons with customization and options to selectively display buttons in the desired post and pages.
|
|
|
|
|
|
|
|
|
|
admin/admin.php
CHANGED
@@ -6,14 +6,18 @@
|
|
6 |
|
7 |
class WPSR_Admin{
|
8 |
|
9 |
-
public static $
|
10 |
public static $pagehook = 'toplevel_page_wp_socializer';
|
|
|
11 |
|
12 |
public static function init(){
|
13 |
|
14 |
// Register the admin menu
|
15 |
add_action( 'admin_menu', array( __CLASS__, 'admin_menu' ) );
|
16 |
|
|
|
|
|
|
|
17 |
// Enqueue the scripts and styles
|
18 |
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_scripts' ) );
|
19 |
|
@@ -29,32 +33,45 @@ class WPSR_Admin{
|
|
29 |
// Register the admin notice to inform new version features
|
30 |
add_action( 'admin_notices', array( __CLASS__, 'admin_notices' ) );
|
31 |
|
|
|
|
|
32 |
}
|
33 |
|
34 |
public static function admin_menu(){
|
35 |
|
36 |
-
$
|
37 |
$icon = WPSR_ADMIN_URL . 'images/icons/wp-socializer-sm.png';
|
38 |
|
39 |
add_menu_page( 'WP Socializer - Admin page', 'WP Socializer', 'manage_options', 'wp_socializer', array( __CLASS__, 'admin_page' ), $icon );
|
40 |
|
41 |
-
|
42 |
-
|
|
|
|
|
|
|
|
|
43 |
}
|
44 |
}
|
45 |
|
46 |
-
public static function
|
47 |
|
48 |
-
|
49 |
|
50 |
-
|
51 |
-
|
52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
}
|
|
|
54 |
}
|
55 |
|
56 |
-
public static function
|
57 |
-
return apply_filters( '
|
58 |
}
|
59 |
|
60 |
public static function admin_page(){
|
@@ -67,47 +84,68 @@ class WPSR_Admin{
|
|
67 |
wp_safe_redirect( admin_url( 'admin.php?page=wp_socializer_setup' ) );
|
68 |
}
|
69 |
|
70 |
-
$
|
71 |
-
|
72 |
|
73 |
-
// Set default
|
74 |
-
if( empty(
|
75 |
-
|
76 |
}
|
77 |
|
78 |
-
echo '<div class="wrap">';
|
79 |
-
|
|
|
|
|
80 |
echo '<div id="content">';
|
81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
echo '</div>';
|
|
|
83 |
echo '</div>';
|
84 |
|
85 |
}
|
86 |
|
87 |
-
public static function
|
88 |
|
89 |
-
|
90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
|
92 |
-
|
93 |
-
|
|
|
94 |
|
95 |
-
echo '<div
|
96 |
-
echo '<h1 class="wpsr_title">WP Socializer
|
97 |
-
<span class="title-count">' . WPSR_VERSION . '</span>
|
98 |
-
<a class="swz_link" href="' . admin_url( 'admin.php?page=wp_socializer_setup' ) . '"><i class="fa fa-magic"></i>' . __( 'Open setup wizard', 'wpsr' ) . '</a>
|
99 |
-
<a class="help_link" href="https://goo.gl/C52Yj1"><i class="fa fa-question"></i>' . __( 'Help', 'wpsr' ) . '</a>
|
100 |
-
<a class="help_link" href="https://goo.gl/eocazH" target="_blank"><i class="fa fa-comments"></i>' . __( 'Support forum', 'wpsr' ) . '</a></h1>';
|
101 |
-
echo '<h2 class="nav-tab-wrapper" >';
|
102 |
|
103 |
-
|
104 |
-
|
|
|
105 |
|
106 |
// Apply default config
|
107 |
$config = WPSR_Lists::set_defaults( $config, array(
|
108 |
'name' => '',
|
109 |
'banner' => '',
|
110 |
'page_callback' => '',
|
|
|
|
|
111 |
'form' => array(
|
112 |
'id' => '',
|
113 |
'name' => '',
|
@@ -116,24 +154,42 @@ class WPSR_Admin{
|
|
116 |
)
|
117 |
));
|
118 |
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
|
|
|
|
|
|
|
|
|
|
123 |
}
|
124 |
-
echo '<a class="nav-tab' . $active . ' tab-' . $id . '" href="admin.php?page=wp_socializer&tab=' . $id . '">' . $config[ 'name' ];
|
125 |
|
126 |
-
if(
|
127 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
}
|
129 |
|
130 |
echo '</a>';
|
|
|
131 |
}
|
132 |
-
echo '</h2>';
|
133 |
-
|
134 |
-
self::top_sharebar();
|
135 |
-
|
136 |
echo '</div>';
|
|
|
137 |
}
|
138 |
|
139 |
public static function settings_form( $id = '' ){
|
@@ -141,9 +197,9 @@ class WPSR_Admin{
|
|
141 |
if( empty( $id ) )
|
142 |
return;
|
143 |
|
144 |
-
$form_id = self::$
|
145 |
-
$form_name = self::$
|
146 |
-
$form_callback = self::$
|
147 |
|
148 |
$option = 'wpsr_' . $form_name;
|
149 |
$nonce = 'wpsr_nonce_' . $form_name . '_submit';
|
@@ -183,8 +239,6 @@ class WPSR_Admin{
|
|
183 |
|
184 |
self::admin_footer();
|
185 |
|
186 |
-
self::admin_sidebar();
|
187 |
-
|
188 |
}
|
189 |
|
190 |
public static function enqueue_scripts( $hook ){
|
@@ -193,7 +247,7 @@ class WPSR_Admin{
|
|
193 |
wp_enqueue_style( 'wpsr_css', WPSR_ADMIN_URL . 'css/style.css' );
|
194 |
wp_enqueue_style( 'wp-color-picker' );
|
195 |
wp_enqueue_style( 'wpsr_ipopup', WPSR_ADMIN_URL . 'css/ipopup.css' );
|
196 |
-
wp_enqueue_style( 'wpsr_fa', WPSR_Lists::ext_res( 'font-awesome' ) );
|
197 |
|
198 |
wp_enqueue_script( 'jquery' );
|
199 |
wp_enqueue_script( 'jquery-conditioner', WPSR_ADMIN_URL . 'js/jquery.conditioner.js', array( 'jquery' ) );
|
@@ -243,13 +297,41 @@ class WPSR_Admin{
|
|
243 |
|
244 |
}
|
245 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
public static function box_wrap( $type, $title = '' , $desc = '', $step = '', $class = '' ){
|
247 |
|
248 |
$title = !empty( $step ) ? '<span class="step" data-step="' . $step . '">' . $title . '</span>' : $title;
|
249 |
|
250 |
if( $type == 'open' ){
|
|
|
251 |
echo '<div class="postbox ' . $class . '">';
|
252 |
-
echo '<
|
253 |
if( !empty( $desc ) ) echo '<p>' . $desc . '</p>';
|
254 |
}
|
255 |
|
@@ -259,27 +341,6 @@ class WPSR_Admin{
|
|
259 |
|
260 |
}
|
261 |
|
262 |
-
public static function select_box( $list = array(), $props = array() , $action_btn = false ){
|
263 |
-
|
264 |
-
$class = $props[0];
|
265 |
-
$name = $props[1];
|
266 |
-
$dval = $props[2];
|
267 |
-
|
268 |
-
echo '<div class="sbox_wrap ' . $class . '">';
|
269 |
-
echo '<input class="sbox_field" type="hidden" ' . ( $name ? 'name="' . $name . '"' : '' ) . ' value="' . ( $name ? $dval : '' ) . '" />';
|
270 |
-
echo '<div class="sbox_inner" title="' . __( 'Click to open the list of services', 'wpsr' ) . '">';
|
271 |
-
echo '<div class="sbox_val">' . ( $name ? ( isset( $list[ $dval ] ) ? $list[ $dval ] : 'Select ...' ) : $dval ) . '</div>';
|
272 |
-
echo '<ul title="' . __( 'Select this service', 'wpsr' ) . '">';
|
273 |
-
foreach( $list as $k => $v ){
|
274 |
-
echo '<li data-val="' . $k . '">' . $v . '</li>';
|
275 |
-
}
|
276 |
-
echo '</ul>';
|
277 |
-
echo '</div>';
|
278 |
-
if( $action_btn ) echo '<div class="sbox_action button-primary">' . $action_btn . '</div>';
|
279 |
-
echo '</div>';
|
280 |
-
|
281 |
-
}
|
282 |
-
|
283 |
public static function build_table( $input, $title = '', $desc = '', $mini = false, $step = '', $class = '' ){
|
284 |
|
285 |
//$input = array( array( 'Desc', 'field' ), array( 'Desc2', 'field2' ) );
|
@@ -418,7 +479,7 @@ class WPSR_Admin{
|
|
418 |
$params = self::clean_attr( $params );
|
419 |
extract( $params, EXTR_SKIP );
|
420 |
|
421 |
-
$tip = !empty( $tip ) ? ' data-htip="' . $tip . '" ' : '';
|
422 |
|
423 |
switch( $field_type ){
|
424 |
case 'text':
|
@@ -491,70 +552,6 @@ class WPSR_Admin{
|
|
491 |
|
492 |
}
|
493 |
|
494 |
-
public static function buttons_selector( $feature = array() ){
|
495 |
-
|
496 |
-
$services = WPSR_Services::list_all();
|
497 |
-
$buttons_list = array();
|
498 |
-
$feature = self::validate_feature( $feature );
|
499 |
-
|
500 |
-
foreach( $services as $id => $config ){
|
501 |
-
if( !in_array( $feature[ 'name' ], $config[ 'hide_in_feature' ] ) && !in_array( $id, $feature[ 'hide_services' ] ) ){
|
502 |
-
$img = '<img src="' . $config[ 'icons' ] . '" />';
|
503 |
-
$name = '<div class="btn_liname" data-service="' . $id . '" data-feature="' . $feature[ 'name' ] . '" >' . $config[ 'name' ] . ( isset( $config['desc'] ) ? ' <em>' . $config['desc'] . '</em>' : '' ) . '</div>';
|
504 |
-
$buttons_list[ $id ] = $img . $name;
|
505 |
-
}
|
506 |
-
}
|
507 |
-
|
508 |
-
self::select_box( $buttons_list, array( 'btn_selector', false, '<i class="grey">Select a service from the list ...</i>' ), 'Create button' );
|
509 |
-
|
510 |
-
}
|
511 |
-
|
512 |
-
public static function buttons_list( $mode, $prop ){
|
513 |
-
|
514 |
-
$services = WPSR_Services::list_all();
|
515 |
-
$buttons = WPSR_Buttons::list_all();
|
516 |
-
$buttons_list = array(); // Holds all the button ids
|
517 |
-
$class = '';
|
518 |
-
|
519 |
-
// Print all created buttons, prop is feature
|
520 |
-
if( $mode == 'all_buttons' ){
|
521 |
-
$feature = self::validate_feature( $prop );
|
522 |
-
$class = 'btns_created';
|
523 |
-
foreach( $buttons as $id => $config )
|
524 |
-
if( $config[ 'feature' ] == $feature[ 'name' ] )
|
525 |
-
array_push( $buttons_list, $id );
|
526 |
-
}
|
527 |
-
|
528 |
-
// Print all buttons for veditor, prop is list of buttons
|
529 |
-
if( $mode == 'veditor_buttons' ){
|
530 |
-
$buttons_list = $prop;
|
531 |
-
}
|
532 |
-
|
533 |
-
// To print the created buttons of specific feature
|
534 |
-
echo '<ul class="btn_list clearfix ' . $class . '" data-empty="No buttons created">';
|
535 |
-
foreach( $buttons_list as $button ){
|
536 |
-
|
537 |
-
if( !isset( $buttons[ $button ] ) )
|
538 |
-
continue;
|
539 |
-
|
540 |
-
$btn_prop = $buttons[ $button ];
|
541 |
-
|
542 |
-
if( !isset( $services[ $btn_prop[ 'service' ] ] ) )
|
543 |
-
continue;
|
544 |
-
|
545 |
-
$service = $services[ $btn_prop[ 'service' ] ];
|
546 |
-
|
547 |
-
echo '<li data-service="' . $btn_prop[ 'service' ] . '" data-id="' . $button . '" class="ui_btn">';
|
548 |
-
echo '<span class="btn_icon"><img src="' . $service['icons'] . '" /></span>';
|
549 |
-
echo '<span class="btn_name"' . ( isset( $btn_prop[ 'settings' ][ 'title' ] ) ? 'data-title="' . $btn_prop[ 'settings' ][ 'title' ] . '"' : '' ) . '>' . $service['name'] . '</span>';
|
550 |
-
echo '<span class="btn_action btn_delete dashicons dashicons-no-alt" title="' . __( 'Delete button', 'wpsr' ) . '"></span>';
|
551 |
-
echo '<span class="btn_action btn_edit dashicons dashicons-admin-generic" title="' . __( 'Settings', 'wpsr' ) . '"></span>';
|
552 |
-
echo '</li>';
|
553 |
-
}
|
554 |
-
echo '</ul>';
|
555 |
-
|
556 |
-
}
|
557 |
-
|
558 |
public static function buttons_veditor( $name, $content, $multiple_rows = true, $preview = false ){
|
559 |
|
560 |
echo '<div class="vedit_wrap">';
|
@@ -572,19 +569,29 @@ class WPSR_Admin{
|
|
572 |
$bkey = key((array)$bid); // Get the key of the button obj
|
573 |
array_push( $buttons_row, $bkey );
|
574 |
}
|
575 |
-
|
576 |
}
|
577 |
|
578 |
echo '</div>';
|
579 |
echo '<input type="hidden" class="veditor_content" name="' . $name . '" />';
|
580 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
581 |
if( $multiple_rows ){
|
582 |
-
echo '<button class="button vedit_add_row"><
|
583 |
}
|
584 |
|
|
|
|
|
|
|
585 |
if( $preview ){
|
586 |
echo '<div class="veditor_preview">';
|
587 |
-
echo '<button class="button vedit_preview_btn" data-action="' . $preview . '" title="' . __( 'Click to show preview for the above template', 'wpsr' ) . '" data-refresh="' . __( 'Refresh preview', 'wpsr' ) . '"><i class="fa fa-eye"></i> ' . __( 'Show preview', 'wpsr' ) . '</button>';
|
588 |
echo '<iframe src="" width="100%" class="vedit_preview_iframe"></iframe>';
|
589 |
echo '</div>';
|
590 |
}
|
@@ -592,22 +599,13 @@ class WPSR_Admin{
|
|
592 |
echo '</div><!-- veditor_wrap -->';
|
593 |
|
594 |
if( $multiple_rows ){
|
595 |
-
echo '<div class="
|
596 |
-
<a class="vedit_delete_row" title="' . __( 'Delete row', 'wpsr' ) . '"><
|
597 |
</div>';
|
598 |
}
|
599 |
|
600 |
}
|
601 |
|
602 |
-
public static function validate_feature( $feature ){
|
603 |
-
|
604 |
-
return WPSR_Lists::set_defaults( $feature, array(
|
605 |
-
'name' => 'none',
|
606 |
-
'hide_services' => array()
|
607 |
-
));
|
608 |
-
|
609 |
-
}
|
610 |
-
|
611 |
public static function admin_ajax(){
|
612 |
|
613 |
$get = self::clean_get();
|
@@ -659,14 +657,8 @@ class WPSR_Admin{
|
|
659 |
return $_GET;
|
660 |
}
|
661 |
|
662 |
-
public static function youtube_help_icon( $url ){
|
663 |
-
echo '<a href="' . $url . '" title="' . __( 'Open video tutorial for this page', 'wpsr' ) . '" class="yt_help_icon" target="_blank"><i class="fa fa-question-circle"></i></a>';
|
664 |
-
}
|
665 |
-
|
666 |
public static function action_links( $links ){
|
667 |
-
array_unshift( $links, '<a href="
|
668 |
-
array_unshift( $links, '<a href="'. esc_url( admin_url( 'admin.php?page=wp_socializer&tab=help') ) .'">Help</a>' );
|
669 |
-
array_unshift( $links, '<a href="'. esc_url( admin_url( 'admin.php?page=wp_socializer') ) .'">⚙️ Settings</a>' );
|
670 |
return $links;
|
671 |
}
|
672 |
|
@@ -674,53 +666,22 @@ class WPSR_Admin{
|
|
674 |
|
675 |
$pages_display = array( 'plugins', 'update-core', 'dashboard' );
|
676 |
|
677 |
-
|
678 |
if( version_compare( WPSR_VERSION, get_option( 'wpsr_version' ), '>' ) ){
|
679 |
echo '<div class="notice notice-success is-dismissible">
|
680 |
-
<p>' . sprintf( __( '<b>WP Socializer</b> is updated to latest version. Please visit the %ssettings%s page to see all the new features and the change log.', 'wpsr' ), '
|
681 |
</div>';
|
682 |
}
|
683 |
-
|
684 |
}
|
685 |
|
686 |
-
public static function
|
687 |
-
echo '<div class="
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
echo '<div class="setup_intro intro_popup style_ele">
|
693 |
-
<section>
|
694 |
-
<h1 align="center"><i class="fa fa-magic"></i> Quick and easy setup wizard</h1>
|
695 |
-
<p class="setup_hint">1 <i class="fa fa-caret-right"></i> 2 <i class="fa fa-caret-right"></i> <i class="fa fa-check-circle"></i></p>
|
696 |
-
<p>WP Socializer has a setup wizard to quickly add social sharing buttons and icons.</p>
|
697 |
-
<p>There are 50+ hand picked social buttons and icons design template to choose from the setup.</p>
|
698 |
-
<p>Open the setup wizard to begin with.</p>
|
699 |
-
</section>
|
700 |
-
<footer><a href="#" class="button close_setup_intro_btn">' . __( 'Skip setup', 'wpsr' ) . '</a> <a href="' . admin_url( 'admin.php?page=wp_socializer_setup' ) . '" class="button button-primary">' . __( 'Open setup wizard', 'wpsr' ) . '</a></footer>
|
701 |
</div>';
|
702 |
-
|
703 |
-
}
|
704 |
-
|
705 |
-
public static function top_sharebar(){
|
706 |
-
echo '
|
707 |
-
<div class="top_sharebar">
|
708 |
-
|
709 |
-
<div class="socializer">
|
710 |
-
<span class="sr-twitter sr-text-in"><a href="https://twitter.com/intent/tweet?hashtags=wordpress&ref_src=twsrc%5Etfw&related=vaakash&text=Check%20out%20WP%20Socializer%2C%20a%20powerful%20social%20media%20share%20icons%2C%20buttons%20plugin%20for%20WordPress&tw_p=tweetbutton&url=https%3A%2F%2Fwww.aakashweb.com%2Fwordpress-plugins%2Fwp-socializer%2F&via=vaakash" target="_blank" title="Twitter"><i class="fa fa-twitter"></i><span class="text">Tweet WP Socializer !</span></a></span>
|
711 |
-
<span class="sr-googleplus sr-text-in"><a href="https://plus.google.com/share?url=https%3A%2F%2Fwww.aakashweb.com%2Fwordpress-plugins%2Fwp-socializer%2F" target="_blank" title="Google Plus"><i class="fa fa-google-plus"></i><span class="text">Share</span></a></span>
|
712 |
-
</div>
|
713 |
-
|
714 |
-
</div>';
|
715 |
-
}
|
716 |
-
|
717 |
-
public static function admin_sidebar(){
|
718 |
-
echo '<ul class="share_wpsr">
|
719 |
-
<li><a href="https://goo.gl/A8AFcd" target="_blank"><img src="' . WPSR_ADMIN_URL . '/images/icons/anpn-thumb.svg" alt="Advanced post navigator"/><span>Advanced post navigator WordPress plugin</span></a><div><img src="https://i0.wp.com/oi64.tinypic.com/90vhwj.jpg" /></div></li>
|
720 |
-
<li><a href="https://goo.gl/qMF3iE" target="_blank"><span><img src="' . WPSR_ADMIN_URL . '/images/icons/coffee.svg" width="80px" /> Buy me a <br/>Coffee !</span></a></li>
|
721 |
-
<li><a href="https://goo.gl/2DjGhD" target="_blank"><span><img src="' . WPSR_ADMIN_URL . '/images/icons/rate-wpsr.svg" /> Please rate 5 stars if you like <br/>WP Socializer</span></a></li>
|
722 |
-
<li><a href="https://goo.gl/u8Zf09" target="_blank"><span><i class="fa fa-commenting"></i><br/><br/>Give a feedback</span></a></li>
|
723 |
-
</ul>';
|
724 |
}
|
725 |
|
726 |
public static function admin_footer(){
|
@@ -758,6 +719,25 @@ class WPSR_Admin{
|
|
758 |
|
759 |
}
|
760 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
761 |
}
|
762 |
|
763 |
WPSR_Admin::init();
|
6 |
|
7 |
class WPSR_Admin{
|
8 |
|
9 |
+
public static $pages = array();
|
10 |
public static $pagehook = 'toplevel_page_wp_socializer';
|
11 |
+
public static $current_page = 'home';
|
12 |
|
13 |
public static function init(){
|
14 |
|
15 |
// Register the admin menu
|
16 |
add_action( 'admin_menu', array( __CLASS__, 'admin_menu' ) );
|
17 |
|
18 |
+
// Load all the admin pages
|
19 |
+
add_action( 'init', array( __CLASS__, 'register_pages' ) );
|
20 |
+
|
21 |
// Enqueue the scripts and styles
|
22 |
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_scripts' ) );
|
23 |
|
33 |
// Register the admin notice to inform new version features
|
34 |
add_action( 'admin_notices', array( __CLASS__, 'admin_notices' ) );
|
35 |
|
36 |
+
register_activation_hook( WPSR_BASE_NAME, array( __CLASS__, 'on_activate' ) );
|
37 |
+
|
38 |
}
|
39 |
|
40 |
public static function admin_menu(){
|
41 |
|
42 |
+
$pages = self::get_pages();
|
43 |
$icon = WPSR_ADMIN_URL . 'images/icons/wp-socializer-sm.png';
|
44 |
|
45 |
add_menu_page( 'WP Socializer - Admin page', 'WP Socializer', 'manage_options', 'wp_socializer', array( __CLASS__, 'admin_page' ), $icon );
|
46 |
|
47 |
+
add_submenu_page( 'wp_socializer', 'WP Socializer - Admin page', 'Home', 'manage_options', 'wp_socializer', array( __CLASS__, 'admin_page' ) );
|
48 |
+
|
49 |
+
foreach( $pages as $id=>$config ){
|
50 |
+
if( !isset( $config[ 'link' ] ) ){
|
51 |
+
add_submenu_page( 'wp_socializer', 'WP Socializer - ' . $config[ 'name' ], $config[ 'name' ], 'manage_options', 'wp_socializer&tab="' . $id . '"', array( __CLASS__, 'admin_page' ) );
|
52 |
+
}
|
53 |
}
|
54 |
}
|
55 |
|
56 |
+
public static function register_pages(){
|
57 |
|
58 |
+
$init_pages = apply_filters( 'wpsr_register_admin_page', array() );
|
59 |
|
60 |
+
foreach( $init_pages as $id => $config ){
|
61 |
+
|
62 |
+
self::$pages[ $id ] = $config;
|
63 |
+
|
64 |
+
// Register the validation filter for the form
|
65 |
+
if( isset( $config[ 'form' ][ 'validation' ] ) ){
|
66 |
+
add_filter( 'wpsr_form_validation_' . $config[ 'form' ][ 'name' ], $config[ 'form' ][ 'validation' ] );
|
67 |
+
}
|
68 |
+
|
69 |
}
|
70 |
+
|
71 |
}
|
72 |
|
73 |
+
public static function get_pages(){
|
74 |
+
return apply_filters( 'wpsr_mod_admin_pages', self::$pages );
|
75 |
}
|
76 |
|
77 |
public static function admin_page(){
|
84 |
wp_safe_redirect( admin_url( 'admin.php?page=wp_socializer_setup' ) );
|
85 |
}
|
86 |
|
87 |
+
$pages = self::get_pages();
|
88 |
+
self::$current_page = isset( $_GET['tab'] ) ? $_GET['tab'] : '';
|
89 |
|
90 |
+
// Set default page
|
91 |
+
if( empty( self::$current_page ) || !array_key_exists( self::$current_page, $pages ) ){
|
92 |
+
self::$current_page = 'home';
|
93 |
}
|
94 |
|
95 |
+
echo '<div class="wrap page_' . self::$current_page . '">';
|
96 |
+
|
97 |
+
self::admin_header();
|
98 |
+
|
99 |
echo '<div id="content">';
|
100 |
+
if(self::$current_page == 'home'){
|
101 |
+
|
102 |
+
echo '<h1><i class="fa fa-star-of-life"></i>Features</h1>';
|
103 |
+
self::admin_pages_list();
|
104 |
+
|
105 |
+
echo '<h1><i class="fa fa-wrench"></i>Settings</h1>';
|
106 |
+
self::admin_pages_list(false);
|
107 |
+
|
108 |
+
self::intro_popups();
|
109 |
+
|
110 |
+
self::admin_footer();
|
111 |
+
|
112 |
+
}else{
|
113 |
+
call_user_func( self::$pages[ self::$current_page ][ 'page_callback' ] );
|
114 |
+
}
|
115 |
echo '</div>';
|
116 |
+
|
117 |
echo '</div>';
|
118 |
|
119 |
}
|
120 |
|
121 |
+
public static function admin_header(){
|
122 |
|
123 |
+
echo '<header id="wpsr_header">';
|
124 |
+
echo '<hgroup>';
|
125 |
+
echo '<h1 class="wpsr_title">WP Socializer
|
126 |
+
<span class="title-count">' . WPSR_VERSION . '</span><a href="admin.php?page=wp_socializer" class="back_btn"><i class="fa fa-chevron-left"></i>
|
127 |
+
Back</a></h1>';
|
128 |
+
self::admin_links();
|
129 |
+
echo '</hgroup>';
|
130 |
+
echo '</header>';
|
131 |
|
132 |
+
}
|
133 |
+
|
134 |
+
public static function admin_pages_list($only_features=true){
|
135 |
|
136 |
+
echo '<div class="admin_pages_list clearfix">';
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
|
138 |
+
$pages = self::get_pages();
|
139 |
+
|
140 |
+
foreach( $pages as $id => $config ){
|
141 |
|
142 |
// Apply default config
|
143 |
$config = WPSR_Lists::set_defaults( $config, array(
|
144 |
'name' => '',
|
145 |
'banner' => '',
|
146 |
'page_callback' => '',
|
147 |
+
'feature' => true,
|
148 |
+
'link' => '',
|
149 |
'form' => array(
|
150 |
'id' => '',
|
151 |
'name' => '',
|
154 |
)
|
155 |
));
|
156 |
|
157 |
+
$is_feature_page = $config['feature'];
|
158 |
+
$is_feat_active = false;
|
159 |
+
$has_feat_status = $is_feature_page && !empty($config['form']['callback']);
|
160 |
+
$link = empty($config['link']) ? ('admin.php?page=wp_socializer&tab=' . $id) : $config['link'];
|
161 |
+
|
162 |
+
if($has_feat_status){
|
163 |
+
$feat_settings = get_option('wpsr_' . $config['form']['name'], array());
|
164 |
+
$feat_settings = WPSR_Lists::set_defaults($feat_settings, WPSR_Lists::defaults($id));
|
165 |
+
$is_feat_active = (isset($feat_settings['ft_status']) && $feat_settings['ft_status'] == 'enable') ? true : false;
|
166 |
}
|
|
|
167 |
|
168 |
+
if(($only_features && !$is_feature_page) || (!$only_features && $is_feature_page)){
|
169 |
+
continue;
|
170 |
+
}
|
171 |
+
|
172 |
+
$card_class = array(
|
173 |
+
'page_card',
|
174 |
+
'card_' . $id,
|
175 |
+
(!$only_features ? 'card_others' : ''),
|
176 |
+
($is_feat_active ? 'active' : '')
|
177 |
+
);
|
178 |
+
|
179 |
+
echo '<a class="' . implode(' ', $card_class) . '" href="' . $link . '" style="background-image: url(' . $config['banner'] . ')">';
|
180 |
+
echo '<h3>' . $config[ 'name' ] . '</h3>';
|
181 |
+
|
182 |
+
if($has_feat_status){
|
183 |
+
echo '<div class="page_feat_status">' . ($is_feat_active ? '<i class="fa fa-check" aria-hidden="true"></i> Enabled' : 'Disabled') . '</div>';
|
184 |
+
}else{
|
185 |
+
echo '<div class="page_feat_status">Open</div>';
|
186 |
}
|
187 |
|
188 |
echo '</a>';
|
189 |
+
|
190 |
}
|
|
|
|
|
|
|
|
|
191 |
echo '</div>';
|
192 |
+
|
193 |
}
|
194 |
|
195 |
public static function settings_form( $id = '' ){
|
197 |
if( empty( $id ) )
|
198 |
return;
|
199 |
|
200 |
+
$form_id = self::$pages[ $id ][ 'form' ][ 'id' ];
|
201 |
+
$form_name = self::$pages[ $id ][ 'form' ][ 'name' ];
|
202 |
+
$form_callback = self::$pages[ $id ][ 'form' ][ 'callback' ];
|
203 |
|
204 |
$option = 'wpsr_' . $form_name;
|
205 |
$nonce = 'wpsr_nonce_' . $form_name . '_submit';
|
239 |
|
240 |
self::admin_footer();
|
241 |
|
|
|
|
|
242 |
}
|
243 |
|
244 |
public static function enqueue_scripts( $hook ){
|
247 |
wp_enqueue_style( 'wpsr_css', WPSR_ADMIN_URL . 'css/style.css' );
|
248 |
wp_enqueue_style( 'wp-color-picker' );
|
249 |
wp_enqueue_style( 'wpsr_ipopup', WPSR_ADMIN_URL . 'css/ipopup.css' );
|
250 |
+
wp_enqueue_style( 'wpsr_fa', WPSR_Lists::ext_res( 'font-awesome-adm' ) );
|
251 |
|
252 |
wp_enqueue_script( 'jquery' );
|
253 |
wp_enqueue_script( 'jquery-conditioner', WPSR_ADMIN_URL . 'js/jquery.conditioner.js', array( 'jquery' ) );
|
297 |
|
298 |
}
|
299 |
|
300 |
+
public static function on_activate(){
|
301 |
+
|
302 |
+
$buttons = WPSR_Buttons::list_all();
|
303 |
+
|
304 |
+
foreach( $buttons as $id => $config ){
|
305 |
+
$service = $config[ 'service' ];
|
306 |
+
|
307 |
+
// Rename social_buttons service name to social_icons
|
308 |
+
if( $service == 'social_buttons' ){
|
309 |
+
$buttons[ $id ][ 'service' ] = 'social_icons';
|
310 |
+
|
311 |
+
unset( $buttons[ $id ][ 'settings' ][ 'sr-icon-color' ] );
|
312 |
+
unset( $buttons[ $id ][ 'settings' ][ 'sr-border-color' ] );
|
313 |
+
unset( $buttons[ $id ][ 'settings' ][ 'sr-background-color' ] );
|
314 |
+
}
|
315 |
+
|
316 |
+
// Delete stumbleupon service buttons
|
317 |
+
if( $service == 'stumbleupon' ){
|
318 |
+
unset( $buttons[ $id ] );
|
319 |
+
}
|
320 |
+
|
321 |
+
}
|
322 |
+
|
323 |
+
update_option( 'wpsr_buttons', $buttons );
|
324 |
+
|
325 |
+
}
|
326 |
+
|
327 |
public static function box_wrap( $type, $title = '' , $desc = '', $step = '', $class = '' ){
|
328 |
|
329 |
$title = !empty( $step ) ? '<span class="step" data-step="' . $step . '">' . $title . '</span>' : $title;
|
330 |
|
331 |
if( $type == 'open' ){
|
332 |
+
echo '<h3 class="hndle">' . $title . '</h3>';
|
333 |
echo '<div class="postbox ' . $class . '">';
|
334 |
+
echo '<div class="inside">';
|
335 |
if( !empty( $desc ) ) echo '<p>' . $desc . '</p>';
|
336 |
}
|
337 |
|
341 |
|
342 |
}
|
343 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
344 |
public static function build_table( $input, $title = '', $desc = '', $mini = false, $step = '', $class = '' ){
|
345 |
|
346 |
//$input = array( array( 'Desc', 'field' ), array( 'Desc2', 'field2' ) );
|
479 |
$params = self::clean_attr( $params );
|
480 |
extract( $params, EXTR_SKIP );
|
481 |
|
482 |
+
$tip = !empty( $tip ) ? ' data-htip="' . esc_attr($tip) . '" ' : '';
|
483 |
|
484 |
switch( $field_type ){
|
485 |
case 'text':
|
552 |
|
553 |
}
|
554 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
555 |
public static function buttons_veditor( $name, $content, $multiple_rows = true, $preview = false ){
|
556 |
|
557 |
echo '<div class="vedit_wrap">';
|
569 |
$bkey = key((array)$bid); // Get the key of the button obj
|
570 |
array_push( $buttons_row, $bkey );
|
571 |
}
|
572 |
+
WPSR_Buttons_Picker::print_veditor_buttons( $buttons_row );
|
573 |
}
|
574 |
|
575 |
echo '</div>';
|
576 |
echo '<input type="hidden" class="veditor_content" name="' . $name . '" />';
|
577 |
|
578 |
+
echo '<div class="vedit_menu">';
|
579 |
+
|
580 |
+
echo '<button class="button button-primary vedit_add_button"><i class="fa fa-plus-circle"></i> Add sharing button</button>';
|
581 |
+
|
582 |
+
if( $preview ){
|
583 |
+
echo '<button class="button vedit_preview_btn" data-action="' . $preview . '" title="' . __( 'Click to show preview for the above template', 'wpsr' ) . '" data-refresh="' . __( 'Refresh preview', 'wpsr' ) . '"><i class="fa fa-eye"></i> ' . __( 'Show preview', 'wpsr' ) . '</button>';
|
584 |
+
}
|
585 |
+
|
586 |
if( $multiple_rows ){
|
587 |
+
echo '<button class="button vedit_add_row"><i class="fa fa-plus"></i> Add a new row</button>';
|
588 |
}
|
589 |
|
590 |
+
echo '</div>';
|
591 |
+
|
592 |
+
|
593 |
if( $preview ){
|
594 |
echo '<div class="veditor_preview">';
|
|
|
595 |
echo '<iframe src="" width="100%" class="vedit_preview_iframe"></iframe>';
|
596 |
echo '</div>';
|
597 |
}
|
599 |
echo '</div><!-- veditor_wrap -->';
|
600 |
|
601 |
if( $multiple_rows ){
|
602 |
+
echo '<div class="vedit_row_menu">
|
603 |
+
<a class="vedit_delete_row" title="' . __( 'Delete row', 'wpsr' ) . '"><i class="fa fa-times"></i></a>
|
604 |
</div>';
|
605 |
}
|
606 |
|
607 |
}
|
608 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
609 |
public static function admin_ajax(){
|
610 |
|
611 |
$get = self::clean_get();
|
657 |
return $_GET;
|
658 |
}
|
659 |
|
|
|
|
|
|
|
|
|
660 |
public static function action_links( $links ){
|
661 |
+
array_unshift( $links, '<a href="'. esc_url( admin_url( 'admin.php?page=wp_socializer') ) .'">Settings</a>' );
|
|
|
|
|
662 |
return $links;
|
663 |
}
|
664 |
|
666 |
|
667 |
$pages_display = array( 'plugins', 'update-core', 'dashboard' );
|
668 |
|
669 |
+
if( in_array( get_current_screen()->id, $pages_display ) ){
|
670 |
if( version_compare( WPSR_VERSION, get_option( 'wpsr_version' ), '>' ) ){
|
671 |
echo '<div class="notice notice-success is-dismissible">
|
672 |
+
<p>' . sprintf( __( '<b>WP Socializer</b> is updated to latest version. Please visit the %ssettings%s page to see all the new features and the change log.', 'wpsr' ), '<a href="' . esc_url( admin_url( 'admin.php?page=wp_socializer') ) . '">', '</a>' ) . '</p>
|
673 |
</div>';
|
674 |
}
|
675 |
+
}
|
676 |
}
|
677 |
|
678 |
+
public static function admin_links(){
|
679 |
+
echo '<div class="admin_links">
|
680 |
+
<a href="https://www.paypal.me/vaakash/6" target="_blank"><i class="fa fa-coffee cdarkred"></i>Buy me a coffee !</a>
|
681 |
+
<a href="https://wordpress.org/support/plugin/wp-socializer/reviews/?rate=5#new-post" target="_blank"><i class="fa fa-star corange"></i>Rate 5 stars</a>
|
682 |
+
<a href="https://www.aakashweb.com/forum/discuss/wordpress-plugins/wp-socializer/#new-post" target="_blank"><i class="fa fa-bug cred"></i>Any issues, ideas ?</a>
|
683 |
+
<a href="https://twitter.com/intent/tweet?hashtags=wordpress&ref_src=twsrc%5Etfw&related=vaakash&text=Check%20out%20WP%20Socializer%2C%20a%20powerful%20social%20media%20share%20icons%2C%20buttons%20plugin%20for%20WordPress&tw_p=tweetbutton&url=https%3A%2F%2Fwww.aakashweb.com%2Fwordpress-plugins%2Fwp-socializer%2F&via=vaakash" target="_blank"><i class="fab fa-twitter ctwitter"></i>Share this plugin</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
684 |
</div>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
685 |
}
|
686 |
|
687 |
public static function admin_footer(){
|
719 |
|
720 |
}
|
721 |
|
722 |
+
public static function intro_popups(){
|
723 |
+
echo '<div class="welcome_wrap intro_popup style_ele">
|
724 |
+
<section></section>
|
725 |
+
<footer><button class="button button-primary close_changelog_btn">' . __( 'Start using WP Socializer', 'wpsr' ) . '</button></footer>
|
726 |
+
</div>';
|
727 |
+
|
728 |
+
echo '<div class="setup_intro intro_popup style_ele">
|
729 |
+
<section>
|
730 |
+
<h1 align="center"><i class="fa fa-magic"></i> Quick and easy setup wizard</h1>
|
731 |
+
<p class="setup_hint">1 <i class="fa fa-caret-right"></i> 2 <i class="fa fa-caret-right"></i> <i class="fa fa-check-circle"></i></p>
|
732 |
+
<p>WP Socializer has a setup wizard to quickly add social sharing buttons and icons.</p>
|
733 |
+
<p>There are 50+ hand picked social icons and icons design template to choose from the setup.</p>
|
734 |
+
<p>Open the setup wizard to begin with.</p>
|
735 |
+
</section>
|
736 |
+
<footer><a href="#" class="button close_setup_intro_btn">' . __( 'Skip setup', 'wpsr' ) . '</a> <a href="' . admin_url( 'admin.php?page=wp_socializer_setup' ) . '" class="button button-primary">' . __( 'Open setup wizard', 'wpsr' ) . '</a></footer>
|
737 |
+
</div>';
|
738 |
+
|
739 |
+
}
|
740 |
+
|
741 |
}
|
742 |
|
743 |
WPSR_Admin::init();
|
admin/buttons.php
CHANGED
@@ -8,38 +8,29 @@ class wpsr_admin_buttons{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => 'Share buttons',
|
13 |
-
'banner' => WPSR_ADMIN_URL . '/images/banners/share-buttons.
|
14 |
'page_callback' => array( $this, 'page' ),
|
|
|
15 |
'form' => array(
|
16 |
'id' => 'button_settings',
|
17 |
'name' => 'button_settings',
|
18 |
'callback' => array( $this, 'form_fields' ),
|
19 |
'validation' => array( $this, 'validation' ),
|
20 |
)
|
21 |
-
));
|
22 |
-
|
23 |
-
}
|
24 |
-
|
25 |
-
function section_addons_list(){
|
26 |
-
|
27 |
-
$feature = array(
|
28 |
-
'name' => 'buttons',
|
29 |
-
'hide_services' => array()
|
30 |
);
|
31 |
|
32 |
-
|
33 |
-
WPSR_Admin::buttons_selector( $feature );
|
34 |
-
|
35 |
-
echo '<p>' . __( 'List of buttons created.', 'wpsr' ) . '</p>';
|
36 |
-
$buttons = WPSR_Buttons::list_all();
|
37 |
-
WPSR_Admin::buttons_list( 'all_buttons', $feature );
|
38 |
-
|
39 |
-
WPSR_Admin::box_wrap( 'close' );
|
40 |
|
41 |
}
|
42 |
-
|
43 |
function section_templates( $values, $i ){
|
44 |
|
45 |
if( !isset( $values[ 'tmpl' ][ $i ] ) ){
|
@@ -50,15 +41,10 @@ class wpsr_admin_buttons{
|
|
50 |
|
51 |
echo '<div class="template_wrap" data-id="' . $i . '">';
|
52 |
|
53 |
-
WPSR_Admin::box_wrap( 'open', __( '
|
54 |
WPSR_Admin::buttons_veditor( "tmpl[$i][content]", $values['tmpl'][$i]['content'], true, 'wpsr_preview_template_buttons' );
|
55 |
WPSR_Admin::box_wrap( 'close' );
|
56 |
|
57 |
-
// Location rules
|
58 |
-
WPSR_Admin::box_wrap( 'open', __( 'Conditions to display the template', 'wpsr' ), __( 'Choose the below options to select the pages which will display the template.', 'wpsr' ), '3' );
|
59 |
-
WPSR_Location_Rules::display_rules( "tmpl[$i][loc_rules]", $values['tmpl'][$i]['loc_rules'] );
|
60 |
-
WPSR_Admin::box_wrap( 'close' );
|
61 |
-
|
62 |
$positions = array(
|
63 |
'above_posts' => __( 'Above posts', 'wpsr' ),
|
64 |
'below_posts' => __( 'Below posts', 'wpsr' ),
|
@@ -66,7 +52,7 @@ class wpsr_admin_buttons{
|
|
66 |
);
|
67 |
|
68 |
// Position rules
|
69 |
-
WPSR_Admin::box_wrap( 'open', __( 'Position of template in the page', 'wpsr' ), __( 'Choose the below options to select the position the template in a page.', 'wpsr' ), '
|
70 |
|
71 |
echo WPSR_Admin::field( 'radio', array(
|
72 |
'name' => 'tmpl[' . $i . '][position]',
|
@@ -96,6 +82,11 @@ class wpsr_admin_buttons{
|
|
96 |
|
97 |
WPSR_Admin::box_wrap( 'close' );
|
98 |
|
|
|
|
|
|
|
|
|
|
|
99 |
echo '</div>'; // template_wrap
|
100 |
|
101 |
}
|
@@ -103,14 +94,35 @@ class wpsr_admin_buttons{
|
|
103 |
function form_fields( $values ){
|
104 |
|
105 |
$values = WPSR_Lists::set_defaults( $values, array(
|
|
|
106 |
'tmpl' => array()
|
107 |
));
|
108 |
|
109 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
|
111 |
$template_count = 3;
|
112 |
|
113 |
-
echo '<ul class="template_tab
|
114 |
for( $i = 1; $i <= $template_count; $i++ ){
|
115 |
echo '<li>Template ' . $i . '</li>';
|
116 |
}
|
@@ -120,6 +132,8 @@ class wpsr_admin_buttons{
|
|
120 |
$this->section_templates( $values, $i );
|
121 |
}
|
122 |
|
|
|
|
|
123 |
}
|
124 |
|
125 |
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_admin_page', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
}
|
14 |
+
|
15 |
+
function register( $pages ){
|
16 |
+
|
17 |
+
$pages[ 'buttons' ] = array(
|
18 |
'name' => 'Share buttons',
|
19 |
+
'banner' => WPSR_ADMIN_URL . '/images/banners/share-buttons.svg',
|
20 |
'page_callback' => array( $this, 'page' ),
|
21 |
+
'feature' => true,
|
22 |
'form' => array(
|
23 |
'id' => 'button_settings',
|
24 |
'name' => 'button_settings',
|
25 |
'callback' => array( $this, 'form_fields' ),
|
26 |
'validation' => array( $this, 'validation' ),
|
27 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
);
|
29 |
|
30 |
+
return $pages;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
}
|
33 |
+
|
34 |
function section_templates( $values, $i ){
|
35 |
|
36 |
if( !isset( $values[ 'tmpl' ][ $i ] ) ){
|
41 |
|
42 |
echo '<div class="template_wrap" data-id="' . $i . '">';
|
43 |
|
44 |
+
WPSR_Admin::box_wrap( 'open', __( 'Add buttons to the template', 'wpsr' ), __( 'Add buttons to the template using the add sharing button below. Click "+" to add a new row. Click and drag row to rearrange the order.', 'wpsr' ), '2' );
|
45 |
WPSR_Admin::buttons_veditor( "tmpl[$i][content]", $values['tmpl'][$i]['content'], true, 'wpsr_preview_template_buttons' );
|
46 |
WPSR_Admin::box_wrap( 'close' );
|
47 |
|
|
|
|
|
|
|
|
|
|
|
48 |
$positions = array(
|
49 |
'above_posts' => __( 'Above posts', 'wpsr' ),
|
50 |
'below_posts' => __( 'Below posts', 'wpsr' ),
|
52 |
);
|
53 |
|
54 |
// Position rules
|
55 |
+
WPSR_Admin::box_wrap( 'open', __( 'Position of template in the page', 'wpsr' ), __( 'Choose the below options to select the position the template in a page.', 'wpsr' ), '3' );
|
56 |
|
57 |
echo WPSR_Admin::field( 'radio', array(
|
58 |
'name' => 'tmpl[' . $i . '][position]',
|
82 |
|
83 |
WPSR_Admin::box_wrap( 'close' );
|
84 |
|
85 |
+
// Location rules
|
86 |
+
WPSR_Admin::box_wrap( 'open', __( 'Conditions to display the template', 'wpsr' ), __( 'Choose the below options to select the pages which will display the template.', 'wpsr' ), '4' );
|
87 |
+
WPSR_Location_Rules::display_rules( "tmpl[$i][loc_rules]", $values['tmpl'][$i]['loc_rules'] );
|
88 |
+
WPSR_Admin::box_wrap( 'close' );
|
89 |
+
|
90 |
echo '</div>'; // template_wrap
|
91 |
|
92 |
}
|
94 |
function form_fields( $values ){
|
95 |
|
96 |
$values = WPSR_Lists::set_defaults( $values, array(
|
97 |
+
'ft_status' => 'enable',
|
98 |
'tmpl' => array()
|
99 |
));
|
100 |
|
101 |
+
$feature = array(
|
102 |
+
'name' => 'buttons',
|
103 |
+
'hide_services' => array()
|
104 |
+
);
|
105 |
+
|
106 |
+
WPSR_Buttons_Picker::print_buttons_picker($feature);
|
107 |
+
|
108 |
+
$section0 = array(
|
109 |
+
array( __( 'Select to enable or disable share buttons feature', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
110 |
+
'name' => 'ft_status',
|
111 |
+
'value' => $values[ 'ft_status' ],
|
112 |
+
'list' => array(
|
113 |
+
'enable' => __( 'Enable sharebar', 'wpsr' ),
|
114 |
+
'disable' => __( 'Disable sharebar', 'wpsr' )
|
115 |
+
),
|
116 |
+
)), 'class="ft_table"' ),
|
117 |
+
);
|
118 |
+
|
119 |
+
WPSR_Admin::build_table( $section0, __( 'Enable/disable share buttons', 'wpsr' ), '', false, '1' );
|
120 |
+
|
121 |
+
echo '<div class="feature_wrap">';
|
122 |
|
123 |
$template_count = 3;
|
124 |
|
125 |
+
echo '<ul class="template_tab">';
|
126 |
for( $i = 1; $i <= $template_count; $i++ ){
|
127 |
echo '<li>Template ' . $i . '</li>';
|
128 |
}
|
132 |
$this->section_templates( $values, $i );
|
133 |
}
|
134 |
|
135 |
+
echo '</div>';
|
136 |
+
|
137 |
}
|
138 |
|
139 |
|
admin/buttons_picker.php
ADDED
@@ -0,0 +1,283 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* WP Socializer button picker
|
4 |
+
*
|
5 |
+
**/
|
6 |
+
|
7 |
+
class WPSR_Buttons_Picker{
|
8 |
+
|
9 |
+
public static function init(){
|
10 |
+
|
11 |
+
// Register the action for admin ajax features
|
12 |
+
add_action( 'wp_ajax_wpsr_buttons_picker', array( __CLASS__, 'list_buttons' ) );
|
13 |
+
|
14 |
+
add_action( 'wp_ajax_wpsr_create_button', array( __CLASS__, 'create_button' ) );
|
15 |
+
|
16 |
+
}
|
17 |
+
|
18 |
+
public static function create_button(){
|
19 |
+
|
20 |
+
check_ajax_referer('wpsr_create_button');
|
21 |
+
|
22 |
+
if(!isset($_GET['btn_tmpl_id']) || !isset($_GET['feature']) || !isset($_GET['type']) || !isset($_GET['service'])){
|
23 |
+
die(0);
|
24 |
+
}
|
25 |
+
|
26 |
+
$feature_id = wp_kses_post( $_GET[ 'feature' ] );
|
27 |
+
$service_id = wp_kses_post( $_GET[ 'service' ] );
|
28 |
+
$btn_tmpl_id = wp_kses_post( $_GET[ 'btn_tmpl_id' ] );
|
29 |
+
$type = wp_kses_post( $_GET[ 'type' ] );
|
30 |
+
|
31 |
+
$buttons = WPSR_Buttons::list_all();
|
32 |
+
$services = WPSR_Services::list_all();
|
33 |
+
|
34 |
+
if($type == 'new'){
|
35 |
+
$buttons_tmpl = WPSR_Services::list_templates( $feature_id );
|
36 |
+
|
37 |
+
if(!array_key_exists($btn_tmpl_id, $buttons_tmpl) && $btn_tmpl_id != 'default'){
|
38 |
+
die(0);
|
39 |
+
}
|
40 |
+
|
41 |
+
$tmpl_props = $buttons_tmpl[$btn_tmpl_id];
|
42 |
+
$btn_id = WPSR_Buttons::generate_button_id( $service );
|
43 |
+
$btn_settings = ($btn_tmpl_id == 'default') ? array() : $tmpl_props['settings'];
|
44 |
+
$btn_settings['title'] = isset($_GET['title']) ? wp_kses_post($_GET[ 'title' ]) : '';
|
45 |
+
|
46 |
+
$buttons[$btn_id] = array(
|
47 |
+
'service' => $service_id,
|
48 |
+
'feature' => $feature_id,
|
49 |
+
'settings' => $btn_settings
|
50 |
+
);
|
51 |
+
|
52 |
+
update_option('wpsr_buttons', $buttons);
|
53 |
+
|
54 |
+
$buttons = WPSR_Buttons::list_all();
|
55 |
+
$btn_tmpl_id = $btn_id;
|
56 |
+
}
|
57 |
+
|
58 |
+
if(!array_key_exists($btn_tmpl_id, $buttons)){
|
59 |
+
die(0);
|
60 |
+
}
|
61 |
+
|
62 |
+
$btn_props = $buttons[$btn_tmpl_id];
|
63 |
+
|
64 |
+
echo self::tmpl_veditor_button($btn_tmpl_id, $btn_props, $services[$service_id]);
|
65 |
+
|
66 |
+
die(0);
|
67 |
+
|
68 |
+
}
|
69 |
+
|
70 |
+
public static function get_feature_services( $feature = array() ){
|
71 |
+
|
72 |
+
$services = WPSR_Services::list_all();
|
73 |
+
$feature = self::validate_feature( $feature );
|
74 |
+
$buttons_list = array();
|
75 |
+
$services_filtered = array();
|
76 |
+
|
77 |
+
foreach( $services as $id => $config ){
|
78 |
+
if( !in_array( $feature[ 'name' ], $config[ 'hide_in_feature' ] ) && !in_array( $id, $feature[ 'hide_services' ] ) ){
|
79 |
+
$services_filtered[$id] = $config;
|
80 |
+
}
|
81 |
+
}
|
82 |
+
|
83 |
+
return $services_filtered;
|
84 |
+
|
85 |
+
}
|
86 |
+
|
87 |
+
public static function get_feature_created_buttons( $feature, $service ){
|
88 |
+
|
89 |
+
$buttons = WPSR_Buttons::list_all();
|
90 |
+
$buttons_list = array(); // Holds all the button ids
|
91 |
+
|
92 |
+
$feature = self::validate_feature( $feature );
|
93 |
+
foreach( $buttons as $id => $config )
|
94 |
+
if( $config[ 'feature' ] == $feature[ 'name' ] && $config['service'] == $service )
|
95 |
+
$buttons_list[$id] = $config;
|
96 |
+
|
97 |
+
return $buttons_list;
|
98 |
+
|
99 |
+
}
|
100 |
+
|
101 |
+
public static function print_buttons_picker( $feature ){
|
102 |
+
|
103 |
+
$services = self::get_feature_services( $feature );
|
104 |
+
$nonce = wp_create_nonce( 'wpsr_create_button' );
|
105 |
+
|
106 |
+
echo '<div class="bp_wrap" data-feature="' . $feature['name'] . '" data-nonce="' . $nonce . '">';
|
107 |
+
echo '<h1 class="bp_head">Select button to insert <span data-htip="You can customize the buttons after inserting them in the editor"><i class="fa fa-info-circle pointer"></i></span> <span class="bp_close"><i class="fa fa-times"></i></span></h1>';
|
108 |
+
|
109 |
+
echo '<div class="bp_cnt">';
|
110 |
+
echo '<ul class="bp_slist">';
|
111 |
+
foreach($services as $id => $config){
|
112 |
+
echo '<li data-sid="' . $id . '">';
|
113 |
+
echo '<img src="' . $config['icons'] . '" class="bp_sicon" />';
|
114 |
+
echo $config['name'] . '</li>';
|
115 |
+
}
|
116 |
+
echo '</ul>';
|
117 |
+
|
118 |
+
echo '<div class="bp_blist">';
|
119 |
+
foreach($services as $id => $config){
|
120 |
+
|
121 |
+
$buttons = self::get_feature_created_buttons( $feature, $id );
|
122 |
+
$service_name = $config['name'];
|
123 |
+
|
124 |
+
echo '<div class="bp_sbox" data-sid="' . $id . '">';
|
125 |
+
echo '</div>';
|
126 |
+
}
|
127 |
+
echo '</div>';
|
128 |
+
|
129 |
+
echo '</div><!--bp_cnt-->';
|
130 |
+
echo '</div><!--bp_wrap-->';
|
131 |
+
}
|
132 |
+
|
133 |
+
public static function print_veditor_buttons( $buttons_list ){
|
134 |
+
|
135 |
+
$buttons = WPSR_Buttons::list_all();
|
136 |
+
$services = WPSR_Services::list_all();
|
137 |
+
|
138 |
+
echo '<ul class="btn_list clearfix" data-empty="No buttons created">';
|
139 |
+
foreach($buttons_list as $id){
|
140 |
+
|
141 |
+
if( !isset( $buttons[ $id ] ) )
|
142 |
+
continue;
|
143 |
+
|
144 |
+
$config = $buttons[ $id ];
|
145 |
+
|
146 |
+
if( !isset( $services[ $config[ 'service' ] ] ) )
|
147 |
+
continue;
|
148 |
+
|
149 |
+
$service = $services[ $config[ 'service' ] ];
|
150 |
+
|
151 |
+
echo self::tmpl_veditor_button($id, $config, $service);
|
152 |
+
|
153 |
+
}
|
154 |
+
echo '</ul>';
|
155 |
+
|
156 |
+
}
|
157 |
+
|
158 |
+
public static function list_buttons(){
|
159 |
+
|
160 |
+
if(!isset($_GET['service']) || !isset($_GET['feature'])){
|
161 |
+
die(0);
|
162 |
+
}
|
163 |
+
|
164 |
+
$service = wp_kses_post( $_GET[ 'service' ] );
|
165 |
+
$feature = wp_kses_post( $_GET[ 'feature' ] );
|
166 |
+
|
167 |
+
$buttons = WPSR_Buttons::list_all();
|
168 |
+
$buttons_tmpl = WPSR_Services::list_templates( $feature );
|
169 |
+
$buttons_feature = array();
|
170 |
+
|
171 |
+
echo '<!doctype html><html lang="en"><head><meta charset="utf-8"><title></title>';
|
172 |
+
echo '<link href="' . WPSR_ADMIN_URL . 'css/button_picker_preview.css" rel="stylesheet" type="text/css" media="all" />';
|
173 |
+
echo '</head><body>';
|
174 |
+
|
175 |
+
foreach($buttons as $id=>$config){
|
176 |
+
if($config['service'] == $service && $config['feature'] == $feature){
|
177 |
+
$buttons_feature[$id] = $config;
|
178 |
+
}
|
179 |
+
}
|
180 |
+
|
181 |
+
if(count($buttons_feature) > 0){
|
182 |
+
echo '<h3>Created buttons</h3>';
|
183 |
+
echo '<div class="clearfix">';
|
184 |
+
|
185 |
+
foreach($buttons_feature as $id=>$config){
|
186 |
+
echo self::tmpl_list_button($id, $config, 'created', $service);
|
187 |
+
}
|
188 |
+
|
189 |
+
echo '</div>';
|
190 |
+
}
|
191 |
+
|
192 |
+
echo '<h3>Create new button</h3>';
|
193 |
+
echo '<div class="clearfix">';
|
194 |
+
|
195 |
+
echo self::tmpl_list_button('default', array(), 'new', $service);
|
196 |
+
|
197 |
+
WPSR_Buttons::$temp_buttons = $buttons_tmpl;
|
198 |
+
foreach($buttons_tmpl as $id=>$config){
|
199 |
+
if($config['service'] == $service){
|
200 |
+
echo self::tmpl_list_button($id, $config, 'new', $service);
|
201 |
+
}
|
202 |
+
}
|
203 |
+
WPSR_Buttons::$temp_buttons = array();
|
204 |
+
|
205 |
+
echo '</div>';
|
206 |
+
|
207 |
+
WPSR_Includes::preview_print_includes();
|
208 |
+
|
209 |
+
echo '</body></html>';
|
210 |
+
|
211 |
+
die(0);
|
212 |
+
|
213 |
+
}
|
214 |
+
|
215 |
+
public static function tmpl_list_button($id, $config, $type, $service ){
|
216 |
+
|
217 |
+
$page_info = array(
|
218 |
+
'title' => 'Google',
|
219 |
+
'url' => 'https://www.google.com',
|
220 |
+
'excerpt' => 'Dummy excerpt for WP Socializer preview',
|
221 |
+
'short_url' => 'https://goo.gl/lightsaber',
|
222 |
+
'comments_count' => '45',
|
223 |
+
'post_id' => 1
|
224 |
+
);
|
225 |
+
|
226 |
+
$html = '';
|
227 |
+
|
228 |
+
if($id == 'default'){
|
229 |
+
$title = 'Create button with default settings';
|
230 |
+
$btn_html = '<i class="fa fa-plus default_icon"></i>';
|
231 |
+
}else{
|
232 |
+
$title = isset($config['settings']['title']) ? $config['settings']['title'] : '';
|
233 |
+
$desc = isset($config['desc']) ? $config['desc'] : '';
|
234 |
+
$btn_html = WPSR_Buttons::get_button($id, $page_info);
|
235 |
+
}
|
236 |
+
|
237 |
+
$html .= '<div class="bt_wrap" data-id="' . $id . '" data-type="' . $type . '" data-service="' . $service . '">';
|
238 |
+
|
239 |
+
if($type == 'created'){
|
240 |
+
$html .= '<span class="bt_delete" title="Delete"><i class="fa fa-trash-alt"></i></span>';
|
241 |
+
}
|
242 |
+
|
243 |
+
$html .= '<div class="bt_inner">';
|
244 |
+
$html .= $btn_html;
|
245 |
+
$html .= '</div>';
|
246 |
+
|
247 |
+
if(!empty($title) || !empty($desc)){
|
248 |
+
$html .= '<div class="tooltip">';
|
249 |
+
if(!empty($title)) $html .= '<span>' . $title . '</span>';
|
250 |
+
if(!empty($desc)) $html .= '<span>' . $desc . '</span>';
|
251 |
+
$html .= '</div>';
|
252 |
+
}
|
253 |
+
|
254 |
+
$html .= '</div>';
|
255 |
+
|
256 |
+
return $html;
|
257 |
+
}
|
258 |
+
|
259 |
+
public static function tmpl_veditor_button($id, $config, $service){
|
260 |
+
$html = '';
|
261 |
+
$html .= '<li data-service="' . $config[ 'service' ] . '" data-id="' . $id . '" class="ui_btn">';
|
262 |
+
$html .= '<span class="btn_icon"><img src="' . $service['icons'] . '" /></span>';
|
263 |
+
$html .= '<span class="btn_name"' . ( isset( $config[ 'settings' ][ 'title' ] ) ? 'data-title="' . $config[ 'settings' ][ 'title' ] . '"' : '' ) . '>' . $service['name'] . '</span>';
|
264 |
+
$html .= '<i class="btn_action btn_delete fa fa-trash-alt" title="' . __( 'Delete button', 'wpsr' ) . '"></i>';
|
265 |
+
$html .= '<i class="btn_action btn_edit fa fa-cog" title="' . __( 'Settings', 'wpsr' ) . '"></i>';
|
266 |
+
$html .= '</li>';
|
267 |
+
return $html;
|
268 |
+
}
|
269 |
+
|
270 |
+
public static function validate_feature( $feature ){
|
271 |
+
|
272 |
+
return WPSR_Lists::set_defaults( $feature, array(
|
273 |
+
'name' => 'none',
|
274 |
+
'hide_services' => array()
|
275 |
+
));
|
276 |
+
|
277 |
+
}
|
278 |
+
|
279 |
+
}
|
280 |
+
|
281 |
+
WPSR_Buttons_Picker::init();
|
282 |
+
|
283 |
+
?>
|
admin/css/button_picker_preview.css
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
body{
|
2 |
+
margin: 0;
|
3 |
+
font-family: "Open Sans",sans-serif;
|
4 |
+
font-size: 13px;
|
5 |
+
}
|
6 |
+
h3 {
|
7 |
+
margin: 0 0 20px 0;
|
8 |
+
text-transform: uppercase;
|
9 |
+
font-size: 12px;
|
10 |
+
}
|
11 |
+
.bt_wrap {
|
12 |
+
float: left;
|
13 |
+
text-align: center;
|
14 |
+
vertical-align: middle;
|
15 |
+
border: 1px solid #dfdfdf;
|
16 |
+
margin: 0 15px 15px 0;
|
17 |
+
position: relative;
|
18 |
+
cursor: pointer;
|
19 |
+
}
|
20 |
+
.bt_inner {
|
21 |
+
padding: 15px;
|
22 |
+
}
|
23 |
+
.bt_wrap:hover:after{
|
24 |
+
position: absolute;
|
25 |
+
content: '';
|
26 |
+
background: rgba(0, 0, 0, 0.4);
|
27 |
+
left: 0;
|
28 |
+
right: 0;
|
29 |
+
top: 0;
|
30 |
+
bottom: 0;
|
31 |
+
}
|
32 |
+
.bt_wrap.inserting:after{
|
33 |
+
position: absolute;
|
34 |
+
content: '';
|
35 |
+
background: rgba(255, 255, 255, 0.9);
|
36 |
+
left: 0;
|
37 |
+
right: 0;
|
38 |
+
top: 0;
|
39 |
+
bottom: 0;
|
40 |
+
background-image: url(../images/icons/loading.gif);
|
41 |
+
background-position: center center;
|
42 |
+
background-repeat: no-repeat;
|
43 |
+
}
|
44 |
+
.bt_wrap[data-id="default"]{
|
45 |
+
min-width: 150px;
|
46 |
+
}
|
47 |
+
|
48 |
+
.bt_delete{
|
49 |
+
display: none;
|
50 |
+
position: absolute;
|
51 |
+
top: 0;
|
52 |
+
right: 0;
|
53 |
+
background: #fff;
|
54 |
+
width: 16px;
|
55 |
+
height: 16px;
|
56 |
+
z-index: 99;
|
57 |
+
cursor: pointer;
|
58 |
+
padding: 5px;
|
59 |
+
border-radius: 0 0 0 5px;
|
60 |
+
color: #333;
|
61 |
+
}
|
62 |
+
.bt_delete:hover{
|
63 |
+
background-color: #f1f1f1;
|
64 |
+
color: red;
|
65 |
+
}
|
66 |
+
.bt_wrap:hover .bt_delete{
|
67 |
+
display: block;
|
68 |
+
}
|
69 |
+
|
70 |
+
.tooltip {
|
71 |
+
display: none;
|
72 |
+
background: #333;
|
73 |
+
color: #fff;
|
74 |
+
position: absolute;
|
75 |
+
padding: 5px 10px;
|
76 |
+
border-radius: 3px;
|
77 |
+
max-width: 300px;
|
78 |
+
min-width: auto;
|
79 |
+
text-align: left;
|
80 |
+
z-index: 999;
|
81 |
+
top: 110%;
|
82 |
+
white-space: pre;
|
83 |
+
font-size: 11px;
|
84 |
+
}
|
85 |
+
.tooltip:after{
|
86 |
+
position: absolute;
|
87 |
+
content: '';
|
88 |
+
border: 5px solid;
|
89 |
+
border-color: transparent transparent #333 transparent;
|
90 |
+
top: -10px;
|
91 |
+
left: 5px;
|
92 |
+
}
|
93 |
+
.tooltip span{
|
94 |
+
display: block;
|
95 |
+
}
|
96 |
+
.bt_wrap:hover .tooltip{
|
97 |
+
display: block;
|
98 |
+
}
|
99 |
+
|
100 |
+
.default_icon {
|
101 |
+
position: absolute;
|
102 |
+
font-size: 20px !important;
|
103 |
+
top: 50%;
|
104 |
+
left: 50%;
|
105 |
+
transform: translate(-50%, -50%);
|
106 |
+
color: #888;
|
107 |
+
}
|
108 |
+
|
109 |
+
.clearfix{
|
110 |
+
display: flex;
|
111 |
+
flex-wrap: wrap;
|
112 |
+
}
|
113 |
+
.clearfix::after {
|
114 |
+
content: "";
|
115 |
+
clear: both;
|
116 |
+
display: table;
|
117 |
+
}
|
admin/css/style.css
CHANGED
@@ -1,14 +1,16 @@
|
|
1 |
.wrap{
|
2 |
margin: 0;
|
3 |
}
|
4 |
-
#
|
5 |
-
|
6 |
-
|
|
|
7 |
}
|
8 |
-
#
|
9 |
-
width:
|
10 |
margin: 0 auto;
|
11 |
position: relative;
|
|
|
12 |
}
|
13 |
h1.wpsr_title{
|
14 |
background: url( '../images/icons/wp-socializer.png' ) no-repeat left;
|
@@ -26,18 +28,102 @@ h1.wpsr_title a{
|
|
26 |
text-decoration: none;
|
27 |
color: #fff;
|
28 |
vertical-align: middle;
|
29 |
-
padding:
|
30 |
-
font-size:
|
31 |
font-weight: 600;
|
32 |
margin-right: 5px;
|
|
|
|
|
|
|
33 |
}
|
34 |
h1.wpsr_title a:hover{
|
35 |
color: #fff;
|
36 |
opacity: 0.5;
|
37 |
}
|
38 |
-
h1.wpsr_title a
|
39 |
margin-right: 5px;
|
40 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
.postbox h3 {
|
42 |
font-size: 13px;
|
43 |
text-transform: uppercase;
|
@@ -61,6 +147,12 @@ h1.wpsr_title a .fa{
|
|
61 |
border-bottom: none;
|
62 |
border-top-color: #eee;
|
63 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
.btns_colleft{
|
66 |
float: left;
|
@@ -71,59 +163,6 @@ h1.wpsr_title a .fa{
|
|
71 |
width: 55%;
|
72 |
}
|
73 |
|
74 |
-
.nav-tab-wrapper{
|
75 |
-
margin: 0 0 30px 0 !important;
|
76 |
-
border: none !Important;
|
77 |
-
padding: 0 !important;
|
78 |
-
}
|
79 |
-
.nav-tab{
|
80 |
-
position: relative;
|
81 |
-
border: 0px solid #dfdfdf;
|
82 |
-
border-radius: 3px;
|
83 |
-
margin-left: 0;
|
84 |
-
margin-right: 10px;
|
85 |
-
box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.5);
|
86 |
-
background: #f9f9f9;
|
87 |
-
font-size: 13px;
|
88 |
-
text-transform: uppercase;
|
89 |
-
}
|
90 |
-
.nav-tab .page_tip {
|
91 |
-
position: absolute;
|
92 |
-
top: 100%;
|
93 |
-
left: 0;
|
94 |
-
z-index: 9999;
|
95 |
-
background: #333;
|
96 |
-
display: none;
|
97 |
-
padding: 5px;
|
98 |
-
line-height: 1;
|
99 |
-
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.6);
|
100 |
-
}
|
101 |
-
.nav-tab:hover .page_tip {
|
102 |
-
display: block;
|
103 |
-
}
|
104 |
-
.nav-tab .page_tip:after {
|
105 |
-
display: block;
|
106 |
-
content: ' ';
|
107 |
-
border: 7px solid #000;
|
108 |
-
position: absolute;
|
109 |
-
top: -13px;
|
110 |
-
border-color: transparent transparent #3d3d3d transparent;
|
111 |
-
}
|
112 |
-
.nav-tab:nth-last-child(-n+3) {
|
113 |
-
float: right;
|
114 |
-
}
|
115 |
-
.nav-tab:nth-last-child(3) {
|
116 |
-
margin-right: 0;
|
117 |
-
}
|
118 |
-
.nav-tab.nav-tab-active{
|
119 |
-
background: #ff8f2d;
|
120 |
-
color: #fff;
|
121 |
-
}
|
122 |
-
.nav-tab:hover{
|
123 |
-
background: #9e9e9e;
|
124 |
-
color: #fff;
|
125 |
-
}
|
126 |
-
|
127 |
.sbox_wrap{
|
128 |
position: relative;
|
129 |
display: table;
|
@@ -258,7 +297,7 @@ h1.wpsr_title a .fa{
|
|
258 |
-moz-user-select: none;
|
259 |
user-select: none;
|
260 |
}
|
261 |
-
.ui_btn >
|
262 |
display: table-cell;
|
263 |
line-height: 1em;
|
264 |
vertical-align: middle;
|
@@ -299,7 +338,7 @@ h1.wpsr_title a .fa{
|
|
299 |
.btn_icon, .btn_action{
|
300 |
width: 16px;
|
301 |
height: 16px;
|
302 |
-
margin: 0
|
303 |
}
|
304 |
.btn_name:after {
|
305 |
content: attr(data-title);
|
@@ -313,12 +352,135 @@ h1.wpsr_title a .fa{
|
|
313 |
min-width: 90px;
|
314 |
}
|
315 |
|
316 |
-
.ui_btn
|
317 |
-
|
318 |
-
height: 16px;
|
319 |
-
font-size: 16px;
|
320 |
}
|
321 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
322 |
.tooltip_settings_dd{
|
323 |
position: absolute;
|
324 |
}
|
@@ -360,27 +522,11 @@ h1.wpsr_title a .fa{
|
|
360 |
.vedit_wrap{
|
361 |
margin: 0;
|
362 |
}
|
363 |
-
.
|
364 |
-
margin
|
365 |
-
float: right;
|
366 |
-
}
|
367 |
-
|
368 |
-
.toolbar_wrap{
|
369 |
-
background: #F5F5F5;
|
370 |
-
border: 1px solid #DEDEDE;
|
371 |
-
margin: 0 0 -1px 0;
|
372 |
-
padding: 10px 10px 0 10px;
|
373 |
-
}
|
374 |
-
.toolbar_wrap li{
|
375 |
-
float: left;
|
376 |
-
border-radius: 3px;
|
377 |
-
padding: 5px 10px;
|
378 |
-
margin: 0 10px 10px 0;
|
379 |
-
border: 1px solid #E7E7E7;
|
380 |
-
cursor: pointer;
|
381 |
}
|
382 |
-
.
|
383 |
-
margin:
|
384 |
}
|
385 |
|
386 |
|
@@ -430,25 +576,26 @@ h1.wpsr_title a .fa{
|
|
430 |
content: '';
|
431 |
display: block;
|
432 |
}
|
433 |
-
.
|
434 |
position: absolute;
|
435 |
top: -1px;
|
436 |
right: -1px;
|
437 |
display: none;
|
438 |
}
|
439 |
-
.
|
440 |
padding: 5px;
|
441 |
background: #dedede;
|
442 |
color: #FFF;
|
443 |
display: inline-block;
|
444 |
cursor: pointer;
|
445 |
}
|
446 |
-
.
|
447 |
background: #000;
|
448 |
}
|
449 |
|
450 |
.veditor_preview{
|
451 |
margin: 15px 0 0 0;
|
|
|
452 |
}
|
453 |
.vedit_preview_iframe{
|
454 |
display: none;
|
@@ -526,8 +673,13 @@ h1.wpsr_title a .fa{
|
|
526 |
margin: 0;
|
527 |
}
|
528 |
.loc_rules_inner {
|
529 |
-
margin: 30px
|
530 |
counter-reset: group-counter;
|
|
|
|
|
|
|
|
|
|
|
531 |
}
|
532 |
.loc_rules_box{
|
533 |
padding: 15px 15px 0 15px;
|
@@ -715,11 +867,14 @@ h1.wpsr_title a .fa{
|
|
715 |
}
|
716 |
.mini_btn_list li > *{
|
717 |
display: table-cell;
|
718 |
-
padding: 8px 0 8px
|
719 |
}
|
720 |
.mini_btn_list li > *:last-child{
|
721 |
padding-right: 0;
|
722 |
}
|
|
|
|
|
|
|
723 |
.mini_btn_list.list_selected{
|
724 |
margin: 0;
|
725 |
border: 1px dashed #ccc;
|
@@ -737,6 +892,10 @@ h1.wpsr_title a .fa{
|
|
737 |
.mini_section_select:hover{
|
738 |
opacity: 0.6;
|
739 |
}
|
|
|
|
|
|
|
|
|
740 |
.mini_filters input, .mini_filters select{
|
741 |
margin: 0 10px 0 0;
|
742 |
font-size: 13px;
|
@@ -770,11 +929,8 @@ h1.wpsr_title a .fa{
|
|
770 |
.list_btn_placeholder{
|
771 |
background: red;
|
772 |
}
|
773 |
-
.item_settings {
|
774 |
-
opacity: 1 !important;
|
775 |
-
}
|
776 |
|
777 |
-
.item_popup
|
778 |
position: fixed;
|
779 |
top: 10%;
|
780 |
bottom: 10%;
|
@@ -808,65 +964,6 @@ h1.wpsr_title a .fa{
|
|
808 |
color: #7d7d7d;
|
809 |
}
|
810 |
|
811 |
-
.scr_saction{
|
812 |
-
text-align: center;
|
813 |
-
border: 1px solid #ccc;
|
814 |
-
padding: 20px;
|
815 |
-
font-size: 14px;
|
816 |
-
cursor: pointer;
|
817 |
-
background: #F5F5F5;
|
818 |
-
position: relative;
|
819 |
-
}
|
820 |
-
.scr_saction small{
|
821 |
-
border: 1px solid green;
|
822 |
-
color: green;
|
823 |
-
padding: 5px 10px;
|
824 |
-
margin: 10px;
|
825 |
-
}
|
826 |
-
.scr_saction:hover{
|
827 |
-
border-color: #000;
|
828 |
-
}
|
829 |
-
.scr_btn_close:after {
|
830 |
-
position: absolute;
|
831 |
-
content: 'Close';
|
832 |
-
right: 15px;
|
833 |
-
}
|
834 |
-
|
835 |
-
.scr_tmpl_wrap{
|
836 |
-
float: left;
|
837 |
-
padding: 15px;
|
838 |
-
margin: 0 15px 15px 0;
|
839 |
-
position: relative;
|
840 |
-
cursor: pointer;
|
841 |
-
}
|
842 |
-
.scr_tmpl_wrap:after{
|
843 |
-
position: absolute;
|
844 |
-
top:0;
|
845 |
-
left:0;
|
846 |
-
right:0;
|
847 |
-
bottom:0;
|
848 |
-
content: '';
|
849 |
-
display: block;
|
850 |
-
}
|
851 |
-
.scr_tmpl_wrap:hover{
|
852 |
-
background: #fffce5;
|
853 |
-
}
|
854 |
-
.scr_tmpl_wrap small{
|
855 |
-
display: block;
|
856 |
-
padding: 5px 0;
|
857 |
-
}
|
858 |
-
.scr_tmpl_wrap:hover:before {
|
859 |
-
content: 'Apply template';
|
860 |
-
position: absolute;
|
861 |
-
right: 15px;
|
862 |
-
border: 1px solid #d5d5d5;
|
863 |
-
padding: 5px;
|
864 |
-
border-radius: 5px;
|
865 |
-
background: #fff;
|
866 |
-
top: 34%;
|
867 |
-
z-index: 99;
|
868 |
-
}
|
869 |
-
|
870 |
.ft_table td{
|
871 |
width: 15%;
|
872 |
text-align: center;
|
@@ -976,6 +1073,8 @@ select[name="ft_status"]{
|
|
976 |
float: left;
|
977 |
margin: 0 10px 0 0;
|
978 |
cursor: no-drop;
|
|
|
|
|
979 |
}
|
980 |
.fb_preview:after {content: ' ';display: block;clear: both;}
|
981 |
.fb_preview span {
|
@@ -984,6 +1083,13 @@ select[name="ft_status"]{
|
|
984 |
border: 1px dashed #ccc;
|
985 |
padding: 24px;
|
986 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
987 |
.fb_list{
|
988 |
height: auto !important;
|
989 |
}
|
@@ -1008,12 +1114,15 @@ select[name="ft_status"]{
|
|
1008 |
width: 48px;
|
1009 |
height: 48px;
|
1010 |
text-align: center;
|
1011 |
-
line-height: 48px;
|
1012 |
color: #fff;
|
1013 |
-
margin-right:
|
1014 |
cursor: move;
|
1015 |
position: relative;
|
1016 |
background: #333;
|
|
|
|
|
|
|
|
|
1017 |
}
|
1018 |
.ssb_selected_list li:active{
|
1019 |
box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.3);
|
@@ -1035,15 +1144,36 @@ select[name="ft_status"]{
|
|
1035 |
.ssb_selected_list li:hover .ssb_remove{
|
1036 |
display: block;
|
1037 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1038 |
|
1039 |
.img_select{
|
1040 |
display: none;
|
1041 |
}
|
1042 |
.img_select_list {
|
1043 |
margin: 0;
|
|
|
|
|
|
|
1044 |
}
|
1045 |
.img_select_list li {
|
1046 |
-
float: left;
|
1047 |
width: 150px;
|
1048 |
padding: 10px;
|
1049 |
border: 3px solid transparent;
|
@@ -1053,7 +1183,9 @@ select[name="ft_status"]{
|
|
1053 |
}
|
1054 |
.img_select_list li img{
|
1055 |
width: 100%;
|
1056 |
-
|
|
|
|
|
1057 |
}
|
1058 |
.img_select_list li:active{
|
1059 |
border-color: #ccc;
|
@@ -1064,7 +1196,7 @@ select[name="ft_status"]{
|
|
1064 |
font-size: 12px;
|
1065 |
}
|
1066 |
.img_select_list li.img_opt_selected{
|
1067 |
-
border-color: #
|
1068 |
box-shadow: 0 3px 3px -1px rgba(0, 0, 0, 0.2);
|
1069 |
border-radius: 3px;
|
1070 |
}
|
@@ -1153,13 +1285,16 @@ select[name="ft_status"]{
|
|
1153 |
width: 100%;
|
1154 |
}
|
1155 |
|
|
|
|
|
|
|
|
|
|
|
1156 |
.template_tab li{
|
1157 |
cursor: pointer;
|
1158 |
-
float: left;
|
1159 |
-
border-radius: 2em;
|
1160 |
border: 1px solid #ccc;
|
1161 |
padding: 0.5em 1em;
|
1162 |
-
margin
|
1163 |
color: #555;
|
1164 |
font-weight: bold;
|
1165 |
font-size: 14px;
|
@@ -1173,6 +1308,29 @@ select[name="ft_status"]{
|
|
1173 |
background: #e5e5e5;
|
1174 |
}
|
1175 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1176 |
.intro_popup{
|
1177 |
background: #fff;
|
1178 |
position: fixed;
|
@@ -1217,39 +1375,12 @@ select[name="ft_status"]{
|
|
1217 |
overflow: auto;
|
1218 |
}
|
1219 |
|
1220 |
-
.help_sec{
|
1221 |
-
background: white;
|
1222 |
-
padding: 10px 25px 25px 25px;
|
1223 |
-
border: 1px solid #dfdfdf;
|
1224 |
-
}
|
1225 |
-
.help_sec aside{
|
1226 |
-
float: right;
|
1227 |
-
width: 200px;
|
1228 |
-
border: 1px solid #dfdfdf;
|
1229 |
-
padding: 0 15px 15px 15px;
|
1230 |
-
border-width: 0 0 1px 1px;
|
1231 |
-
}
|
1232 |
-
.yt-help-videos{
|
1233 |
-
padding: 0 !important;
|
1234 |
-
}
|
1235 |
-
.yt-help-videos li{
|
1236 |
-
list-style: none;
|
1237 |
-
float: left;
|
1238 |
-
width: 25%;
|
1239 |
-
height: 190px;
|
1240 |
-
padding: 0 20px 0 0;
|
1241 |
-
box-sizing: border-box;
|
1242 |
-
}
|
1243 |
-
.yt-help-videos li img{
|
1244 |
-
width: 100%;
|
1245 |
-
}
|
1246 |
-
|
1247 |
.style_ele ul{
|
1248 |
list-style: square;
|
1249 |
padding-left: 30px;
|
1250 |
}
|
1251 |
|
1252 |
-
.button
|
1253 |
margin: 5px 2px 0 0;
|
1254 |
}
|
1255 |
|
@@ -1257,23 +1388,13 @@ select[name="ft_status"]{
|
|
1257 |
border: 1px solid #ccc;
|
1258 |
padding: 0.7em;
|
1259 |
background: #F5F5F5;
|
1260 |
-
cursor: pointer;
|
1261 |
margin: 0 0 5px 0;
|
1262 |
text-transform: uppercase;
|
1263 |
font-size: 11px;
|
1264 |
}
|
1265 |
-
.collapse_head:after{
|
1266 |
-
font-family: Dashicons;
|
1267 |
-
float: right;
|
1268 |
-
content: "\f156";
|
1269 |
-
}
|
1270 |
.collapse_head+.form-table{
|
1271 |
-
display: none;
|
1272 |
margin-left: 10px;
|
1273 |
}
|
1274 |
-
.collapse_head:first-child+.form-table{
|
1275 |
-
display: block;
|
1276 |
-
}
|
1277 |
|
1278 |
.page_footer p {
|
1279 |
font-size: 12px;
|
@@ -1316,7 +1437,7 @@ select[name="ft_status"]{
|
|
1316 |
box-shadow: 0 2px 4px -2px red;
|
1317 |
padding: 25px;
|
1318 |
}
|
1319 |
-
.setup_hint
|
1320 |
margin: 0 20px;
|
1321 |
}
|
1322 |
.setup_hint .fa-caret-right{
|
@@ -1326,6 +1447,14 @@ select[name="ft_status"]{
|
|
1326 |
color: #4CAF50;
|
1327 |
}
|
1328 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1329 |
.custom_html_editor{
|
1330 |
padding: 10px;
|
1331 |
}
|
@@ -1334,96 +1463,27 @@ select[name="ft_status"]{
|
|
1334 |
margin-top: 15px !important;
|
1335 |
}
|
1336 |
|
1337 |
-
.top_sharebar{
|
1338 |
-
position: absolute;
|
1339 |
-
right: 0;
|
1340 |
-
top: 30px;
|
1341 |
-
}
|
1342 |
-
.top_sharebar .socializer a{
|
1343 |
-
background: #3F51B5;
|
1344 |
-
padding: 5px 10px;
|
1345 |
-
border-radius: 2em;
|
1346 |
-
text-decoration: none;
|
1347 |
-
color: #fff;
|
1348 |
-
font-weight: 600;
|
1349 |
-
font-size: 12px;
|
1350 |
-
}
|
1351 |
-
.top_sharebar .socializer a:hover{
|
1352 |
-
opacity: 0.5;
|
1353 |
-
}
|
1354 |
-
.top_sharebar .socializer i{
|
1355 |
-
margin-right: 0.5em;
|
1356 |
-
}
|
1357 |
-
.top_sharebar .sr-twitter{
|
1358 |
-
margin-right: 5px;
|
1359 |
-
}
|
1360 |
-
.top_sharebar .sr-twitter a{
|
1361 |
-
background-color: #4da7de;
|
1362 |
-
}
|
1363 |
-
.top_sharebar .sr-googleplus a{
|
1364 |
-
background-color: #db483b;
|
1365 |
-
}
|
1366 |
|
1367 |
-
.
|
1368 |
-
|
1369 |
-
}
|
1370 |
-
.a2a_svg {
|
1371 |
-
height: 29px !important;
|
1372 |
-
line-height: 29px !important;
|
1373 |
-
width: 29px !important;
|
1374 |
-
}
|
1375 |
-
|
1376 |
-
.share_wpsr {
|
1377 |
-
position: absolute;
|
1378 |
-
left: 91%;
|
1379 |
-
margin: 0;
|
1380 |
-
top: 150px;
|
1381 |
-
width: 80px;
|
1382 |
-
}
|
1383 |
-
.share_wpsr span {
|
1384 |
-
display: block;
|
1385 |
-
font-size: 10px;
|
1386 |
-
text-align: center;
|
1387 |
}
|
1388 |
-
.
|
1389 |
-
|
1390 |
-
}
|
1391 |
-
.share_wpsr li div {
|
1392 |
-
position: absolute;
|
1393 |
-
background: #000;
|
1394 |
-
right: 100%;
|
1395 |
-
margin-right: 20px;
|
1396 |
-
top: 0;
|
1397 |
-
padding: 5px;
|
1398 |
-
color: #fff;
|
1399 |
-
border-radius: 3px;
|
1400 |
-
display: none;
|
1401 |
-
width: 400px;
|
1402 |
}
|
1403 |
-
.
|
1404 |
-
|
1405 |
}
|
1406 |
-
.
|
1407 |
-
|
1408 |
}
|
1409 |
-
.
|
1410 |
-
|
1411 |
-
margin-bottom: 30px;
|
1412 |
}
|
1413 |
-
.
|
1414 |
-
|
1415 |
-
color: #181818;
|
1416 |
}
|
1417 |
-
.
|
1418 |
-
|
1419 |
-
}
|
1420 |
-
|
1421 |
-
.share_text{
|
1422 |
-
font-size: 10px;
|
1423 |
-
text-align: right;
|
1424 |
-
line-height: 1.5;
|
1425 |
-
margin-right: 5px;
|
1426 |
-
color: #838383;
|
1427 |
}
|
1428 |
|
1429 |
.coffee_box{
|
@@ -1451,21 +1511,8 @@ select[name="ft_status"]{
|
|
1451 |
margin: -10px 20px 0 20px;
|
1452 |
}
|
1453 |
|
1454 |
-
.
|
1455 |
-
|
1456 |
-
}
|
1457 |
-
.help_link{
|
1458 |
-
background: #9E9E9E;
|
1459 |
-
opacity: 0.7;
|
1460 |
-
}
|
1461 |
-
|
1462 |
-
.yt_help_icon{
|
1463 |
-
position: absolute;
|
1464 |
-
left: -35px;
|
1465 |
-
top: 10px;
|
1466 |
-
font-size: 22px;
|
1467 |
-
color: #e62117;
|
1468 |
-
text-decoration: none;
|
1469 |
}
|
1470 |
|
1471 |
.hide_scrollbar{
|
@@ -1483,6 +1530,9 @@ select[name="ft_status"]{
|
|
1483 |
.hidden{
|
1484 |
display: none;
|
1485 |
}
|
|
|
|
|
|
|
1486 |
.clearfix{
|
1487 |
clear: both;
|
1488 |
}
|
@@ -1492,7 +1542,21 @@ select[name="ft_status"]{
|
|
1492 |
clear: both;
|
1493 |
}
|
1494 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1495 |
@media screen and (max-width: 950px) {
|
|
|
|
|
|
|
1496 |
.page_footer .fright{
|
1497 |
float: none;
|
1498 |
}
|
@@ -1502,9 +1566,6 @@ select[name="ft_status"]{
|
|
1502 |
.main_form_footer{
|
1503 |
position: static;
|
1504 |
}
|
1505 |
-
.share_wpsr, .top_sharebar{
|
1506 |
-
display: none;
|
1507 |
-
}
|
1508 |
.coffee_box{
|
1509 |
background: #fff;
|
1510 |
}
|
1 |
.wrap{
|
2 |
margin: 0;
|
3 |
}
|
4 |
+
#wpsr_header{
|
5 |
+
margin: 0 0 15px -20px;
|
6 |
+
padding: 0;
|
7 |
+
border-bottom: 1px solid #dfdfdf;
|
8 |
}
|
9 |
+
#wpsr_header hgroup{
|
10 |
+
width: 70%;
|
11 |
margin: 0 auto;
|
12 |
position: relative;
|
13 |
+
padding-left: 20px;
|
14 |
}
|
15 |
h1.wpsr_title{
|
16 |
background: url( '../images/icons/wp-socializer.png' ) no-repeat left;
|
28 |
text-decoration: none;
|
29 |
color: #fff;
|
30 |
vertical-align: middle;
|
31 |
+
padding: 3px 10px;
|
32 |
+
font-size: 10px;
|
33 |
font-weight: 600;
|
34 |
margin-right: 5px;
|
35 |
+
top: -2px;
|
36 |
+
position: relative;
|
37 |
+
background: #637178;
|
38 |
}
|
39 |
h1.wpsr_title a:hover{
|
40 |
color: #fff;
|
41 |
opacity: 0.5;
|
42 |
}
|
43 |
+
h1.wpsr_title a i{
|
44 |
margin-right: 5px;
|
45 |
}
|
46 |
+
|
47 |
+
#content {
|
48 |
+
width: 70%;
|
49 |
+
margin: 0 auto;
|
50 |
+
}
|
51 |
+
#content h1 {
|
52 |
+
padding: 0;
|
53 |
+
margin: 20px 0;
|
54 |
+
}
|
55 |
+
#content h1 i{
|
56 |
+
font-size: 0.8em;
|
57 |
+
margin: 0;
|
58 |
+
}
|
59 |
+
|
60 |
+
|
61 |
+
.page_card {
|
62 |
+
width: 225px;
|
63 |
+
float: left;
|
64 |
+
display: block;
|
65 |
+
height: 300px;
|
66 |
+
background-color: #fff;
|
67 |
+
background-repeat: no-repeat;
|
68 |
+
background-position: 50%;
|
69 |
+
margin: 0 25px 25px 0;
|
70 |
+
border: 1px solid #e6e6e6;
|
71 |
+
position: relative;
|
72 |
+
box-sizing: border-box;
|
73 |
+
text-decoration: none;
|
74 |
+
border-radius: 5px;
|
75 |
+
overflow: hidden;
|
76 |
+
box-shadow: 0 1px 1px rgba(0,0,0,.04);
|
77 |
+
}
|
78 |
+
.page_card h3{
|
79 |
+
margin: 0;
|
80 |
+
padding: 15px;
|
81 |
+
text-align: center;
|
82 |
+
}
|
83 |
+
.page_card:hover{
|
84 |
+
border-color: #888 !important;
|
85 |
+
box-shadow: 0 3px 6px rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.1);
|
86 |
+
}
|
87 |
+
.page_card.active{
|
88 |
+
border-color: #63ca67;
|
89 |
+
}
|
90 |
+
.page_card.active .page_feat_status{
|
91 |
+
background: #4eb951;
|
92 |
+
color: #fff;
|
93 |
+
}
|
94 |
+
|
95 |
+
|
96 |
+
.page_icon{
|
97 |
+
width: 80px;
|
98 |
+
height: 80px;
|
99 |
+
position: absolute;
|
100 |
+
transform: translate(-50%,-50%);
|
101 |
+
top: 50%;
|
102 |
+
left: 50%;
|
103 |
+
}
|
104 |
+
.page_feat_status {
|
105 |
+
display: block;
|
106 |
+
text-align: center;
|
107 |
+
background: #fbfbfb;
|
108 |
+
padding: 15px;
|
109 |
+
position: absolute;
|
110 |
+
bottom: 0;
|
111 |
+
left: 0;
|
112 |
+
right: 0;
|
113 |
+
border-top: 1px solid #e8e8e8;
|
114 |
+
}
|
115 |
+
.page_feat_status i{
|
116 |
+
margin-right: 5px;
|
117 |
+
}
|
118 |
+
|
119 |
+
.card_setup{
|
120 |
+
border-color: #c296ca;
|
121 |
+
}
|
122 |
+
.card_others {
|
123 |
+
border-color: #b4c0ff;
|
124 |
+
}
|
125 |
+
|
126 |
+
|
127 |
.postbox h3 {
|
128 |
font-size: 13px;
|
129 |
text-transform: uppercase;
|
147 |
border-bottom: none;
|
148 |
border-top-color: #eee;
|
149 |
}
|
150 |
+
.main_form .postbox{
|
151 |
+
margin-bottom: 30px;
|
152 |
+
}
|
153 |
+
.main_form .postbox.last-child{
|
154 |
+
margin-bottom: 0;
|
155 |
+
}
|
156 |
|
157 |
.btns_colleft{
|
158 |
float: left;
|
163 |
width: 55%;
|
164 |
}
|
165 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
.sbox_wrap{
|
167 |
position: relative;
|
168 |
display: table;
|
297 |
-moz-user-select: none;
|
298 |
user-select: none;
|
299 |
}
|
300 |
+
.ui_btn > * {
|
301 |
display: table-cell;
|
302 |
line-height: 1em;
|
303 |
vertical-align: middle;
|
338 |
.btn_icon, .btn_action{
|
339 |
width: 16px;
|
340 |
height: 16px;
|
341 |
+
margin: 0;
|
342 |
}
|
343 |
.btn_name:after {
|
344 |
content: attr(data-title);
|
352 |
min-width: 90px;
|
353 |
}
|
354 |
|
355 |
+
.ui_btn i{
|
356 |
+
font-size: 15px;
|
|
|
|
|
357 |
}
|
358 |
|
359 |
+
|
360 |
+
.bp_wrap{
|
361 |
+
position: fixed;
|
362 |
+
display: none;
|
363 |
+
flex-direction: column;
|
364 |
+
background: #fff;
|
365 |
+
z-index: 9999;
|
366 |
+
top: 15%;
|
367 |
+
bottom: 15%;
|
368 |
+
left: 15%;
|
369 |
+
right: 15%;
|
370 |
+
border: 1px solid #dfdfdf;
|
371 |
+
box-shadow: 0 0 8px 1px;
|
372 |
+
outline: 2000px solid #0000007d;
|
373 |
+
overflow: auto;
|
374 |
+
}
|
375 |
+
.bp_wrap.open{
|
376 |
+
display: flex !important;
|
377 |
+
}
|
378 |
+
.bp_head{
|
379 |
+
border-bottom: 1px solid #dfdfdf;
|
380 |
+
margin: 0 !important;
|
381 |
+
padding: 20px !important;
|
382 |
+
}
|
383 |
+
.bp_close{
|
384 |
+
font-size: 13px;
|
385 |
+
position: absolute;
|
386 |
+
top: 0;
|
387 |
+
right: 0;
|
388 |
+
width: 28px;
|
389 |
+
height: 28px;
|
390 |
+
background: #333;
|
391 |
+
line-height: 28px;
|
392 |
+
text-align: center;
|
393 |
+
color: #fff;
|
394 |
+
cursor: pointer;
|
395 |
+
border-radius: 0 0 0 5px;
|
396 |
+
}
|
397 |
+
.bp_cnt{
|
398 |
+
display: flex;
|
399 |
+
}
|
400 |
+
.bp_cnt h3{
|
401 |
+
margin: 0 0 20px 0;
|
402 |
+
font-size: 12px;
|
403 |
+
text-transform: uppercase;
|
404 |
+
border-bottom: 1px solid #dfdfdf;
|
405 |
+
padding: 0 0 10px 0;
|
406 |
+
}
|
407 |
+
.bp_slist{
|
408 |
+
flex: 25%;
|
409 |
+
border-right: 1px solid #dfdfdf;
|
410 |
+
margin: 0;
|
411 |
+
overflow-y: scroll;
|
412 |
+
overflow-x: hidden;
|
413 |
+
}
|
414 |
+
.bp_slist li {
|
415 |
+
border-bottom: 1px solid #dfdfdf;
|
416 |
+
padding: 15px 0;
|
417 |
+
margin: 0;
|
418 |
+
font-size: 18px;
|
419 |
+
cursor: pointer;
|
420 |
+
}
|
421 |
+
.bp_slist li:hover{
|
422 |
+
background-color: #f7f7f7;
|
423 |
+
}
|
424 |
+
.bp_slist li.active {
|
425 |
+
background: #f0f0f0;
|
426 |
+
position: relative;
|
427 |
+
}
|
428 |
+
.bp_slist li.active:after{
|
429 |
+
position: absolute;
|
430 |
+
display: block;
|
431 |
+
content: '';
|
432 |
+
border: 10px solid #fff;
|
433 |
+
border-color: transparent transparent transparent #fff;
|
434 |
+
left: -1px;
|
435 |
+
top: 50%;
|
436 |
+
margin-top: -10px;
|
437 |
+
}
|
438 |
+
.bp_slist::-webkit-scrollbar-track{
|
439 |
+
background-color: #F5F5F5;
|
440 |
+
}
|
441 |
+
|
442 |
+
.bp_slist::-webkit-scrollbar{
|
443 |
+
width: 10px;
|
444 |
+
background-color: #F5F5F5;
|
445 |
+
}
|
446 |
+
|
447 |
+
.bp_slist::-webkit-scrollbar-thumb{
|
448 |
+
border-radius: 10px;
|
449 |
+
background-color: #ccc;
|
450 |
+
}
|
451 |
+
|
452 |
+
.bp_sicon {
|
453 |
+
vertical-align: middle;
|
454 |
+
margin: 0 15px;
|
455 |
+
}
|
456 |
+
.bp_blist{
|
457 |
+
flex: 75%;
|
458 |
+
padding: 20px 0 0 20px;
|
459 |
+
}
|
460 |
+
.bp_sbox{
|
461 |
+
display: none;
|
462 |
+
position: relative;
|
463 |
+
height: 100%;
|
464 |
+
}
|
465 |
+
.bp_sbox.active{
|
466 |
+
display: block;
|
467 |
+
}
|
468 |
+
.bp_sbox.loading{
|
469 |
+
background-image: url(../images/icons/loading.gif);
|
470 |
+
background-position: center 100px;
|
471 |
+
background-repeat: no-repeat;
|
472 |
+
}
|
473 |
+
.bp_sel_box{
|
474 |
+
width: 100%;
|
475 |
+
height: 100% !important;
|
476 |
+
position: absolute;
|
477 |
+
top: 0;
|
478 |
+
left: 0;
|
479 |
+
right: 0;
|
480 |
+
bottom: 0;
|
481 |
+
}
|
482 |
+
|
483 |
+
|
484 |
.tooltip_settings_dd{
|
485 |
position: absolute;
|
486 |
}
|
522 |
.vedit_wrap{
|
523 |
margin: 0;
|
524 |
}
|
525 |
+
.vedit_menu{
|
526 |
+
margin: 15px 0 0 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
527 |
}
|
528 |
+
.vedit_menu .button{
|
529 |
+
margin: 0 15px 0 0;
|
530 |
}
|
531 |
|
532 |
|
576 |
content: '';
|
577 |
display: block;
|
578 |
}
|
579 |
+
.vedit_row_menu{
|
580 |
position: absolute;
|
581 |
top: -1px;
|
582 |
right: -1px;
|
583 |
display: none;
|
584 |
}
|
585 |
+
.vedit_row_menu a {
|
586 |
padding: 5px;
|
587 |
background: #dedede;
|
588 |
color: #FFF;
|
589 |
display: inline-block;
|
590 |
cursor: pointer;
|
591 |
}
|
592 |
+
.vedit_row_menu a:hover{
|
593 |
background: #000;
|
594 |
}
|
595 |
|
596 |
.veditor_preview{
|
597 |
margin: 15px 0 0 0;
|
598 |
+
display: none;
|
599 |
}
|
600 |
.vedit_preview_iframe{
|
601 |
display: none;
|
673 |
margin: 0;
|
674 |
}
|
675 |
.loc_rules_inner {
|
676 |
+
margin: 30px 15px;
|
677 |
counter-reset: group-counter;
|
678 |
+
border: 1px solid #dfdfdf;
|
679 |
+
padding: 30px 15px 20px 15px;
|
680 |
+
background: #fefefe;
|
681 |
+
border-radius: 5px;
|
682 |
+
box-shadow: 0 2px 3px -1px #dfdfdf;
|
683 |
}
|
684 |
.loc_rules_box{
|
685 |
padding: 15px 15px 0 15px;
|
867 |
}
|
868 |
.mini_btn_list li > *{
|
869 |
display: table-cell;
|
870 |
+
padding: 8px 0 8px 10px;
|
871 |
}
|
872 |
.mini_btn_list li > *:last-child{
|
873 |
padding-right: 0;
|
874 |
}
|
875 |
+
.mini_btn_list li:hover{
|
876 |
+
box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.5);
|
877 |
+
}
|
878 |
.mini_btn_list.list_selected{
|
879 |
margin: 0;
|
880 |
border: 1px dashed #ccc;
|
892 |
.mini_section_select:hover{
|
893 |
opacity: 0.6;
|
894 |
}
|
895 |
+
.mini_section_select i {
|
896 |
+
margin: 3px 5px 0 0;
|
897 |
+
}
|
898 |
+
|
899 |
.mini_filters input, .mini_filters select{
|
900 |
margin: 0 10px 0 0;
|
901 |
font-size: 13px;
|
929 |
.list_btn_placeholder{
|
930 |
background: red;
|
931 |
}
|
|
|
|
|
|
|
932 |
|
933 |
+
.item_popup{
|
934 |
position: fixed;
|
935 |
top: 10%;
|
936 |
bottom: 10%;
|
964 |
color: #7d7d7d;
|
965 |
}
|
966 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
967 |
.ft_table td{
|
968 |
width: 15%;
|
969 |
text-align: center;
|
1073 |
float: left;
|
1074 |
margin: 0 10px 0 0;
|
1075 |
cursor: no-drop;
|
1076 |
+
border-radius: 3px;
|
1077 |
+
position: relative;
|
1078 |
}
|
1079 |
.fb_preview:after {content: ' ';display: block;clear: both;}
|
1080 |
.fb_preview span {
|
1083 |
border: 1px dashed #ccc;
|
1084 |
padding: 24px;
|
1085 |
}
|
1086 |
+
.fb_preview i{
|
1087 |
+
font-size: 20px;
|
1088 |
+
position: absolute;
|
1089 |
+
top: 50%;
|
1090 |
+
left: 50%;
|
1091 |
+
margin: -10px;
|
1092 |
+
}
|
1093 |
.fb_list{
|
1094 |
height: auto !important;
|
1095 |
}
|
1114 |
width: 48px;
|
1115 |
height: 48px;
|
1116 |
text-align: center;
|
|
|
1117 |
color: #fff;
|
1118 |
+
margin-right: 10px;
|
1119 |
cursor: move;
|
1120 |
position: relative;
|
1121 |
background: #333;
|
1122 |
+
border-radius: 3px;
|
1123 |
+
}
|
1124 |
+
.ssb_selected_list li:hover{
|
1125 |
+
opacity: 0.8;
|
1126 |
}
|
1127 |
.ssb_selected_list li:active{
|
1128 |
box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.3);
|
1144 |
.ssb_selected_list li:hover .ssb_remove{
|
1145 |
display: block;
|
1146 |
}
|
1147 |
+
.ssb_selected_list i{
|
1148 |
+
font-size: 20px;
|
1149 |
+
position: absolute;
|
1150 |
+
left: 50%;
|
1151 |
+
top: 50%;
|
1152 |
+
margin: -10px;
|
1153 |
+
}
|
1154 |
+
.ssb_tbl td{
|
1155 |
+
padding: 15px 0;
|
1156 |
+
}
|
1157 |
+
.ssb_list{
|
1158 |
+
font-size: 20px;
|
1159 |
+
height: 40px !important;
|
1160 |
+
padding: 5px !important;
|
1161 |
+
}
|
1162 |
+
.ssb_add{
|
1163 |
+
height: 38px !important;
|
1164 |
+
border-radius: 0 5px 5px 0 !important;
|
1165 |
+
}
|
1166 |
|
1167 |
.img_select{
|
1168 |
display: none;
|
1169 |
}
|
1170 |
.img_select_list {
|
1171 |
margin: 0;
|
1172 |
+
display: flex;
|
1173 |
+
flex-wrap: wrap;
|
1174 |
+
flex-direction: row;
|
1175 |
}
|
1176 |
.img_select_list li {
|
|
|
1177 |
width: 150px;
|
1178 |
padding: 10px;
|
1179 |
border: 3px solid transparent;
|
1183 |
}
|
1184 |
.img_select_list li img{
|
1185 |
width: 100%;
|
1186 |
+
}
|
1187 |
+
.img_select_list li:hover{
|
1188 |
+
border-color: #dfdfdf;
|
1189 |
}
|
1190 |
.img_select_list li:active{
|
1191 |
border-color: #ccc;
|
1196 |
font-size: 12px;
|
1197 |
}
|
1198 |
.img_select_list li.img_opt_selected{
|
1199 |
+
border-color: #0073aa;
|
1200 |
box-shadow: 0 3px 3px -1px rgba(0, 0, 0, 0.2);
|
1201 |
border-radius: 3px;
|
1202 |
}
|
1285 |
width: 100%;
|
1286 |
}
|
1287 |
|
1288 |
+
|
1289 |
+
.template_tab{
|
1290 |
+
display: flex;
|
1291 |
+
margin-bottom: 30px;
|
1292 |
+
}
|
1293 |
.template_tab li{
|
1294 |
cursor: pointer;
|
|
|
|
|
1295 |
border: 1px solid #ccc;
|
1296 |
padding: 0.5em 1em;
|
1297 |
+
margin: 0 1em 0 0;
|
1298 |
color: #555;
|
1299 |
font-weight: bold;
|
1300 |
font-size: 14px;
|
1308 |
background: #e5e5e5;
|
1309 |
}
|
1310 |
|
1311 |
+
.admin_links{
|
1312 |
+
position: absolute;
|
1313 |
+
top: 50%;
|
1314 |
+
right: 0;
|
1315 |
+
display: flex;
|
1316 |
+
transform: translateY(-50%);
|
1317 |
+
}
|
1318 |
+
.admin_links a{
|
1319 |
+
background: #fff;
|
1320 |
+
border-radius: 5px;
|
1321 |
+
padding: 10px 15px;
|
1322 |
+
margin: 0 0 0 10px;
|
1323 |
+
text-decoration: none;
|
1324 |
+
box-shadow: 0 2px 6px -5px #000;
|
1325 |
+
font-size: 14px;
|
1326 |
+
}
|
1327 |
+
.admin_links a:hover{
|
1328 |
+
background: #dfdfdf;
|
1329 |
+
}
|
1330 |
+
.admin_links a i{
|
1331 |
+
margin-right: 10px;
|
1332 |
+
}
|
1333 |
+
|
1334 |
.intro_popup{
|
1335 |
background: #fff;
|
1336 |
position: fixed;
|
1375 |
overflow: auto;
|
1376 |
}
|
1377 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1378 |
.style_ele ul{
|
1379 |
list-style: square;
|
1380 |
padding-left: 30px;
|
1381 |
}
|
1382 |
|
1383 |
+
.button i{
|
1384 |
margin: 5px 2px 0 0;
|
1385 |
}
|
1386 |
|
1388 |
border: 1px solid #ccc;
|
1389 |
padding: 0.7em;
|
1390 |
background: #F5F5F5;
|
|
|
1391 |
margin: 0 0 5px 0;
|
1392 |
text-transform: uppercase;
|
1393 |
font-size: 11px;
|
1394 |
}
|
|
|
|
|
|
|
|
|
|
|
1395 |
.collapse_head+.form-table{
|
|
|
1396 |
margin-left: 10px;
|
1397 |
}
|
|
|
|
|
|
|
1398 |
|
1399 |
.page_footer p {
|
1400 |
font-size: 12px;
|
1437 |
box-shadow: 0 2px 4px -2px red;
|
1438 |
padding: 25px;
|
1439 |
}
|
1440 |
+
.setup_hint i{
|
1441 |
margin: 0 20px;
|
1442 |
}
|
1443 |
.setup_hint .fa-caret-right{
|
1447 |
color: #4CAF50;
|
1448 |
}
|
1449 |
|
1450 |
+
.page_home .back_btn{
|
1451 |
+
display: none;
|
1452 |
+
}
|
1453 |
+
.page_home #content h1 i{
|
1454 |
+
margin: 0 10px 0 0;
|
1455 |
+
color: #ff9900;
|
1456 |
+
}
|
1457 |
+
|
1458 |
.custom_html_editor{
|
1459 |
padding: 10px;
|
1460 |
}
|
1463 |
margin-top: 15px !important;
|
1464 |
}
|
1465 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1466 |
|
1467 |
+
.ctwitter{
|
1468 |
+
color: #4da7de;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1469 |
}
|
1470 |
+
.cfacebook{
|
1471 |
+
color: #29487d;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1472 |
}
|
1473 |
+
.cgoogleplus{
|
1474 |
+
color: #db483b;
|
1475 |
}
|
1476 |
+
.cred{
|
1477 |
+
color: red;
|
1478 |
}
|
1479 |
+
.corange{
|
1480 |
+
color: orange;
|
|
|
1481 |
}
|
1482 |
+
.cdarkred{
|
1483 |
+
color: #db483b;
|
|
|
1484 |
}
|
1485 |
+
.cgreen{
|
1486 |
+
color: #4caf50;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1487 |
}
|
1488 |
|
1489 |
.coffee_box{
|
1511 |
margin: -10px 20px 0 20px;
|
1512 |
}
|
1513 |
|
1514 |
+
.page_footer{
|
1515 |
+
padding: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1516 |
}
|
1517 |
|
1518 |
.hide_scrollbar{
|
1530 |
.hidden{
|
1531 |
display: none;
|
1532 |
}
|
1533 |
+
.pointer{
|
1534 |
+
cursor: pointer;
|
1535 |
+
}
|
1536 |
.clearfix{
|
1537 |
clear: both;
|
1538 |
}
|
1542 |
clear: both;
|
1543 |
}
|
1544 |
|
1545 |
+
@media screen and (max-width: 1300px) {
|
1546 |
+
.admin_links{
|
1547 |
+
position: static;
|
1548 |
+
}
|
1549 |
+
.admin_links a{
|
1550 |
+
padding: 5px 10px;
|
1551 |
+
margin: 15px 10px 0 0;
|
1552 |
+
font-size: 12px;
|
1553 |
+
}
|
1554 |
+
}
|
1555 |
+
|
1556 |
@media screen and (max-width: 950px) {
|
1557 |
+
#content, #wpsr_header hgroup{
|
1558 |
+
width: 100%;
|
1559 |
+
}
|
1560 |
.page_footer .fright{
|
1561 |
float: none;
|
1562 |
}
|
1566 |
.main_form_footer{
|
1567 |
position: static;
|
1568 |
}
|
|
|
|
|
|
|
1569 |
.coffee_box{
|
1570 |
background: #fff;
|
1571 |
}
|
admin/css/style_setup.css
CHANGED
@@ -86,8 +86,7 @@ body{
|
|
86 |
display: inline-block;
|
87 |
}
|
88 |
.progress li:after {
|
89 |
-
content: '
|
90 |
-
font-family: FontAwesome;
|
91 |
margin: 0 0 0 15px;
|
92 |
}
|
93 |
.progress li:last-child:after{
|
@@ -175,6 +174,8 @@ body{
|
|
175 |
background: #23282d;
|
176 |
color: #fff;
|
177 |
padding: 5px;
|
|
|
|
|
178 |
}
|
179 |
.tmpl_pp_footer {
|
180 |
position: absolute;
|
@@ -312,23 +313,6 @@ body{
|
|
312 |
float: right;
|
313 |
margin: -15px 0 0 0;
|
314 |
}
|
315 |
-
.ft_more .hint_img {
|
316 |
-
display: none;
|
317 |
-
position: absolute;
|
318 |
-
z-index: 999;
|
319 |
-
background: #333;
|
320 |
-
padding: 5px;
|
321 |
-
right: 0;
|
322 |
-
bottom: 100%;
|
323 |
-
left: 50%;
|
324 |
-
transform: translateX(-50%);
|
325 |
-
border-radius: 3px;
|
326 |
-
box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.18);
|
327 |
-
}
|
328 |
-
|
329 |
-
.ft_more:hover .hint_img {
|
330 |
-
display: block;
|
331 |
-
}
|
332 |
|
333 |
.img_select{
|
334 |
display: none;
|
@@ -451,7 +435,7 @@ h1 .cb_wrap{
|
|
451 |
margin-top: 10px;
|
452 |
}
|
453 |
|
454 |
-
.button .
|
455 |
font-size: 1em;
|
456 |
width: 1em;
|
457 |
height: 1em;
|
@@ -476,7 +460,6 @@ h1 .cb_wrap{
|
|
476 |
display:none !important;
|
477 |
}
|
478 |
.cb + label:before {
|
479 |
-
font-family: FontAwesome;
|
480 |
display: inline-block;
|
481 |
font-size: 40px;
|
482 |
}
|
86 |
display: inline-block;
|
87 |
}
|
88 |
.progress li:after {
|
89 |
+
content: '>';
|
|
|
90 |
margin: 0 0 0 15px;
|
91 |
}
|
92 |
.progress li:last-child:after{
|
174 |
background: #23282d;
|
175 |
color: #fff;
|
176 |
padding: 5px;
|
177 |
+
width: 20px;
|
178 |
+
text-align: center;
|
179 |
}
|
180 |
.tmpl_pp_footer {
|
181 |
position: absolute;
|
313 |
float: right;
|
314 |
margin: -15px 0 0 0;
|
315 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
316 |
|
317 |
.img_select{
|
318 |
display: none;
|
435 |
margin-top: 10px;
|
436 |
}
|
437 |
|
438 |
+
.button .fa{
|
439 |
font-size: 1em;
|
440 |
width: 1em;
|
441 |
height: 1em;
|
460 |
display:none !important;
|
461 |
}
|
462 |
.cb + label:before {
|
|
|
463 |
display: inline-block;
|
464 |
font-size: 40px;
|
465 |
}
|
admin/css/style_widgets.css
CHANGED
@@ -77,6 +77,8 @@
|
|
77 |
line-height: 48px;
|
78 |
float: left;
|
79 |
margin: 0 10px 0 0;
|
|
|
|
|
80 |
}
|
81 |
.fb_preview:after {content: ' ';display: block;clear: both;}
|
82 |
.fb_preview span {
|
77 |
line-height: 48px;
|
78 |
float: left;
|
79 |
margin: 0 10px 0 0;
|
80 |
+
font-size: 20px;
|
81 |
+
border-radius: 3px;
|
82 |
}
|
83 |
.fb_preview:after {content: ' ';display: block;clear: both;}
|
84 |
.fb_preview span {
|
admin/followbar.php
CHANGED
@@ -25,8 +25,8 @@ class WPSR_Followbar{
|
|
25 |
//die( 0 );
|
26 |
}
|
27 |
|
28 |
-
$sb_sites = WPSR_Lists::
|
29 |
-
echo '<script>window.
|
30 |
echo '<script>window.li_template = \'' . self::li_template() . '\';</script>';
|
31 |
|
32 |
echo '<div id="wpsr_pp_editor">';
|
@@ -73,17 +73,22 @@ class WPSR_Followbar{
|
|
73 |
);
|
74 |
}
|
75 |
|
76 |
-
$sb_sites = WPSR_Lists::
|
77 |
$editor = '';
|
78 |
$prev = '';
|
79 |
|
80 |
foreach( $btns as $btn_obj ){
|
81 |
|
82 |
$id = key( (array) $btn_obj );
|
|
|
|
|
|
|
|
|
|
|
83 |
$prop = $sb_sites[ $id ];
|
84 |
|
85 |
$editor .= self::li_template( $id, $prop[ 'name' ], $prop[ 'icon' ], $prop[ 'colors' ][0], $btn_obj->$id->url, $btn_obj->$id->icon, $btn_obj->$id->text );
|
86 |
-
$prev .= '<li style="background-color:' . $prop[ 'colors' ][0] . '"><i class="
|
87 |
}
|
88 |
|
89 |
if( $prev == '' )
|
@@ -101,7 +106,7 @@ class WPSR_Followbar{
|
|
101 |
public static function li_template( $id = '%id%', $name = '%name%', $icon = '%icon%', $color = '%color%', $url = '%url%', $iurl = '%iurl%', $text = '%text%' ){
|
102 |
$title = __( 'Leave blank to use default', 'wpsr' );
|
103 |
|
104 |
-
return '<li data-id="' . $id . '"><h4 style="background-color: ' . $color . '"><i class="
|
105 |
}
|
106 |
|
107 |
}
|
@@ -116,9 +121,15 @@ class wpsr_admin_followbar{
|
|
116 |
|
117 |
function __construct(){
|
118 |
|
119 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
'name' => 'Follow Bar',
|
121 |
-
'banner' => WPSR_ADMIN_URL . '/images/banners/
|
122 |
'page_callback' => array( $this, 'page' ),
|
123 |
'form' => array(
|
124 |
'id' => 'followbar_settings',
|
@@ -126,7 +137,9 @@ class wpsr_admin_followbar{
|
|
126 |
'callback' => array( $this, 'form_fields' ),
|
127 |
'validation' => array( $this, 'validation' ),
|
128 |
)
|
129 |
-
)
|
|
|
|
|
130 |
|
131 |
}
|
132 |
|
@@ -157,79 +170,79 @@ class wpsr_admin_followbar{
|
|
157 |
echo '<div id="fb_prev_wrap">' . $template[ 'prev' ] . '</div>';
|
158 |
|
159 |
echo '<input type="hidden" id="fb_template_val" name="template" value="' . $values[ 'template' ] . '" />';
|
160 |
-
echo '<p align="center"><button class="button button-primary wpsr_ppe_fb_open" data-cnt-id="fb_template_val" data-prev-id="fb_prev_wrap">' . __( 'Open editor', 'wpsr' ) . '</button></p>';
|
161 |
WPSR_Admin::box_wrap( 'close' );
|
162 |
|
163 |
// Section 2
|
164 |
$section2 = array(
|
165 |
-
array( __( 'Button shape', 'wpsr' ), WPSR_Admin::field( '
|
166 |
'name' => 'shape',
|
167 |
'value' => $values['shape'],
|
168 |
'list' => array(
|
169 |
-
'' => '
|
170 |
-
'circle' => 'Circle',
|
171 |
-
'squircle' => 'Squircle',
|
172 |
-
'squircle-2' => 'Squircle 2',
|
173 |
-
'diamond' => 'Diamond',
|
174 |
-
'ribbon' => 'Ribbon',
|
175 |
-
'drop' => 'Drop',
|
176 |
),
|
177 |
))),
|
178 |
|
179 |
-
array( __( 'Button size', 'wpsr' ), WPSR_Admin::field( '
|
180 |
'name' => 'size',
|
181 |
'value' => $values['size'],
|
182 |
'list' => array(
|
183 |
-
'32px' => '32px',
|
184 |
-
'
|
185 |
-
'48px' => '48px',
|
186 |
-
'64px' => '64px',
|
187 |
),
|
188 |
))),
|
189 |
|
190 |
-
array( __( '
|
191 |
-
'name' => 'bg_color',
|
192 |
-
'value' => $values['bg_color'],
|
193 |
-
'class' => 'color_picker',
|
194 |
-
'helper' => __( 'Set empty value to use automatic background color', 'wpsr' )
|
195 |
-
))),
|
196 |
-
|
197 |
-
array( __( 'Icon color', 'wpsr' ), WPSR_Admin::field( 'text', array(
|
198 |
-
'name' => 'icon_color',
|
199 |
-
'value' => $values['icon_color'],
|
200 |
-
'class' => 'color_picker'
|
201 |
-
))),
|
202 |
-
|
203 |
-
array( __( 'Orientation', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
204 |
'name' => 'orientation',
|
205 |
'value' => $values['orientation'],
|
206 |
'list' => array(
|
207 |
-
'vertical' =>
|
208 |
-
'horizontal' =>
|
209 |
),
|
210 |
))),
|
211 |
|
212 |
-
array( __( 'Position', 'wpsr' ), WPSR_Admin::field( '
|
213 |
'name' => 'position',
|
214 |
'value' => $values['position'],
|
215 |
'list' => array(
|
216 |
-
'tl' =>
|
217 |
-
'tm' =>
|
218 |
-
'tr' =>
|
219 |
-
'rm' =>
|
220 |
-
'br' =>
|
221 |
-
'bm' =>
|
222 |
-
'bl' =>
|
223 |
-
'lm' =>
|
224 |
),
|
225 |
))),
|
226 |
|
227 |
-
array( __( '
|
228 |
-
'name' => '
|
229 |
-
'value' => $values['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
230 |
'list' => array(
|
231 |
-
'
|
232 |
-
'
|
233 |
),
|
234 |
))),
|
235 |
|
@@ -252,7 +265,7 @@ class wpsr_admin_followbar{
|
|
252 |
'value' => $values['pad'],
|
253 |
'list' => array(
|
254 |
'' => __( 'No', 'wpsr' ),
|
255 |
-
'pad' => __( '
|
256 |
),
|
257 |
'helper' => __( 'Select to add space between buttons', 'wpsr' )
|
258 |
))),
|
@@ -332,7 +345,6 @@ class wpsr_widget_followbar{
|
|
332 |
'size' => '32px',
|
333 |
'bg_color' => '',
|
334 |
'icon_color' => '#ffffff',
|
335 |
-
'text' => 'hide',
|
336 |
'hover' => 'opacity',
|
337 |
'pad' => 'pad',
|
338 |
'profile_text' => ''
|
@@ -371,7 +383,7 @@ class wpsr_widget_followbar{
|
|
371 |
echo $tmpl[ 'prev' ];
|
372 |
echo '</div>';
|
373 |
|
374 |
-
echo '<p align="center"><button class="button button-primary wpsr_ppe_fb_open" data-wtmpl-cnt-id="' . $wtmpl_cnt_id . '" data-wtmpl-prev-id="' . $wtmpl_prev_id . '">' . __( 'Open editor', 'wpsr' ) . '</button></p>';
|
375 |
|
376 |
echo '<h5>' . __( 'Settings', 'wpsr' ) . '</h5>';
|
377 |
$fields->select( 'shape', 'Button shape', array(
|
@@ -386,7 +398,7 @@ class wpsr_widget_followbar{
|
|
386 |
|
387 |
$fields->select( 'size', 'Button size', array(
|
388 |
'32px' => '32px',
|
389 |
-
'
|
390 |
'48px' => '48px',
|
391 |
'64px' => '64px',
|
392 |
), array( 'class' => 'smallfat' ));
|
@@ -395,11 +407,6 @@ class wpsr_widget_followbar{
|
|
395 |
|
396 |
$fields->text( 'icon_color', 'Icon color', array( 'class' => 'smallfat wpsr-color-picker' ));
|
397 |
|
398 |
-
$fields->select( 'text', 'Text style', array(
|
399 |
-
'hide' => 'Hide button text',
|
400 |
-
'hover' => 'Show text on hover'
|
401 |
-
), array( 'class' => 'smallfat' ));
|
402 |
-
|
403 |
$fields->select( 'hover', 'Hover effect', array(
|
404 |
'' => __( 'None', 'wpsr' ),
|
405 |
'opacity' => 'Opacity',
|
25 |
//die( 0 );
|
26 |
}
|
27 |
|
28 |
+
$sb_sites = WPSR_Lists::social_icons();
|
29 |
+
echo '<script>window.social_icons = ' . json_encode( $sb_sites ) . ';</script>';
|
30 |
echo '<script>window.li_template = \'' . self::li_template() . '\';</script>';
|
31 |
|
32 |
echo '<div id="wpsr_pp_editor">';
|
73 |
);
|
74 |
}
|
75 |
|
76 |
+
$sb_sites = WPSR_Lists::social_icons();
|
77 |
$editor = '';
|
78 |
$prev = '';
|
79 |
|
80 |
foreach( $btns as $btn_obj ){
|
81 |
|
82 |
$id = key( (array) $btn_obj );
|
83 |
+
|
84 |
+
if(!array_key_exists($id, $sb_sites)){
|
85 |
+
continue;
|
86 |
+
}
|
87 |
+
|
88 |
$prop = $sb_sites[ $id ];
|
89 |
|
90 |
$editor .= self::li_template( $id, $prop[ 'name' ], $prop[ 'icon' ], $prop[ 'colors' ][0], $btn_obj->$id->url, $btn_obj->$id->icon, $btn_obj->$id->text );
|
91 |
+
$prev .= '<li style="background-color:' . $prop[ 'colors' ][0] . '"><i class="' . $prop[ 'icon' ] . '"></i></li>';
|
92 |
}
|
93 |
|
94 |
if( $prev == '' )
|
106 |
public static function li_template( $id = '%id%', $name = '%name%', $icon = '%icon%', $color = '%color%', $url = '%url%', $iurl = '%iurl%', $text = '%text%' ){
|
107 |
$title = __( 'Leave blank to use default', 'wpsr' );
|
108 |
|
109 |
+
return '<li data-id="' . $id . '"><h4 style="background-color: ' . $color . '"><i class="' . $icon . ' item_icon"></i>' . $name . '<a href="#" class="fb_item_control fb_item_remove">' . __( 'Delete', 'wpsr' ) . '</a><a href="#" class="fb_item_control fb_item_edit">' . __( 'Edit', 'wpsr' ) . '</a></h4><div><label>Button URL: <input type="text" class="widefat fb_item_url" placeholder="Enter profile URL" value="' . $url . '" /></label><label>Button hover text: <input type="text" class="widefat fb_btn_text" title="' . $title . '" placeholder="Enter custom text to show for button" value="' . $text . '"/></label><label>Icon image URL: <input type="text" class="widefat fb_icon_url" placeholder="Enter custom Icon URL." title="' . $title . '" value="' . $iurl . '"/></label></div></li>';
|
110 |
}
|
111 |
|
112 |
}
|
121 |
|
122 |
function __construct(){
|
123 |
|
124 |
+
add_filter( 'wpsr_register_admin_page', array( $this, 'register' ) );
|
125 |
+
|
126 |
+
}
|
127 |
+
|
128 |
+
function register( $pages ){
|
129 |
+
|
130 |
+
$pages[ 'followbar' ] = array(
|
131 |
'name' => 'Follow Bar',
|
132 |
+
'banner' => WPSR_ADMIN_URL . '/images/banners/follow-bar.svg',
|
133 |
'page_callback' => array( $this, 'page' ),
|
134 |
'form' => array(
|
135 |
'id' => 'followbar_settings',
|
137 |
'callback' => array( $this, 'form_fields' ),
|
138 |
'validation' => array( $this, 'validation' ),
|
139 |
)
|
140 |
+
);
|
141 |
+
|
142 |
+
return $pages;
|
143 |
|
144 |
}
|
145 |
|
170 |
echo '<div id="fb_prev_wrap">' . $template[ 'prev' ] . '</div>';
|
171 |
|
172 |
echo '<input type="hidden" id="fb_template_val" name="template" value="' . $values[ 'template' ] . '" />';
|
173 |
+
echo '<p align="center"><button class="button button-primary wpsr_ppe_fb_open" data-cnt-id="fb_template_val" data-prev-id="fb_prev_wrap"><i class="fa fa-pencil"></i> ' . __( 'Open editor', 'wpsr' ) . '</button></p>';
|
174 |
WPSR_Admin::box_wrap( 'close' );
|
175 |
|
176 |
// Section 2
|
177 |
$section2 = array(
|
178 |
+
array( __( 'Button shape', 'wpsr' ), WPSR_Admin::field( 'image_select', array(
|
179 |
'name' => 'shape',
|
180 |
'value' => $values['shape'],
|
181 |
'list' => array(
|
182 |
+
'' => array( 'Sqaure', 'shape-square.svg', '32px' ),
|
183 |
+
'circle' => array( 'Circle', 'shape-circle.svg', '32px' ),
|
184 |
+
'squircle' => array( 'Squircle', 'shape-squircle.svg', '32px' ),
|
185 |
+
'squircle-2' => array( 'Squircle 2', 'shape-squircle-2.svg', '32px' ),
|
186 |
+
'diamond' => array( 'Diamond', 'shape-diamond.svg', '32px' ),
|
187 |
+
'ribbon' => array( 'Ribbon', 'shape-ribbon.svg', '32px' ),
|
188 |
+
'drop' => array( 'Drop', 'shape-drop.svg', '32px' ),
|
189 |
),
|
190 |
))),
|
191 |
|
192 |
+
array( __( 'Button size', 'wpsr' ), WPSR_Admin::field( 'image_select', array(
|
193 |
'name' => 'size',
|
194 |
'value' => $values['size'],
|
195 |
'list' => array(
|
196 |
+
'32px' => array( '32px', 'size.svg', '32px' ),
|
197 |
+
'40px' => array( '40px', 'size.svg', '40px' ),
|
198 |
+
'48px' => array( '48px', 'size.svg', '48px' ),
|
199 |
+
'64px' => array( '64px', 'size.svg', '64px' ),
|
200 |
),
|
201 |
))),
|
202 |
|
203 |
+
array( __( 'Orientation', 'wpsr' ), WPSR_Admin::field( 'image_select', array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
'name' => 'orientation',
|
205 |
'value' => $values['orientation'],
|
206 |
'list' => array(
|
207 |
+
'vertical' => array( 'Vertical', 'layout-vertical.svg', '75px' ),
|
208 |
+
'horizontal' => array( 'Horizontal', 'layout-horizontal.svg', '75px' ),
|
209 |
),
|
210 |
))),
|
211 |
|
212 |
+
array( __( 'Position', 'wpsr' ), WPSR_Admin::field( 'image_select', array(
|
213 |
'name' => 'position',
|
214 |
'value' => $values['position'],
|
215 |
'list' => array(
|
216 |
+
'tl' => array( 'Top left', 'pos-tl.svg', '60px' ),
|
217 |
+
'tm' => array( 'Top middle', 'pos-tm.svg', '60px' ),
|
218 |
+
'tr' => array( 'Top right', 'pos-tr.svg', '60px' ),
|
219 |
+
'rm' => array( 'Right middle', 'pos-rm.svg', '60px' ),
|
220 |
+
'br' => array( 'Bottom right', 'pos-br.svg', '60px' ),
|
221 |
+
'bm' => array( 'Bottom middle', 'pos-bm.svg', '60px' ),
|
222 |
+
'bl' => array( 'Bottom left', 'pos-bl.svg', '60px' ),
|
223 |
+
'lm' => array( 'Left middle', 'pos-lm.svg', '60px' ),
|
224 |
),
|
225 |
))),
|
226 |
|
227 |
+
array( __( 'Button background color', 'wpsr' ), WPSR_Admin::field( 'text', array(
|
228 |
+
'name' => 'bg_color',
|
229 |
+
'value' => $values['bg_color'],
|
230 |
+
'class' => 'color_picker',
|
231 |
+
'helper' => __( 'Set empty value to use brand color', 'wpsr' )
|
232 |
+
))),
|
233 |
+
|
234 |
+
array( __( 'Icon color', 'wpsr' ), WPSR_Admin::field( 'text', array(
|
235 |
+
'name' => 'icon_color',
|
236 |
+
'value' => $values['icon_color'],
|
237 |
+
'class' => 'color_picker'
|
238 |
+
))),
|
239 |
+
|
240 |
+
array( __( 'Initial state', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
241 |
+
'name' => 'init_state',
|
242 |
+
'value' => $values['init_state'],
|
243 |
'list' => array(
|
244 |
+
'open' => __( 'Opened', 'wpsr' ),
|
245 |
+
'close' => __( 'Closed', 'wpsr' )
|
246 |
),
|
247 |
))),
|
248 |
|
265 |
'value' => $values['pad'],
|
266 |
'list' => array(
|
267 |
'' => __( 'No', 'wpsr' ),
|
268 |
+
'pad' => __( 'Yes', 'wpsr' )
|
269 |
),
|
270 |
'helper' => __( 'Select to add space between buttons', 'wpsr' )
|
271 |
))),
|
345 |
'size' => '32px',
|
346 |
'bg_color' => '',
|
347 |
'icon_color' => '#ffffff',
|
|
|
348 |
'hover' => 'opacity',
|
349 |
'pad' => 'pad',
|
350 |
'profile_text' => ''
|
383 |
echo $tmpl[ 'prev' ];
|
384 |
echo '</div>';
|
385 |
|
386 |
+
echo '<p align="center"><button class="button button-primary wpsr_ppe_fb_open" data-wtmpl-cnt-id="' . $wtmpl_cnt_id . '" data-wtmpl-prev-id="' . $wtmpl_prev_id . '"><i class="fa fa-pencil"></i> ' . __( 'Open editor', 'wpsr' ) . '</button></p>';
|
387 |
|
388 |
echo '<h5>' . __( 'Settings', 'wpsr' ) . '</h5>';
|
389 |
$fields->select( 'shape', 'Button shape', array(
|
398 |
|
399 |
$fields->select( 'size', 'Button size', array(
|
400 |
'32px' => '32px',
|
401 |
+
'40px' => '40px',
|
402 |
'48px' => '48px',
|
403 |
'64px' => '64px',
|
404 |
), array( 'class' => 'smallfat' ));
|
407 |
|
408 |
$fields->text( 'icon_color', 'Icon color', array( 'class' => 'smallfat wpsr-color-picker' ));
|
409 |
|
|
|
|
|
|
|
|
|
|
|
410 |
$fields->select( 'hover', 'Hover effect', array(
|
411 |
'' => __( 'None', 'wpsr' ),
|
412 |
'opacity' => 'Opacity',
|
admin/general_settings.php
CHANGED
@@ -8,17 +8,27 @@ class wpsr_admin_settings{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => 'Settings',
|
13 |
'page_callback' => array( $this, 'page' ),
|
|
|
|
|
14 |
'form' => array(
|
15 |
'id' => 'general_settings',
|
16 |
'name' => 'general_settings',
|
17 |
'callback' => ''
|
18 |
)
|
19 |
-
)
|
20 |
|
21 |
-
|
22 |
|
23 |
}
|
24 |
|
@@ -35,14 +45,38 @@ class wpsr_admin_settings{
|
|
35 |
|
36 |
$values = WPSR_Lists::set_defaults( $values, WPSR_Lists::defaults( 'gsettings_misc' ) );
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
$section1 = array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
array( __( 'Additional CSS rules', 'wpsr' ), WPSR_Admin::field( 'textarea', array(
|
40 |
'name' => 'misc_additional_css',
|
41 |
'value' => $values['misc_additional_css'],
|
42 |
'helper' => __( 'Enter custom CSS rules to customize without the style tag', 'wpsr' ),
|
43 |
'rows' => '3',
|
44 |
'cols' => '100'
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
)))
|
|
|
46 |
);
|
47 |
|
48 |
WPSR_Admin::build_table( $section1, __( 'Miscellaneous settings', 'wpsr' ) );
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_admin_page', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
add_action( 'wpsr_form_general_settings', array( $this, 'misc_general_settings' ), 10, 1 );
|
14 |
+
|
15 |
+
}
|
16 |
+
|
17 |
+
function register( $pages ){
|
18 |
+
|
19 |
+
$pages[ 'general_settings' ] = array(
|
20 |
'name' => 'Settings',
|
21 |
'page_callback' => array( $this, 'page' ),
|
22 |
+
'banner' => WPSR_ADMIN_URL . '/images/banners/settings.png',
|
23 |
+
'feature' => false,
|
24 |
'form' => array(
|
25 |
'id' => 'general_settings',
|
26 |
'name' => 'general_settings',
|
27 |
'callback' => ''
|
28 |
)
|
29 |
+
);
|
30 |
|
31 |
+
return $pages;
|
32 |
|
33 |
}
|
34 |
|
45 |
|
46 |
$values = WPSR_Lists::set_defaults( $values, WPSR_Lists::defaults( 'gsettings_misc' ) );
|
47 |
|
48 |
+
$font_icons = WPSR_Lists::font_icons();
|
49 |
+
$font_icons_list = array();
|
50 |
+
|
51 |
+
foreach( $font_icons as $id => $prop ){
|
52 |
+
$font_icons_list[$id] = $prop['name'];
|
53 |
+
}
|
54 |
+
|
55 |
+
$inc_list = WPSR_Includes::list_all();
|
56 |
+
$inc_text = '<code>' . implode('</code>, <code>', array_keys($inc_list) ) . '</code>';
|
57 |
+
|
58 |
$section1 = array(
|
59 |
+
|
60 |
+
array( __( 'Font icon', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
61 |
+
'name' => 'font_icon',
|
62 |
+
'value' => $values['font_icon'],
|
63 |
+
'list' => $font_icons_list
|
64 |
+
))),
|
65 |
+
|
66 |
array( __( 'Additional CSS rules', 'wpsr' ), WPSR_Admin::field( 'textarea', array(
|
67 |
'name' => 'misc_additional_css',
|
68 |
'value' => $values['misc_additional_css'],
|
69 |
'helper' => __( 'Enter custom CSS rules to customize without the style tag', 'wpsr' ),
|
70 |
'rows' => '3',
|
71 |
'cols' => '100'
|
72 |
+
))),
|
73 |
+
|
74 |
+
array( __( 'CSS/JS to not to load in any page', 'wpsr' ), WPSR_Admin::field( 'text', array(
|
75 |
+
'name' => 'skip_res_load',
|
76 |
+
'value' => $values['skip_res_load'],
|
77 |
+
'helper' => __( 'Enter the ID of the CSS/JS resources to not to load in any page. <a href="#" class="tblr_btn" data-id="res_info_box">Click here</a> to see the list of resources. <div class="hidden" data-tglr="res_info_box"><p>' . $inc_text . '</p> <p>Enter the IDs separated by comma. <b>Note: Many of the resources are intelligently loaded based on buttons used in the page. Please use this field only after discussion with the developer.</b></p></div>', 'wpsr' )
|
78 |
)))
|
79 |
+
|
80 |
);
|
81 |
|
82 |
WPSR_Admin::build_table( $section1, __( 'Miscellaneous settings', 'wpsr' ) );
|
admin/help.php
DELETED
@@ -1,48 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Help admin page
|
4 |
-
*
|
5 |
-
**/
|
6 |
-
|
7 |
-
class wpsr_admin_help{
|
8 |
-
|
9 |
-
function __construct(){
|
10 |
-
|
11 |
-
WPSR_Admin::add_tab( 'help', array(
|
12 |
-
'name' => __( 'Help', 'wpsr' ),
|
13 |
-
'page_callback' => array( $this, 'page' ),
|
14 |
-
'form' => array(
|
15 |
-
'id' => 'help',
|
16 |
-
'name' => 'help',
|
17 |
-
'callback' => ''
|
18 |
-
)
|
19 |
-
));
|
20 |
-
|
21 |
-
}
|
22 |
-
|
23 |
-
function page(){
|
24 |
-
|
25 |
-
echo '<div class="help_sec style_ele">';
|
26 |
-
$help_res = wp_remote_get( WPSR_Lists::ext_res( 'help' ) );
|
27 |
-
|
28 |
-
if( is_wp_error( $help_res ) ){
|
29 |
-
echo '<p>Error retreiving help information</p>';
|
30 |
-
}else{
|
31 |
-
echo wp_remote_retrieve_body( $help_res );
|
32 |
-
}
|
33 |
-
|
34 |
-
echo '</div><br/>';
|
35 |
-
|
36 |
-
WPSR_Admin::admin_footer();
|
37 |
-
|
38 |
-
}
|
39 |
-
|
40 |
-
function validation( $input ){
|
41 |
-
return $input;
|
42 |
-
}
|
43 |
-
|
44 |
-
}
|
45 |
-
|
46 |
-
new wpsr_admin_help();
|
47 |
-
|
48 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/images/banners/floating-sharebar.svg
ADDED
@@ -0,0 +1,178 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2 |
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3 |
+
|
4 |
+
<svg
|
5 |
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
6 |
+
xmlns:cc="http://creativecommons.org/ns#"
|
7 |
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
8 |
+
xmlns:svg="http://www.w3.org/2000/svg"
|
9 |
+
xmlns="http://www.w3.org/2000/svg"
|
10 |
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
11 |
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
12 |
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
13 |
+
width="200"
|
14 |
+
height="200"
|
15 |
+
viewBox="0 0 52.916665 52.916668"
|
16 |
+
version="1.1"
|
17 |
+
id="svg8"
|
18 |
+
inkscape:version="0.92.0 r15299"
|
19 |
+
sodipodi:docname="floating-sharebar.svg">
|
20 |
+
<defs
|
21 |
+
id="defs2" />
|
22 |
+
<sodipodi:namedview
|
23 |
+
id="base"
|
24 |
+
pagecolor="#ffffff"
|
25 |
+
bordercolor="#666666"
|
26 |
+
borderopacity="1.0"
|
27 |
+
inkscape:pageopacity="0.0"
|
28 |
+
inkscape:pageshadow="2"
|
29 |
+
inkscape:zoom="3.959798"
|
30 |
+
inkscape:cx="14.831879"
|
31 |
+
inkscape:cy="111.63852"
|
32 |
+
inkscape:document-units="px"
|
33 |
+
inkscape:current-layer="layer2"
|
34 |
+
showgrid="false"
|
35 |
+
units="px"
|
36 |
+
inkscape:window-width="1920"
|
37 |
+
inkscape:window-height="1013"
|
38 |
+
inkscape:window-x="-9"
|
39 |
+
inkscape:window-y="-9"
|
40 |
+
inkscape:window-maximized="1" />
|
41 |
+
<metadata
|
42 |
+
id="metadata5">
|
43 |
+
<rdf:RDF>
|
44 |
+
<cc:Work
|
45 |
+
rdf:about="">
|
46 |
+
<dc:format>image/svg+xml</dc:format>
|
47 |
+
<dc:type
|
48 |
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
49 |
+
<dc:title></dc:title>
|
50 |
+
</cc:Work>
|
51 |
+
</rdf:RDF>
|
52 |
+
</metadata>
|
53 |
+
<g
|
54 |
+
inkscape:label="Layer 1"
|
55 |
+
inkscape:groupmode="layer"
|
56 |
+
id="layer1"
|
57 |
+
transform="translate(0,-244.08332)"
|
58 |
+
sodipodi:insensitive="true"
|
59 |
+
style="display:none">
|
60 |
+
<image
|
61 |
+
sodipodi:absref="E:\xampp\htdocs\wordpress\wp-content\plugins\wp-socializer\admin\images\banners\floating-sharebar.png"
|
62 |
+
y="246.27258"
|
63 |
+
x="3.0397146"
|
64 |
+
id="image4493"
|
65 |
+
xlink:href="file:///E:/xampp/htdocs/wordpress/wp-content/plugins/wp-socializer/admin/images/banners/floating-sharebar.png"
|
66 |
+
preserveAspectRatio="none"
|
67 |
+
height="47.782177"
|
68 |
+
width="47.782177" />
|
69 |
+
</g>
|
70 |
+
<g
|
71 |
+
inkscape:groupmode="layer"
|
72 |
+
id="layer2"
|
73 |
+
inkscape:label="Layer 2"
|
74 |
+
style="display:inline">
|
75 |
+
<rect
|
76 |
+
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#d9d9d9;stroke-width:0.207;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
77 |
+
id="rect4499"
|
78 |
+
width="20.127232"
|
79 |
+
height="51.404762"
|
80 |
+
x="17.008928"
|
81 |
+
y="4.7247024"
|
82 |
+
ry="2.4332221" />
|
83 |
+
<path
|
84 |
+
style="opacity:1;fill:#4267b2;fill-opacity:1;fill-rule:nonzero;stroke:#dcdcdc;stroke-width:0.99999994;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
85 |
+
d="M 124.50195 91.408203 L 78.476562 91.408203 L 78.476562 107.65625 C 78.476562 108.90365 79.481113 109.90625 80.728516 109.90625 L 122.25 109.90625 C 123.4974 109.90625 124.50195 108.90365 124.50195 107.65625 L 124.50195 91.408203 z "
|
86 |
+
id="path4545"
|
87 |
+
transform="scale(0.26458333)" />
|
88 |
+
<path
|
89 |
+
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#dcdcdc;stroke-width:0.99999994;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
90 |
+
d="M 80.728516 72.341797 C 79.481113 72.341797 78.476562 73.346347 78.476562 74.59375 L 78.476562 91.408203 L 124.50195 91.408203 L 124.50195 74.59375 C 124.50195 73.346347 123.4974 72.341797 122.25 72.341797 L 80.728516 72.341797 z "
|
91 |
+
id="rect4537"
|
92 |
+
transform="scale(0.26458333)" />
|
93 |
+
<text
|
94 |
+
xml:space="preserve"
|
95 |
+
style="font-style:normal;font-weight:normal;font-size:3.88055563px;line-height:5.64885426px;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#9b9b9b;fill-opacity:1;stroke:none;stroke-width:0.26458332;"
|
96 |
+
x="24.989702"
|
97 |
+
y="22.848845"
|
98 |
+
id="text4549"><tspan
|
99 |
+
sodipodi:role="line"
|
100 |
+
id="tspan4547"
|
101 |
+
x="24.989702"
|
102 |
+
y="22.848845"
|
103 |
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:helvetica;-inkscape-font-specification:helvetica;stroke-width:0.26458332;fill:#9b9b9b;fill-opacity:1;">52</tspan></text>
|
104 |
+
<g
|
105 |
+
style="color:#ffffff;display:inline;opacity:1"
|
106 |
+
id="g5349"
|
107 |
+
transform="matrix(0.21914751,0,0,0.21914751,21.528004,24.75859)">
|
108 |
+
<path
|
109 |
+
id="path5338"
|
110 |
+
d="M 4.55,7 C 4.7984,7 5,7.2340364 5,7.5224727 V 13.477527 C 5,13.765964 4.7984,14 4.55,14 H 2.45 C 2.2016,14 2,13.765964 2,13.477527 V 7.5224727 C 2,7.2340364 2.2016,7 2.45,7 Z m 1.9947023,6.2 C 6.2401688,13.164109 6.0173461,12.898279 6,12.573798 c 0.017346,0 0.013442,-2.9057413 0,-4.4298111 C 6.0134419,7.6190393 6.1084946,6.6862335 6.3980131,6.2738428 7.1055629,5.2660075 7.602817,4.6079584 7.8920681,4.2257008 8.1812634,3.8435016 8.5281305,3.4708734 8.5377796,3.1857268 c 0.012996,-0.3836583 -0.00123,-0.3910116 0,-0.8301701 C 8.5390067,1.9163981 8.7456544,1.5 9.2713931,1.5 9.52545,1.5 9.7301456,1.556901 9.9192241,1.8008455 10.222363,2.1559657 10.43431,2.7188473 10.43431,3.6097117 c 0,0.8908644 -0.9244102,2.5632186 -0.9261504,2.5702883 0,0 4.0375504,-9.105e-4 4.0382484,0 C 14.163554,6.175876 14.5,6.725432 14.5,7.2971843 c 0,0.5354524 -0.365886,0.9817892 -0.846057,1.0568984 0.291259,0.1387799 0.500529,0.4695641 0.500529,0.8514715 0,0.476042 -0.325171,0.8727148 -0.756091,0.9402958 0.232081,0.144907 0.375312,0.405835 0.375312,0.701661 0,0.398423 -0.259857,0.733351 -0.614254,0.813713 0.210719,0.137962 0.346923,0.393171 0.346923,0.68176 0,0.452231 -0.33482,0.8227 -0.762896,0.857016 z"
|
111 |
+
inkscape:connector-curvature="0"
|
112 |
+
style="fill:#ffffff;fill-rule:evenodd" />
|
113 |
+
</g>
|
114 |
+
<text
|
115 |
+
xml:space="preserve"
|
116 |
+
style="font-style:normal;font-weight:normal;font-size:3.88055563px;line-height:5.64885426px;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;opacity:1;fill:#fff6f6;fill-opacity:1;stroke:none;stroke-width:0.26458332;stroke-opacity:1"
|
117 |
+
x="25.776787"
|
118 |
+
y="27.689501"
|
119 |
+
id="text5258"><tspan
|
120 |
+
sodipodi:role="line"
|
121 |
+
id="tspan5256"
|
122 |
+
x="25.776787"
|
123 |
+
y="27.689501"
|
124 |
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:helvetica;-inkscape-font-specification:helvetica;fill:#fff6f6;fill-opacity:1;stroke:none;stroke-width:0.26458332;stroke-opacity:1">Like</tspan></text>
|
125 |
+
<text
|
126 |
+
xml:space="preserve"
|
127 |
+
style="font-style:normal;font-weight:normal;font-size:3.88055563px;line-height:5.64885426px;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
128 |
+
x="23.494865"
|
129 |
+
y="11.964207"
|
130 |
+
id="text5332"><tspan
|
131 |
+
sodipodi:role="line"
|
132 |
+
id="tspan5330"
|
133 |
+
x="23.494865"
|
134 |
+
y="11.964207"
|
135 |
+
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.99722242px;font-family:Arial;-inkscape-font-specification:'Arial Bold';stroke-width:0.26458332">52</tspan></text>
|
136 |
+
<text
|
137 |
+
xml:space="preserve"
|
138 |
+
style="font-style:normal;font-weight:normal;font-size:3.88055563px;line-height:5.64885426px;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;opacity:1;fill:#b8b8b8;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
139 |
+
x="22.421171"
|
140 |
+
y="14.871263"
|
141 |
+
id="text5336"><tspan
|
142 |
+
sodipodi:role="line"
|
143 |
+
id="tspan5334"
|
144 |
+
x="22.421171"
|
145 |
+
y="14.871263"
|
146 |
+
style="font-size:2.46944451px;letter-spacing:-0.19050001px;fill:#b8b8b8;fill-opacity:1;stroke-width:0.26458332">SHARES</tspan></text>
|
147 |
+
<path
|
148 |
+
style="opacity:1;fill:#0099ff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999994;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
149 |
+
d="M 86.367188 123.98633 L 86.367188 131.12109 L 86.367188 132.38281 L 86.367188 144.5332 C 86.330555 144.803 86.304688 145.07726 86.304688 145.35742 L 86.304688 147.69336 C 86.304688 151.03362 88.993724 153.72266 92.333984 153.72266 L 96.626953 153.72266 C 97.050123 153.72266 97.463204 153.67788 97.861328 153.5957 L 106.98242 153.5957 L 109.34961 153.5957 L 116.48242 153.5957 L 116.48242 146.46094 L 116.48242 144.75781 L 116.48242 131.12109 C 116.48242 127.16875 113.30196 123.98633 109.34961 123.98633 L 95.427734 123.98633 L 93.501953 123.98633 L 86.367188 123.98633 z "
|
150 |
+
id="rect5195"
|
151 |
+
transform="scale(0.26458333)" />
|
152 |
+
<path
|
153 |
+
inkscape:connector-curvature="0"
|
154 |
+
style="display:inline;opacity:1;fill:#db483b;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.26458332;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
155 |
+
d="m 22.818044,42.367876 v 1.887739 0.33383 3.214791 c -0.0097,0.07138 -0.01654,0.143949 -0.01654,0.218075 v 0.61805 c 0,0.883777 0.711474,1.595253 1.595251,1.595253 h 1.135848 c 0.111964,0 0.221258,-0.01185 0.326595,-0.03359 h 2.413289 0.626319 1.887223 v -1.887739 -0.45062 -3.608049 c 0,-1.045723 -0.841497,-1.887739 -1.887223,-1.887739 H 25.21531 24.70578 Z"
|
156 |
+
id="rect5195-7" />
|
157 |
+
<path
|
158 |
+
id="path5290"
|
159 |
+
d="m 28.835241,35.769157 c -0.146882,0.06531 -0.304957,0.109328 -0.470818,0.129037 0.169349,-0.101379 0.299198,-0.261971 0.360433,-0.453539 -0.158399,0.094 -0.333749,0.162209 -0.520535,0.199031 -0.149478,-0.15929 -0.362542,-0.25889 -0.598315,-0.25889 -0.45265,0 -0.819652,0.367001 -0.819652,0.819732 0,0.06416 0.0072,0.126688 0.02125,0.186793 -0.681285,-0.03427 -1.285359,-0.360516 -1.68967,-0.856477 -0.07056,0.121004 -0.110952,0.261809 -0.110952,0.412172 0,0.284361 0.144692,0.535303 0.36465,0.682262 -0.134311,-0.0046 -0.260754,-0.04121 -0.371302,-0.102596 -8e-5,0.0031 -8e-5,0.0069 -8e-5,0.0104 0,0.397093 0.282572,0.728326 0.657604,0.803758 -0.06878,0.01872 -0.141206,0.02873 -0.215984,0.02873 -0.05288,0 -0.104221,-0.0054 -0.154263,-0.01479 0.104382,0.325642 0.407068,0.562713 0.765716,0.569291 -0.280543,0.219873 -0.63392,0.350935 -1.018036,0.350935 -0.0661,0 -0.131391,-0.0039 -0.195545,-0.01155 0.362866,0.232697 0.793698,0.368303 1.256568,0.368303 1.507832,0 2.332269,-1.249025 2.332269,-2.332269 0,-0.03551 -7.13e-4,-0.07093 -0.0023,-0.10617 0.160101,-0.115335 0.299116,-0.259776 0.408934,-0.42418 z"
|
160 |
+
inkscape:connector-curvature="0"
|
161 |
+
style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:0.08110549" />
|
162 |
+
<g
|
163 |
+
id="g5310"
|
164 |
+
transform="matrix(0.10054215,0,0,0.10054215,24.005407,43.448566)"
|
165 |
+
style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1">
|
166 |
+
<path
|
167 |
+
id="path5306"
|
168 |
+
d="m 19.6671,25.7867 c -0.0075,1.7935 0,3.5869 0.0076,5.3803 3.0067,0.098 6.0208,0.0527 9.0275,0.098 -1.3262,6.6689 -10.3989,8.8315 -15.199,4.4761 C 8.5674,31.9206 8.801,23.5412 13.9327,19.992 c 3.5869,-2.8635 8.6884,-2.1552 12.2752,0.324 1.4092,-1.3036 2.7278,-2.6977 4.0013,-4.1445 -2.984,-2.3812 -6.6462,-4.0767 -10.5421,-3.8958 -8.1307,-0.2713 -15.6059,6.8497 -15.7415,14.9805 -0.52,6.6462 3.8506,13.1644 10.0222,15.5155 6.1489,2.3661 14.031,0.7535 17.957,-4.77 2.5922,-3.4889 3.1498,-7.98 2.8484,-12.1999 -5.0338,-0.0377 -10.0599,-0.0302 -15.0861,-0.0151 z"
|
169 |
+
inkscape:connector-curvature="0"
|
170 |
+
style="fill:#ffffff;fill-opacity:1" />
|
171 |
+
<path
|
172 |
+
id="path5308"
|
173 |
+
d="m 49.0704,25.7641 c -0.0151,-1.4996 -0.0226,-3.0067 -0.0301,-4.5062 -1.4996,0 -2.9916,0 -4.4836,0 -0.0151,1.4996 -0.0301,2.9991 -0.0377,4.5062 -1.5071,0.0075 -3.0067,0.0151 -4.5062,0.0302 0,1.4995 0,2.9915 0,4.4836 1.4995,0.0151 3.0066,0.0302 4.5062,0.0452 0.0151,1.4996 0.0151,2.9991 0.0302,4.4987 1.4996,0 2.9916,0 4.4911,0 0.0075,-1.4996 0.015,-2.9991 0.0301,-4.5062 1.5071,-0.0151 3.0067,-0.0226 4.5062,-0.0377 0,-1.4921 0,-2.9916 0,-4.4836 -1.4995,-0.0151 -3.0066,-0.0151 -4.5062,-0.0302 z"
|
174 |
+
inkscape:connector-curvature="0"
|
175 |
+
style="fill:#ffffff;fill-opacity:1" />
|
176 |
+
</g>
|
177 |
+
</g>
|
178 |
+
</svg>
|
admin/images/banners/follow-bar.svg
ADDED
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2 |
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3 |
+
|
4 |
+
<svg
|
5 |
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
6 |
+
xmlns:cc="http://creativecommons.org/ns#"
|
7 |
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
8 |
+
xmlns:svg="http://www.w3.org/2000/svg"
|
9 |
+
xmlns="http://www.w3.org/2000/svg"
|
10 |
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
11 |
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
12 |
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
13 |
+
width="200"
|
14 |
+
height="200"
|
15 |
+
viewBox="0 0 52.916665 52.916668"
|
16 |
+
version="1.1"
|
17 |
+
id="svg5325"
|
18 |
+
inkscape:version="0.92.0 r15299"
|
19 |
+
sodipodi:docname="follow-bar.svg">
|
20 |
+
<defs
|
21 |
+
id="defs5319">
|
22 |
+
<inkscape:perspective
|
23 |
+
sodipodi:type="inkscape:persp3d"
|
24 |
+
inkscape:vp_x="0 : 26.458334 : 1"
|
25 |
+
inkscape:vp_y="0 : 1000 : 0"
|
26 |
+
inkscape:vp_z="52.916665 : 26.458334 : 1"
|
27 |
+
inkscape:persp3d-origin="26.458333 : 17.638889 : 1"
|
28 |
+
id="perspective5881" />
|
29 |
+
</defs>
|
30 |
+
<sodipodi:namedview
|
31 |
+
id="base"
|
32 |
+
pagecolor="#ffffff"
|
33 |
+
bordercolor="#666666"
|
34 |
+
borderopacity="1.0"
|
35 |
+
inkscape:pageopacity="0.0"
|
36 |
+
inkscape:pageshadow="2"
|
37 |
+
inkscape:zoom="2.8"
|
38 |
+
inkscape:cx="103.82207"
|
39 |
+
inkscape:cy="102.88477"
|
40 |
+
inkscape:document-units="px"
|
41 |
+
inkscape:current-layer="layer3"
|
42 |
+
showgrid="false"
|
43 |
+
units="px"
|
44 |
+
inkscape:window-width="1920"
|
45 |
+
inkscape:window-height="1013"
|
46 |
+
inkscape:window-x="-9"
|
47 |
+
inkscape:window-y="-9"
|
48 |
+
inkscape:window-maximized="1" />
|
49 |
+
<metadata
|
50 |
+
id="metadata5322">
|
51 |
+
<rdf:RDF>
|
52 |
+
<cc:Work
|
53 |
+
rdf:about="">
|
54 |
+
<dc:format>image/svg+xml</dc:format>
|
55 |
+
<dc:type
|
56 |
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
57 |
+
<dc:title></dc:title>
|
58 |
+
</cc:Work>
|
59 |
+
</rdf:RDF>
|
60 |
+
</metadata>
|
61 |
+
<g
|
62 |
+
inkscape:label="Layer 1"
|
63 |
+
inkscape:groupmode="layer"
|
64 |
+
id="layer1"
|
65 |
+
transform="translate(0,-244.08332)"
|
66 |
+
sodipodi:insensitive="true"
|
67 |
+
style="display:none">
|
68 |
+
<image
|
69 |
+
sodipodi:absref="E:\xampp\htdocs\wordpress\wp-content\plugins\wp-socializer\admin\images\banners\follow-bar.png"
|
70 |
+
y="247.48511"
|
71 |
+
x="2.4568448"
|
72 |
+
id="image5878"
|
73 |
+
xlink:href="file:///E:/xampp/htdocs/wordpress/wp-content/plugins/wp-socializer/admin/images/banners/follow-bar.png"
|
74 |
+
preserveAspectRatio="none"
|
75 |
+
height="47.625"
|
76 |
+
width="47.625" />
|
77 |
+
</g>
|
78 |
+
<g
|
79 |
+
inkscape:groupmode="layer"
|
80 |
+
id="layer3"
|
81 |
+
inkscape:label="Layer 2"
|
82 |
+
style="display:inline">
|
83 |
+
<circle
|
84 |
+
style="opacity:1;fill:#3e5b98;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.26458332;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
85 |
+
id="path5900"
|
86 |
+
cx="27.261532"
|
87 |
+
cy="11.216444"
|
88 |
+
r="6.283854" />
|
89 |
+
<circle
|
90 |
+
style="display:inline;opacity:1;fill:#4da7de;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.26458332;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
91 |
+
id="path5900-5"
|
92 |
+
cx="27.49777"
|
93 |
+
cy="26.212648"
|
94 |
+
r="6.283854" />
|
95 |
+
<circle
|
96 |
+
style="display:inline;opacity:1;fill:#db483b;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.26458332;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
97 |
+
id="path5900-5-0"
|
98 |
+
cx="27.214287"
|
99 |
+
cy="41.2561"
|
100 |
+
r="6.283854" />
|
101 |
+
<path
|
102 |
+
id="path5280"
|
103 |
+
d="M 28.281191,10.363098 H 27.518846 V 9.8631083 c 0,-0.18777 0.124447,-0.23155 0.2121,-0.23155 0.08745,0 0.537981,0 0.537981,0 V 8.8060889 l -0.740908,-0.003 c -0.822479,0 -1.00965,0.6156697 -1.00965,1.0096594 v 0.5502297 h -0.475657 v 0.85061 h 0.475657 c 0,1.09162 0,2.4069 0,2.4069 h 1.000477 c 0,0 0,-1.32825 0,-2.4069 h 0.675093 z"
|
104 |
+
inkscape:connector-curvature="0"
|
105 |
+
style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:0.09971847" />
|
106 |
+
<path
|
107 |
+
id="path5290"
|
108 |
+
d="m 30.464729,24.742235 c -0.19071,0.0848 -0.395953,0.14195 -0.611304,0.16754 0.21988,-0.13163 0.388475,-0.34014 0.467981,-0.58887 -0.205663,0.12205 -0.433335,0.21061 -0.675856,0.25842 -0.19408,-0.20682 -0.47072,-0.33614 -0.776845,-0.33614 -0.587715,0 -1.064226,0.47651 -1.064226,1.06433 0,0.0833 0.0094,0.16449 0.02759,0.24253 -0.884573,-0.0445 -1.668895,-0.46809 -2.193847,-1.11204 -0.09162,0.15711 -0.144059,0.33993 -0.144059,0.53516 0,0.36921 0.187866,0.69503 0.473457,0.88584 -0.174388,-0.006 -0.33856,-0.0535 -0.482093,-0.13321 -1.05e-4,0.004 -1.05e-4,0.009 -1.05e-4,0.0135 0,0.51558 0.366888,0.94565 0.853825,1.04359 -0.0893,0.0243 -0.183339,0.0373 -0.280431,0.0373 -0.06866,0 -0.135319,-0.007 -0.200293,-0.0192 0.135529,0.42281 0.528533,0.73062 0.994197,0.73916 -0.364254,0.28548 -0.823074,0.45565 -1.321806,0.45565 -0.08582,0 -0.170596,-0.005 -0.253893,-0.015 0.471141,0.30213 1.030528,0.4782 1.631512,0.4782 1.957751,0 3.02819,-1.62172 3.02819,-3.02819 0,-0.0461 -9.26e-4,-0.0921 -0.003,-0.13785 0.207874,-0.14975 0.388369,-0.33729 0.530955,-0.55075 z"
|
109 |
+
inkscape:connector-curvature="0"
|
110 |
+
style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:0.10530637" />
|
111 |
+
<g
|
112 |
+
id="g5310"
|
113 |
+
transform="matrix(0.1214593,0,0,0.1214593,23.833704,38.089956)"
|
114 |
+
style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1">
|
115 |
+
<path
|
116 |
+
id="path5306"
|
117 |
+
d="m 19.6671,25.7867 c -0.0075,1.7935 0,3.5869 0.0076,5.3803 3.0067,0.098 6.0208,0.0527 9.0275,0.098 -1.3262,6.6689 -10.3989,8.8315 -15.199,4.4761 C 8.5674,31.9206 8.801,23.5412 13.9327,19.992 c 3.5869,-2.8635 8.6884,-2.1552 12.2752,0.324 1.4092,-1.3036 2.7278,-2.6977 4.0013,-4.1445 -2.984,-2.3812 -6.6462,-4.0767 -10.5421,-3.8958 -8.1307,-0.2713 -15.6059,6.8497 -15.7415,14.9805 -0.52,6.6462 3.8506,13.1644 10.0222,15.5155 6.1489,2.3661 14.031,0.7535 17.957,-4.77 2.5922,-3.4889 3.1498,-7.98 2.8484,-12.1999 -5.0338,-0.0377 -10.0599,-0.0302 -15.0861,-0.0151 z"
|
118 |
+
inkscape:connector-curvature="0"
|
119 |
+
style="fill:#ffffff;fill-opacity:1" />
|
120 |
+
<path
|
121 |
+
id="path5308"
|
122 |
+
d="m 49.0704,25.7641 c -0.0151,-1.4996 -0.0226,-3.0067 -0.0301,-4.5062 -1.4996,0 -2.9916,0 -4.4836,0 -0.0151,1.4996 -0.0301,2.9991 -0.0377,4.5062 -1.5071,0.0075 -3.0067,0.0151 -4.5062,0.0302 0,1.4995 0,2.9915 0,4.4836 1.4995,0.0151 3.0066,0.0302 4.5062,0.0452 0.0151,1.4996 0.0151,2.9991 0.0302,4.4987 1.4996,0 2.9916,0 4.4911,0 0.0075,-1.4996 0.015,-2.9991 0.0301,-4.5062 1.5071,-0.0151 3.0067,-0.0226 4.5062,-0.0377 0,-1.4921 0,-2.9916 0,-4.4836 -1.4995,-0.0151 -3.0066,-0.0151 -4.5062,-0.0302 z"
|
123 |
+
inkscape:connector-curvature="0"
|
124 |
+
style="fill:#ffffff;fill-opacity:1" />
|
125 |
+
</g>
|
126 |
+
</g>
|
127 |
+
</svg>
|
admin/images/banners/import-export.png
ADDED
Binary file
|
admin/images/banners/{mobile-sharebar.png → mobile-sharebar-big.png}
RENAMED
File without changes
|
admin/images/banners/mobile-sharebar.svg
ADDED
@@ -0,0 +1,237 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2 |
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3 |
+
|
4 |
+
<svg
|
5 |
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
6 |
+
xmlns:cc="http://creativecommons.org/ns#"
|
7 |
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
8 |
+
xmlns:svg="http://www.w3.org/2000/svg"
|
9 |
+
xmlns="http://www.w3.org/2000/svg"
|
10 |
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
11 |
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
12 |
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
13 |
+
width="200"
|
14 |
+
height="200"
|
15 |
+
viewBox="0 0 52.916665 52.916668"
|
16 |
+
version="1.1"
|
17 |
+
id="svg6975"
|
18 |
+
inkscape:version="0.92.0 r15299"
|
19 |
+
sodipodi:docname="mobile-sharebar.svg">
|
20 |
+
<defs
|
21 |
+
id="defs6969" />
|
22 |
+
<sodipodi:namedview
|
23 |
+
id="base"
|
24 |
+
pagecolor="#ffffff"
|
25 |
+
bordercolor="#666666"
|
26 |
+
borderopacity="1.0"
|
27 |
+
inkscape:pageopacity="0.0"
|
28 |
+
inkscape:pageshadow="2"
|
29 |
+
inkscape:zoom="2.8"
|
30 |
+
inkscape:cx="76.334721"
|
31 |
+
inkscape:cy="68.113673"
|
32 |
+
inkscape:document-units="px"
|
33 |
+
inkscape:current-layer="layer5"
|
34 |
+
showgrid="false"
|
35 |
+
units="px"
|
36 |
+
inkscape:window-width="1920"
|
37 |
+
inkscape:window-height="1013"
|
38 |
+
inkscape:window-x="-9"
|
39 |
+
inkscape:window-y="-9"
|
40 |
+
inkscape:window-maximized="1" />
|
41 |
+
<metadata
|
42 |
+
id="metadata6972">
|
43 |
+
<rdf:RDF>
|
44 |
+
<cc:Work
|
45 |
+
rdf:about="">
|
46 |
+
<dc:format>image/svg+xml</dc:format>
|
47 |
+
<dc:type
|
48 |
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
49 |
+
<dc:title></dc:title>
|
50 |
+
</cc:Work>
|
51 |
+
</rdf:RDF>
|
52 |
+
</metadata>
|
53 |
+
<g
|
54 |
+
inkscape:label="Layer 1"
|
55 |
+
inkscape:groupmode="layer"
|
56 |
+
id="layer1"
|
57 |
+
transform="translate(0,-244.08332)"
|
58 |
+
style="display:none"
|
59 |
+
sodipodi:insensitive="true">
|
60 |
+
<image
|
61 |
+
sodipodi:absref="E:\xampp\htdocs\wordpress\wp-content\plugins\wp-socializer\admin\images\banners\mobile-sharebar.PNG"
|
62 |
+
y="249.49594"
|
63 |
+
x="7.8997016"
|
64 |
+
id="image7528"
|
65 |
+
xlink:href="file:///E:/xampp/htdocs/wordpress/wp-content/plugins/wp-socializer/admin/images/banners/mobile-sharebar.PNG"
|
66 |
+
preserveAspectRatio="none"
|
67 |
+
height="41.618958"
|
68 |
+
width="38.124237" />
|
69 |
+
</g>
|
70 |
+
<g
|
71 |
+
inkscape:groupmode="layer"
|
72 |
+
id="layer6"
|
73 |
+
inkscape:label="Layer 3">
|
74 |
+
<rect
|
75 |
+
style="opacity:1;fill:#3d5b98;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.19804454;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
76 |
+
id="rect7559"
|
77 |
+
width="7.1437502"
|
78 |
+
height="7.1437502"
|
79 |
+
x="9.260416"
|
80 |
+
y="45.867416" />
|
81 |
+
<rect
|
82 |
+
style="opacity:1;fill:#4da7de;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.19804454;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
83 |
+
id="rect7559-7"
|
84 |
+
width="7.1437507"
|
85 |
+
height="7.1437507"
|
86 |
+
x="16.404167"
|
87 |
+
y="45.867416" />
|
88 |
+
<rect
|
89 |
+
style="opacity:1;fill:#db483a;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.19804454;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
90 |
+
id="rect7559-7-8"
|
91 |
+
width="7.1437507"
|
92 |
+
height="7.1437507"
|
93 |
+
x="23.547918"
|
94 |
+
y="45.867416" />
|
95 |
+
<rect
|
96 |
+
style="opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.19804454;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
97 |
+
id="rect7559-7-8-8"
|
98 |
+
width="7.1437507"
|
99 |
+
height="7.1437507"
|
100 |
+
x="30.691669"
|
101 |
+
y="45.867416" />
|
102 |
+
<rect
|
103 |
+
style="opacity:1;fill:#60b82d;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.19804454;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
104 |
+
id="rect7559-7-8-1"
|
105 |
+
width="7.1437507"
|
106 |
+
height="7.1437507"
|
107 |
+
x="37.835419"
|
108 |
+
y="45.867416" />
|
109 |
+
<path
|
110 |
+
id="path5280"
|
111 |
+
d="m 13.632407,49.150375 h -0.518385 v -0.339986 c 0,-0.127682 0.08462,-0.157451 0.144226,-0.157451 0.05947,0 0.36582,0 0.36582,0 v -0.561309 l -0.503808,-0.002 c -0.559275,0 -0.686549,0.418648 -0.686549,0.686556 v 0.374149 h -0.32344 v 0.578404 h 0.32344 c 0,0.742286 0,1.636659 0,1.636659 h 0.680311 c 0,0 0,-0.903192 0,-1.636659 h 0.459054 z"
|
112 |
+
inkscape:connector-curvature="0"
|
113 |
+
style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:0.06780721" />
|
114 |
+
<path
|
115 |
+
id="path5290"
|
116 |
+
d="m 21.625239,48.773367 c -0.116973,0.05201 -0.242859,0.08707 -0.374945,0.102762 0.134864,-0.08074 0.238272,-0.208627 0.287037,-0.361187 -0.126144,0.07486 -0.265787,0.129178 -0.414539,0.158503 -0.119039,-0.126854 -0.288717,-0.206173 -0.476481,-0.206173 -0.360477,0 -0.652747,0.29227 -0.652747,0.652812 0,0.05109 0.0058,0.10089 0.01692,0.148756 -0.542556,-0.02729 -1.023623,-0.287104 -1.345605,-0.682074 -0.05619,0.09636 -0.08836,0.208497 -0.08836,0.328243 0,0.226456 0.115228,0.426299 0.290397,0.543333 -0.106962,-0.0037 -0.207657,-0.03282 -0.295694,-0.0817 -6.5e-5,0.0024 -6.5e-5,0.0055 -6.5e-5,0.0083 0,0.316233 0.225033,0.580019 0.523698,0.64009 -0.05478,0.0149 -0.112452,0.02288 -0.172004,0.02288 -0.04211,0 -0.083,-0.0043 -0.122851,-0.01178 0.08313,0.259333 0.324178,0.44813 0.609795,0.453367 -0.223416,0.175101 -0.504835,0.279475 -0.810735,0.279475 -0.05264,0 -0.104636,-0.0031 -0.155726,-0.0092 0.288976,0.185314 0.632078,0.293306 1.000695,0.293306 1.200794,0 1.857352,-0.994688 1.857352,-1.857353 0,-0.02828 -5.65e-4,-0.05649 -0.0018,-0.08455 0.127501,-0.09185 0.238209,-0.206878 0.325664,-0.337804 z"
|
117 |
+
inkscape:connector-curvature="0"
|
118 |
+
style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:0.0645901" />
|
119 |
+
<g
|
120 |
+
id="g5310"
|
121 |
+
transform="matrix(0.07509734,0,0,0.07509734,25.517067,47.697382)"
|
122 |
+
style="display:inline;opacity:1;fill:#fffbfa;fill-opacity:1">
|
123 |
+
<path
|
124 |
+
id="path5306"
|
125 |
+
d="m 19.6671,25.7867 c -0.0075,1.7935 0,3.5869 0.0076,5.3803 3.0067,0.098 6.0208,0.0527 9.0275,0.098 -1.3262,6.6689 -10.3989,8.8315 -15.199,4.4761 C 8.5674,31.9206 8.801,23.5412 13.9327,19.992 c 3.5869,-2.8635 8.6884,-2.1552 12.2752,0.324 1.4092,-1.3036 2.7278,-2.6977 4.0013,-4.1445 -2.984,-2.3812 -6.6462,-4.0767 -10.5421,-3.8958 -8.1307,-0.2713 -15.6059,6.8497 -15.7415,14.9805 -0.52,6.6462 3.8506,13.1644 10.0222,15.5155 6.1489,2.3661 14.031,0.7535 17.957,-4.77 2.5922,-3.4889 3.1498,-7.98 2.8484,-12.1999 -5.0338,-0.0377 -10.0599,-0.0302 -15.0861,-0.0151 z"
|
126 |
+
inkscape:connector-curvature="0"
|
127 |
+
style="fill:#fffbfa;fill-opacity:1" />
|
128 |
+
<path
|
129 |
+
id="path5308"
|
130 |
+
d="m 49.0704,25.7641 c -0.0151,-1.4996 -0.0226,-3.0067 -0.0301,-4.5062 -1.4996,0 -2.9916,0 -4.4836,0 -0.0151,1.4996 -0.0301,2.9991 -0.0377,4.5062 -1.5071,0.0075 -3.0067,0.0151 -4.5062,0.0302 0,1.4995 0,2.9915 0,4.4836 1.4995,0.0151 3.0066,0.0302 4.5062,0.0452 0.0151,1.4996 0.0151,2.9991 0.0302,4.4987 1.4996,0 2.9916,0 4.4911,0 0.0075,-1.4996 0.015,-2.9991 0.0301,-4.5062 1.5071,-0.0151 3.0067,-0.0226 4.5062,-0.0377 0,-1.4921 0,-2.9916 0,-4.4836 -1.4995,-0.0151 -3.0066,-0.0151 -4.5062,-0.0302 z"
|
131 |
+
inkscape:connector-curvature="0"
|
132 |
+
style="fill:#fffbfa;fill-opacity:1" />
|
133 |
+
</g>
|
134 |
+
<path
|
135 |
+
id="path6891"
|
136 |
+
d="m 34.599273,49.97468 c -0.262373,0 -1.61413,-1.006368 -1.61413,-1.006368 v -0.110577 c 0,-0.137013 0.120371,-0.248211 0.268955,-0.248211 h 2.69035 c 0.148717,0 0.269089,0.111198 0.269089,0.248211 l -0.0021,0.124105 c 0,0 -1.337114,0.99284 -1.612114,0.99284 z m 0,0.341289 c 0.287628,0 1.612114,-0.961814 1.612114,-0.961814 l 0.0021,1.489261 c 0,0.137012 -0.120372,0.248211 -0.269089,0.248211 h -2.690349 c -0.148449,0 -0.268954,-0.111199 -0.268954,-0.248211 l 0.0021,-1.489261 c -1.34e-4,0 1.349607,0.961814 1.61198,0.961814 z"
|
137 |
+
inkscape:connector-curvature="0"
|
138 |
+
style="clip-rule:evenodd;display:inline;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke-width:0.12912254" />
|
139 |
+
<g
|
140 |
+
id="g8255"
|
141 |
+
transform="matrix(0.03517278,0,0,0.03517278,40.077487,48.030546)"
|
142 |
+
style="fill:#fffdfd;fill-opacity:1">
|
143 |
+
<g
|
144 |
+
id="g8253"
|
145 |
+
style="fill:#fffdfd;fill-opacity:1">
|
146 |
+
<path
|
147 |
+
id="WhatsApp"
|
148 |
+
d="M 90,43.8 C 90,68 70.2,87.6 45.8,87.6 c -7.7,0 -15,-2 -21.4,-5.5 L 0,90 8,66.5 C 4,59.9 1.7,52.1 1.7,43.9 1.6,19.6 21.4,0 45.8,0 70.2,0 90,19.6 90,43.8 Z M 45.8,7 C 25.3,7 8.7,23.5 8.7,43.8 c 0,8.1 2.6,15.5 7.1,21.6 l -4.6,13.7 14.3,-4.5 c 5.9,3.9 12.9,6.1 20.4,6.1 C 66.3,80.7 83,64.2 83,43.8 83,23.4 66.3,7 45.8,7 Z m 22.3,46.9 c -0.3,-0.4 -1,-0.7 -2.1,-1.3 -1.1,-0.5 -6.4,-3.1 -7.4,-3.5 -1,-0.4 -1.7,-0.5 -2.4,0.5 -0.7,1.1 -2.8,3.5 -3.4,4.2 -0.6,0.7 -1.3,0.8 -2.3,0.3 -1.1,-0.5 -4.6,-1.7 -8.7,-5.3 -3.2,-2.8 -5.4,-6.4 -6,-7.4 -0.6,-1.1 -0.1,-1.7 0.5,-2.2 0.5,-0.5 1.1,-1.3 1.6,-1.9 0.5,-0.6 0.7,-1.1 1.1,-1.8 0.4,-0.7 0.2,-1.3 -0.1,-1.9 -0.3,-0.5 -2.4,-5.8 -3.3,-8 -0.9,-2.1 -1.8,-1.8 -2.4,-1.8 -0.6,0 -1.4,-0.1 -2.1,-0.1 -0.7,0 -1.9,0.3 -2.9,1.3 -1,1.1 -3.8,3.7 -3.8,9 0,5.3 3.9,10.4 4.4,11.1 0.5,0.7 7.5,11.9 18.5,16.2 11,4.3 11,2.9 13,2.7 2,-0.2 6.4,-2.6 7.3,-5.1 0.8,-2.4 0.8,-4.5 0.5,-5 z"
|
149 |
+
inkscape:connector-curvature="0"
|
150 |
+
style="fill:#fffdfd;fill-opacity:1" />
|
151 |
+
</g>
|
152 |
+
</g>
|
153 |
+
<path
|
154 |
+
style="fill:none;stroke:#cfcfcf;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
155 |
+
d="M 9.260416,45.867415 H 44.979169 Z"
|
156 |
+
id="path8269"
|
157 |
+
inkscape:connector-curvature="0" />
|
158 |
+
<rect
|
159 |
+
y="20.362677"
|
160 |
+
x="11.90625"
|
161 |
+
height="3.8639438"
|
162 |
+
width="30.568663"
|
163 |
+
id="rect6825-0"
|
164 |
+
style="display:inline;opacity:1;fill:#d6d6d6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.28981599;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
165 |
+
<rect
|
166 |
+
y="27.742798"
|
167 |
+
x="11.90625"
|
168 |
+
height="2.1166666"
|
169 |
+
width="23.743216"
|
170 |
+
id="rect6825-0-1"
|
171 |
+
style="display:inline;opacity:1;fill:#d6d6d6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.18904479;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
172 |
+
<rect
|
173 |
+
y="33.155003"
|
174 |
+
x="11.90625"
|
175 |
+
height="2.1166666"
|
176 |
+
width="23.743216"
|
177 |
+
id="rect6825-0-1-6"
|
178 |
+
style="display:inline;opacity:1;fill:#d6d6d6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.18904479;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
179 |
+
<rect
|
180 |
+
y="38.59053"
|
181 |
+
x="11.90625"
|
182 |
+
height="2.1166666"
|
183 |
+
width="24.077303"
|
184 |
+
id="rect6825-0-1-6-5"
|
185 |
+
style="display:inline;opacity:1;fill:#d6d6d6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.19037014;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
186 |
+
</g>
|
187 |
+
<g
|
188 |
+
inkscape:groupmode="layer"
|
189 |
+
id="layer5"
|
190 |
+
inkscape:label="Layer 2">
|
191 |
+
<g
|
192 |
+
transform="matrix(0.18718821,0,0,0.18718821,-20.705895,-102.30492)"
|
193 |
+
id="layer1-3"
|
194 |
+
style="fill:#f2f2f2;fill-opacity:1">
|
195 |
+
<g
|
196 |
+
id="g4305"
|
197 |
+
style="fill:#f2f2f2;fill-opacity:1">
|
198 |
+
<g
|
199 |
+
transform="translate(28,-40.00001)"
|
200 |
+
id="g4345"
|
201 |
+
style="fill:#f2f2f2;fill-opacity:1">
|
202 |
+
<g
|
203 |
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:550px;line-height:125%;font-family:Ubuntu;-inkscape-font-specification:Ubuntu;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#f2f2f2;fill-opacity:1;stroke:none"
|
204 |
+
id="text2994">
|
205 |
+
<g
|
206 |
+
transform="translate(0,15.24359)"
|
207 |
+
id="g3830"
|
208 |
+
style="fill:#f2f2f2;fill-opacity:1">
|
209 |
+
<g
|
210 |
+
id="g3838"
|
211 |
+
style="fill:#f2f2f2;fill-opacity:1">
|
212 |
+
<g
|
213 |
+
id="g3785"
|
214 |
+
style="fill:#f2f2f2;fill-opacity:1">
|
215 |
+
<path
|
216 |
+
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:125%;font-family:Ubuntu;-inkscape-font-specification:Ubuntu;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:0;word-spacing:0;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;display:inline;overflow:visible;visibility:visible;fill:#f2f2f2;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:60;marker:none;enable-background:accumulate"
|
217 |
+
id="rect3010"
|
218 |
+
d="m 153,606.1186 c -7.85377,7.9e-4 -15.6653,3.22779 -21.21875,8.78125 -5.55346,5.55345 -8.78046,13.36498 -8.78125,21.21875 v 370 c 7.9e-4,7.8538 3.22779,15.6653 8.78125,21.2188 5.55345,5.5535 13.36498,8.7804 21.21875,8.7812 h 150 c 7.85377,-8e-4 15.6653,-3.2277 21.21875,-8.7812 5.55346,-5.5535 8.78046,-13.365 8.78125,-21.2188 v -370 c -7.9e-4,-7.85377 -3.22779,-15.6653 -8.78125,-21.21875 C 318.6653,609.34639 310.85377,606.11939 303,606.1186 Z m 59.28125,20 a 5.0062461,5.0062461 0 0 1 0.21875,0 5.0005,5.0005 0 0 1 0.5,0 h 30 a 5.0005,5.0005 0 1 1 0,10 h -30 a 5.0128984,5.0128984 0 0 1 -0.71875,-10 z m -79.28125,30 h 190 v 325 H 133 Z m 95,335 c 8.28427,0 15,6.71573 15,15 0,8.2843 -6.71573,15 -15,15 -8.28427,0 -15,-6.7157 -15,-15 0,-8.28427 6.71573,-15 15,-15 z"
|
219 |
+
inkscape:connector-curvature="0" />
|
220 |
+
</g>
|
221 |
+
</g>
|
222 |
+
</g>
|
223 |
+
<g
|
224 |
+
transform="translate(539.77941,-13.359245)"
|
225 |
+
id="layer1-4"
|
226 |
+
style="fill:#f2f2f2;fill-opacity:1">
|
227 |
+
<g
|
228 |
+
transform="translate(-573.14286,170.28574)"
|
229 |
+
id="layer1-5"
|
230 |
+
style="fill:#f2f2f2;fill-opacity:1" />
|
231 |
+
</g>
|
232 |
+
</g>
|
233 |
+
</g>
|
234 |
+
</g>
|
235 |
+
</g>
|
236 |
+
</g>
|
237 |
+
</svg>
|
admin/images/banners/settings.png
ADDED
Binary file
|
admin/images/banners/setup.png
ADDED
Binary file
|
admin/images/banners/{share-buttons.png → share-buttons-big.png}
RENAMED
File without changes
|
admin/images/banners/share-buttons.svg
ADDED
@@ -0,0 +1,250 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2 |
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3 |
+
|
4 |
+
<svg
|
5 |
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
6 |
+
xmlns:cc="http://creativecommons.org/ns#"
|
7 |
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
8 |
+
xmlns:svg="http://www.w3.org/2000/svg"
|
9 |
+
xmlns="http://www.w3.org/2000/svg"
|
10 |
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
11 |
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
12 |
+
width="200"
|
13 |
+
height="200"
|
14 |
+
viewBox="0 0 52.916665 52.916668"
|
15 |
+
version="1.1"
|
16 |
+
id="svg4644"
|
17 |
+
inkscape:version="0.92.0 r15299"
|
18 |
+
sodipodi:docname="social-icons-ft-icon.svg">
|
19 |
+
<defs
|
20 |
+
id="defs4638" />
|
21 |
+
<sodipodi:namedview
|
22 |
+
id="base"
|
23 |
+
pagecolor="#ffffff"
|
24 |
+
bordercolor="#666666"
|
25 |
+
borderopacity="1.0"
|
26 |
+
inkscape:pageopacity="0.0"
|
27 |
+
inkscape:pageshadow="2"
|
28 |
+
inkscape:zoom="3.959798"
|
29 |
+
inkscape:cx="88.050413"
|
30 |
+
inkscape:cy="95.067762"
|
31 |
+
inkscape:document-units="px"
|
32 |
+
inkscape:current-layer="g5403"
|
33 |
+
showgrid="false"
|
34 |
+
units="px"
|
35 |
+
inkscape:window-width="1920"
|
36 |
+
inkscape:window-height="1013"
|
37 |
+
inkscape:window-x="-9"
|
38 |
+
inkscape:window-y="-9"
|
39 |
+
inkscape:window-maximized="1" />
|
40 |
+
<metadata
|
41 |
+
id="metadata4641">
|
42 |
+
<rdf:RDF>
|
43 |
+
<cc:Work
|
44 |
+
rdf:about="">
|
45 |
+
<dc:format>image/svg+xml</dc:format>
|
46 |
+
<dc:type
|
47 |
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
48 |
+
<dc:title></dc:title>
|
49 |
+
</cc:Work>
|
50 |
+
</rdf:RDF>
|
51 |
+
</metadata>
|
52 |
+
<g
|
53 |
+
inkscape:groupmode="layer"
|
54 |
+
id="layer2"
|
55 |
+
inkscape:label="Layer 2"
|
56 |
+
style="display:inline;opacity:1" />
|
57 |
+
<g
|
58 |
+
inkscape:label="Layer 1"
|
59 |
+
inkscape:groupmode="layer"
|
60 |
+
id="layer1"
|
61 |
+
transform="translate(0,-244.08332)"
|
62 |
+
style="display:inline;opacity:1">
|
63 |
+
<flowRoot
|
64 |
+
xml:space="preserve"
|
65 |
+
id="flowRoot5244"
|
66 |
+
style="font-style:normal;font-weight:normal;font-size:14.66666698px;line-height:21.35000038px;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"
|
67 |
+
transform="matrix(0.26458333,0,0,0.26458333,0,244.08332)"><flowRegion
|
68 |
+
id="flowRegion5246"><rect
|
69 |
+
id="rect5248"
|
70 |
+
width="61.871838"
|
71 |
+
height="15.909895"
|
72 |
+
x="39.017143"
|
73 |
+
y="102.20461" /></flowRegion><flowPara
|
74 |
+
id="flowPara5250">Like</flowPara></flowRoot> <text
|
75 |
+
xml:space="preserve"
|
76 |
+
style="font-style:normal;font-weight:normal;font-size:3.88055563px;line-height:5.64885426px;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
77 |
+
x="10.356693"
|
78 |
+
y="273.2464"
|
79 |
+
id="text5254"><tspan
|
80 |
+
sodipodi:role="line"
|
81 |
+
id="tspan5252"
|
82 |
+
x="10.356693"
|
83 |
+
y="277.18582"
|
84 |
+
style="stroke-width:0.26458332"></tspan></text>
|
85 |
+
<text
|
86 |
+
xml:space="preserve"
|
87 |
+
style="font-style:normal;font-weight:normal;font-size:3.88055563px;line-height:5.64885426px;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
88 |
+
x="20.980658"
|
89 |
+
y="269.67166"
|
90 |
+
id="text5328"><tspan
|
91 |
+
sodipodi:role="line"
|
92 |
+
id="tspan5326"
|
93 |
+
x="20.980658"
|
94 |
+
y="273.61108"
|
95 |
+
style="stroke-width:0.26458332"></tspan></text>
|
96 |
+
<g
|
97 |
+
id="g5376"
|
98 |
+
transform="translate(-0.75595269,0.66145836)">
|
99 |
+
<g
|
100 |
+
id="g5403"
|
101 |
+
transform="translate(-0.06681738,1.7372519)">
|
102 |
+
<path
|
103 |
+
style="fill:#4267b2;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
104 |
+
d="m 27.328309,257.57773 v 11.82668 l 4.987081,-2.8793 4.930942,2.84688 v -11.86108 z"
|
105 |
+
id="path5202"
|
106 |
+
inkscape:connector-curvature="0" />
|
107 |
+
<path
|
108 |
+
style="fill:#4da7de;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
109 |
+
d="m 39.255213,257.31046 v 12.22758 l 4.857922,-2.80472 5.045633,2.9131 v -12.46959 z"
|
110 |
+
id="path5204"
|
111 |
+
inkscape:connector-curvature="0" />
|
112 |
+
<path
|
113 |
+
style="fill:#4267b2;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
114 |
+
d="m 5.5515253,274.34504 v 4.4176 c 0,0 0.1889881,0.80319 0.7323288,0.89769 0.5433406,0.0945 22.6077009,0 22.6077009,0 0,0 0.54334,-0.11812 0.637834,-0.66146 0.0945,-0.54334 0,-4.8192 0,-4.8192 0,0 -0.04725,-0.75595 -0.685081,-0.77957 -0.637836,-0.0236 -0.637836,-0.0236 -0.637836,-0.0236 H 6.2602305 c 0,0 -0.7795757,-0.0236 -0.7087052,0.96856 z"
|
115 |
+
id="path5206"
|
116 |
+
inkscape:connector-curvature="0" />
|
117 |
+
<rect
|
118 |
+
ry="0.73499119"
|
119 |
+
y="273.43015"
|
120 |
+
x="33.675961"
|
121 |
+
height="6.0302687"
|
122 |
+
width="9.6718159"
|
123 |
+
id="rect5210"
|
124 |
+
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#dedede;stroke-width:0.207;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
125 |
+
<rect
|
126 |
+
ry="0.73499119"
|
127 |
+
y="273.43015"
|
128 |
+
x="33.675961"
|
129 |
+
height="6.0302687"
|
130 |
+
width="9.6718159"
|
131 |
+
id="rect5212"
|
132 |
+
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#dedede;stroke-width:0.207;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
133 |
+
<rect
|
134 |
+
ry="0.73499119"
|
135 |
+
y="273.43015"
|
136 |
+
x="33.675961"
|
137 |
+
height="6.0302687"
|
138 |
+
width="9.6718159"
|
139 |
+
id="rect5214"
|
140 |
+
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#dedede;stroke-width:0.207;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
141 |
+
<rect
|
142 |
+
style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#dedede;stroke-width:0.207;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
143 |
+
id="rect5208"
|
144 |
+
width="9.6718159"
|
145 |
+
height="6.0302687"
|
146 |
+
x="33.675961"
|
147 |
+
y="273.43015"
|
148 |
+
ry="0.73499119" />
|
149 |
+
<text
|
150 |
+
xml:space="preserve"
|
151 |
+
style="font-style:normal;font-weight:normal;font-size:3.88055563px;line-height:5.64885426px;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#fff6f6;fill-opacity:1;stroke:none;stroke-width:0.26458332;stroke-opacity:1"
|
152 |
+
x="12.294398"
|
153 |
+
y="277.75656"
|
154 |
+
id="text5258"><tspan
|
155 |
+
sodipodi:role="line"
|
156 |
+
id="tspan5256"
|
157 |
+
x="12.294398"
|
158 |
+
y="277.75656"
|
159 |
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:helvetica;-inkscape-font-specification:helvetica;fill:#fff6f6;fill-opacity:1;stroke:none;stroke-width:0.26458332;stroke-opacity:1">Like</tspan></text>
|
160 |
+
<text
|
161 |
+
xml:space="preserve"
|
162 |
+
style="font-style:normal;font-weight:normal;font-size:3.88055563px;line-height:5.64885426px;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#fff6f6;fill-opacity:1;stroke:none;stroke-width:0.26458332;stroke-opacity:1"
|
163 |
+
x="20.236574"
|
164 |
+
y="277.72571"
|
165 |
+
id="text5262"><tspan
|
166 |
+
sodipodi:role="line"
|
167 |
+
id="tspan5260"
|
168 |
+
x="20.236574"
|
169 |
+
y="277.72571"
|
170 |
+
style="font-size:3.17499995px;letter-spacing:-0.10847915px;fill:#fff6f6;fill-opacity:1;stroke:none;stroke-width:0.26458332;stroke-opacity:1">5.3M</tspan></text>
|
171 |
+
<path
|
172 |
+
id="path5280"
|
173 |
+
d="m 33.404769,262.43039 h -0.762345 v -0.49999 c 0,-0.18777 0.124447,-0.23155 0.2121,-0.23155 0.08745,0 0.537981,0 0.537981,0 v -0.82547 l -0.740908,-0.003 c -0.822479,0 -1.00965,0.61567 -1.00965,1.00966 v 0.55023 H 31.16629 v 0.85061 h 0.475657 c 0,1.09162 0,2.4069 0,2.4069 h 1.000477 c 0,0 0,-1.32825 0,-2.4069 h 0.675093 z"
|
174 |
+
inkscape:connector-curvature="0"
|
175 |
+
style="fill:#ffffff;fill-opacity:1;stroke-width:0.09971847" />
|
176 |
+
<path
|
177 |
+
id="path5290"
|
178 |
+
d="m 47.116581,261.19911 c -0.19071,0.0848 -0.395953,0.14195 -0.611304,0.16754 0.21988,-0.13163 0.388475,-0.34014 0.467981,-0.58887 -0.205663,0.12205 -0.433335,0.21061 -0.675856,0.25842 -0.19408,-0.20682 -0.47072,-0.33614 -0.776845,-0.33614 -0.587715,0 -1.064226,0.47651 -1.064226,1.06433 0,0.0833 0.0094,0.16449 0.02759,0.24253 -0.884573,-0.0445 -1.668895,-0.46809 -2.193847,-1.11204 -0.09162,0.15711 -0.144059,0.33993 -0.144059,0.53516 0,0.36921 0.187866,0.69503 0.473457,0.88584 -0.174388,-0.006 -0.33856,-0.0535 -0.482093,-0.13321 -1.05e-4,0.004 -1.05e-4,0.009 -1.05e-4,0.0135 0,0.51558 0.366888,0.94565 0.853825,1.04359 -0.0893,0.0243 -0.183339,0.0373 -0.280431,0.0373 -0.06866,0 -0.135319,-0.007 -0.200293,-0.0192 0.135529,0.42281 0.528533,0.73062 0.994197,0.73916 -0.364254,0.28548 -0.823074,0.45565 -1.321806,0.45565 -0.08582,0 -0.170596,-0.005 -0.253893,-0.015 0.471141,0.30213 1.030528,0.4782 1.631512,0.4782 1.957751,0 3.02819,-1.62172 3.02819,-3.02819 0,-0.0461 -9.37e-4,-0.0921 -0.003,-0.13785 0.207874,-0.14975 0.388369,-0.33729 0.530955,-0.55075 z"
|
179 |
+
inkscape:connector-curvature="0"
|
180 |
+
style="fill:#ffffff;fill-opacity:1;stroke-width:0.10530637" />
|
181 |
+
<rect
|
182 |
+
style="opacity:1;fill:#fe5722;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.19741666;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
183 |
+
id="rect5300"
|
184 |
+
width="10.926967"
|
185 |
+
height="4.8664436"
|
186 |
+
x="28.088354"
|
187 |
+
y="255.49347"
|
188 |
+
ry="2.4332218" />
|
189 |
+
<text
|
190 |
+
xml:space="preserve"
|
191 |
+
style="font-style:normal;font-weight:normal;font-size:2.82222223px;line-height:5.64885426px;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
192 |
+
x="29.364025"
|
193 |
+
y="259.06064"
|
194 |
+
id="text5304"><tspan
|
195 |
+
sodipodi:role="line"
|
196 |
+
id="tspan5302"
|
197 |
+
x="29.364025"
|
198 |
+
y="259.06064"
|
199 |
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:arial;-inkscape-font-specification:arial;fill:#ffffff;fill-opacity:1;stroke-width:0.26458332">5.32 M</tspan></text>
|
200 |
+
<g
|
201 |
+
id="g5310"
|
202 |
+
transform="matrix(0.10054215,0,0,0.10054215,35.18063,273.6505)"
|
203 |
+
style="fill:#de564a;fill-opacity:1">
|
204 |
+
<path
|
205 |
+
id="path5306"
|
206 |
+
d="m 19.6671,25.7867 c -0.0075,1.7935 0,3.5869 0.0076,5.3803 3.0067,0.098 6.0208,0.0527 9.0275,0.098 -1.3262,6.6689 -10.3989,8.8315 -15.199,4.4761 C 8.5674,31.9206 8.801,23.5412 13.9327,19.992 c 3.5869,-2.8635 8.6884,-2.1552 12.2752,0.324 1.4092,-1.3036 2.7278,-2.6977 4.0013,-4.1445 -2.984,-2.3812 -6.6462,-4.0767 -10.5421,-3.8958 -8.1307,-0.2713 -15.6059,6.8497 -15.7415,14.9805 -0.52,6.6462 3.8506,13.1644 10.0222,15.5155 6.1489,2.3661 14.031,0.7535 17.957,-4.77 2.5922,-3.4889 3.1498,-7.98 2.8484,-12.1999 -5.0338,-0.0377 -10.0599,-0.0302 -15.0861,-0.0151 z"
|
207 |
+
inkscape:connector-curvature="0"
|
208 |
+
style="fill:#de564a;fill-opacity:1" />
|
209 |
+
<path
|
210 |
+
id="path5308"
|
211 |
+
d="m 49.0704,25.7641 c -0.0151,-1.4996 -0.0226,-3.0067 -0.0301,-4.5062 -1.4996,0 -2.9916,0 -4.4836,0 -0.0151,1.4996 -0.0301,2.9991 -0.0377,4.5062 -1.5071,0.0075 -3.0067,0.0151 -4.5062,0.0302 0,1.4995 0,2.9915 0,4.4836 1.4995,0.0151 3.0066,0.0302 4.5062,0.0452 0.0151,1.4996 0.0151,2.9991 0.0302,4.4987 1.4996,0 2.9916,0 4.4911,0 0.0075,-1.4996 0.015,-2.9991 0.0301,-4.5062 1.5071,-0.0151 3.0067,-0.0226 4.5062,-0.0377 0,-1.4921 0,-2.9916 0,-4.4836 -1.4995,-0.0151 -3.0066,-0.0151 -4.5062,-0.0302 z"
|
212 |
+
inkscape:connector-curvature="0"
|
213 |
+
style="fill:#de564a;fill-opacity:1" />
|
214 |
+
</g>
|
215 |
+
<text
|
216 |
+
xml:space="preserve"
|
217 |
+
style="font-style:normal;font-weight:normal;font-size:3.88055563px;line-height:5.64885426px;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
218 |
+
x="5.3453903"
|
219 |
+
y="262.72266"
|
220 |
+
id="text5332"><tspan
|
221 |
+
sodipodi:role="line"
|
222 |
+
id="tspan5330"
|
223 |
+
x="5.3453903"
|
224 |
+
y="262.72266"
|
225 |
+
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.99722242px;font-family:Arial;-inkscape-font-specification:'Arial Bold';stroke-width:0.26458332">5.34m</tspan></text>
|
226 |
+
<text
|
227 |
+
xml:space="preserve"
|
228 |
+
style="font-style:normal;font-weight:normal;font-size:3.88055563px;line-height:5.64885426px;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#b8b8b8;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
229 |
+
x="8.2640352"
|
230 |
+
y="266.88254"
|
231 |
+
id="text5336"><tspan
|
232 |
+
sodipodi:role="line"
|
233 |
+
id="tspan5334"
|
234 |
+
x="8.2640352"
|
235 |
+
y="266.88254"
|
236 |
+
style="font-size:2.82222223px;letter-spacing:-0.19050001px;fill:#b8b8b8;fill-opacity:1;stroke-width:0.26458332">SHARES</tspan></text>
|
237 |
+
<g
|
238 |
+
style="color:#ffffff"
|
239 |
+
id="g5349"
|
240 |
+
transform="matrix(0.26458333,0,0,0.26458333,7.172098,274.39702)">
|
241 |
+
<path
|
242 |
+
id="path5338"
|
243 |
+
d="M 4.55,7 C 4.7984,7 5,7.2340364 5,7.5224727 V 13.477527 C 5,13.765964 4.7984,14 4.55,14 H 2.45 C 2.2016,14 2,13.765964 2,13.477527 V 7.5224727 C 2,7.2340364 2.2016,7 2.45,7 Z m 1.9947023,6.2 C 6.2401688,13.164109 6.0173461,12.898279 6,12.573798 c 0.017346,0 0.013442,-2.9057413 0,-4.4298111 C 6.0134419,7.6190393 6.1084946,6.6862335 6.3980131,6.2738428 7.1055629,5.2660075 7.602817,4.6079584 7.8920681,4.2257008 8.1812634,3.8435016 8.5281305,3.4708734 8.5377796,3.1857268 c 0.012996,-0.3836583 -0.00123,-0.3910116 0,-0.8301701 C 8.5390067,1.9163981 8.7456544,1.5 9.2713931,1.5 9.52545,1.5 9.7301456,1.556901 9.9192241,1.8008455 10.222363,2.1559657 10.43431,2.7188473 10.43431,3.6097117 c 0,0.8908644 -0.9244102,2.5632186 -0.9261504,2.5702883 0,0 4.0375504,-9.105e-4 4.0382484,0 C 14.163554,6.175876 14.5,6.725432 14.5,7.2971843 c 0,0.5354524 -0.365886,0.9817892 -0.846057,1.0568984 0.291259,0.1387799 0.500529,0.4695641 0.500529,0.8514715 0,0.476042 -0.325171,0.8727148 -0.756091,0.9402958 0.232081,0.144907 0.375312,0.405835 0.375312,0.701661 0,0.398423 -0.259857,0.733351 -0.614254,0.813713 0.210719,0.137962 0.346923,0.393171 0.346923,0.68176 0,0.452231 -0.33482,0.8227 -0.762896,0.857016 z"
|
244 |
+
inkscape:connector-curvature="0"
|
245 |
+
style="fill:#ffffff;fill-rule:evenodd" />
|
246 |
+
</g>
|
247 |
+
</g>
|
248 |
+
</g>
|
249 |
+
</g>
|
250 |
+
</svg>
|
admin/images/banners/test.png
ADDED
Binary file
|
admin/images/banners/text-sharebar.png
DELETED
Binary file
|
admin/images/banners/text-sharebar.svg
ADDED
@@ -0,0 +1,174 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2 |
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3 |
+
|
4 |
+
<svg
|
5 |
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
6 |
+
xmlns:cc="http://creativecommons.org/ns#"
|
7 |
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
8 |
+
xmlns:svg="http://www.w3.org/2000/svg"
|
9 |
+
xmlns="http://www.w3.org/2000/svg"
|
10 |
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
11 |
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
12 |
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
13 |
+
width="200"
|
14 |
+
height="200"
|
15 |
+
viewBox="0 0 52.916665 52.916668"
|
16 |
+
version="1.1"
|
17 |
+
id="svg5965"
|
18 |
+
inkscape:version="0.92.0 r15299"
|
19 |
+
sodipodi:docname="text-sharebar.svg">
|
20 |
+
<defs
|
21 |
+
id="defs5959" />
|
22 |
+
<sodipodi:namedview
|
23 |
+
id="base"
|
24 |
+
pagecolor="#ffffff"
|
25 |
+
bordercolor="#666666"
|
26 |
+
borderopacity="1.0"
|
27 |
+
inkscape:pageopacity="0.0"
|
28 |
+
inkscape:pageshadow="2"
|
29 |
+
inkscape:zoom="2.8"
|
30 |
+
inkscape:cx="108.89318"
|
31 |
+
inkscape:cy="114.20384"
|
32 |
+
inkscape:document-units="px"
|
33 |
+
inkscape:current-layer="g6937"
|
34 |
+
showgrid="false"
|
35 |
+
units="px"
|
36 |
+
inkscape:window-width="1920"
|
37 |
+
inkscape:window-height="1013"
|
38 |
+
inkscape:window-x="-9"
|
39 |
+
inkscape:window-y="-9"
|
40 |
+
inkscape:window-maximized="1" />
|
41 |
+
<metadata
|
42 |
+
id="metadata5962">
|
43 |
+
<rdf:RDF>
|
44 |
+
<cc:Work
|
45 |
+
rdf:about="">
|
46 |
+
<dc:format>image/svg+xml</dc:format>
|
47 |
+
<dc:type
|
48 |
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
49 |
+
<dc:title></dc:title>
|
50 |
+
</cc:Work>
|
51 |
+
</rdf:RDF>
|
52 |
+
</metadata>
|
53 |
+
<g
|
54 |
+
inkscape:label="Layer 1"
|
55 |
+
inkscape:groupmode="layer"
|
56 |
+
id="layer1"
|
57 |
+
transform="translate(0,-244.08332)"
|
58 |
+
sodipodi:insensitive="true"
|
59 |
+
style="display:none;opacity:1">
|
60 |
+
<image
|
61 |
+
sodipodi:absref="E:\xampp\htdocs\wordpress\wp-content\plugins\wp-socializer\admin\images\banners\text-sharebar.png"
|
62 |
+
y="261.8671"
|
63 |
+
x="1.6063993"
|
64 |
+
id="image6791"
|
65 |
+
xlink:href="file:///E:/xampp/htdocs/wordpress/wp-content/plugins/wp-socializer/admin/images/banners/text-sharebar.png"
|
66 |
+
preserveAspectRatio="none"
|
67 |
+
height="19.049999"
|
68 |
+
width="50.270832" />
|
69 |
+
</g>
|
70 |
+
<g
|
71 |
+
inkscape:groupmode="layer"
|
72 |
+
id="layer4"
|
73 |
+
inkscape:label="Layer 2"
|
74 |
+
style="display:inline">
|
75 |
+
<g
|
76 |
+
id="g6937"
|
77 |
+
transform="translate(-0.93544334)">
|
78 |
+
<text
|
79 |
+
id="text6807"
|
80 |
+
y="30.661106"
|
81 |
+
x="1.6704345"
|
82 |
+
style="font-style:normal;font-weight:normal;font-size:3.88055563px;line-height:5.64885426px;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#d6d6d6;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
83 |
+
xml:space="preserve"><tspan
|
84 |
+
style="fill:#d6d6d6;fill-opacity:1;stroke-width:0.26458332"
|
85 |
+
y="30.661106"
|
86 |
+
x="1.6704345"
|
87 |
+
id="tspan6805"
|
88 |
+
sodipodi:role="line"> </tspan></text>
|
89 |
+
<text
|
90 |
+
id="text6813"
|
91 |
+
y="42.354149"
|
92 |
+
x="28.063299"
|
93 |
+
style="font-style:normal;font-weight:normal;font-size:3.88055563px;line-height:5.64885426px;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#d6d6d6;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
94 |
+
xml:space="preserve"><tspan
|
95 |
+
style="fill:#d6d6d6;fill-opacity:1;stroke-width:0.26458332"
|
96 |
+
y="42.354149"
|
97 |
+
x="28.063299"
|
98 |
+
id="tspan6811"
|
99 |
+
sodipodi:role="line"> </tspan></text>
|
100 |
+
<rect
|
101 |
+
y="25.76899"
|
102 |
+
x="6.1641383"
|
103 |
+
height="3.8639438"
|
104 |
+
width="36.104431"
|
105 |
+
id="rect6825-0"
|
106 |
+
style="opacity:1;fill:#d6d6d6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.3149665;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
107 |
+
<g
|
108 |
+
transform="translate(-0.23402956,4.4174774)"
|
109 |
+
id="g6913">
|
110 |
+
<rect
|
111 |
+
style="opacity:1;fill:#4f0000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.26458332;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
112 |
+
id="rect6862"
|
113 |
+
width="36.415474"
|
114 |
+
height="7.416729"
|
115 |
+
x="9.1539812"
|
116 |
+
y="10.019907"
|
117 |
+
ry="1.2027129" />
|
118 |
+
<path
|
119 |
+
id="path5280"
|
120 |
+
d="m 14.455341,13.170646 h -0.615583 v -0.403734 c 0,-0.151622 0.100485,-0.186973 0.171268,-0.186973 0.07062,0 0.434412,0 0.434412,0 v -0.666555 l -0.598273,-0.0024 c -0.664139,0 -0.815277,0.497145 -0.815277,0.815286 v 0.444302 h -0.384086 v 0.686856 h 0.384086 c 0,0.881466 0,1.943535 0,1.943535 h 0.80787 c 0,0 0,-1.072542 0,-1.943535 h 0.545127 z"
|
121 |
+
inkscape:connector-curvature="0"
|
122 |
+
style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:0.08052117" />
|
123 |
+
<path
|
124 |
+
id="path5290"
|
125 |
+
d="m 23.529116,12.548081 c -0.153307,0.06817 -0.318297,0.11411 -0.491412,0.134681 0.176756,-0.105814 0.312285,-0.27343 0.376198,-0.473378 -0.165327,0.09811 -0.348347,0.169304 -0.543304,0.207738 -0.156016,-0.166258 -0.3784,-0.270215 -0.624487,-0.270215 -0.472449,0 -0.855505,0.383055 -0.855505,0.855589 0,0.06696 0.0076,0.132229 0.02218,0.194964 -0.711087,-0.03577 -1.341584,-0.376286 -1.76358,-0.893942 -0.07365,0.126297 -0.115806,0.273261 -0.115806,0.430202 0,0.296799 0.151021,0.558718 0.380601,0.712105 -0.140187,-0.0048 -0.27216,-0.04301 -0.387543,-0.107084 -8.5e-5,0.0032 -8.5e-5,0.0072 -8.5e-5,0.01085 0,0.414463 0.294933,0.760185 0.68637,0.838917 -0.07179,0.01953 -0.147382,0.02998 -0.225432,0.02998 -0.05519,0 -0.10878,-0.0056 -0.161011,-0.01544 0.108949,0.339887 0.424875,0.587328 0.799211,0.594193 -0.292815,0.22949 -0.661649,0.366286 -1.062568,0.366286 -0.06899,0 -0.137138,-0.004 -0.204098,-0.01206 0.378739,0.242875 0.828416,0.384413 1.311533,0.384413 1.573788,0 2.434288,-1.303661 2.434288,-2.434288 0,-0.03706 -7.44e-4,-0.07404 -0.0024,-0.110815 0.167105,-0.12038 0.312201,-0.271139 0.426822,-0.442734 z"
|
126 |
+
inkscape:connector-curvature="0"
|
127 |
+
style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:0.08465323" />
|
128 |
+
<g
|
129 |
+
id="g5310"
|
130 |
+
transform="matrix(0.10054215,0,0,0.10054215,27.136954,11.017753)"
|
131 |
+
style="display:inline;opacity:1;fill:#fffbfa;fill-opacity:1">
|
132 |
+
<path
|
133 |
+
id="path5306"
|
134 |
+
d="m 19.6671,25.7867 c -0.0075,1.7935 0,3.5869 0.0076,5.3803 3.0067,0.098 6.0208,0.0527 9.0275,0.098 -1.3262,6.6689 -10.3989,8.8315 -15.199,4.4761 C 8.5674,31.9206 8.801,23.5412 13.9327,19.992 c 3.5869,-2.8635 8.6884,-2.1552 12.2752,0.324 1.4092,-1.3036 2.7278,-2.6977 4.0013,-4.1445 -2.984,-2.3812 -6.6462,-4.0767 -10.5421,-3.8958 -8.1307,-0.2713 -15.6059,6.8497 -15.7415,14.9805 -0.52,6.6462 3.8506,13.1644 10.0222,15.5155 6.1489,2.3661 14.031,0.7535 17.957,-4.77 2.5922,-3.4889 3.1498,-7.98 2.8484,-12.1999 -5.0338,-0.0377 -10.0599,-0.0302 -15.0861,-0.0151 z"
|
135 |
+
inkscape:connector-curvature="0"
|
136 |
+
style="fill:#fffbfa;fill-opacity:1" />
|
137 |
+
<path
|
138 |
+
id="path5308"
|
139 |
+
d="m 49.0704,25.7641 c -0.0151,-1.4996 -0.0226,-3.0067 -0.0301,-4.5062 -1.4996,0 -2.9916,0 -4.4836,0 -0.0151,1.4996 -0.0301,2.9991 -0.0377,4.5062 -1.5071,0.0075 -3.0067,0.0151 -4.5062,0.0302 0,1.4995 0,2.9915 0,4.4836 1.4995,0.0151 3.0066,0.0302 4.5062,0.0452 0.0151,1.4996 0.0151,2.9991 0.0302,4.4987 1.4996,0 2.9916,0 4.4911,0 0.0075,-1.4996 0.015,-2.9991 0.0301,-4.5062 1.5071,-0.0151 3.0067,-0.0226 4.5062,-0.0377 0,-1.4921 0,-2.9916 0,-4.4836 -1.4995,-0.0151 -3.0066,-0.0151 -4.5062,-0.0302 z"
|
140 |
+
inkscape:connector-curvature="0"
|
141 |
+
style="fill:#fffbfa;fill-opacity:1" />
|
142 |
+
</g>
|
143 |
+
<path
|
144 |
+
id="path6891"
|
145 |
+
d="m 39.015992,13.876376 c -0.332293,0 -2.044282,-1.274556 -2.044282,-1.274556 v -0.140045 c 0,-0.173526 0.152449,-0.314357 0.340629,-0.314357 h 3.407305 c 0.188349,0 0.340798,0.140831 0.340798,0.314357 l -0.0027,0.157177 c 0,0 -1.693445,1.257424 -2.041729,1.257424 z m 0,0.432239 c 0.364277,0 2.041729,-1.218129 2.041729,-1.218129 l 0.0027,1.886136 c 0,0.173524 -0.152449,0.314356 -0.340798,0.314356 h -3.407306 c -0.188009,0 -0.340628,-0.140832 -0.340628,-0.314356 l 0.0027,-1.886136 c -1.7e-4,0 1.709266,1.218129 2.041559,1.218129 z"
|
146 |
+
inkscape:connector-curvature="0"
|
147 |
+
style="clip-rule:evenodd;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke-width:0.16353256" />
|
148 |
+
<rect
|
149 |
+
style="opacity:1;fill:#4f0000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.26458332;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
150 |
+
id="rect6903"
|
151 |
+
width="2.1497395"
|
152 |
+
height="2.1497395"
|
153 |
+
x="30.359369"
|
154 |
+
y="-7.8367906"
|
155 |
+
ry="0"
|
156 |
+
transform="rotate(45)" />
|
157 |
+
</g>
|
158 |
+
<rect
|
159 |
+
y="31.869553"
|
160 |
+
x="6.0688591"
|
161 |
+
height="2.7948656"
|
162 |
+
width="27.885893"
|
163 |
+
id="rect6825-0-1"
|
164 |
+
style="display:inline;opacity:1;fill:#d6d6d6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.23541898;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
165 |
+
<rect
|
166 |
+
y="37.348576"
|
167 |
+
x="6.0688891"
|
168 |
+
height="2.7948658"
|
169 |
+
width="27.885893"
|
170 |
+
id="rect6825-0-1-6"
|
171 |
+
style="display:inline;opacity:1;fill:#d6d6d6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.23541898;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
172 |
+
</g>
|
173 |
+
</g>
|
174 |
+
</svg>
|
admin/images/banners/{widgets.png → widgets-big.png}
RENAMED
File without changes
|
admin/images/banners/widgets.svg
ADDED
@@ -0,0 +1,250 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2 |
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3 |
+
|
4 |
+
<svg
|
5 |
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
6 |
+
xmlns:cc="http://creativecommons.org/ns#"
|
7 |
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
8 |
+
xmlns:svg="http://www.w3.org/2000/svg"
|
9 |
+
xmlns="http://www.w3.org/2000/svg"
|
10 |
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
11 |
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
12 |
+
width="180"
|
13 |
+
height="180"
|
14 |
+
viewBox="0 0 47.624999 47.625001"
|
15 |
+
version="1.1"
|
16 |
+
id="svg5682"
|
17 |
+
inkscape:version="0.92.0 r15299"
|
18 |
+
sodipodi:docname="widgets.svg"
|
19 |
+
inkscape:export-filename="E:\Skyey\WordPress\Wordpress Plugins\WP Socializer\banners\widgets.png"
|
20 |
+
inkscape:export-xdpi="96"
|
21 |
+
inkscape:export-ydpi="96">
|
22 |
+
<defs
|
23 |
+
id="defs5676" />
|
24 |
+
<sodipodi:namedview
|
25 |
+
id="base"
|
26 |
+
pagecolor="#ffffff"
|
27 |
+
bordercolor="#666666"
|
28 |
+
borderopacity="1.0"
|
29 |
+
inkscape:pageopacity="0.0"
|
30 |
+
inkscape:pageshadow="2"
|
31 |
+
inkscape:zoom="1.979899"
|
32 |
+
inkscape:cx="347.72343"
|
33 |
+
inkscape:cy="47.179746"
|
34 |
+
inkscape:document-units="mm"
|
35 |
+
inkscape:current-layer="g6438-7"
|
36 |
+
showgrid="false"
|
37 |
+
units="px"
|
38 |
+
inkscape:window-width="1920"
|
39 |
+
inkscape:window-height="1013"
|
40 |
+
inkscape:window-x="-9"
|
41 |
+
inkscape:window-y="-9"
|
42 |
+
inkscape:window-maximized="1" />
|
43 |
+
<metadata
|
44 |
+
id="metadata5679">
|
45 |
+
<rdf:RDF>
|
46 |
+
<cc:Work
|
47 |
+
rdf:about="">
|
48 |
+
<dc:format>image/svg+xml</dc:format>
|
49 |
+
<dc:type
|
50 |
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
51 |
+
<dc:title></dc:title>
|
52 |
+
</cc:Work>
|
53 |
+
</rdf:RDF>
|
54 |
+
</metadata>
|
55 |
+
<g
|
56 |
+
inkscape:label="Layer 1"
|
57 |
+
inkscape:groupmode="layer"
|
58 |
+
id="layer1"
|
59 |
+
transform="translate(0,-249.37498)">
|
60 |
+
<g
|
61 |
+
id="g6252"
|
62 |
+
transform="translate(0.13363476,-3.4076865)">
|
63 |
+
<g
|
64 |
+
id="g6429"
|
65 |
+
transform="matrix(0.86102718,0,0,0.86102718,3.271204,31.283672)">
|
66 |
+
<rect
|
67 |
+
style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#3e5b98;stroke-width:0.24332862;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
68 |
+
id="rect6229"
|
69 |
+
width="21.870955"
|
70 |
+
height="14.5202"
|
71 |
+
x="13.564557"
|
72 |
+
y="260.76822"
|
73 |
+
ry="0.47837946" />
|
74 |
+
<path
|
75 |
+
style="fill:none;stroke:#3e5b98;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
76 |
+
d="m 13.441758,263.45172 h 21.782465 v 0.13364 -0.0668"
|
77 |
+
id="path6233"
|
78 |
+
inkscape:connector-curvature="0" />
|
79 |
+
<path
|
80 |
+
style="opacity:1;fill:#3e5b98;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.08159009;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
81 |
+
d="m 13.592096,261.1769 c 0.124351,-0.20316 0.293379,-0.29482 0.668174,-0.39788 h 10.30658 l 10.473626,0.0256 0.400903,0.40302 0.116931,3.06264 H 24.566851 13.575392 Z"
|
82 |
+
id="path6247"
|
83 |
+
inkscape:connector-curvature="0"
|
84 |
+
sodipodi:nodetypes="ccccccccc" />
|
85 |
+
<rect
|
86 |
+
ry="0"
|
87 |
+
y="266.58337"
|
88 |
+
x="15.288326"
|
89 |
+
height="1.3275393"
|
90 |
+
width="12.289192"
|
91 |
+
id="rect6254"
|
92 |
+
style="opacity:1;fill:#e1e1e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.07470983;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
93 |
+
<rect
|
94 |
+
ry="0"
|
95 |
+
y="268.90109"
|
96 |
+
x="15.290036"
|
97 |
+
height="0.713328"
|
98 |
+
width="9.8323469"
|
99 |
+
id="rect6254-2"
|
100 |
+
style="opacity:1;fill:#e1e1e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04898528;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
101 |
+
<rect
|
102 |
+
ry="0"
|
103 |
+
y="270.60788"
|
104 |
+
x="15.307755"
|
105 |
+
height="0.713328"
|
106 |
+
width="9.8323469"
|
107 |
+
id="rect6254-2-7"
|
108 |
+
style="opacity:1;fill:#e1e1e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04898528;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
109 |
+
</g>
|
110 |
+
<g
|
111 |
+
id="g6438"
|
112 |
+
transform="matrix(0.85064726,0,0,0.85064726,3.3528279,33.30067)">
|
113 |
+
<rect
|
114 |
+
style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#db483b;stroke-width:0.24332863;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
115 |
+
id="rect6229-3"
|
116 |
+
width="21.870955"
|
117 |
+
height="14.520201"
|
118 |
+
x="13.782822"
|
119 |
+
y="278.36874"
|
120 |
+
ry="0.47837946" />
|
121 |
+
<path
|
122 |
+
style="fill:none;stroke:#3e5b98;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
123 |
+
d="m 13.660023,281.05225 h 21.782466 v 0.13364 -0.0668"
|
124 |
+
id="path6233-6"
|
125 |
+
inkscape:connector-curvature="0" />
|
126 |
+
<path
|
127 |
+
style="opacity:1;fill:#db483b;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.08159009;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
128 |
+
d="m 13.810361,278.77743 c 0.124351,-0.20316 0.293379,-0.29482 0.668174,-0.39788 h 10.30658 l 10.473627,0.0256 0.400903,0.40302 0.116931,3.06264 H 24.785116 13.793657 Z"
|
129 |
+
id="path6247-2"
|
130 |
+
inkscape:connector-curvature="0"
|
131 |
+
sodipodi:nodetypes="ccccccccc" />
|
132 |
+
<rect
|
133 |
+
ry="0"
|
134 |
+
y="283.41849"
|
135 |
+
x="19.80607"
|
136 |
+
height="1.3275393"
|
137 |
+
width="12.289192"
|
138 |
+
id="rect6254-1"
|
139 |
+
style="opacity:1;fill:#e1e1e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.07470983;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
140 |
+
<rect
|
141 |
+
ry="0"
|
142 |
+
y="283.36081"
|
143 |
+
x="15.450811"
|
144 |
+
height="3.4027276"
|
145 |
+
width="3.4679911"
|
146 |
+
id="rect6254-2-8"
|
147 |
+
style="opacity:1;fill:#e1e1e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.06353967;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
148 |
+
<rect
|
149 |
+
ry="0"
|
150 |
+
y="287.97421"
|
151 |
+
x="19.836727"
|
152 |
+
height="1.3275393"
|
153 |
+
width="12.289192"
|
154 |
+
id="rect6254-1-8"
|
155 |
+
style="opacity:1;fill:#e1e1e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.07470983;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
156 |
+
<rect
|
157 |
+
ry="0"
|
158 |
+
y="287.91653"
|
159 |
+
x="15.481466"
|
160 |
+
height="3.4027278"
|
161 |
+
width="3.4679914"
|
162 |
+
id="rect6254-2-8-8"
|
163 |
+
style="opacity:1;fill:#e1e1e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.06353967;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
164 |
+
</g>
|
165 |
+
<g
|
166 |
+
id="g6438-7"
|
167 |
+
transform="matrix(0.85064727,0,0,0.85064727,3.6290599,47.549298)">
|
168 |
+
<rect
|
169 |
+
style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#4da7de;stroke-width:0.24334411;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
170 |
+
id="rect6229-3-9"
|
171 |
+
width="21.870955"
|
172 |
+
height="14.520201"
|
173 |
+
x="13.782822"
|
174 |
+
y="278.36874"
|
175 |
+
ry="0.47837946" />
|
176 |
+
<path
|
177 |
+
style="fill:none;stroke:#3e5b98;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
178 |
+
d="m 13.660023,281.05225 h 21.782466 v 0.13364 -0.0668"
|
179 |
+
id="path6233-6-9"
|
180 |
+
inkscape:connector-curvature="0" />
|
181 |
+
<path
|
182 |
+
style="opacity:1;fill:#4da7de;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.08159009;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
183 |
+
d="m 13.810361,278.77743 c 0.124351,-0.20316 0.293379,-0.29482 0.668174,-0.39788 h 10.30658 l 10.473627,0.0256 0.400903,0.40302 0.116931,3.06264 H 24.785116 13.793657 c -0.304578,-0.90133 -0.0061,-2.05506 0.0167,-3.09338 z"
|
184 |
+
id="path6247-2-0"
|
185 |
+
inkscape:connector-curvature="0"
|
186 |
+
sodipodi:nodetypes="ccccccccc" />
|
187 |
+
<rect
|
188 |
+
ry="0"
|
189 |
+
y="283.41849"
|
190 |
+
x="19.80607"
|
191 |
+
height="0.81697166"
|
192 |
+
width="12.289192"
|
193 |
+
id="rect6254-1-80"
|
194 |
+
style="opacity:1;fill:#e1e1e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.05860809;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
195 |
+
<rect
|
196 |
+
ry="0"
|
197 |
+
y="284.76871"
|
198 |
+
x="19.830486"
|
199 |
+
height="0.36531568"
|
200 |
+
width="7.6428947"
|
201 |
+
id="rect6254-1-80-3"
|
202 |
+
style="opacity:1;fill:#e1e1e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.0309069;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
203 |
+
<rect
|
204 |
+
ry="0"
|
205 |
+
y="285.7211"
|
206 |
+
x="19.816807"
|
207 |
+
height="0.36531568"
|
208 |
+
width="7.6428947"
|
209 |
+
id="rect6254-1-80-3-9"
|
210 |
+
style="opacity:1;fill:#e1e1e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.0309069;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
211 |
+
<circle
|
212 |
+
style="opacity:1;fill:#e1e1e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.09992391;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
213 |
+
id="path6506"
|
214 |
+
cx="16.951778"
|
215 |
+
cy="284.79425"
|
216 |
+
r="1.5111734" />
|
217 |
+
<rect
|
218 |
+
ry="0"
|
219 |
+
y="287.90561"
|
220 |
+
x="19.794212"
|
221 |
+
height="0.81697166"
|
222 |
+
width="12.289192"
|
223 |
+
id="rect6254-1-80-0"
|
224 |
+
style="opacity:1;fill:#e1e1e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.05860809;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
225 |
+
<rect
|
226 |
+
ry="0"
|
227 |
+
y="289.25583"
|
228 |
+
x="19.818628"
|
229 |
+
height="0.36531568"
|
230 |
+
width="7.6428947"
|
231 |
+
id="rect6254-1-80-3-4"
|
232 |
+
style="opacity:1;fill:#e1e1e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.0309069;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
233 |
+
<rect
|
234 |
+
ry="0"
|
235 |
+
y="290.20822"
|
236 |
+
x="19.804949"
|
237 |
+
height="0.36531568"
|
238 |
+
width="7.6428947"
|
239 |
+
id="rect6254-1-80-3-9-1"
|
240 |
+
style="opacity:1;fill:#e1e1e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.0309069;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
241 |
+
<circle
|
242 |
+
style="opacity:1;fill:#e1e1e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.09992392;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
243 |
+
id="path6506-0"
|
244 |
+
cx="16.93992"
|
245 |
+
cy="289.28137"
|
246 |
+
r="1.5111734" />
|
247 |
+
</g>
|
248 |
+
</g>
|
249 |
+
</g>
|
250 |
+
</svg>
|
admin/images/icons/{social_buttons.png → social_icons.png}
RENAMED
File without changes
|
admin/images/select_images/bb-1.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="300" height="200" viewBox="0 0 79.375 52.917"><g transform="translate(0 -244.083)"><path fill="#47b9ff" d="M3.969 250.698h39.688v39.688H3.969z"/><path d="M28.962 279.617l-6.217-4.024-6.2 4.05 1.918-7.137-5.78-4.627 7.402-.388 2.628-6.91 2.657 6.899 7.404.356-5.76 4.651z" fill="#fff"/><rect width="28.105" height="25.837" x="46.953" y="257.283" ry="4.51" fill="#fff" stroke="#c7c7c7" stroke-width="1.058" stroke-linecap="round" stroke-linejoin="round"/><text style="line-height:12.68326473px" x="54.456" y="274.417" font-weight="400" font-size="6.337" font-family="sans-serif" letter-spacing="0" word-spacing="0" fill="#2a2727" stroke-width=".594"><tspan x="54.456" y="274.417" style="-inkscape-font-specification:arial" font-size="11.289" font-family="arial">73</tspan></text></g></svg>
|
admin/images/select_images/counter-1.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 52.917 52.917"><g transform="translate(0 -244.083)"><path fill="#47b9ff" d="M6.615 250.698h39.688v39.688H6.615z"/><path d="M33.196 279.617l-6.217-4.024-6.2 4.05 1.917-7.137-5.78-4.627 7.403-.388 2.627-6.91 2.658 6.899 7.403.356-5.76 4.651z" fill="#fff"/><rect width="24.534" height="10.927" x="27.137" y="244.957" ry="5.463" fill="#fe5722"/><text style="line-height:12.68326473px" x="30.001" y="252.967" font-weight="400" font-size="6.337" font-family="sans-serif" letter-spacing="0" word-spacing="0" fill="#fff" stroke-width=".594"><tspan x="30.001" y="252.967" style="-inkscape-font-specification:arial" font-family="arial">5.32 M</tspan></text></g></svg>
|
admin/images/select_images/counter-2.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="250" height="200" viewBox="0 0 66.146 52.917"><g transform="translate(0 -244.083)"><path fill="#47b9ff" d="M6.615 250.698h53.673v39.688H6.615z"/><path d="M27.375 279.617l-6.217-4.024-6.2 4.05 1.917-7.137-5.78-4.627 7.403-.388 2.627-6.91 2.658 6.899 7.404.356-5.76 4.651z" fill="#fff"/><rect width="20.282" height="17.919" x="35.452" y="260.927" ry="8.96" fill="#070707" fill-opacity=".359"/><text style="line-height:12.68326473px" x="39.451" y="274.228" font-weight="400" font-size="6.337" font-family="sans-serif" letter-spacing="0" word-spacing="0" fill="#fff" stroke-width=".594"><tspan x="39.451" y="274.228" style="-inkscape-font-specification:arial" font-size="11.289" font-family="arial">73</tspan></text></g></svg>
|
admin/images/select_images/counter-3.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="250" height="200" viewBox="0 0 66.146 52.917"><path fill="#47b9ff" d="M6.615 6.615h53.673v39.688H6.615z"/><path d="M27.375 35.534l-6.217-4.024-6.2 4.05 1.917-7.138-5.78-4.626 7.403-.388 2.627-6.91 2.658 6.899 7.404.356-5.76 4.651z" fill="#fff"/><text style="line-height:12.68326473px" x="41.038" y="274.228" font-weight="400" font-size="6.337" font-family="sans-serif" letter-spacing="0" word-spacing="0" fill="#fff" stroke-width=".594" transform="translate(0 -244.083)"><tspan x="41.038" y="274.228" style="-inkscape-font-specification:arial" font-size="11.289" font-family="arial">73</tspan></text><path d="M36.01 17.765v16.571z" fill="none" stroke="#fff" stroke-width="1.058"/></svg>
|
admin/images/select_images/layout-fluid.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="250" height="250" viewBox="0 0 66.146 66.146"><path fill="#f0f0f0" d="M0 0h66.274v66.146H0z"/><path fill="#3e5b98" d="M2.854 26.326h20.108v13.361H2.854z"/><path fill="#4da7de" d="M23.283 26.326h20.108v13.361H23.283z"/><path fill="#db483b" d="M43.807 26.326h20.108v13.361H43.807z"/></svg>
|
admin/images/select_images/layout-horizontal.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="250" height="250" viewBox="0 0 66.146 66.146"><path fill="#f0f0f0" d="M0 0h66.274v66.146H0z"/><path fill="#3e5b98" d="M2.325 26.458h13.229v13.229H2.325z"/><path fill="#4da7de" d="M18.389 26.458h13.229v13.229H18.389z"/><path fill="#db483b" d="M34.264 26.458h13.229v13.229H34.264z"/><path fill="#6d9f00" d="M49.855 26.458h13.229v13.229H49.855z"/></svg>
|
admin/images/select_images/layout-vertical.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="250" height="250" viewBox="0 0 66.146 66.146"><path fill="#f0f0f0" d="M0 0h66.274v66.146H0z"/><path fill="#3e5b98" d="M39.32 2.694v13.229H26.09V2.693z"/><path fill="#4da7de" d="M39.32 18.758v13.229H26.09v-13.23z"/><path fill="#db483b" d="M39.32 34.633v13.229H26.09v-13.23z"/><path fill="#6d9f00" d="M39.32 50.224v13.229H26.09v-13.23z"/></svg>
|
admin/images/select_images/lr-hide-all.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 8.467 8.467"><path fill="#f3f3f3" d="M0-.026h8.467v8.493H0z"/><path d="M3.388 3.219H5.33v.112H3.388zM3.388 3.63H5.33v.112H3.388zM3.388 4.078H5.33v.112H3.388zM3.388 4.489H5.33V4.6H3.388zM3.388 4.937H5.33v.112H3.388z"/><path d="M5.722 2.35H3.034a.336.336 0 0 0-.336.337v3.566c0 .186.15.336.336.336H5.2a.86.86 0 0 0 .859-.859V2.687a.336.336 0 0 0-.337-.336zm-2.8 3.903V2.687c0-.062.05-.112.112-.112h2.688c.062 0 .112.05.112.112v2.885h-.84v.793h-1.96a.112.112 0 0 1-.112-.112zm2.296.111v-.568h.613a.635.635 0 0 1-.613.568z" fill="#333"/><path d="M3.011 6.359a.123.123 0 0 1-.069-.048l-.013-.018V2.647l.019-.025c.035-.046-.082-.042 1.434-.042h1.373l.022.015a.162.162 0 0 1 .037.036l.014.022v2.914H4.99v.798h-.978c-.539 0-.989-.003-1-.006zm2.324-1.364v-.058H3.387V5.054h1.948zm0-.448V4.49H3.387V4.606h1.948zm0-.415v-.059H3.387V4.19h1.948zm0-.448v-.059H3.387V3.742h1.948zm0-.41v-.058H3.387V3.333h1.948z" fill="#fff"/><path d="M5.224 6.08V5.8h.605l-.004.025a.64.64 0 0 1-.558.532l-.043.004z" fill="#fff"/><g><g transform="matrix(1.17228 0 0 1.17228 -1.22 -338.367)"><circle cx="5.615" cy="293.827" r="1.188" fill="#ff0200"/><path d="M5.591 292.518a1.304 1.304 0 0 0 0 2.605c.718 0 1.303-.584 1.303-1.302 0-.719-.585-1.303-1.303-1.303zm0 2.4a1.098 1.098 0 1 1 1.097-1.097c0 .605-.492 1.097-1.097 1.097z" fill="#333"/><path d="M5.106 294.313a.107.107 0 0 0 .152-.001l.336-.343.337.343a.107.107 0 0 0 .151.001.107.107 0 0 0 .002-.151l-.34-.346.34-.346a.107.107 0 1 0-.153-.15l-.337.343-.336-.343a.107.107 0 0 0-.153.15l.34.346-.34.346a.107.107 0 0 0 .001.151z" fill="#fff"/></g></g></svg>
|
admin/images/select_images/lr-hide-sel.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 8.467 8.467"><path fill="#f3f3f3" d="M0-.026h8.467v8.493H0z"/><path d="M3.388 3.219H5.33v.112H3.388zM3.388 3.63H5.33v.112H3.388zM3.388 4.078H5.33v.112H3.388zM3.388 4.489H5.33V4.6H3.388zM3.388 4.937H5.33v.112H3.388z"/><path d="M5.722 2.35H3.034a.336.336 0 0 0-.336.337v3.566c0 .186.15.336.336.336H5.2a.86.86 0 0 0 .859-.859V2.687a.336.336 0 0 0-.337-.336zm-2.8 3.903V2.687c0-.062.05-.112.112-.112h2.688c.062 0 .112.05.112.112v2.885h-.84v.793h-1.96a.112.112 0 0 1-.112-.112zm2.296.111v-.568h.613a.635.635 0 0 1-.613.568z" fill="#333"/><path d="M3.011 6.359a.123.123 0 0 1-.069-.048l-.013-.018V2.647l.019-.025c.035-.046-.082-.042 1.434-.042h1.373l.022.015a.162.162 0 0 1 .037.036l.014.022v2.914H4.99v.798h-.978c-.539 0-.989-.003-1-.006zm2.324-1.364v-.058H3.387V5.054h1.948zm0-.448V4.49H3.387V4.606h1.948zm0-.415v-.059H3.387V4.19h1.948zm0-.448v-.059H3.387V3.742h1.948zm0-.41v-.058H3.387V3.333h1.948z" fill="#fff"/><path d="M5.224 6.08V5.8h.605l-.004.025a.64.64 0 0 1-.558.532l-.043.004z" fill="#fff"/><g><g transform="matrix(1.17228 0 0 1.17228 -1.22 -338.367)"><circle cx="5.615" cy="293.827" r="1.188" fill="#ff0200"/><path d="M5.591 292.518a1.304 1.304 0 0 0 0 2.605c.718 0 1.303-.584 1.303-1.302 0-.719-.585-1.303-1.303-1.303zm0 2.4a1.098 1.098 0 1 1 1.097-1.097c0 .605-.492 1.097-1.097 1.097z" fill="#333"/><path d="M5.106 294.313a.107.107 0 0 0 .152-.001l.336-.343.337.343a.107.107 0 0 0 .151.001.107.107 0 0 0 .002-.151l-.34-.346.34-.346a.107.107 0 1 0-.153-.15l-.337.343-.336-.343a.107.107 0 0 0-.153.15l.34.346-.34.346a.107.107 0 0 0 .001.151z" fill="#fff"/></g></g><g><path fill="#2dff90" stroke="#333" d="M5.706 2.84v.943l.576.288V2.84l1.152-1.363h-2.88z" stroke-width=".21170940000000002" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
|
admin/images/select_images/lr-show-all.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 8.467 8.467"><path fill="#f3f3f3" d="M0-.026h8.467v8.493H0z"/><path d="M3.388 3.219H5.33v.112H3.388zM3.388 3.63H5.33v.112H3.388zM3.388 4.078H5.33v.112H3.388zM3.388 4.489H5.33V4.6H3.388zM3.388 4.937H5.33v.112H3.388z"/><path d="M5.722 2.35H3.034a.336.336 0 0 0-.336.337v3.566c0 .186.15.336.336.336H5.2a.86.86 0 0 0 .859-.859V2.687a.336.336 0 0 0-.337-.336zm-2.8 3.903V2.687c0-.062.05-.112.112-.112h2.688c.062 0 .112.05.112.112v2.885h-.84v.793h-1.96a.112.112 0 0 1-.112-.112zm2.296.111v-.568h.613a.635.635 0 0 1-.613.568z" fill="#333"/><path d="M3.011 6.359a.123.123 0 0 1-.069-.048l-.013-.018V2.647l.019-.025c.035-.046-.082-.042 1.434-.042h1.373l.022.015a.162.162 0 0 1 .037.036l.014.022v2.914H4.99v.798h-.978c-.539 0-.989-.003-1-.006zm2.324-1.364v-.058H3.387V5.054h1.948zm0-.448V4.49H3.387V4.606h1.948zm0-.415v-.059H3.387V4.19h1.948zm0-.448v-.059H3.387V3.742h1.948zm0-.41v-.058H3.387V3.333h1.948z" fill="#fff"/><path d="M5.224 6.08V5.8h.605l-.004.025a.64.64 0 0 1-.558.532l-.043.004z" fill="#fff"/><g><g transform="matrix(1.17228 0 0 1.17228 -1.22 -338.367)"><circle cx="5.615" cy="293.827" r="1.188" fill="#02ae00"/><g fill="#333"><path d="M5.591 292.518a1.304 1.304 0 0 0 0 2.605c.718 0 1.303-.584 1.303-1.302 0-.719-.585-1.303-1.303-1.303zm0 2.4a1.098 1.098 0 1 1 1.097-1.097c0 .605-.492 1.097-1.097 1.097z"/><path d="M6.208 293.277l-.835.85-.413-.299a.118.118 0 0 0-.138.19l.495.359a.117.117 0 0 0 .153-.013l.905-.922a.117.117 0 1 0-.167-.165z" fill="#ffe9e9"/></g></g></g></svg>
|
admin/images/select_images/lr-show-sel.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 8.467 8.467"><path fill="#f3f3f3" d="M0-.026h8.467v8.493H0z"/><path d="M3.388 3.219H5.33v.112H3.388zM3.388 3.63H5.33v.112H3.388zM3.388 4.078H5.33v.112H3.388zM3.388 4.489H5.33V4.6H3.388zM3.388 4.937H5.33v.112H3.388z"/><path d="M5.722 2.35H3.034a.336.336 0 0 0-.336.337v3.566c0 .186.15.336.336.336H5.2a.86.86 0 0 0 .859-.859V2.687a.336.336 0 0 0-.337-.336zm-2.8 3.903V2.687c0-.062.05-.112.112-.112h2.688c.062 0 .112.05.112.112v2.885h-.84v.793h-1.96a.112.112 0 0 1-.112-.112zm2.296.111v-.568h.613a.635.635 0 0 1-.613.568z" fill="#333"/><path d="M3.011 6.359a.123.123 0 0 1-.069-.048l-.013-.018V2.647l.019-.025c.035-.046-.082-.042 1.434-.042h1.373l.022.015a.162.162 0 0 1 .037.036l.014.022v2.914H4.99v.798h-.978c-.539 0-.989-.003-1-.006zm2.324-1.364v-.058H3.387V5.054h1.948zm0-.448V4.49H3.387V4.606h1.948zm0-.415v-.059H3.387V4.19h1.948zm0-.448v-.059H3.387V3.742h1.948zm0-.41v-.058H3.387V3.333h1.948z" fill="#fff"/><path d="M5.224 6.08V5.8h.605l-.004.025a.64.64 0 0 1-.558.532l-.043.004z" fill="#fff"/><g><g transform="matrix(1.17228 0 0 1.17228 -1.22 -338.367)"><circle cx="5.615" cy="293.827" r="1.188" fill="#02ae00"/><g fill="#333"><path d="M5.591 292.518a1.304 1.304 0 0 0 0 2.605c.718 0 1.303-.584 1.303-1.302 0-.719-.585-1.303-1.303-1.303zm0 2.4a1.098 1.098 0 1 1 1.097-1.097c0 .605-.492 1.097-1.097 1.097z"/><path d="M6.208 293.277l-.835.85-.413-.299a.118.118 0 0 0-.138.19l.495.359a.117.117 0 0 0 .153-.013l.905-.922a.117.117 0 1 0-.167-.165z" fill="#fff"/></g></g></g><g><path d="M5.706 3.782l.576.289V2.84l1.152-1.363h-2.88l1.152 1.363z" fill="#2dff90" stroke="#333" stroke-width=".21170940000000002" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
|
admin/images/select_images/pos-bl.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path fill="#f0f0f0" d="M0 0h16.933v16.933H0z"/><path fill="#333" d="M1.323 11.642h3.969v3.968H1.323z"/></svg>
|
admin/images/select_images/pos-bm.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path fill="#f0f0f0" d="M0 0h16.933v16.933H0z"/><path fill="#333" d="M6.482 11.642h3.969v3.968H6.482z"/></svg>
|
admin/images/select_images/pos-br.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path fill="#f0f0f0" d="M0 0h16.933v16.933H0z"/><path fill="#333" d="M11.906 11.642h3.969v3.968h-3.969z"/></svg>
|
admin/images/select_images/pos-lm.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path fill="#f0f0f0" d="M0 0h16.933v16.933H0z"/><path fill="#333" d="M1.323 6.483h3.969v3.969H1.323z"/></svg>
|
admin/images/select_images/pos-rm.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path fill="#f0f0f0" d="M0 0h16.933v16.933H0z"/><path fill="#333" d="M11.906 6.483h3.969v3.969h-3.969z"/></svg>
|
admin/images/select_images/pos-tl.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path fill="#f0f0f0" d="M0 0h16.933v16.933H0z"/><path fill="#333" d="M1.323 1.059h3.969v3.969H1.323z"/></svg>
|
admin/images/select_images/pos-tm.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path fill="#f0f0f0" d="M0 0h16.933v16.933H0z"/><path fill="#333" d="M6.482 1.059h3.969v3.969H6.482z"/></svg>
|
admin/images/select_images/pos-tr.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path fill="#f0f0f0" d="M0 0h16.933v16.933H0z"/><path fill="#333" d="M11.906 1.059h3.969v3.969h-3.969z"/></svg>
|
admin/images/select_images/shape-circle.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 8.467 8.467"><g transform="translate(0 -288.533)"><rect width="8.467" height="8.493" y="288.507" ry="4.233" fill="#333"/><path d="M5.67 294.696l-1.326-.861-1.322.866.409-1.527-1.233-.99 1.579-.083.56-1.479.567 1.476 1.58.077-1.229.995z" fill="#fff"/></g></svg>
|
admin/images/select_images/shape-diamond.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 8.467 8.467"><path fill="#333" d="M4.232.016l4.219 4.22-4.232 4.231L0 4.248z"/><path d="M5.67 6.162l-1.326-.86-1.322.866.409-1.527-1.233-.99 1.579-.083.56-1.48.567 1.477 1.58.076-1.229.996z" fill="#fff"/></svg>
|
admin/images/select_images/shape-drop.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 8.467 8.467"><path d="M4.217 8.408l-3.119-3.19S.448 4.356.508 3.4C.555 2.645 1.335.293 3.733.128 6.13-.038 7.31 1.675 7.31 1.675s.792 1.17.544 2.256c-.248 1.087-.213 1.063-1.937 2.776-1.725 1.712-1.619 1.842-1.701 1.7z" fill="#333"/><path d="M5.59 5.742L4.263 4.88l-1.322.867.409-1.528-1.233-.99 1.579-.083.56-1.479.567 1.477 1.58.076-1.23.995z" fill="#fff"/></svg>
|
admin/images/select_images/shape-ribbon.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 8.467 8.467"><path d="M.944-.013V8.39l3.29-1.905L7.65 8.464V-.008z" fill="#333"/><path d="M5.606 5.339L4.28 4.478l-1.323.867.41-1.528-1.234-.99 1.58-.083.56-1.479.567 1.477 1.58.076-1.23.995z" fill="#fff"/></svg>
|
admin/images/select_images/shape-square.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 8.467 8.467"><path fill="#333" d="M0-.026h8.467v8.493H0z"/><path d="M5.67 6.162l-1.326-.86-1.322.866.409-1.527-1.233-.99 1.579-.083.56-1.48.567 1.477 1.58.076-1.229.996z" fill="#fff"/></svg>
|
admin/images/select_images/shape-squircle-2.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 8.467 8.467"><path d="M1.635-.026C.729-.026 0 .782 0 1.786v6.681h6.832c.906 0 1.635-.808 1.635-1.812V0h-1.37a1.493 1.493 0 0 0-.265-.026H1.635z" fill="#333"/><path d="M5.67 6.162l-1.326-.86-1.322.866.409-1.527-1.233-.99 1.579-.083.56-1.48.567 1.477 1.58.076-1.229.996z" fill="#fff"/></svg>
|
admin/images/select_images/shape-squircle.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 8.467 8.467"><g transform="translate(0 -288.533)"><rect width="8.467" height="8.493" y="288.507" ry="1.812" rx="1.635" fill="#333"/><path d="M5.67 294.696l-1.326-.861-1.322.866.409-1.527-1.233-.99 1.579-.083.56-1.479.567 1.476 1.58.077-1.229.995z" fill="#fff"/></g></svg>
|
admin/images/select_images/size.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 8.467 8.467"><path fill="#333" d="M0-.026h8.467v8.493H0z"/><path d="M5.67 6.162l-1.326-.86-1.322.866.409-1.527-1.233-.99 1.579-.083.56-1.48.567 1.477 1.58.076-1.229.996z" fill="#fff"/></svg>
|
admin/images/tips/btn-layouts.png
DELETED
Binary file
|
admin/images/tips/btn-shapes.png
DELETED
Binary file
|
admin/images/tips/btn-sizes.png
DELETED
Binary file
|
admin/import_export.php
CHANGED
@@ -8,15 +8,25 @@ class wpsr_admin_import_export{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => __( 'Import/Export', 'wpsr' ),
|
13 |
'page_callback' => array( $this, 'page' ),
|
|
|
|
|
14 |
'form' => array(
|
15 |
'id' => 'import_export',
|
16 |
'name' => 'import_export',
|
17 |
'callback' => ''
|
18 |
)
|
19 |
-
)
|
|
|
|
|
20 |
|
21 |
}
|
22 |
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_admin_page', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
}
|
14 |
+
|
15 |
+
function register( $pages ){
|
16 |
+
|
17 |
+
$pages[ 'import_export' ] = array(
|
18 |
'name' => __( 'Import/Export', 'wpsr' ),
|
19 |
'page_callback' => array( $this, 'page' ),
|
20 |
+
'banner' => WPSR_ADMIN_URL . '/images/banners/import-export.png',
|
21 |
+
'feature' => false,
|
22 |
'form' => array(
|
23 |
'id' => 'import_export',
|
24 |
'name' => 'import_export',
|
25 |
'callback' => ''
|
26 |
)
|
27 |
+
);
|
28 |
+
|
29 |
+
return $pages;
|
30 |
|
31 |
}
|
32 |
|
admin/js/script.js
CHANGED
@@ -1,108 +1,6 @@
|
|
1 |
(function($){
|
2 |
jQuery(document).ready(function(){
|
3 |
|
4 |
-
var scr_templates = [
|
5 |
-
["Color icons", "32px,icon-white,pad,opacity", "no"],
|
6 |
-
["Color icons", "32px,icon-white,opacity", "no"],
|
7 |
-
["Color icons", "32px,icon-white,circle,pad,opacity", "no"],
|
8 |
-
["Color icons", "32px,icon-white,squircle,pad,opacity", "no"],
|
9 |
-
["Color icons", "32px,icon-white,diamond,pad,opacity", "no"],
|
10 |
-
["Color icons", "32px,icon-white,ribbon,pad,opacity", "no"],
|
11 |
-
["Color icons", "32px,icon-white,drop,pad,opacity", "no"],
|
12 |
-
["Color icons with shadow", "32px,icon-white,pad,sw-icon-1,opacity", "no"],
|
13 |
-
["Color icons with shadow", "32px,icon-white,pad,sw-2,opacity", "no"],
|
14 |
-
|
15 |
-
["Just icons", "32px,bg-none,pad,opacity", "no"],
|
16 |
-
["Just icons", "32px,bg-none,icon-dark,pad,opacity", "no"],
|
17 |
-
["Just icons", "32px,bg-none,icon-grey,pad,opacity", "no"],
|
18 |
-
["Just icons with shadow", "32px,bg-none,sw-icon-1,pad,opacity", "no"],
|
19 |
-
["Just icons with shadow", "32px,bg-none,icon-dark,sw-icon-1,pad,opacity", "no"],
|
20 |
-
["Just icons with shadow", "32px,bg-none,icon-grey,sw-icon-1,pad,opacity", "no"],
|
21 |
-
|
22 |
-
["Fixed background", "32px,icon-white,bg-dark,pad,opacity", "no"],
|
23 |
-
["Fixed background", "32px,bg-dark,circle,pad,opacity", "no"],
|
24 |
-
["Fixed background", "32px,icon-white,bg-dark,squircle-2,pad,opacity", "no"],
|
25 |
-
|
26 |
-
["Fixed background", "32px,icon-dark,bg-white,pad,opacity", "no"],
|
27 |
-
["Fixed background", "32px,bg-white,circle,sw-1,pad,opacity", "no"],
|
28 |
-
["Fixed background", "32px,icon-dark,bg-white,drop,sw-2,pad,opacity", "no"],
|
29 |
-
|
30 |
-
["Fixed background", "32px,diamond,icon-dark,bg-grey,pad,opacity", "no"],
|
31 |
-
["Fixed background", "32px,bg-grey,circle,sw-1,pad,opacity", "no"],
|
32 |
-
["Fixed background", "32px,icon-dark,bg-grey,squircle-2,sw-2,pad,opacity", "no"],
|
33 |
-
|
34 |
-
["Icon and border", "32px,bdr-md,bg-none,pad,opacity", "no"],
|
35 |
-
["Icon and border", "32px,bdr-md,bg-none,circle,pad,opacity", "no"],
|
36 |
-
["Icon and border", "32px,bdr-md,bg-none,squircle-2,pad,opacity", "no"],
|
37 |
-
|
38 |
-
["Icon and border", "32px,bdr-md,bg-none,bdr-dark,icon-dark,pad,opacity", "no"],
|
39 |
-
["Icon and border", "32px,bdr-md,bg-none,bdr-dark,icon-dark,circle,pad,opacity", "no"],
|
40 |
-
["Icon and border", "32px,bdr-md,bg-none,bdr-dark,icon-dark,squircle-2,pad,opacity", "no"],
|
41 |
-
|
42 |
-
["Icon and border", "32px,bdr-md,bdr-dark,icon-white,sw-icon-1,pad,opacity", "no"],
|
43 |
-
["Icon and border", "32px,bdr-md,bdr-color,icon-color,bg-dark,pad,opacity", "no"],
|
44 |
-
["Icon and border", "32px,bdr-md,bdr-color,icon-dark,bg-grey,squircle,pad,opacity", "no"],
|
45 |
-
|
46 |
-
["Mixed", "32px,bg-white,bdr-md,bdr-grey,circle,pad,opacity", "no"],
|
47 |
-
["Mixed", "32px,bg-white,bdr-md,bdr-dark,squircle-2,pad,opacity", "no"],
|
48 |
-
["Mixed", "32px,icon-white,bdr-md,bdr-dark,drop,sw-3,pad,opacity", "no"],
|
49 |
-
|
50 |
-
["Ribbons", "32px,icon-white,sw-icon-1,ribbon,pad,opacity", "no"],
|
51 |
-
["Ribbons", "32px,icon-white,bg-dark,bdr-dark,ribbon,pad,opacity", "no"],
|
52 |
-
["Ribbons", "32px,icon-dark,bg-grey,bdr-grey,ribbon,pad,opacity", "no"],
|
53 |
-
|
54 |
-
["With text", "32px,icon-white,pad", "in"],
|
55 |
-
["With text", "32px,icon-white,circle,pad", "in"],
|
56 |
-
["With text", "32px,icon-white,squircle-2,pad", "in"],
|
57 |
-
["With text", "32px,icon-white,pad", "out"],
|
58 |
-
|
59 |
-
["Fluid Icons", "32px,icon-white,squircle,fluid,pad,opacity", "no"],
|
60 |
-
["Fluid Icons", "32px,icon-white,fluid,opacity", "no"],
|
61 |
-
["Fluid Icons", "32px,icon-white,sw-icon-1,fluid,opacity", "no"],
|
62 |
-
["Fluid Icons", "32px,icon-white,sw-2,pad,fluid,opacity", "no"],
|
63 |
-
["Fluid Icons", "32px,icon-white,bg-dark,fluid,pad,opacity", "no"],
|
64 |
-
["Fluid Icons", "32px,bg-none,fluid,opacity", "no"],
|
65 |
-
["Fluid Icons", "32px,bg-none,fluid", "in"],
|
66 |
-
|
67 |
-
["Vertical", "32px,icon-white,vertical,pad,opacity", "no"],
|
68 |
-
["Vertical", "32px,bdr-md,bg-none,squircle-2,vertical,pad,opacity", "no"],
|
69 |
-
["Vertical", "32px,bg-dark,circle,vertical,pad,opacity", "no"],
|
70 |
-
["Vertical", "32px,bdr-md,bdr-dark,icon-white,sw-icon-1,squircle,vertical,pad,opacity", "no"],
|
71 |
-
["Vertical", "32px,icon-white,bg-dark,vertical,pad,opacity", "no"],
|
72 |
-
["Vertical", "32px,bg-none,pad,vertical,opacity", "no"],
|
73 |
-
["Vertical", "32px,bg-none,icon-dark,pad,vertical,opacity", "no"],
|
74 |
-
["Vertical", "32px,icon-white,vertical,opacity", "no"],
|
75 |
-
];
|
76 |
-
|
77 |
-
var scr_default_values = {
|
78 |
-
'sites': [ 'facebook', 'googleplus', 'print', 'email', 'rss' ],
|
79 |
-
'sizes': '32px',
|
80 |
-
'shapes': '',
|
81 |
-
'hover': '',
|
82 |
-
'layouts': '',
|
83 |
-
'text-styles': '',
|
84 |
-
'font-size': '',
|
85 |
-
'icon-color': '',
|
86 |
-
'border-color': '',
|
87 |
-
'background-color': '',
|
88 |
-
'border-width': '',
|
89 |
-
'count-style': 'count-1',
|
90 |
-
'shadow': '',
|
91 |
-
'pad': 'pad',
|
92 |
-
'multiline': '',
|
93 |
-
'more-count': 0,
|
94 |
-
'sharebar-orientation': 'vl-left',
|
95 |
-
'sharebar-theme': '',
|
96 |
-
'btn-type': 'hbar'
|
97 |
-
};
|
98 |
-
|
99 |
-
var atc = {
|
100 |
-
pc: $('#adminmenu a').css('color'),
|
101 |
-
pbc: $('#adminmenu').css('background-color'),
|
102 |
-
sc: $('.wp-core-ui .button-primary').css('color'),
|
103 |
-
sbc: $('.wp-core-ui .button-primary').css('background-color')
|
104 |
-
}
|
105 |
-
|
106 |
var init = function(){
|
107 |
|
108 |
if( $.fn.draggable ){
|
@@ -152,8 +50,6 @@ jQuery(document).ready(function(){
|
|
152 |
$('.color_picker').wpColorPicker();
|
153 |
}
|
154 |
|
155 |
-
$('body').append('<style>.btns_created .ui_btn{ color: ' + atc.pc + '; background-color: ' + atc.pbc + ' } .vedit_wrap .ui_btn{ color: ' + atc.sc + '; background-color: ' + atc.sbc + '; } .sbox_inner li:hover{ color: ' + atc.pc + '; background-color: ' + atc.pbc + '!important; }</style>' );
|
156 |
-
|
157 |
$('.template_wrap').hide().first().show();
|
158 |
$('.template_tab li').first().addClass( 'templ_tab_active' );
|
159 |
|
@@ -369,35 +265,6 @@ jQuery(document).ready(function(){
|
|
369 |
});
|
370 |
}
|
371 |
|
372 |
-
var set_scr_template = function( id ){
|
373 |
-
var tmpl = scr_templates[ id ];
|
374 |
-
var features = tmpl[1];
|
375 |
-
var text = tmpl[2];
|
376 |
-
var featSplit = features.split( ',' );
|
377 |
-
|
378 |
-
// Set default values
|
379 |
-
$( '[data-scr-settings]' ).each(function(){
|
380 |
-
var setting = $(this).data( 'scr-settings' );
|
381 |
-
if ( setting in scr_default_values ){
|
382 |
-
$(this).val( scr_default_values[ setting ] );
|
383 |
-
}
|
384 |
-
});
|
385 |
-
|
386 |
-
$.each( featSplit, function( idx, featVal ){
|
387 |
-
for( setting in window.scr_api.settings ){
|
388 |
-
if( window.scr_api.settings.hasOwnProperty(setting) ){
|
389 |
-
if( featVal in window.scr_api.settings[ setting ][ 'options' ] ){
|
390 |
-
$( '[data-scr-settings="' + setting + '"]' ).val( featVal );
|
391 |
-
}
|
392 |
-
}
|
393 |
-
}
|
394 |
-
});
|
395 |
-
|
396 |
-
text = ( text == 'no' ) ? 'in' : text;
|
397 |
-
$( '[data-scr-settings="text-styles"]' ).val( text );
|
398 |
-
$('.item_popup_close').trigger('click');
|
399 |
-
}
|
400 |
-
|
401 |
var changelog_show = function( version ){
|
402 |
vFile = wpsr.ext_res[ 'wp-socializer-cl' ] + version + '.html';
|
403 |
$wcPopup = $( '.welcome_wrap' );
|
@@ -443,6 +310,147 @@ jQuery(document).ready(function(){
|
|
443 |
});
|
444 |
}
|
445 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
446 |
// Attach the events
|
447 |
|
448 |
$(document).on( 'click', '.btn_selector .sbox_action', function(){
|
@@ -536,16 +544,22 @@ jQuery(document).ready(function(){
|
|
536 |
|
537 |
});
|
538 |
|
539 |
-
|
540 |
$(document).on('submit', function(e){
|
541 |
process_vedit();
|
542 |
loc_generate_rules();
|
543 |
});
|
544 |
|
|
|
|
|
|
|
|
|
|
|
|
|
545 |
$(document).on( 'click', '.vedit_preview_btn', function(e){
|
546 |
e.preventDefault();
|
547 |
|
548 |
$vedit = $(this).closest( '.vedit_wrap' );
|
|
|
549 |
$iframe = $vedit.find( '.vedit_preview_iframe' );
|
550 |
$iframe.fadeTo( 'slow', 0.5 );
|
551 |
$(this).text( $(this).data('refresh') );
|
@@ -558,6 +572,7 @@ jQuery(document).ready(function(){
|
|
558 |
$iframe.load(function(){
|
559 |
$(this).fadeTo( 'slow', 1 );
|
560 |
});
|
|
|
561 |
});
|
562 |
|
563 |
$(document).on( 'change', '.loc_rule_select', function(e){
|
@@ -595,39 +610,6 @@ jQuery(document).ready(function(){
|
|
595 |
|
596 |
});
|
597 |
|
598 |
-
$( document ).on( 'click' , '.btn_delete', function(){
|
599 |
-
|
600 |
-
if ( $(this).closest( '.btns_created' ).length > 0 ){
|
601 |
-
reply = confirm( wpsr.js_texts.del_btn );
|
602 |
-
if( reply == true ){
|
603 |
-
btn_id = $(this).parent().attr( 'data-id' );
|
604 |
-
the_btn = $('.ui_btn[data-id=' + btn_id + ']');
|
605 |
-
|
606 |
-
$.ajax({
|
607 |
-
url: wpsr.ajaxurl,
|
608 |
-
data: {
|
609 |
-
action: 'wpsr_service',
|
610 |
-
do: 'delete',
|
611 |
-
service_id: the_btn.attr( 'data-service' ),
|
612 |
-
button_id: btn_id
|
613 |
-
}
|
614 |
-
}).done(function(d){
|
615 |
-
if( d == '1' ){
|
616 |
-
the_btn.fadeOut('slow', function(){
|
617 |
-
the_btn.remove();
|
618 |
-
});
|
619 |
-
}else{
|
620 |
-
console.info( 'Delete button failed: ' + d );
|
621 |
-
}
|
622 |
-
});
|
623 |
-
|
624 |
-
}
|
625 |
-
}else{
|
626 |
-
$(this).parent().remove();
|
627 |
-
}
|
628 |
-
|
629 |
-
});
|
630 |
-
|
631 |
$( document ).on( 'click', '.btn_settings_save', function(){
|
632 |
$( '.wpsr_tooltip_cnt form' ).submit();
|
633 |
});
|
@@ -641,17 +623,21 @@ jQuery(document).ready(function(){
|
|
641 |
$(this).closest( 'ul' ).remove();
|
642 |
});
|
643 |
|
|
|
|
|
|
|
|
|
644 |
$( document ).on( 'mouseenter', '.veditor > ul', function(){
|
645 |
|
646 |
-
$
|
647 |
if( $(this).parent().children().length == 1 ){
|
648 |
-
$
|
649 |
}
|
650 |
-
$
|
651 |
});
|
652 |
|
653 |
$( document ).on( 'mouseleave', '.veditor > ul', function(){
|
654 |
-
$(this).find( '.
|
655 |
});
|
656 |
|
657 |
$(document).on( 'click', '.loc_group_add', function(e){
|
@@ -712,6 +698,15 @@ jQuery(document).ready(function(){
|
|
712 |
|
713 |
});
|
714 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
715 |
$(document).on( 'click', '.sbox_inner', function(){
|
716 |
$(this).toggleClass( 'sbox_open' );
|
717 |
});
|
@@ -739,7 +734,7 @@ jQuery(document).ready(function(){
|
|
739 |
wpsr_sharebar_preview_close();
|
740 |
});
|
741 |
|
742 |
-
//
|
743 |
$current_item = '';
|
744 |
|
745 |
$( document ).on( 'click', '.item_delete', function(){
|
@@ -834,40 +829,6 @@ jQuery(document).ready(function(){
|
|
834 |
}
|
835 |
});
|
836 |
|
837 |
-
$( document ).on( 'click', '.scr_open_template', function(e){
|
838 |
-
e.preventDefault();
|
839 |
-
$btn = $(this);
|
840 |
-
|
841 |
-
var init_socializer = function(){
|
842 |
-
if( typeof $btn.data( 'scr_init' ) === 'undefined' ){
|
843 |
-
$tmpl_wrap = $( '.scr_templates' ).empty();
|
844 |
-
$.each( scr_templates, function( idx, tmpl ){
|
845 |
-
$tmpl_wrap.append( '<li class="scr_tmpl_wrap" data-tmpl-id="' + idx + '"><div class="scr_tmpl" data-sites="facebook,twitter,rss,googleplus,print" data-features="' + tmpl[1] + '" data-text="' + tmpl[2] + '" ></div><small>' + tmpl[0] + '</small></li>' );
|
846 |
-
});
|
847 |
-
|
848 |
-
if( window.socializer ){
|
849 |
-
socializer( '.scr_templates .scr_tmpl' );
|
850 |
-
$btn.data( 'scr_init', true );
|
851 |
-
}
|
852 |
-
}
|
853 |
-
}
|
854 |
-
|
855 |
-
if( !window.scr_loaded ){
|
856 |
-
wpsr_load_css( 'socializer_css', wpsr.ext_res[ 'socializer-css' ] );
|
857 |
-
$.getScript( wpsr.ext_res[ 'socializer-js' ] ).done(function(){
|
858 |
-
init_socializer();
|
859 |
-
});
|
860 |
-
$.get( wpsr.ext_res[ 'socializer-api' ] ).done(function( data ){
|
861 |
-
window.scr_api = data;
|
862 |
-
});
|
863 |
-
window.scr_loaded = true;
|
864 |
-
}
|
865 |
-
|
866 |
-
init_socializer();
|
867 |
-
|
868 |
-
$('.scr_templates_wrap').show();
|
869 |
-
});
|
870 |
-
|
871 |
$( document ).on( 'keyup', '.list_search', function( e ){
|
872 |
$list = $( $( this ).data( 'list' ) );
|
873 |
if( $list.length > 0 ){
|
@@ -910,15 +871,6 @@ jQuery(document).ready(function(){
|
|
910 |
e.preventDefault();
|
911 |
});
|
912 |
|
913 |
-
$( document ).on( 'click', '.scr_saction', function(){
|
914 |
-
$(this).next().slideToggle();
|
915 |
-
$(this).toggleClass( 'scr_btn_close' );
|
916 |
-
});
|
917 |
-
|
918 |
-
$( document ).on( 'click', '.scr_tmpl_wrap', function(){
|
919 |
-
set_scr_template( $(this).data( 'tmpl-id' ) );
|
920 |
-
});
|
921 |
-
|
922 |
$( document ).on( 'click', '.btn_shortcode', function(){
|
923 |
this.select();
|
924 |
});
|
@@ -926,7 +878,7 @@ jQuery(document).ready(function(){
|
|
926 |
$( document ).on( 'click', '.fb_add', function(){
|
927 |
$sel_list = $( '.fb_selected' );
|
928 |
sel_val = $( '.fb_list' ).val();
|
929 |
-
props =
|
930 |
li_tmpl = window.li_template;
|
931 |
|
932 |
li_tmpl = li_tmpl.replace( /%id%/g, sel_val );
|
@@ -969,11 +921,11 @@ jQuery(document).ready(function(){
|
|
969 |
cnt.push( btn );
|
970 |
|
971 |
// For preview
|
972 |
-
pcolor =
|
973 |
-
pname =
|
974 |
-
picon =
|
975 |
|
976 |
-
prev += '<li style="background-color:' + pcolor + '" title="' + pname + '"><i class="
|
977 |
|
978 |
});
|
979 |
|
@@ -1007,10 +959,11 @@ jQuery(document).ready(function(){
|
|
1007 |
e.preventDefault();
|
1008 |
$slist = $( '.ssb_selected_list' );
|
1009 |
$list = $( '.ssb_list' );
|
1010 |
-
sel_val = $list.val();
|
|
|
1011 |
|
1012 |
$slist.find( '.ssb_empty' ).remove();
|
1013 |
-
$slist.append( '<li title="' + sb_sites[ sel_val ][ 'name' ] + '" data-id="' + sel_val + '"><i class="
|
1014 |
|
1015 |
process_tsb_editor();
|
1016 |
|
@@ -1060,11 +1013,6 @@ jQuery(document).ready(function(){
|
|
1060 |
|
1061 |
});
|
1062 |
|
1063 |
-
$( document ).on( 'click', '.collapse_head', function(){
|
1064 |
-
$( '.collapse_head+.form-table' ).fadeOut( 'fast' );
|
1065 |
-
$(this).next().fadeToggle();
|
1066 |
-
});
|
1067 |
-
|
1068 |
$( document ).on( 'mouseleave', '[data-htip]', function(){
|
1069 |
$( '.htip' ).remove();
|
1070 |
});
|
@@ -1196,8 +1144,9 @@ jQuery(document).ready(function(){
|
|
1196 |
setup_hide();
|
1197 |
});
|
1198 |
|
1199 |
-
$(
|
1200 |
-
|
|
|
1201 |
});
|
1202 |
|
1203 |
$( document ).on( 'click', '.ft_toggle_btn', function(){
|
@@ -1237,7 +1186,7 @@ function wpsr_admin_tooltip( o ){
|
|
1237 |
return false;
|
1238 |
}
|
1239 |
|
1240 |
-
$tt = jQuery('<div class="wpsr_tooltip_wrap"><
|
1241 |
|
1242 |
$parent = o.parent;
|
1243 |
document.wpsr_tt_parent = $parent;
|
1 |
(function($){
|
2 |
jQuery(document).ready(function(){
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
var init = function(){
|
5 |
|
6 |
if( $.fn.draggable ){
|
50 |
$('.color_picker').wpColorPicker();
|
51 |
}
|
52 |
|
|
|
|
|
53 |
$('.template_wrap').hide().first().show();
|
54 |
$('.template_tab li').first().addClass( 'templ_tab_active' );
|
55 |
|
265 |
});
|
266 |
}
|
267 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
268 |
var changelog_show = function( version ){
|
269 |
vFile = wpsr.ext_res[ 'wp-socializer-cl' ] + version + '.html';
|
270 |
$wcPopup = $( '.welcome_wrap' );
|
310 |
});
|
311 |
}
|
312 |
|
313 |
+
var bp_change_tab = function(service){
|
314 |
+
$('.bp_slist li').removeClass('active');
|
315 |
+
$('.bp_slist li[data-sid="' + service + '"]').addClass('active');
|
316 |
+
$('.bp_sbox').removeClass('active');
|
317 |
+
|
318 |
+
var $bp_wrap = $('.bp_wrap');
|
319 |
+
var $sbox = $('.bp_sbox[data-sid="' + service + '"]');
|
320 |
+
var feature = $bp_wrap.data('feature');
|
321 |
+
var nonce = $bp_wrap.data('nonce');
|
322 |
+
|
323 |
+
window.wpsr_bp_hit = true;
|
324 |
+
$sbox.addClass('active');
|
325 |
+
|
326 |
+
if(!$sbox.hasClass('init_done')){
|
327 |
+
var url = wpsr.ajaxurl + '?action=wpsr_buttons_picker&service=' + service + '&feature=' + feature;
|
328 |
+
$sbox.append('<iframe src="' + url + '" class="bp_sel_box" frameborder="0" scrolling="yes"></iframe>');
|
329 |
+
$sbox.addClass('loading');
|
330 |
+
$sbox.addClass('init_done');
|
331 |
+
}
|
332 |
+
|
333 |
+
$iframe = $sbox.find('iframe');
|
334 |
+
$iframe.load(function(){
|
335 |
+
|
336 |
+
var $iframe_cnts = $iframe.contents();
|
337 |
+
|
338 |
+
$iframe_cnts.find('.bt_wrap').click(function(){
|
339 |
+
bp_btn_insert($(this), $iframe, feature, nonce);
|
340 |
+
});
|
341 |
+
|
342 |
+
$iframe_cnts.find('.bt_delete').click(function(e){
|
343 |
+
e.stopPropagation();
|
344 |
+
bp_btn_delete($(this).parent(), service);
|
345 |
+
});
|
346 |
+
|
347 |
+
$sbox.removeClass('loading');
|
348 |
+
});
|
349 |
+
|
350 |
+
}
|
351 |
+
|
352 |
+
var bp_btn_insert = function($btn, $iframe, feature, nonce){
|
353 |
+
|
354 |
+
var id = $btn.data('id');
|
355 |
+
var type = $btn.data('type');
|
356 |
+
var service = $btn.data('service');
|
357 |
+
var title = '';
|
358 |
+
|
359 |
+
if(type == 'new'){
|
360 |
+
var title = prompt('Name of the button for identification');
|
361 |
+
}
|
362 |
+
|
363 |
+
$btn.addClass('inserting');
|
364 |
+
|
365 |
+
$.get( wpsr.ajaxurl, {
|
366 |
+
|
367 |
+
action: 'wpsr_create_button',
|
368 |
+
btn_tmpl_id: id,
|
369 |
+
feature: feature,
|
370 |
+
type: type,
|
371 |
+
service: service,
|
372 |
+
title: (title == null ? '' : title),
|
373 |
+
_wpnonce: nonce
|
374 |
+
|
375 |
+
}).done(function(data){
|
376 |
+
|
377 |
+
if(data == ''){
|
378 |
+
return false;
|
379 |
+
}
|
380 |
+
|
381 |
+
if(window.wpsr_bp){
|
382 |
+
$vedit_wrap = window.wpsr_bp;
|
383 |
+
$vedit_row = $vedit_wrap.find('.veditor ul:last-child');
|
384 |
+
|
385 |
+
$li = $(data);
|
386 |
+
if($li.data('id') !== undefined){
|
387 |
+
$vedit_row.append(data);
|
388 |
+
}
|
389 |
+
}
|
390 |
+
|
391 |
+
$btn.removeClass('inserting');
|
392 |
+
bp_close();
|
393 |
+
|
394 |
+
if(type == 'new'){
|
395 |
+
$iframe.attr('src', function(i, val){return val;});
|
396 |
+
}
|
397 |
+
|
398 |
+
}).fail(function(data){
|
399 |
+
console.log('WPSR create button failed: ' + data);
|
400 |
+
return false;
|
401 |
+
});
|
402 |
+
|
403 |
+
}
|
404 |
+
|
405 |
+
var bp_btn_delete = function($btn, service){
|
406 |
+
reply = confirm( wpsr.js_texts.del_btn );
|
407 |
+
if( reply ){
|
408 |
+
btn_id = $btn.data('id');
|
409 |
+
|
410 |
+
$btn.addClass('inserting');
|
411 |
+
|
412 |
+
$.ajax({
|
413 |
+
url: wpsr.ajaxurl,
|
414 |
+
data: {
|
415 |
+
action: 'wpsr_service',
|
416 |
+
do: 'delete',
|
417 |
+
service_id: service,
|
418 |
+
button_id: btn_id
|
419 |
+
}
|
420 |
+
}).done(function(d){
|
421 |
+
if(d == '1'){
|
422 |
+
$btn.fadeOut('slow', function(){
|
423 |
+
$btn.remove();
|
424 |
+
$('.veditor .ui_btn[data-id="' + btn_id + '"]').remove();
|
425 |
+
});
|
426 |
+
}else{
|
427 |
+
console.info( 'Delete button failed: ' + d );
|
428 |
+
}
|
429 |
+
});
|
430 |
+
}
|
431 |
+
}
|
432 |
+
|
433 |
+
var bp_open = function($veditor){
|
434 |
+
$('.bp_wrap').fadeIn();
|
435 |
+
$('.bp_wrap').addClass('open');
|
436 |
+
$('body').addClass('hide_scrollbar');
|
437 |
+
|
438 |
+
window.wpsr_bp = $veditor;
|
439 |
+
|
440 |
+
if(!window.wpsr_bp_hit){
|
441 |
+
var first_svc = $('.bp_slist li:first-child').data('sid');
|
442 |
+
bp_change_tab(first_svc);
|
443 |
+
}
|
444 |
+
|
445 |
+
}
|
446 |
+
|
447 |
+
var bp_close = function(){
|
448 |
+
$('.bp_wrap').fadeOut();
|
449 |
+
$('.bp_wrap').removeClass('open');
|
450 |
+
$('body').removeClass('hide_scrollbar');
|
451 |
+
window.wpsr_bp = false;
|
452 |
+
}
|
453 |
+
|
454 |
// Attach the events
|
455 |
|
456 |
$(document).on( 'click', '.btn_selector .sbox_action', function(){
|
544 |
|
545 |
});
|
546 |
|
|
|
547 |
$(document).on('submit', function(e){
|
548 |
process_vedit();
|
549 |
loc_generate_rules();
|
550 |
});
|
551 |
|
552 |
+
$(document).on('click', '.vedit_add_button', function(e){
|
553 |
+
e.preventDefault();
|
554 |
+
var $veditor = $(this).closest('.vedit_wrap');
|
555 |
+
bp_open($veditor);
|
556 |
+
});
|
557 |
+
|
558 |
$(document).on( 'click', '.vedit_preview_btn', function(e){
|
559 |
e.preventDefault();
|
560 |
|
561 |
$vedit = $(this).closest( '.vedit_wrap' );
|
562 |
+
$vedit_preview = $('.veditor_preview');
|
563 |
$iframe = $vedit.find( '.vedit_preview_iframe' );
|
564 |
$iframe.fadeTo( 'slow', 0.5 );
|
565 |
$(this).text( $(this).data('refresh') );
|
572 |
$iframe.load(function(){
|
573 |
$(this).fadeTo( 'slow', 1 );
|
574 |
});
|
575 |
+
$vedit_preview.show();
|
576 |
});
|
577 |
|
578 |
$(document).on( 'change', '.loc_rule_select', function(e){
|
610 |
|
611 |
});
|
612 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
613 |
$( document ).on( 'click', '.btn_settings_save', function(){
|
614 |
$( '.wpsr_tooltip_cnt form' ).submit();
|
615 |
});
|
623 |
$(this).closest( 'ul' ).remove();
|
624 |
});
|
625 |
|
626 |
+
$( document ).on( 'click', '.veditor .btn_delete', function(){
|
627 |
+
$(this).parent().remove();
|
628 |
+
});
|
629 |
+
|
630 |
$( document ).on( 'mouseenter', '.veditor > ul', function(){
|
631 |
|
632 |
+
$vedit_row_menu = $('.vedit_row_menu').clone().show();
|
633 |
if( $(this).parent().children().length == 1 ){
|
634 |
+
$vedit_row_menu.find( '.vedit_delete_row' ).remove();
|
635 |
}
|
636 |
+
$vedit_row_menu.appendTo($(this));
|
637 |
});
|
638 |
|
639 |
$( document ).on( 'mouseleave', '.veditor > ul', function(){
|
640 |
+
$(this).find( '.vedit_row_menu' ).remove();
|
641 |
});
|
642 |
|
643 |
$(document).on( 'click', '.loc_group_add', function(e){
|
698 |
|
699 |
});
|
700 |
|
701 |
+
$(document).on('click', '.bp_slist li', function(){
|
702 |
+
var sid = $(this).data('sid');
|
703 |
+
bp_change_tab(sid);
|
704 |
+
});
|
705 |
+
|
706 |
+
$(document).on('click', '.bp_close', function(){
|
707 |
+
bp_close();
|
708 |
+
});
|
709 |
+
|
710 |
$(document).on( 'click', '.sbox_inner', function(){
|
711 |
$(this).toggleClass( 'sbox_open' );
|
712 |
});
|
734 |
wpsr_sharebar_preview_close();
|
735 |
});
|
736 |
|
737 |
+
//social icons item properties
|
738 |
$current_item = '';
|
739 |
|
740 |
$( document ).on( 'click', '.item_delete', function(){
|
829 |
}
|
830 |
});
|
831 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
832 |
$( document ).on( 'keyup', '.list_search', function( e ){
|
833 |
$list = $( $( this ).data( 'list' ) );
|
834 |
if( $list.length > 0 ){
|
871 |
e.preventDefault();
|
872 |
});
|
873 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
874 |
$( document ).on( 'click', '.btn_shortcode', function(){
|
875 |
this.select();
|
876 |
});
|
878 |
$( document ).on( 'click', '.fb_add', function(){
|
879 |
$sel_list = $( '.fb_selected' );
|
880 |
sel_val = $( '.fb_list' ).val();
|
881 |
+
props = social_icons[ sel_val ];
|
882 |
li_tmpl = window.li_template;
|
883 |
|
884 |
li_tmpl = li_tmpl.replace( /%id%/g, sel_val );
|
921 |
cnt.push( btn );
|
922 |
|
923 |
// For preview
|
924 |
+
pcolor = social_icons[ sid ][ 'colors' ][0];
|
925 |
+
pname = social_icons[ sid ][ 'name' ];
|
926 |
+
picon = social_icons[ sid ][ 'icon' ];
|
927 |
|
928 |
+
prev += '<li style="background-color:' + pcolor + '" title="' + pname + '"><i class="' + picon + '"></i></li>';
|
929 |
|
930 |
});
|
931 |
|
959 |
e.preventDefault();
|
960 |
$slist = $( '.ssb_selected_list' );
|
961 |
$list = $( '.ssb_list' );
|
962 |
+
var sel_val = $list.val();
|
963 |
+
var color = $list.find('option:selected').data('color');
|
964 |
|
965 |
$slist.find( '.ssb_empty' ).remove();
|
966 |
+
$slist.append( '<li title="' + sb_sites[ sel_val ][ 'name' ] + '" data-id="' + sel_val + '" style="background-color:' + color + '"><i class="' + sb_sites[ sel_val ][ 'icon' ] + '"></i><span class="ssb_remove">x</span></li>' );
|
967 |
|
968 |
process_tsb_editor();
|
969 |
|
1013 |
|
1014 |
});
|
1015 |
|
|
|
|
|
|
|
|
|
|
|
1016 |
$( document ).on( 'mouseleave', '[data-htip]', function(){
|
1017 |
$( '.htip' ).remove();
|
1018 |
});
|
1144 |
setup_hide();
|
1145 |
});
|
1146 |
|
1147 |
+
$( document ).on( 'click', '.tblr_btn', function(){
|
1148 |
+
var id = $(this).data('id');
|
1149 |
+
$('[data-tglr="' + id + '"]').toggle();
|
1150 |
});
|
1151 |
|
1152 |
$( document ).on( 'click', '.ft_toggle_btn', function(){
|
1186 |
return false;
|
1187 |
}
|
1188 |
|
1189 |
+
$tt = jQuery('<div class="wpsr_tooltip_wrap"><i class="fa fa-times wpsr_tooltip_close" title="' + wpsr.js_texts.close + '"></i><div class="wpsr_tooltip_cnt"></div></div>');
|
1190 |
|
1191 |
$parent = o.parent;
|
1192 |
document.wpsr_tt_parent = $parent;
|
admin/js/script_setup.js
CHANGED
@@ -329,10 +329,10 @@ jQuery(document).ready(function(){
|
|
329 |
$( '.sharebar_btn_opts' ).slideDown();
|
330 |
}else if( sb_btns == 'icons' ){
|
331 |
$( '.sharebar_btn_opts' ).slideUp();
|
332 |
-
$( '.sharebar_btns li[data-id="
|
333 |
}else if( sb_btns = 'icons_counter' ){
|
334 |
$( '.sharebar_btn_opts' ).slideUp();
|
335 |
-
$( '.sharebar_btns li[data-id="
|
336 |
$( '.sharebar_btns li[data-id="share_counter"]' ).addClass( 'active' );
|
337 |
}
|
338 |
});
|
329 |
$( '.sharebar_btn_opts' ).slideDown();
|
330 |
}else if( sb_btns == 'icons' ){
|
331 |
$( '.sharebar_btn_opts' ).slideUp();
|
332 |
+
$( '.sharebar_btns li[data-id="social_icons"]' ).addClass( 'active' );
|
333 |
}else if( sb_btns = 'icons_counter' ){
|
334 |
$( '.sharebar_btn_opts' ).slideUp();
|
335 |
+
$( '.sharebar_btns li[data-id="social_icons"]' ).addClass( 'active' );
|
336 |
$( '.sharebar_btns li[data-id="share_counter"]' ).addClass( 'active' );
|
337 |
}
|
338 |
});
|
admin/js/setup/buttons.json
CHANGED
@@ -1,320 +1,108 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"service": "facebook",
|
4 |
-
"settings": {
|
5 |
-
"like_type": "button_count"
|
6 |
-
}
|
7 |
-
},
|
8 |
-
"fb_vl": {
|
9 |
-
"service": "facebook",
|
10 |
-
"settings": {
|
11 |
-
"like_type": "box_count"
|
12 |
-
}
|
13 |
-
},
|
14 |
-
"fb_hl_lg": {
|
15 |
-
"service": "facebook",
|
16 |
-
"settings": {
|
17 |
-
"like_type": "button_count",
|
18 |
-
"like_size": "large"
|
19 |
-
}
|
20 |
-
},
|
21 |
-
"fb_hl_nc": {
|
22 |
-
"service": "facebook",
|
23 |
-
"settings": {
|
24 |
-
"like_type": "button"
|
25 |
-
}
|
26 |
-
},
|
27 |
-
|
28 |
-
"twitter_hl": {
|
29 |
-
"service": "twitter",
|
30 |
-
"settings": {}
|
31 |
-
},
|
32 |
-
"twitter_hl_lg": {
|
33 |
-
"service": "twitter",
|
34 |
-
"settings": {
|
35 |
-
"size": "large"
|
36 |
-
}
|
37 |
-
},
|
38 |
-
|
39 |
-
"gp_hl": {
|
40 |
-
"service": "google_plus",
|
41 |
-
"settings": {
|
42 |
-
"size": "medium",
|
43 |
-
"annotation": "bubble"
|
44 |
-
}
|
45 |
-
},
|
46 |
-
"gp_vl": {
|
47 |
-
"service": "google_plus",
|
48 |
-
"settings": {
|
49 |
-
"size": "tall",
|
50 |
-
"annotation": "bubble"
|
51 |
-
}
|
52 |
-
},
|
53 |
-
"gp_hl_lg": {
|
54 |
-
"service": "google_plus",
|
55 |
-
"settings": {
|
56 |
-
"size": "standard",
|
57 |
-
"annotation": "bubble"
|
58 |
-
}
|
59 |
-
},
|
60 |
-
"gp_hl_nc": {
|
61 |
-
"service": "google_plus",
|
62 |
-
"settings": {
|
63 |
-
"size": "medium",
|
64 |
-
"annotation": "none"
|
65 |
-
}
|
66 |
-
},
|
67 |
-
|
68 |
-
"pinterest_hl": {
|
69 |
-
"service": "pinterest",
|
70 |
-
"settings": {}
|
71 |
-
},
|
72 |
-
"pinterest_hl_lg": {
|
73 |
-
"service": "pinterest",
|
74 |
-
"settings": {
|
75 |
-
"save_size": "large"
|
76 |
-
}
|
77 |
-
},
|
78 |
-
|
79 |
-
"linkedin_hl": {
|
80 |
-
"service": "linkedin",
|
81 |
-
"settings": {}
|
82 |
-
},
|
83 |
-
"linkedin_vl": {
|
84 |
-
"service": "linkedin",
|
85 |
-
"settings": {
|
86 |
-
"type": "top"
|
87 |
-
}
|
88 |
-
},
|
89 |
-
"linkedin_hl_nc": {
|
90 |
-
"service": "linkedin",
|
91 |
-
"settings": {
|
92 |
-
"type": "none"
|
93 |
-
}
|
94 |
-
},
|
95 |
-
|
96 |
-
"pocket_hl": {
|
97 |
-
"service": "pocket",
|
98 |
-
"settings": {}
|
99 |
-
},
|
100 |
-
"pocket_vl": {
|
101 |
-
"service": "pocket",
|
102 |
-
"settings": {
|
103 |
-
"type": "vertical"
|
104 |
-
}
|
105 |
-
},
|
106 |
-
"pocket_hl_nc": {
|
107 |
-
"service": "pocket",
|
108 |
-
"settings": {
|
109 |
-
"type": "none"
|
110 |
-
}
|
111 |
-
},
|
112 |
-
|
113 |
-
"stumbleupon_hl": {
|
114 |
-
"service": "stumbleupon",
|
115 |
-
"settings": {}
|
116 |
-
},
|
117 |
-
"stumbleupon_vl": {
|
118 |
-
"service": "stumbleupon",
|
119 |
-
"settings": {
|
120 |
-
"type": "5"
|
121 |
-
}
|
122 |
-
},
|
123 |
-
|
124 |
-
"reddit_hl": {
|
125 |
-
"service": "reddit",
|
126 |
-
"settings": {}
|
127 |
-
},
|
128 |
-
"reddit_vl": {
|
129 |
-
"service": "reddit",
|
130 |
-
"settings": {
|
131 |
-
"type": "button2"
|
132 |
-
}
|
133 |
-
},
|
134 |
-
|
135 |
-
"html": {
|
136 |
-
"service": "html",
|
137 |
-
"settings": {
|
138 |
-
"html": "<h3>Share and enjoy !</h3>",
|
139 |
-
"_wrap_tag": "0"
|
140 |
-
}
|
141 |
-
},
|
142 |
-
|
143 |
-
"share_counter": {
|
144 |
-
"service": "share_counter",
|
145 |
-
"settings": {
|
146 |
-
"add_services": [
|
147 |
-
"facebook",
|
148 |
-
"googleplus",
|
149 |
-
"linkedin",
|
150 |
-
"pinterest",
|
151 |
-
"stumbleupon"
|
152 |
-
],
|
153 |
-
"text": "Shares",
|
154 |
-
"counter_color": "#000"
|
155 |
-
}
|
156 |
-
},
|
157 |
|
158 |
-
"
|
159 |
-
"service": "share_counter",
|
160 |
-
"settings": {
|
161 |
-
"add_services": [
|
162 |
-
"facebook",
|
163 |
-
"googleplus",
|
164 |
-
"linkedin",
|
165 |
-
"pinterest",
|
166 |
-
"stumbleupon"
|
167 |
-
],
|
168 |
-
"text": "Shares",
|
169 |
-
"counter_color": "#000",
|
170 |
-
"orientation": "hl"
|
171 |
-
}
|
172 |
-
},
|
173 |
|
174 |
-
"sb-
|
175 |
|
176 |
-
"sb-
|
177 |
|
178 |
-
"sb-
|
179 |
|
180 |
-
"sb-
|
181 |
|
182 |
-
"sb-
|
183 |
|
184 |
-
"sb-
|
185 |
|
186 |
-
"sb-
|
187 |
|
188 |
-
"sb-
|
189 |
|
190 |
-
"sb-
|
191 |
|
192 |
-
"sb-
|
193 |
|
194 |
-
"sb-
|
195 |
|
196 |
-
"sb-
|
197 |
|
198 |
-
"sb-a-
|
199 |
|
200 |
-
"sb-a-
|
201 |
|
202 |
-
"sb-
|
203 |
|
204 |
-
"sb-
|
205 |
|
206 |
-
"sb-
|
207 |
|
208 |
-
"sb-
|
209 |
|
210 |
-
"sb-
|
211 |
|
212 |
-
"sb-
|
213 |
|
214 |
-
"sb-
|
215 |
|
216 |
-
"sb-
|
217 |
|
218 |
-
"sb-
|
219 |
|
220 |
-
"sb-
|
221 |
|
222 |
-
"sb-
|
223 |
|
224 |
-
"sb-
|
225 |
|
226 |
-
"sb-
|
227 |
|
228 |
-
"sb-
|
229 |
|
230 |
-
"sb-
|
231 |
|
232 |
-
"sb-
|
233 |
|
234 |
-
"sb-
|
235 |
|
236 |
-
"sb-
|
237 |
|
238 |
-
"sb-
|
239 |
|
240 |
-
"sb-
|
241 |
|
242 |
-
"sb-
|
243 |
|
244 |
-
"sb-
|
245 |
|
246 |
-
"sb-
|
247 |
|
248 |
-
"sb-
|
249 |
|
250 |
-
"sb-text-
|
251 |
|
252 |
-
"sb-text-
|
253 |
|
254 |
-
"sb-text-
|
255 |
|
256 |
-
"sb-text-
|
257 |
|
258 |
-
"sb-
|
259 |
|
260 |
-
"sb-
|
261 |
|
262 |
-
"sb-
|
263 |
|
264 |
-
"sb-
|
265 |
|
266 |
-
"sb-
|
267 |
|
268 |
-
"
|
269 |
|
270 |
-
"
|
271 |
|
272 |
-
"
|
273 |
|
274 |
-
"
|
275 |
-
|
276 |
-
"sb-count-bbl-1":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicmVkZGl0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsibGlua2VkaW4iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"icon-white","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"bb-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"4","open_popup":"","title":"sb-count-bbl-1","_feature":"buttons"}},
|
277 |
-
|
278 |
-
"sb-count-bbl-2":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicmVkZGl0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsibGlua2VkaW4iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"squircle-2","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"","sr-border-width":"bdr-md","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"bb-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"4","open_popup":"","title":"sb-count-bbl-2","_feature":"buttons"}},
|
279 |
-
|
280 |
-
"sb-count-bbl-3":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoxfX0seyJnb29nbGVwbHVzIjp7InRleHQiOjEsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsicGludGVyZXN0Ijp7InRleHQiOjEsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsidHdpdHRlciI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7ImVtYWlsIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicmVkZGl0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsibGlua2VkaW4iOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7InByaW50Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"icon-white","sr-border-width":"","sr-border-color":"","sr-background-color":"bg-dark","sr-count-style":"bb-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"4","open_popup":"","title":"sb-count-bbl-3","_feature":"buttons"}},
|
281 |
-
|
282 |
-
"sb-count-bbl-4":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicmVkZGl0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsibGlua2VkaW4iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"circle","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"icon-white","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"bb-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"4","open_popup":"","title":"sb-count-bbl-4","_feature":"buttons"}},
|
283 |
-
|
284 |
-
"sb-count-bbl-5":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicmVkZGl0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsibGlua2VkaW4iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"squircle","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"icon-white","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"bb-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"4","open_popup":"","title":"sb-count-bbl-5","_feature":"buttons"}},
|
285 |
-
|
286 |
-
"sb-only-text-1":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZ29vZ2xlcGx1cyI6eyJjb3VudCI6IiIsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJwaW50ZXJlc3QiOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsibGlua2VkaW4iOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsiZW1haWwiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOjF9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"no-icon","sr-icon-color":"icon-white","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":"","title":"sb-text-1","_feature":"buttons"}},
|
287 |
-
|
288 |
-
"sb-only-text-2":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsidHdpdHRlciI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsiZ29vZ2xlcGx1cyI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsibGlua2VkaW4iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZW1haWwiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"no-icon","sr-icon-color":"","sr-border-width":"bdr-md","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":"","title":"sb-only-text-2","_feature":"buttons"}},
|
289 |
-
|
290 |
-
"sb-only-text-3":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZ29vZ2xlcGx1cyI6eyJjb3VudCI6IiIsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJwaW50ZXJlc3QiOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsibGlua2VkaW4iOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsiZW1haWwiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOjF9fV0=","sr-sizes":"32px","sr-shapes":"squircle-2","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"no-icon","sr-icon-color":"icon-dark","sr-border-width":"bdr-md","sr-border-color":"bdr-dark","sr-background-color":"bg-none","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":"","title":"sb-only-text-4","_feature":"buttons"}},
|
291 |
-
|
292 |
-
"sb-only-text-4":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsidHdpdHRlciI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsiZ29vZ2xlcGx1cyI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsibGlua2VkaW4iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZW1haWwiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"no-icon","sr-icon-color":"icon-white","sr-border-width":"bdr-md","sr-border-color":"bdr-dark","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"sw-icon-1","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":"","title":"sb-only-text-5","_feature":"buttons"}},
|
293 |
-
|
294 |
-
"sb-only-text-5":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsidHdpdHRlciI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsiZ29vZ2xlcGx1cyI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsibGlua2VkaW4iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZW1haWwiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"fluid","sr-font-size":"","sr-icon-display":"no-icon","sr-icon-color":"icon-white","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"sw-2","sr-pad":"","text-styles":"in","more_sites":"0","open_popup":"","title":"sb-only-text-3","_feature":"buttons"}},
|
295 |
-
|
296 |
-
"sb-spcl-1":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiU2hhcmUgb24gRmFjZWJvb2siLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOjF9fSx7InR3aXR0ZXIiOnsiY3VzdG9tX3RleHQiOiJUd2VldCIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZ29vZ2xlcGx1cyI6eyJjb3VudCI6MSwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwaW50ZXJlc3QiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsiZW1haWwiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJsaW5rZWRpbiI6eyJjb3VudCI6IiIsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJzaG9ydGxpbmsiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJyZWRkaXQiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwcmludCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"icon-white","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-4","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"4","open_popup":"","title":"sb-spcl-1","_feature":"buttons"}},
|
297 |
-
|
298 |
-
"sb-b-1":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IlNoYXJlIG9uIEZhY2Vib29rIiwiY291bnQiOiIifX0seyJ0d2l0dGVyIjp7InRleHQiOjEsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiJTaGFyZSBvbiBUd2l0dGVyIn19XQ==","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"icon-white","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"","text-styles":"in","more_sites":"0","open_popup":"","title":"sb-b-1","_feature":"buttons"}},
|
299 |
-
|
300 |
-
"sb-b-2":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsidHdpdHRlciI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsicGludGVyZXN0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOjF9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicG9ja2V0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicmVkZGl0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsiaGFja2VybmV3cyI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InN0dW1ibGV1cG9uIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJ0dW1ibHIiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJwZGYiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJwcmludCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"circle","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"icon-white","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"7","open_popup":"","title":"sb-b-2","_feature":"buttons"}},
|
301 |
-
|
302 |
-
"sb-b-3":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsidHdpdHRlciI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsicGludGVyZXN0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOjF9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicG9ja2V0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicmVkZGl0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsic3R1bWJsZXVwb24iOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7InBkZiI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InByaW50Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"icon-dark","sr-border-width":"bdr-md","sr-border-color":"bdr-dark","sr-background-color":"bg-none","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"5","open_popup":"","title":"sb-b-3","_feature":"buttons"}},
|
303 |
-
|
304 |
-
"sb-b-4":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOjF9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicG9ja2V0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicmVkZGl0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic3R1bWJsZXVwb24iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBkZiI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"circle","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"","sr-border-width":"bdr-md","sr-border-color":"bdr-grey","sr-background-color":"bg-white","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"5","open_popup":"","title":"sb-b-4","_feature":"buttons"}},
|
305 |
-
|
306 |
-
"sb-b-5":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOjF9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicG9ja2V0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicmVkZGl0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic3R1bWJsZXVwb24iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBkZiI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"","sr-border-width":"","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"5","open_popup":"","title":"sb-b-5","_feature":"buttons"}},
|
307 |
-
|
308 |
-
"sb-b-6":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOjF9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicG9ja2V0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicmVkZGl0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic3R1bWJsZXVwb24iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBkZiI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"icon-white","sr-border-width":"","sr-border-color":"","sr-background-color":"bg-dark","sr-count-style":"count-3","sr-shadow":"","sr-pad":"","text-styles":"in","more_sites":"5","open_popup":"","title":"sb-b-6","_feature":"buttons"}},
|
309 |
-
|
310 |
-
"sb-b-7":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOjF9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicG9ja2V0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicmVkZGl0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic3R1bWJsZXVwb24iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBkZiI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"","sr-border-width":"bdr-sm","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-2","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"5","open_popup":"","title":"sb-b-7","_feature":"buttons"}},
|
311 |
-
|
312 |
-
"sb-b-8":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsidHdpdHRlciI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsicGludGVyZXN0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOjF9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicG9ja2V0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicmVkZGl0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsic3R1bWJsZXVwb24iOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7InBkZiI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InByaW50Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"icon-grey","sr-border-width":"","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-4","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"5","open_popup":"","title":"sb-b-8","_feature":"buttons"}},
|
313 |
-
|
314 |
-
"sb-b-9":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsidHdpdHRlciI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsicGludGVyZXN0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOjF9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicG9ja2V0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicmVkZGl0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsic3R1bWJsZXVwb24iOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7InBkZiI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InByaW50Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"icon-white","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"bb-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"5","open_popup":"","title":"sb-b-9","_feature":"buttons"}},
|
315 |
-
|
316 |
-
"sb-b-10":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOjF9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicG9ja2V0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicmVkZGl0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic3R1bWJsZXVwb24iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBkZiI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"circle","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"","sr-border-width":"bdr-md","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"bb-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"5","open_popup":"","title":"sb-b-10","_feature":"buttons"}},
|
317 |
-
|
318 |
-
"sb-b-11":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsiZ29vZ2xlcGx1cyI6eyJjb3VudCI6MSwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwaW50ZXJlc3QiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsibGlua2VkaW4iOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicG9ja2V0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicmVkZGl0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic3R1bWJsZXVwb24iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBkZiI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"squircle-2","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"icon-white","sr-border-width":"","sr-border-color":"","sr-background-color":"bg-dark","sr-count-style":"bb-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"5","open_popup":"","title":"sb-b-11","_feature":"buttons"}}
|
319 |
|
320 |
}
|
1 |
{
|
2 |
+
"sb-1":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOmZhbHNlLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6ZmFsc2V9fSx7InR3aXR0ZXIiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOmZhbHNlfX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjpmYWxzZSwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOmZhbHNlfX0seyJwaW50ZXJlc3QiOnsiY291bnQiOmZhbHNlLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6ZmFsc2V9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjpmYWxzZX19LHsiZW1haWwiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOmZhbHNlfX0seyJzaG9ydGxpbmsiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOmZhbHNlfX1d","sr-sizes":"32px","sr-shapes":"","sr-hover":"zoom","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
+
"sb-2":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsidHdpdHRlciI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsicGludGVyZXN0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOjF9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"ribbon","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
+
"sb-3":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsiZ29vZ2xlcGx1cyI6eyJjb3VudCI6MSwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwaW50ZXJlc3QiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsibGlua2VkaW4iOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"circle","sr-hover":"zoom","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"bdr-md","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-3","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
7 |
|
8 |
+
"sb-4":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsiZ29vZ2xlcGx1cyI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoxfX0seyJwaW50ZXJlc3QiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsibGlua2VkaW4iOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsidHdpdHRlciI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7ImVtYWlsIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"","sr-hover":"zoom","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-2","sr-shadow":"sw-icon-1","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
9 |
|
10 |
+
"sb-5":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsiZ29vZ2xlcGx1cyI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoxfX0seyJwaW50ZXJlc3QiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsibGlua2VkaW4iOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsidHdpdHRlciI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7ImVtYWlsIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"circle","sr-hover":"zoom","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"","sr-border-color":"","sr-background-color":"bg-white","sr-count-style":"count-3","sr-shadow":"sw-1","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
11 |
|
12 |
+
"sb-6":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsiZ29vZ2xlcGx1cyI6eyJjb3VudCI6MSwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwaW50ZXJlc3QiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsibGlua2VkaW4iOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"","sr-hover":"zoom","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-3","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
13 |
|
14 |
+
"sb-7":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsiZ29vZ2xlcGx1cyI6eyJjb3VudCI6MSwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwaW50ZXJlc3QiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsibGlua2VkaW4iOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicG9ja2V0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjpmYWxzZX19LHsicmVkZGl0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjpmYWxzZX19LHsiaGFja2VybmV3cyI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6ZmFsc2V9fSx7InN0dW1ibGV1cG9uIjp7ImNvdW50IjpmYWxzZSwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOmZhbHNlfX0seyJ0dW1ibHIiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOmZhbHNlfX0seyJwZGYiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOmZhbHNlfX0seyJwcmludCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6ZmFsc2V9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"zoom","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-3","sr-shadow":"","sr-pad":"","text-styles":"in","more_sites":"7","open_popup":""}},
|
15 |
|
16 |
+
"sb-9":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsiZ29vZ2xlcGx1cyI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoxfX0seyJwaW50ZXJlc3QiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsibGlua2VkaW4iOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsidHdpdHRlciI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7ImVtYWlsIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicG9ja2V0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicmVkZGl0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsiaGFja2VybmV3cyI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InN0dW1ibGV1cG9uIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJ0dW1ibHIiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJwZGYiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJwcmludCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"48px","sr-shapes":"circle","sr-hover":"shrink","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"7","open_popup":""}},
|
17 |
|
18 |
+
"sb-10":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7InR3aXR0ZXIiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJnb29nbGVwbHVzIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJlbWFpbCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBvY2tldCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7ImhhY2tlcm5ld3MiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJzdHVtYmxldXBvbiI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsidHVtYmxyIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicGRmIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicHJpbnQiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX1d","sr-sizes":"32px","sr-shapes":"drop","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"7","open_popup":""}},
|
19 |
|
20 |
+
"sb-11":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7InR3aXR0ZXIiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJnb29nbGVwbHVzIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJlbWFpbCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBvY2tldCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7ImhhY2tlcm5ld3MiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJzdHVtYmxldXBvbiI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsidHVtYmxyIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicGRmIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicHJpbnQiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX1d","sr-sizes":"32px","sr-shapes":"diamond","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"7","open_popup":""}},
|
21 |
|
22 |
+
"sb-12":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7InR3aXR0ZXIiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJnb29nbGVwbHVzIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJlbWFpbCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBvY2tldCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7ImhhY2tlcm5ld3MiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJzdHVtYmxldXBvbiI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsicHJpbnQiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX1d","sr-sizes":"48px","sr-shapes":"","sr-hover":"float","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"sw-2","sr-pad":"","text-styles":"in","more_sites":"7","open_popup":""}},
|
23 |
|
24 |
+
"sb-a-1":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IjEiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiU2hhcmUgb24gRmFjZWJvb2siLCJjb3VudCI6IiJ9fSx7InR3aXR0ZXIiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJnb29nbGVwbHVzIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJlbWFpbCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"squircle-2","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"sw-icon-1","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
25 |
|
26 |
+
"sb-a-2":{"features":["buttons"],"settings":{"selected_sites":"W3sidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IlR3ZWV0ICEiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIxIn19LHsiZmFjZWJvb2siOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBpbnRlcmVzdCI6eyJjb3VudCI6IiIsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsibGlua2VkaW4iOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"circle","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
27 |
|
28 |
+
"sb-a-3":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IlNoYXJlIG9uIEZhY2Vib29rIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiMSJ9fSx7InR3aXR0ZXIiOnsiY3VzdG9tX3RleHQiOiJUd2VldCAhIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsiZ29vZ2xlcGx1cyI6eyJjb3VudCI6IiIsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicGludGVyZXN0Ijp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJsaW5rZWRpbiI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsiZW1haWwiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX1d","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
29 |
|
30 |
+
"sb-a-4":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IlNoYXJlIG9uIEZhY2Vib29rIiwiY291bnQiOiIifX0seyJ0d2l0dGVyIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiVHdlZXQgISJ9fSx7Imdvb2dsZXBsdXMiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7InBpbnRlcmVzdCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsibGlua2VkaW4iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"bdr-md","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
31 |
|
32 |
+
"sb-a-5":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IlNoYXJlIG9uIEZhY2Vib29rIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJ0d2l0dGVyIjp7ImN1c3RvbV90ZXh0IjoiVHdlZXQgISIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBpbnRlcmVzdCI6eyJjb3VudCI6IiIsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsibGlua2VkaW4iOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"circle","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"","sr-border-color":"","sr-background-color":"bg-white","sr-count-style":"count-1","sr-shadow":"sw-1","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
33 |
|
34 |
+
"sb-13":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InR3aXR0ZXIiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwaW50ZXJlc3QiOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJlbWFpbCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InBvY2tldCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImhhY2tlcm5ld3MiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJzdHVtYmxldXBvbiI6eyJjb3VudCI6IiIsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicHJpbnQiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX1d","sr-sizes":"48px","sr-shapes":"","sr-hover":"zoom","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"7","open_popup":""}},
|
35 |
|
36 |
+
"sb-14":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7InR3aXR0ZXIiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJnb29nbGVwbHVzIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJlbWFpbCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBvY2tldCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7ImhhY2tlcm5ld3MiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJzdHVtYmxldXBvbiI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsicHJpbnQiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX1d","sr-sizes":"48px","sr-shapes":"ribbon","sr-hover":"sink","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"","text-styles":"in","more_sites":"7","open_popup":""}},
|
37 |
|
38 |
+
"sb-16":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7InR3aXR0ZXIiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJnb29nbGVwbHVzIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJlbWFpbCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBvY2tldCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7ImhhY2tlcm5ld3MiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJzdHVtYmxldXBvbiI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsicHJpbnQiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX1d","sr-sizes":"32px","sr-shapes":"circle","sr-hover":"zoom","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"7","open_popup":""}},
|
39 |
|
40 |
+
"sb-17":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7InR3aXR0ZXIiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJnb29nbGVwbHVzIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJlbWFpbCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBvY2tldCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7ImhhY2tlcm5ld3MiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJzdHVtYmxldXBvbiI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsicHJpbnQiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX1d","sr-sizes":"32px","sr-shapes":"","sr-hover":"float","sr-layout":"fluid","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"sw-2","sr-pad":"","text-styles":"in","more_sites":"7","open_popup":""}},
|
41 |
|
42 |
+
"sb-18":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InR3aXR0ZXIiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwaW50ZXJlc3QiOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJlbWFpbCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InBvY2tldCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImhhY2tlcm5ld3MiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJzdHVtYmxldXBvbiI6eyJjb3VudCI6IiIsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicHJpbnQiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX1d","sr-sizes":"32px","sr-shapes":"","sr-hover":"zoom","sr-layout":"fluid","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"bdr-md","sr-border-color":"","sr-background-color":"bg-white","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"7","open_popup":""}},
|
43 |
|
44 |
+
"sb-19":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7InR3aXR0ZXIiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJnb29nbGVwbHVzIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJlbWFpbCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBvY2tldCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7ImhhY2tlcm5ld3MiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJzdHVtYmxldXBvbiI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsicHJpbnQiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX1d","sr-sizes":"32px","sr-shapes":"squircle-2","sr-hover":"fade-white","sr-layout":"fluid","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"7","open_popup":""}},
|
45 |
|
46 |
+
"sb-20":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7InR3aXR0ZXIiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJnb29nbGVwbHVzIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJlbWFpbCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBvY2tldCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7ImhhY2tlcm5ld3MiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJzdHVtYmxldXBvbiI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsicHJpbnQiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX1d","sr-sizes":"32px","sr-shapes":"circle","sr-hover":"float","sr-layout":"fluid","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"7","open_popup":""}},
|
47 |
|
48 |
+
"sb-22":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InR3aXR0ZXIiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwaW50ZXJlc3QiOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJlbWFpbCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InBvY2tldCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InN0dW1ibGV1cG9uIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwcmludCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"zoom","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"bdr-md","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"6","open_popup":""}},
|
49 |
|
50 |
+
"sb-24":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InR3aXR0ZXIiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwaW50ZXJlc3QiOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJlbWFpbCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InBvY2tldCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InN0dW1ibGV1cG9uIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwcmludCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"zoom","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"bdr-md","sr-border-color":"bdr-dark","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"sw-icon-1","sr-pad":"pad","text-styles":"in","more_sites":"6","open_popup":""}},
|
51 |
|
52 |
+
"sb-26":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InR3aXR0ZXIiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwaW50ZXJlc3QiOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJlbWFpbCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InBvY2tldCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InN0dW1ibGV1cG9uIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwcmludCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fV0=","sr-sizes":"48px","sr-shapes":"squircle","sr-hover":"sink","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"6","open_popup":""}},
|
53 |
|
54 |
+
"sb-27":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7InR3aXR0ZXIiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJnb29nbGVwbHVzIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJlbWFpbCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBvY2tldCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InN0dW1ibGV1cG9uIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwcmludCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"drop","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"bdr-md","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"6","open_popup":""}},
|
55 |
|
56 |
+
"sb-29":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7InR3aXR0ZXIiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJnb29nbGVwbHVzIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJlbWFpbCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBvY2tldCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InN0dW1ibGV1cG9uIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwcmludCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"ribbon","sr-hover":"zoom","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"bdr-md","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"6","open_popup":""}},
|
57 |
|
58 |
+
"sb-30":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InR3aXR0ZXIiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwaW50ZXJlc3QiOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJlbWFpbCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InBvY2tldCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InN0dW1ibGV1cG9uIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwcmludCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"circle","sr-hover":"zoom","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"bdr-md","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-2","sr-shadow":"sw-1","sr-pad":"pad","text-styles":"in","more_sites":"6","open_popup":""}},
|
59 |
|
60 |
+
"sb-text-1":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsidHdpdHRlciI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsiZ29vZ2xlcGx1cyI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsiZW1haWwiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"zoom","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
61 |
|
62 |
+
"sb-text-2":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsidHdpdHRlciI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsiZ29vZ2xlcGx1cyI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsiZW1haWwiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
63 |
|
64 |
+
"sb-text-3":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZ29vZ2xlcGx1cyI6eyJjb3VudCI6IiIsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJwaW50ZXJlc3QiOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZW1haWwiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOjF9fV0=","sr-sizes":"32px","sr-shapes":"squircle-2","sr-hover":"zoom","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"bdr-md","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
65 |
|
66 |
+
"sb-text-4":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZ29vZ2xlcGx1cyI6eyJjb3VudCI6IiIsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJwaW50ZXJlc3QiOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZW1haWwiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOjF9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"float","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"sw-2","sr-pad":"","text-styles":"in","more_sites":"0","open_popup":""}},
|
67 |
|
68 |
+
"sb-text-7":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsidHdpdHRlciI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsiZ29vZ2xlcGx1cyI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsiZW1haWwiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"circle","sr-hover":"float","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"","sr-border-color":"","sr-background-color":"bg-white","sr-count-style":"count-1","sr-shadow":"sw-1","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
69 |
|
70 |
+
"sb-text-9":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsidHdpdHRlciI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsiZ29vZ2xlcGx1cyI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsiZW1haWwiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"sink","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"","text-styles":"in","more_sites":"0","open_popup":""}},
|
71 |
|
72 |
+
"sb-count-text-1":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZW1haWwiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOjF9fSx7InNob3J0bGluayI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6ZmFsc2V9fSx7InJlZGRpdCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6ZmFsc2V9fSx7ImxpbmtlZGluIjp7ImNvdW50IjpmYWxzZSwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOmZhbHNlfX0seyJwcmludCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6ZmFsc2V9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"float","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-3","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"4","open_popup":""}},
|
73 |
|
74 |
+
"sb-count-text-2":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoxfX0seyJnb29nbGVwbHVzIjp7InRleHQiOjEsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsicGludGVyZXN0Ijp7InRleHQiOjEsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsidHdpdHRlciI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsiZW1haWwiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InNob3J0bGluayI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwcmludCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"zoom","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-3","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"4","open_popup":""}},
|
75 |
|
76 |
+
"sb-count-text-5":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJ0d2l0dGVyIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZW1haWwiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOjF9fSx7InNob3J0bGluayI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InJlZGRpdCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwcmludCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"sink","sr-layout":"fluid","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-3","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"4","open_popup":""}},
|
77 |
|
78 |
+
"sb-count-bbl-2":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicmVkZGl0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsibGlua2VkaW4iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"squircle-2","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"bdr-md","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"bb-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"4","open_popup":""}},
|
79 |
|
80 |
+
"sb-count-bbl-5":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicmVkZGl0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsibGlua2VkaW4iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"squircle","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"bb-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"4","open_popup":""}},
|
81 |
|
82 |
+
"sb-only-text-1":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZ29vZ2xlcGx1cyI6eyJjb3VudCI6IiIsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJwaW50ZXJlc3QiOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsibGlua2VkaW4iOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsiZW1haWwiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOjF9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"no-icon","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
83 |
|
84 |
+
"sb-only-text-2":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsidHdpdHRlciI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsiZ29vZ2xlcGx1cyI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsibGlua2VkaW4iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZW1haWwiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"no-icon","icon_color":"","sr-border-width":"bdr-md","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
85 |
|
86 |
+
"sb-only-text-4":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsidHdpdHRlciI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsiZ29vZ2xlcGx1cyI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsibGlua2VkaW4iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZW1haWwiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"no-icon","icon_color":"#fff","sr-border-width":"bdr-md","sr-border-color":"bdr-dark","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"sw-icon-1","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
87 |
|
88 |
+
"sb-only-text-5":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsidHdpdHRlciI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsiZ29vZ2xlcGx1cyI6eyJ0ZXh0IjoxLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJwaW50ZXJlc3QiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiIsImNvdW50IjoiIn19LHsibGlua2VkaW4iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZW1haWwiOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"fluid","sr-font-size":"","sr-icon-display":"no-icon","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"sw-2","sr-pad":"","text-styles":"in","more_sites":"0","open_popup":""}},
|
89 |
|
90 |
+
"sb-spcl-1":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiU2hhcmUgb24gRmFjZWJvb2siLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOjF9fSx7InR3aXR0ZXIiOnsiY3VzdG9tX3RleHQiOiJUd2VldCIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6MX19LHsiZ29vZ2xlcGx1cyI6eyJjb3VudCI6MSwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwaW50ZXJlc3QiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsiZW1haWwiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJsaW5rZWRpbiI6eyJjb3VudCI6IiIsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoxfX0seyJzaG9ydGxpbmsiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJyZWRkaXQiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwcmludCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-2","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"4","open_popup":""}},
|
91 |
|
92 |
+
"sb-b-1":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6MSwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IlNoYXJlIG9uIEZhY2Vib29rIiwiY291bnQiOiIifX0seyJ0d2l0dGVyIjp7InRleHQiOjEsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiJTaGFyZSBvbiBUd2l0dGVyIn19XQ==","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"","text-styles":"in","more_sites":"0","open_popup":""}},
|
93 |
|
94 |
+
"sb-b-2":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsidHdpdHRlciI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIiLCJjb3VudCI6MX19LHsicGludGVyZXN0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOjF9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicG9ja2V0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicmVkZGl0Ijp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsiaGFja2VybmV3cyI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fSx7InN0dW1ibGV1cG9uIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOiIifX0seyJ0dW1ibHIiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJwZGYiOnsidGV4dCI6IiIsImN1c3RvbV91cmwiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3RleHQiOiIifX0seyJwcmludCI6eyJ0ZXh0IjoiIiwiY3VzdG9tX3VybCI6IiIsImljb24iOiIiLCJjdXN0b21fdGV4dCI6IiJ9fV0=","sr-sizes":"32px","sr-shapes":"circle","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"7","open_popup":""}},
|
95 |
|
96 |
+
"sb-b-7":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOjF9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicG9ja2V0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicmVkZGl0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic3R1bWJsZXVwb24iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBkZiI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"bdr-sm","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"count-3","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"5","open_popup":""}},
|
97 |
|
98 |
+
"sb-b-10":{"features":["buttons"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIiwiY291bnQiOjF9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic2hvcnRsaW5rIjp7InRleHQiOiIiLCJjdXN0b21fdXJsIjoiIiwiaWNvbiI6IiIsImN1c3RvbV90ZXh0IjoiIn19LHsicG9ja2V0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicmVkZGl0Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsic3R1bWJsZXVwb24iOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InBkZiI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"circle","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"","sr-border-width":"bdr-md","sr-border-color":"","sr-background-color":"bg-none","sr-count-style":"bb-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"5","open_popup":""}},
|
99 |
|
100 |
+
"sb_vl":{"features":["sharebar"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjpmYWxzZX19LHsicHJpbnQiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX1d","sr-sizes":"32px","sr-shapes":"squircle-2","sr-hover":"opacity","sr-layout":"vertical","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
101 |
|
102 |
+
"sb_vl_light":{"features":["sharebar"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InR3aXR0ZXIiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwaW50ZXJlc3QiOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJlbWFpbCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"vertical","sr-font-size":"","sr-icon-display":"","icon_color":"", "bg_color":"transparent","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
103 |
|
104 |
+
"sb_hl":{"features":["sharebar"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicHJpbnQiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX1d","sr-sizes":"32px","sr-shapes":"squircle-2","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"#fff","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}},
|
105 |
|
106 |
+
"sb_hl_light":{"features":["sharebar"],"settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InR3aXR0ZXIiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJnb29nbGVwbHVzIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJwaW50ZXJlc3QiOnsiY291bnQiOiIiLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoiIiwiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX0seyJlbWFpbCI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7InByaW50Ijp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19XQ==","sr-sizes":"32px","sr-shapes":"","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","icon_color":"", "bg_color":"transparent","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":""}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
|
108 |
}
|
admin/js/setup/sharebar.json
DELETED
@@ -1,111 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"fb_hl_sb": {
|
3 |
-
"service": "facebook",
|
4 |
-
"settings": {
|
5 |
-
"like_type": "button_count"
|
6 |
-
}
|
7 |
-
},
|
8 |
-
"fb_vl_sb": {
|
9 |
-
"service": "facebook",
|
10 |
-
"settings": {
|
11 |
-
"like_type": "box_count"
|
12 |
-
}
|
13 |
-
},
|
14 |
-
|
15 |
-
"twitter_hl_sb": {
|
16 |
-
"service": "twitter",
|
17 |
-
"settings": {}
|
18 |
-
},
|
19 |
-
"twitter_vl_sb": {
|
20 |
-
"service": "twitter",
|
21 |
-
"settings": {}
|
22 |
-
},
|
23 |
-
|
24 |
-
"gp_hl_sb": {
|
25 |
-
"service": "google_plus",
|
26 |
-
"settings": {
|
27 |
-
"size": "medium",
|
28 |
-
"annotation": "bubble"
|
29 |
-
}
|
30 |
-
},
|
31 |
-
"gp_vl_sb": {
|
32 |
-
"service": "google_plus",
|
33 |
-
"settings": {
|
34 |
-
"size": "tall",
|
35 |
-
"annotation": "bubble"
|
36 |
-
}
|
37 |
-
},
|
38 |
-
|
39 |
-
"pinterest_hl_sb": {
|
40 |
-
"service": "pinterest",
|
41 |
-
"settings": {}
|
42 |
-
},
|
43 |
-
"pinterest_vl_sb": {
|
44 |
-
"service": "pinterest",
|
45 |
-
"settings": {}
|
46 |
-
},
|
47 |
-
|
48 |
-
"linkedin_hl_sb": {
|
49 |
-
"service": "linkedin",
|
50 |
-
"settings": {}
|
51 |
-
},
|
52 |
-
"linkedin_vl_sb": {
|
53 |
-
"service": "linkedin",
|
54 |
-
"settings": {
|
55 |
-
"type": "top"
|
56 |
-
}
|
57 |
-
},
|
58 |
-
|
59 |
-
"pocket_hl_sb": {
|
60 |
-
"service": "pocket",
|
61 |
-
"settings": {}
|
62 |
-
},
|
63 |
-
"pocket_vl_sb": {
|
64 |
-
"service": "pocket",
|
65 |
-
"settings": {
|
66 |
-
"type": "top"
|
67 |
-
}
|
68 |
-
},
|
69 |
-
|
70 |
-
"stumbleupon_hl_sb": {
|
71 |
-
"service": "stumbleupon",
|
72 |
-
"settings": {}
|
73 |
-
},
|
74 |
-
"stumbleupon_vl_sb": {
|
75 |
-
"service": "stumbleupon",
|
76 |
-
"settings": {
|
77 |
-
"type": "5"
|
78 |
-
}
|
79 |
-
},
|
80 |
-
|
81 |
-
"reddit_hl_sb": {
|
82 |
-
"service": "reddit",
|
83 |
-
"settings": {}
|
84 |
-
},
|
85 |
-
"reddit_vl_sb": {
|
86 |
-
"service": "reddit",
|
87 |
-
"settings": {
|
88 |
-
"type": "button2"
|
89 |
-
}
|
90 |
-
},
|
91 |
-
|
92 |
-
"share_counter_vl_hl_sb": {
|
93 |
-
"service": "share_counter",
|
94 |
-
"settings": {
|
95 |
-
"add_services": [
|
96 |
-
"facebook",
|
97 |
-
"googleplus",
|
98 |
-
"linkedin",
|
99 |
-
"pinterest",
|
100 |
-
"stumbleupon"
|
101 |
-
],
|
102 |
-
"text": "Shares",
|
103 |
-
"counter_color": "#000"
|
104 |
-
}
|
105 |
-
},
|
106 |
-
|
107 |
-
"sb_hl":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicHJpbnQiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX1d","sr-sizes":"32px","sr-shapes":"squircle-2","sr-hover":"opacity","sr-layout":"","sr-font-size":"","sr-icon-display":"","sr-icon-color":"icon-white","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":"","title":"sb_hl","_feature":"sharebar"}},
|
108 |
-
|
109 |
-
"sb_vl":{"service":"social_buttons","settings":{"selected_sites":"W3siZmFjZWJvb2siOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsidHdpdHRlciI6eyJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7Imdvb2dsZXBsdXMiOnsiY291bnQiOjEsImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjoiIn19LHsicGludGVyZXN0Ijp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImxpbmtlZGluIjp7ImNvdW50IjoxLCJjdXN0b21fdGV4dCI6IiIsImljb24iOiIiLCJjdXN0b21fdXJsIjoiIiwidGV4dCI6IiJ9fSx7ImVtYWlsIjp7ImN1c3RvbV90ZXh0IjoiIiwiaWNvbiI6IiIsImN1c3RvbV91cmwiOiIiLCJ0ZXh0IjpmYWxzZX19LHsicHJpbnQiOnsiY3VzdG9tX3RleHQiOiIiLCJpY29uIjoiIiwiY3VzdG9tX3VybCI6IiIsInRleHQiOiIifX1d","sr-sizes":"32px","sr-shapes":"squircle-2","sr-hover":"opacity","sr-layout":"vertical","sr-font-size":"","sr-icon-display":"","sr-icon-color":"icon-white","sr-border-width":"","sr-border-color":"","sr-background-color":"","sr-count-style":"count-1","sr-shadow":"","sr-pad":"pad","text-styles":"in","more_sites":"0","open_popup":"","title":"sb_vl","_feature":"sharebar"}}
|
110 |
-
|
111 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/js/setup/templates.json
CHANGED
@@ -13,28 +13,12 @@
|
|
13 |
[ "fb_hl_lg", "twitter_hl_lg", "gp_hl_lg" ]
|
14 |
]
|
15 |
},
|
16 |
-
"template3": {
|
17 |
-
"name": "Template 3",
|
18 |
-
"category": "native",
|
19 |
-
"content": [
|
20 |
-
[ "html" ],
|
21 |
-
[ "fb_vl", "gp_vl", "linkedin_vl", "reddit_vl", "pocket_vl" ]
|
22 |
-
]
|
23 |
-
},
|
24 |
-
|
25 |
-
"template3a": {
|
26 |
-
"name": "Template 3a",
|
27 |
-
"category": "native",
|
28 |
-
"content": [
|
29 |
-
[ "fb_hl_nc", "twitter_hl", "gp_hl_nc", "linkedin_hl_nc", "pocket_hl_nc" ]
|
30 |
-
]
|
31 |
-
},
|
32 |
|
33 |
"template-spcl1": {
|
34 |
"name": "Template Spcl 1",
|
35 |
"category": "icons_text_count",
|
36 |
"content": [
|
37 |
-
[ "
|
38 |
]
|
39 |
},
|
40 |
|
@@ -42,7 +26,7 @@
|
|
42 |
"name": "Template Spcl 2",
|
43 |
"category": "native",
|
44 |
"content": [
|
45 |
-
[ "
|
46 |
[ "fb_hl", "gp_hl", "twitter_hl", "linkedin_hl", "pocket_hl" ]
|
47 |
]
|
48 |
},
|
@@ -59,7 +43,7 @@
|
|
59 |
"name": "Template spcl 4",
|
60 |
"category": "icons_text_count",
|
61 |
"content": [
|
62 |
-
[ "
|
63 |
]
|
64 |
},
|
65 |
|
@@ -119,14 +103,6 @@
|
|
119 |
]
|
120 |
},
|
121 |
|
122 |
-
"template11": {
|
123 |
-
"name": "Template 11",
|
124 |
-
"category": "icons_count",
|
125 |
-
"content": [
|
126 |
-
[ "sb-8" ]
|
127 |
-
]
|
128 |
-
},
|
129 |
-
|
130 |
"template12": {
|
131 |
"name": "Template 12",
|
132 |
"category": "icons_count",
|
@@ -135,14 +111,6 @@
|
|
135 |
]
|
136 |
},
|
137 |
|
138 |
-
"template12-a1": {
|
139 |
-
"name": "Template 12a",
|
140 |
-
"category": "icons_count",
|
141 |
-
"content": [
|
142 |
-
[ "sb-b-6" ]
|
143 |
-
]
|
144 |
-
},
|
145 |
-
|
146 |
"template12-1": {
|
147 |
"name": "Template 12-1",
|
148 |
"category": "icons_count",
|
@@ -159,46 +127,6 @@
|
|
159 |
]
|
160 |
},
|
161 |
|
162 |
-
"template12-2": {
|
163 |
-
"name": "Template 12-2",
|
164 |
-
"category": "icons_count",
|
165 |
-
"content": [
|
166 |
-
[ "sb-b-3" ]
|
167 |
-
]
|
168 |
-
},
|
169 |
-
|
170 |
-
"template12-a3": {
|
171 |
-
"name": "Template 12a3",
|
172 |
-
"category": "icons_count",
|
173 |
-
"content": [
|
174 |
-
[ "sb-b-8" ]
|
175 |
-
]
|
176 |
-
},
|
177 |
-
|
178 |
-
"template12-3": {
|
179 |
-
"name": "Template 12-3",
|
180 |
-
"category": "icons_count",
|
181 |
-
"content": [
|
182 |
-
[ "sb-b-4" ]
|
183 |
-
]
|
184 |
-
},
|
185 |
-
|
186 |
-
"template12-a4": {
|
187 |
-
"name": "Template 12a4",
|
188 |
-
"category": "icons_count",
|
189 |
-
"content": [
|
190 |
-
[ "sb-b-9" ]
|
191 |
-
]
|
192 |
-
},
|
193 |
-
|
194 |
-
"template12-4": {
|
195 |
-
"name": "Template 12-4",
|
196 |
-
"category": "icons_count",
|
197 |
-
"content": [
|
198 |
-
[ "sb-b-5" ]
|
199 |
-
]
|
200 |
-
},
|
201 |
-
|
202 |
"template12-a5": {
|
203 |
"name": "Template 12a5",
|
204 |
"category": "icons_count",
|
@@ -215,19 +143,11 @@
|
|
215 |
]
|
216 |
},
|
217 |
|
218 |
-
"template12-a6": {
|
219 |
-
"name": "Template 12a6",
|
220 |
-
"category": "icons_count",
|
221 |
-
"content": [
|
222 |
-
[ "sb-b-11" ]
|
223 |
-
]
|
224 |
-
},
|
225 |
-
|
226 |
"template12-cmb-1": {
|
227 |
"name": "Template 12cmb1",
|
228 |
"category": "icons_count",
|
229 |
"content": [
|
230 |
-
[ "
|
231 |
]
|
232 |
},
|
233 |
|
@@ -235,7 +155,7 @@
|
|
235 |
"name": "Template 12cmb2",
|
236 |
"category": "icons_count",
|
237 |
"content": [
|
238 |
-
[ "
|
239 |
]
|
240 |
},
|
241 |
|
@@ -243,23 +163,7 @@
|
|
243 |
"name": "Template 12cmb3",
|
244 |
"category": "icons_count",
|
245 |
"content": [
|
246 |
-
[ "
|
247 |
-
]
|
248 |
-
},
|
249 |
-
|
250 |
-
"template12-cmb-4": {
|
251 |
-
"name": "Template 12cmb4",
|
252 |
-
"category": "icons_count",
|
253 |
-
"content": [
|
254 |
-
[ "share_counter", "sb-5" ]
|
255 |
-
]
|
256 |
-
},
|
257 |
-
|
258 |
-
"template12-cmb-5": {
|
259 |
-
"name": "Template 12cmb5",
|
260 |
-
"category": "icons_count",
|
261 |
-
"content": [
|
262 |
-
[ "share_counter", "sb-6" ]
|
263 |
]
|
264 |
},
|
265 |
|
@@ -267,15 +171,7 @@
|
|
267 |
"name": "Template 12cmb6",
|
268 |
"category": "icons_count",
|
269 |
"content": [
|
270 |
-
[ "
|
271 |
-
]
|
272 |
-
},
|
273 |
-
|
274 |
-
"template12-cmb-7": {
|
275 |
-
"name": "Template 12cmb7",
|
276 |
-
"category": "icons_count",
|
277 |
-
"content": [
|
278 |
-
[ "share_counter", "sb-8" ]
|
279 |
]
|
280 |
},
|
281 |
|
@@ -283,7 +179,7 @@
|
|
283 |
"name": "Template 12cmb8",
|
284 |
"category": "icons_count",
|
285 |
"content": [
|
286 |
-
[ "
|
287 |
]
|
288 |
},
|
289 |
|
@@ -291,7 +187,7 @@
|
|
291 |
"name": "Template 12cmb9",
|
292 |
"category": "icons_count",
|
293 |
"content": [
|
294 |
-
[ "
|
295 |
]
|
296 |
},
|
297 |
|
@@ -327,14 +223,6 @@
|
|
327 |
]
|
328 |
},
|
329 |
|
330 |
-
"template18": {
|
331 |
-
"name": "Template 18",
|
332 |
-
"category": "just_icons",
|
333 |
-
"content": [
|
334 |
-
[ "sb-15" ]
|
335 |
-
]
|
336 |
-
},
|
337 |
-
|
338 |
"template19": {
|
339 |
"name": "Template 19",
|
340 |
"category": "just_icons",
|
@@ -375,14 +263,6 @@
|
|
375 |
]
|
376 |
},
|
377 |
|
378 |
-
"template24": {
|
379 |
-
"name": "Template 24",
|
380 |
-
"category": "just_icons",
|
381 |
-
"content": [
|
382 |
-
[ "sb-21" ]
|
383 |
-
]
|
384 |
-
},
|
385 |
-
|
386 |
"template25": {
|
387 |
"name": "Template 25",
|
388 |
"category": "just_icons",
|
@@ -391,14 +271,6 @@
|
|
391 |
]
|
392 |
},
|
393 |
|
394 |
-
"template26": {
|
395 |
-
"name": "Template 26",
|
396 |
-
"category": "just_icons",
|
397 |
-
"content": [
|
398 |
-
[ "sb-23" ]
|
399 |
-
]
|
400 |
-
},
|
401 |
-
|
402 |
"template27": {
|
403 |
"name": "Template 27",
|
404 |
"category": "just_icons",
|
@@ -407,14 +279,6 @@
|
|
407 |
]
|
408 |
},
|
409 |
|
410 |
-
"template28": {
|
411 |
-
"name": "Template 28",
|
412 |
-
"category": "just_icons",
|
413 |
-
"content": [
|
414 |
-
[ "sb-25" ]
|
415 |
-
]
|
416 |
-
},
|
417 |
-
|
418 |
"template29": {
|
419 |
"name": "Template 29",
|
420 |
"category": "just_icons",
|
@@ -431,14 +295,6 @@
|
|
431 |
]
|
432 |
},
|
433 |
|
434 |
-
"template31": {
|
435 |
-
"name": "Template 31",
|
436 |
-
"category": "just_icons",
|
437 |
-
"content": [
|
438 |
-
[ "sb-28" ]
|
439 |
-
]
|
440 |
-
},
|
441 |
-
|
442 |
"template32": {
|
443 |
"name": "Template 32",
|
444 |
"category": "just_icons",
|
@@ -455,14 +311,6 @@
|
|
455 |
]
|
456 |
},
|
457 |
|
458 |
-
"template34": {
|
459 |
-
"name": "Template 34",
|
460 |
-
"category": "just_icons",
|
461 |
-
"content": [
|
462 |
-
[ "sb-31" ]
|
463 |
-
]
|
464 |
-
},
|
465 |
-
|
466 |
"template35": {
|
467 |
"name": "Template 35",
|
468 |
"category": "icons_text",
|
@@ -495,22 +343,6 @@
|
|
495 |
]
|
496 |
},
|
497 |
|
498 |
-
"template39": {
|
499 |
-
"name": "Template 39",
|
500 |
-
"category": "icons_text",
|
501 |
-
"content": [
|
502 |
-
[ "sb-text-5" ]
|
503 |
-
]
|
504 |
-
},
|
505 |
-
|
506 |
-
"template40": {
|
507 |
-
"name": "Template 40",
|
508 |
-
"category": "icons_text",
|
509 |
-
"content": [
|
510 |
-
[ "sb-text-6" ]
|
511 |
-
]
|
512 |
-
},
|
513 |
-
|
514 |
"template41": {
|
515 |
"name": "Template 41",
|
516 |
"category": "icons_text",
|
@@ -519,14 +351,6 @@
|
|
519 |
]
|
520 |
},
|
521 |
|
522 |
-
"template42": {
|
523 |
-
"name": "Template 42",
|
524 |
-
"category": "icons_text",
|
525 |
-
"content": [
|
526 |
-
[ "sb-text-8" ]
|
527 |
-
]
|
528 |
-
},
|
529 |
-
|
530 |
"template43": {
|
531 |
"name": "Template 43",
|
532 |
"category": "icons_text",
|
@@ -535,14 +359,6 @@
|
|
535 |
]
|
536 |
},
|
537 |
|
538 |
-
"template44": {
|
539 |
-
"name": "Template 44",
|
540 |
-
"category": "icons_text",
|
541 |
-
"content": [
|
542 |
-
[ "sb-text-10" ]
|
543 |
-
]
|
544 |
-
},
|
545 |
-
|
546 |
"template45": {
|
547 |
"name": "Template 45",
|
548 |
"category": "icons_text_count",
|
@@ -559,22 +375,6 @@
|
|
559 |
]
|
560 |
},
|
561 |
|
562 |
-
"template47": {
|
563 |
-
"name": "Template 47",
|
564 |
-
"category": "icons_text_count",
|
565 |
-
"content": [
|
566 |
-
[ "sb-count-text-3" ]
|
567 |
-
]
|
568 |
-
},
|
569 |
-
|
570 |
-
"template48": {
|
571 |
-
"name": "Template 48",
|
572 |
-
"category": "icons_text_count",
|
573 |
-
"content": [
|
574 |
-
[ "sb-count-text-4" ]
|
575 |
-
]
|
576 |
-
},
|
577 |
-
|
578 |
"template49": {
|
579 |
"name": "Template 49",
|
580 |
"category": "full_width",
|
@@ -583,14 +383,6 @@
|
|
583 |
]
|
584 |
},
|
585 |
|
586 |
-
"template50": {
|
587 |
-
"name": "Template 50",
|
588 |
-
"category": "icons_text_count",
|
589 |
-
"content": [
|
590 |
-
[ "sb-count-bbl-1" ]
|
591 |
-
]
|
592 |
-
},
|
593 |
-
|
594 |
"template51": {
|
595 |
"name": "Template 51",
|
596 |
"category": "icons_text_count",
|
@@ -599,22 +391,6 @@
|
|
599 |
]
|
600 |
},
|
601 |
|
602 |
-
"template52": {
|
603 |
-
"name": "Template 52",
|
604 |
-
"category": "icons_text_count",
|
605 |
-
"content": [
|
606 |
-
[ "sb-count-bbl-3" ]
|
607 |
-
]
|
608 |
-
},
|
609 |
-
|
610 |
-
"template53": {
|
611 |
-
"name": "Template 53",
|
612 |
-
"category": "icons_text_count",
|
613 |
-
"content": [
|
614 |
-
[ "sb-count-bbl-4" ]
|
615 |
-
]
|
616 |
-
},
|
617 |
-
|
618 |
"template54": {
|
619 |
"name": "Template 54",
|
620 |
"category": "icons_text_count",
|
@@ -639,14 +415,6 @@
|
|
639 |
]
|
640 |
},
|
641 |
|
642 |
-
"template57": {
|
643 |
-
"name": "Template 57",
|
644 |
-
"category": "just_text",
|
645 |
-
"content": [
|
646 |
-
[ "sb-only-text-3" ]
|
647 |
-
]
|
648 |
-
},
|
649 |
-
|
650 |
"template58": {
|
651 |
"name": "Template 58",
|
652 |
"category": "just_text",
|
13 |
[ "fb_hl_lg", "twitter_hl_lg", "gp_hl_lg" ]
|
14 |
]
|
15 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
"template-spcl1": {
|
18 |
"name": "Template Spcl 1",
|
19 |
"category": "icons_text_count",
|
20 |
"content": [
|
21 |
+
[ "share_counter_hl", "sb-spcl-1" ]
|
22 |
]
|
23 |
},
|
24 |
|
26 |
"name": "Template Spcl 2",
|
27 |
"category": "native",
|
28 |
"content": [
|
29 |
+
[ "share_counter_vl", "sb-2" ],
|
30 |
[ "fb_hl", "gp_hl", "twitter_hl", "linkedin_hl", "pocket_hl" ]
|
31 |
]
|
32 |
},
|
43 |
"name": "Template spcl 4",
|
44 |
"category": "icons_text_count",
|
45 |
"content": [
|
46 |
+
[ "share_counter_hl", "sb-b-1" ]
|
47 |
]
|
48 |
},
|
49 |
|
103 |
]
|
104 |
},
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
"template12": {
|
107 |
"name": "Template 12",
|
108 |
"category": "icons_count",
|
111 |
]
|
112 |
},
|
113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
"template12-1": {
|
115 |
"name": "Template 12-1",
|
116 |
"category": "icons_count",
|
127 |
]
|
128 |
},
|
129 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
"template12-a5": {
|
131 |
"name": "Template 12a5",
|
132 |
"category": "icons_count",
|
143 |
]
|
144 |
},
|
145 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
"template12-cmb-1": {
|
147 |
"name": "Template 12cmb1",
|
148 |
"category": "icons_count",
|
149 |
"content": [
|
150 |
+
[ "share_counter_hl", "sb-2" ]
|
151 |
]
|
152 |
},
|
153 |
|
155 |
"name": "Template 12cmb2",
|
156 |
"category": "icons_count",
|
157 |
"content": [
|
158 |
+
[ "share_counter_hl", "sb-3" ]
|
159 |
]
|
160 |
},
|
161 |
|
163 |
"name": "Template 12cmb3",
|
164 |
"category": "icons_count",
|
165 |
"content": [
|
166 |
+
[ "share_counter_hl", "sb-4" ]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
]
|
168 |
},
|
169 |
|
171 |
"name": "Template 12cmb6",
|
172 |
"category": "icons_count",
|
173 |
"content": [
|
174 |
+
[ "share_counter_hl", "sb-7" ]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
]
|
176 |
},
|
177 |
|
179 |
"name": "Template 12cmb8",
|
180 |
"category": "icons_count",
|
181 |
"content": [
|
182 |
+
[ "share_counter_vl", "sb-9" ]
|
183 |
]
|
184 |
},
|
185 |
|
187 |
"name": "Template 12cmb9",
|
188 |
"category": "icons_count",
|
189 |
"content": [
|
190 |
+
[ "share_counter_hl", "sb-10" ]
|
191 |
]
|
192 |
},
|
193 |
|
223 |
]
|
224 |
},
|
225 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
"template19": {
|
227 |
"name": "Template 19",
|
228 |
"category": "just_icons",
|
263 |
]
|
264 |
},
|
265 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
266 |
"template25": {
|
267 |
"name": "Template 25",
|
268 |
"category": "just_icons",
|
271 |
]
|
272 |
},
|
273 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
274 |
"template27": {
|
275 |
"name": "Template 27",
|
276 |
"category": "just_icons",
|
279 |
]
|
280 |
},
|
281 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
282 |
"template29": {
|
283 |
"name": "Template 29",
|
284 |
"category": "just_icons",
|
295 |
]
|
296 |
},
|
297 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
298 |
"template32": {
|
299 |
"name": "Template 32",
|
300 |
"category": "just_icons",
|
311 |
]
|
312 |
},
|
313 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
314 |
"template35": {
|
315 |
"name": "Template 35",
|
316 |
"category": "icons_text",
|
343 |
]
|
344 |
},
|
345 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
346 |
"template41": {
|
347 |
"name": "Template 41",
|
348 |
"category": "icons_text",
|
351 |
]
|
352 |
},
|
353 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
354 |
"template43": {
|
355 |
"name": "Template 43",
|
356 |
"category": "icons_text",
|
359 |
]
|
360 |
},
|
361 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
362 |
"template45": {
|
363 |
"name": "Template 45",
|
364 |
"category": "icons_text_count",
|
375 |
]
|
376 |
},
|
377 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
378 |
"template49": {
|
379 |
"name": "Template 49",
|
380 |
"category": "full_width",
|
383 |
]
|
384 |
},
|
385 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
386 |
"template51": {
|
387 |
"name": "Template 51",
|
388 |
"category": "icons_text_count",
|
391 |
]
|
392 |
},
|
393 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
394 |
"template54": {
|
395 |
"name": "Template 54",
|
396 |
"category": "icons_text_count",
|
415 |
]
|
416 |
},
|
417 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
418 |
"template58": {
|
419 |
"name": "Template 58",
|
420 |
"category": "just_text",
|
admin/mobile_sharebar.php
CHANGED
@@ -8,20 +8,29 @@ class wpsr_admin_mobile_sharebar{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => 'Mobile sharebar',
|
13 |
'page_callback' => array( $this, 'page' ),
|
14 |
-
'banner' => WPSR_ADMIN_URL . '/images/banners/mobile-sharebar.
|
|
|
15 |
'form' => array(
|
16 |
'id' => 'mobile_sharebar_settings',
|
17 |
'name' => 'mobile_sharebar_settings',
|
18 |
'callback' => array( $this, 'form_fields' ),
|
19 |
'validation' => array( $this, 'validation' ),
|
20 |
)
|
21 |
-
)
|
|
|
|
|
22 |
|
23 |
}
|
24 |
-
|
25 |
function form_fields( $values ){
|
26 |
|
27 |
$values = WPSR_Lists::set_defaults( $values, WPSR_Lists::defaults( 'mobile_sharebar' ) );
|
@@ -41,19 +50,19 @@ class wpsr_admin_mobile_sharebar{
|
|
41 |
|
42 |
echo '<div class="feature_wrap">';
|
43 |
|
44 |
-
$sb_sites = WPSR_Lists::
|
45 |
|
46 |
WPSR_Admin::box_wrap( 'open', __( 'Add buttons to mobile sharebar', 'wpsr' ), __( 'Select buttons from the list below and add it to the selected list.', 'wpsr' ), '2' );
|
47 |
-
echo '<table class="form-table"><tr><td width="90%">';
|
48 |
echo '<select class="ssb_list widefat">';
|
49 |
foreach( $sb_sites as $id=>$prop ){
|
50 |
if( in_array( 'for_share', $prop[ 'features' ] ) ){
|
51 |
-
echo '<option value="' . $id . '">' . $prop[ 'name' ] . '</option>';
|
52 |
}
|
53 |
}
|
54 |
echo '</select>';
|
55 |
echo '</td><td>';
|
56 |
-
echo '<button class="button button-primary ssb_add">' . __( 'Add button', 'wpsr' ) . '</button>';
|
57 |
echo '</td></tr></table>';
|
58 |
|
59 |
echo '<h4>' . __( 'Selected buttons', 'wpsr' ) . '</h4>';
|
@@ -69,7 +78,7 @@ class wpsr_admin_mobile_sharebar{
|
|
69 |
if( count( $msb_btns ) > 0 ){
|
70 |
foreach( $msb_btns as $msb_item ){
|
71 |
$sb_info = $sb_sites[ $msb_item ];
|
72 |
-
echo '<li title="' . $sb_info[ 'name' ] . '" data-id="' . $msb_item . '"><i class="
|
73 |
}
|
74 |
}else{
|
75 |
echo '<span class="ssb_empty">' . __( 'No buttons are selected for text sharebar', 'wpsr' ) . '</span>';
|
@@ -82,13 +91,14 @@ class wpsr_admin_mobile_sharebar{
|
|
82 |
# Settings form
|
83 |
$section2 = array(
|
84 |
|
85 |
-
array( __( 'Button size', 'wpsr' ), WPSR_Admin::field( '
|
86 |
'name' => 'size',
|
87 |
'value' => $values['size'],
|
88 |
'list' => array(
|
89 |
-
'32px' => '32px',
|
90 |
-
'
|
91 |
-
'
|
|
|
92 |
)
|
93 |
))),
|
94 |
|
@@ -96,7 +106,7 @@ class wpsr_admin_mobile_sharebar{
|
|
96 |
'name' => 'bg_color',
|
97 |
'value' => $values['bg_color'],
|
98 |
'class' => 'color_picker',
|
99 |
-
'helper' => __( 'Set empty value to use
|
100 |
))),
|
101 |
|
102 |
array( __( 'Icon color', 'wpsr' ), WPSR_Admin::field( 'text', array(
|
@@ -105,12 +115,22 @@ class wpsr_admin_mobile_sharebar{
|
|
105 |
'class' => 'color_picker'
|
106 |
))),
|
107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
array( __( 'Gutters', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
109 |
'name' => 'pad',
|
110 |
'value' => $values['pad'],
|
111 |
'list' => array(
|
112 |
'' => __( 'No', 'wpsr' ),
|
113 |
-
'pad' => __( '
|
114 |
),
|
115 |
'helper' => __( 'Select to add space between buttons', 'wpsr' )
|
116 |
))),
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_admin_page', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
}
|
14 |
+
|
15 |
+
function register( $pages ){
|
16 |
+
|
17 |
+
$pages[ 'mobile_sharebar' ] = array(
|
18 |
'name' => 'Mobile sharebar',
|
19 |
'page_callback' => array( $this, 'page' ),
|
20 |
+
'banner' => WPSR_ADMIN_URL . '/images/banners/mobile-sharebar.svg',
|
21 |
+
'feature' => true,
|
22 |
'form' => array(
|
23 |
'id' => 'mobile_sharebar_settings',
|
24 |
'name' => 'mobile_sharebar_settings',
|
25 |
'callback' => array( $this, 'form_fields' ),
|
26 |
'validation' => array( $this, 'validation' ),
|
27 |
)
|
28 |
+
);
|
29 |
+
|
30 |
+
return $pages;
|
31 |
|
32 |
}
|
33 |
+
|
34 |
function form_fields( $values ){
|
35 |
|
36 |
$values = WPSR_Lists::set_defaults( $values, WPSR_Lists::defaults( 'mobile_sharebar' ) );
|
50 |
|
51 |
echo '<div class="feature_wrap">';
|
52 |
|
53 |
+
$sb_sites = WPSR_Lists::social_icons();
|
54 |
|
55 |
WPSR_Admin::box_wrap( 'open', __( 'Add buttons to mobile sharebar', 'wpsr' ), __( 'Select buttons from the list below and add it to the selected list.', 'wpsr' ), '2' );
|
56 |
+
echo '<table class="form-table ssb_tbl"><tr><td width="90%">';
|
57 |
echo '<select class="ssb_list widefat">';
|
58 |
foreach( $sb_sites as $id=>$prop ){
|
59 |
if( in_array( 'for_share', $prop[ 'features' ] ) ){
|
60 |
+
echo '<option value="' . $id . '" data-color="' . $prop['colors'][0] . '">' . $prop[ 'name' ] . '</option>';
|
61 |
}
|
62 |
}
|
63 |
echo '</select>';
|
64 |
echo '</td><td>';
|
65 |
+
echo '<button class="button button-primary ssb_add"><i class="fa fa-plus"></i> ' . __( 'Add button', 'wpsr' ) . '</button>';
|
66 |
echo '</td></tr></table>';
|
67 |
|
68 |
echo '<h4>' . __( 'Selected buttons', 'wpsr' ) . '</h4>';
|
78 |
if( count( $msb_btns ) > 0 ){
|
79 |
foreach( $msb_btns as $msb_item ){
|
80 |
$sb_info = $sb_sites[ $msb_item ];
|
81 |
+
echo '<li title="' . $sb_info[ 'name' ] . '" data-id="' . $msb_item . '" style="background-color:' . $sb_info['colors'][0] . '"><i class="' . $sb_info[ 'icon' ] . '"></i> <span class="ssb_remove" title="' . __( 'Delete button', 'wpsr' ) . '">x</span></li>';
|
82 |
}
|
83 |
}else{
|
84 |
echo '<span class="ssb_empty">' . __( 'No buttons are selected for text sharebar', 'wpsr' ) . '</span>';
|
91 |
# Settings form
|
92 |
$section2 = array(
|
93 |
|
94 |
+
array( __( 'Button size', 'wpsr' ), WPSR_Admin::field( 'image_select', array(
|
95 |
'name' => 'size',
|
96 |
'value' => $values['size'],
|
97 |
'list' => array(
|
98 |
+
'32px' => array( '32px', 'size.svg', '32px' ),
|
99 |
+
'40px' => array( '40px', 'size.svg', '40px' ),
|
100 |
+
'48px' => array( '48px', 'size.svg', '48px' ),
|
101 |
+
'64px' => array( '64px', 'size.svg', '64px' ),
|
102 |
)
|
103 |
))),
|
104 |
|
106 |
'name' => 'bg_color',
|
107 |
'value' => $values['bg_color'],
|
108 |
'class' => 'color_picker',
|
109 |
+
'helper' => __( 'Set empty value to use brand color', 'wpsr' )
|
110 |
))),
|
111 |
|
112 |
array( __( 'Icon color', 'wpsr' ), WPSR_Admin::field( 'text', array(
|
115 |
'class' => 'color_picker'
|
116 |
))),
|
117 |
|
118 |
+
array( __( 'Hide on scroll', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
119 |
+
'name' => 'hide_on_scroll',
|
120 |
+
'value' => $values['hide_on_scroll'],
|
121 |
+
'list' => array(
|
122 |
+
'yes' => __( 'Yes', 'wpsr' ),
|
123 |
+
'no' => __( 'No', 'wpsr' )
|
124 |
+
),
|
125 |
+
'helper' => __( 'Select yes to hide sharebar on scrolling up', 'wpsr' )
|
126 |
+
))),
|
127 |
+
|
128 |
array( __( 'Gutters', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
129 |
'name' => 'pad',
|
130 |
'value' => $values['pad'],
|
131 |
'list' => array(
|
132 |
'' => __( 'No', 'wpsr' ),
|
133 |
+
'pad' => __( 'Yes', 'wpsr' )
|
134 |
),
|
135 |
'helper' => __( 'Select to add space between buttons', 'wpsr' )
|
136 |
))),
|
admin/setup.php
CHANGED
@@ -10,6 +10,10 @@ class WPSR_Admin_Setup{
|
|
10 |
|
11 |
public static function init(){
|
12 |
|
|
|
|
|
|
|
|
|
13 |
add_action( 'admin_menu', array( __CLASS__, 'admin_menu' ) );
|
14 |
|
15 |
// Enqueue the scripts and styles
|
@@ -20,6 +24,26 @@ class WPSR_Admin_Setup{
|
|
20 |
|
21 |
}
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
public static function admin_menu(){
|
24 |
|
25 |
add_submenu_page( 'wp_socializer', 'WP Socializer - Setup wizard', 'Setup wizard', 'manage_options', 'wp_socializer_setup', array( __class__, 'setup_page' ) );
|
@@ -30,7 +54,7 @@ class WPSR_Admin_Setup{
|
|
30 |
|
31 |
if( self::$pagehook == $hook ){
|
32 |
wp_enqueue_style( 'wpsr_setup_css', WPSR_ADMIN_URL . 'css/style_setup.css' );
|
33 |
-
wp_enqueue_style( 'wpsr_fa', WPSR_Lists::ext_res( 'font-awesome' ) );
|
34 |
wp_enqueue_style( 'wpsr_ipopup', WPSR_ADMIN_URL . 'css/ipopup.css' );
|
35 |
|
36 |
wp_enqueue_script( 'jquery' );
|
@@ -42,8 +66,8 @@ class WPSR_Admin_Setup{
|
|
42 |
|
43 |
public static function setup_page(){
|
44 |
|
45 |
-
$st_templates =
|
46 |
-
$st_buttons =
|
47 |
|
48 |
$pages = array(
|
49 |
'Start', 'Share buttons',
|
@@ -75,19 +99,19 @@ class WPSR_Admin_Setup{
|
|
75 |
|
76 |
echo '<footer class="footer">';
|
77 |
echo '<button class="button skip_btn" data-return="' . admin_url( 'admin.php?page=wp_socializer' ) . '">Skip setup</button>';
|
78 |
-
echo '<button class="button prev_btn"><
|
79 |
-
echo '<button class="button button-primary next_btn" data-next="Next" data-finish="Finish"><span class="text">Next</span> <
|
80 |
echo '</footer>';
|
81 |
|
82 |
|
83 |
echo '<div class="tmpl_popup">';
|
84 |
-
echo '<a href="#" class="tmpl_pp_close"><
|
85 |
echo '<h1>Select a template <small> ( You can edit/customize the template later )</small></h1>';
|
86 |
|
87 |
WPSR_Buttons::$temp_buttons = $st_buttons;
|
88 |
|
89 |
$supported_cats = array(
|
90 |
-
'native' => 'Native social
|
91 |
'icons_text_count' => 'Icons, text with counter',
|
92 |
'just_icons' => 'Just icons',
|
93 |
'icons_count' => 'Icons with counter',
|
@@ -123,7 +147,7 @@ class WPSR_Admin_Setup{
|
|
123 |
echo '</section>';
|
124 |
|
125 |
echo '<div class="tmpl_pp_footer"><button class="button tmpl_clear_btn"><i class="fa fa-times"></i> No template</button>
|
126 |
-
<button class="button button-primary tmpl_apply_btn"><i class="fa fa-check-circle"></i> Select this template</button> <a class="req_template" href="
|
127 |
echo '</div>';
|
128 |
WPSR_Buttons::$temp_buttons = array();
|
129 |
|
@@ -172,7 +196,7 @@ class WPSR_Admin_Setup{
|
|
172 |
public static function page3(){
|
173 |
|
174 |
echo '<div class="page" data-page="3">';
|
175 |
-
echo '<h1><i class="fa fa-cog"></i> <span class="cb_wrap"><input class="cb" id="ft_sharebar" type="checkbox" data-toggle="sharebar_wrap" /><label for="ft_sharebar"></label></span>';
|
176 |
echo 'Add a sharebar to your website ?</h1>';
|
177 |
|
178 |
$services = WPSR_Services::list_all();
|
@@ -189,7 +213,7 @@ class WPSR_Admin_Setup{
|
|
189 |
'list' => array(
|
190 |
'icons' => array( 'Social icons', 'social-icons-sb.png', '125px' ),
|
191 |
'icons_counter' => array( 'Social icons with counter', 'social-icons-counter-sb.png', '125px' ),
|
192 |
-
'native_buttons' => array( 'Native social
|
193 |
)
|
194 |
));
|
195 |
|
@@ -225,7 +249,7 @@ class WPSR_Admin_Setup{
|
|
225 |
public static function page4(){
|
226 |
|
227 |
echo '<div class="page" data-page="4">';
|
228 |
-
echo '<h1><i class="fa fa-cog"></i> <span class="cb_wrap"><input class="cb" id="ft_followbar" type="checkbox" data-toggle="followbar_wrap" /><label for="ft_followbar"></label></span>';
|
229 |
echo 'Add a Follow bar to your website ?</h1>';
|
230 |
|
231 |
echo '<div class="followbar_wrap hidden">';
|
@@ -248,13 +272,13 @@ class WPSR_Admin_Setup{
|
|
248 |
echo '<div class="page" data-page="5">';
|
249 |
echo '<h1><i class="fa fa-cog"></i> More features !</h1>';
|
250 |
|
251 |
-
echo '<p class="ft_more"><span class="cb_wrap"><input class="cb" id="ft_textsharebar" type="checkbox" /><label for="ft_textsharebar"></label></span>';
|
252 |
echo 'Add text sharebar to your posts and pages ?';
|
253 |
-
echo '
|
254 |
|
255 |
-
echo '<p class="ft_more"><span class="cb_wrap"><input class="cb" id="ft_mobilesharebar" type="checkbox" /><label for="ft_mobilesharebar"></label></span>';
|
256 |
echo 'Add a mobile sharebar to your website ?';
|
257 |
-
echo '
|
258 |
|
259 |
echo '</div>';
|
260 |
|
@@ -281,12 +305,12 @@ class WPSR_Admin_Setup{
|
|
281 |
|
282 |
echo '<p align="center" class="share_sec">';
|
283 |
echo '<span class="socializer a sr-32px sr-float sr-pad sr-icon-white sr-sw-1">
|
284 |
-
<span class="sr-twitter sr-text-in"><a href="https://twitter.com/intent/tweet?hashtags=wordpress&ref_src=twsrc%5Etfw&related=vaakash&text=Check%20out%20WP%20Socializer%2C%20a%20powerful%20social%20media%20share%20icons%2C%20buttons%20plugin%20for%20WordPress&tw_p=tweetbutton&url=https%3A%2F%2Fwww.aakashweb.com%2Fwordpress-plugins%2Fwp-socializer%2F&via=vaakash" target="_blank" title="Twitter"><i class="
|
285 |
-
<span class="sr-googleplus sr-text-in"><a href="https://plus.google.com/share?url=https%3A%2F%2Fwww.aakashweb.com%2Fwordpress-plugins%2Fwp-socializer%2F" target="_blank" title="Google Plus"><i class="
|
286 |
</span>
|
287 |
</p>';
|
288 |
|
289 |
-
echo '<section class="finish_footer"><a href="https://goo.gl/u8Zf09" target="_blank"><i class="fa fa-
|
290 |
|
291 |
echo '</div>';
|
292 |
echo '</div>';
|
@@ -351,7 +375,7 @@ class WPSR_Admin_Setup{
|
|
351 |
return false;
|
352 |
}
|
353 |
|
354 |
-
$st_buttons =
|
355 |
|
356 |
$saved_buttons = get_option( 'wpsr_buttons' );
|
357 |
$saved_buttons = is_array( $saved_buttons ) ? $saved_buttons : array();
|
@@ -373,7 +397,7 @@ class WPSR_Admin_Setup{
|
|
373 |
|
374 |
public static function template_info( $id ){
|
375 |
|
376 |
-
$st_templates =
|
377 |
$tmpl_info = array(
|
378 |
'data' => '',
|
379 |
'buttons' => array()
|
@@ -473,8 +497,8 @@ class WPSR_Admin_Setup{
|
|
473 |
return false;
|
474 |
}
|
475 |
|
476 |
-
$sharebar_btns =
|
477 |
-
$order_list = array( 'share_counter', '
|
478 |
$the_row = array();
|
479 |
|
480 |
foreach( $sharebar_btns as $id => $config ){
|
@@ -550,24 +574,6 @@ class WPSR_Admin_Setup{
|
|
550 |
update_option( 'wpsr_mobile_sharebar_settings', $opts );
|
551 |
}
|
552 |
|
553 |
-
public static function load_json( $name = 'buttons' ){
|
554 |
-
|
555 |
-
$file = WPSR_ADMIN_URL . '/js/setup/' . $name . '.json';
|
556 |
-
$response = wp_remote_get( $file );
|
557 |
-
|
558 |
-
if( is_wp_error( $response ) ){
|
559 |
-
return array();
|
560 |
-
}else{
|
561 |
-
if( $response[ 'response' ][ 'code' ] == 200 ){
|
562 |
-
$data = json_decode( wp_remote_retrieve_body( $response ), true );
|
563 |
-
return is_array( $data ) ? $data : array();
|
564 |
-
}else{
|
565 |
-
return array();
|
566 |
-
}
|
567 |
-
}
|
568 |
-
|
569 |
-
}
|
570 |
-
|
571 |
public static function dummy_page_info(){
|
572 |
return array(
|
573 |
'title' => 'Google',
|
10 |
|
11 |
public static function init(){
|
12 |
|
13 |
+
// Register the admin page with the plugin
|
14 |
+
add_filter( 'wpsr_register_admin_page', array( __CLASS__, 'register' ) );
|
15 |
+
|
16 |
+
// Register the admin menu
|
17 |
add_action( 'admin_menu', array( __CLASS__, 'admin_menu' ) );
|
18 |
|
19 |
// Enqueue the scripts and styles
|
24 |
|
25 |
}
|
26 |
|
27 |
+
public static function register( $pages ){
|
28 |
+
|
29 |
+
$pages[ 'setup' ] = array(
|
30 |
+
'name' => 'Setup wizard',
|
31 |
+
'page_callback' => '',
|
32 |
+
'feature' => true,
|
33 |
+
'banner' => WPSR_ADMIN_URL . '/images/banners/setup.png',
|
34 |
+
'link' => admin_url( 'admin.php?page=wp_socializer_setup' ),
|
35 |
+
'form' => array(
|
36 |
+
'id' => '',
|
37 |
+
'name' => '',
|
38 |
+
'callback' => '',
|
39 |
+
'validation' => '',
|
40 |
+
)
|
41 |
+
);
|
42 |
+
|
43 |
+
return $pages;
|
44 |
+
|
45 |
+
}
|
46 |
+
|
47 |
public static function admin_menu(){
|
48 |
|
49 |
add_submenu_page( 'wp_socializer', 'WP Socializer - Setup wizard', 'Setup wizard', 'manage_options', 'wp_socializer_setup', array( __class__, 'setup_page' ) );
|
54 |
|
55 |
if( self::$pagehook == $hook ){
|
56 |
wp_enqueue_style( 'wpsr_setup_css', WPSR_ADMIN_URL . 'css/style_setup.css' );
|
57 |
+
wp_enqueue_style( 'wpsr_fa', WPSR_Lists::ext_res( 'font-awesome-adm' ) );
|
58 |
wp_enqueue_style( 'wpsr_ipopup', WPSR_ADMIN_URL . 'css/ipopup.css' );
|
59 |
|
60 |
wp_enqueue_script( 'jquery' );
|
66 |
|
67 |
public static function setup_page(){
|
68 |
|
69 |
+
$st_templates = WPSR_Lists::load_json( 'templates' );
|
70 |
+
$st_buttons = WPSR_Services::list_templates( 'buttons' );
|
71 |
|
72 |
$pages = array(
|
73 |
'Start', 'Share buttons',
|
99 |
|
100 |
echo '<footer class="footer">';
|
101 |
echo '<button class="button skip_btn" data-return="' . admin_url( 'admin.php?page=wp_socializer' ) . '">Skip setup</button>';
|
102 |
+
echo '<button class="button prev_btn"><i class="fa fa-chevron-left"></i> Previous</button>';
|
103 |
+
echo '<button class="button button-primary next_btn" data-next="Next" data-finish="Finish"><span class="text">Next</span> <i class="fa fa-chevron-right"></i></button>';
|
104 |
echo '</footer>';
|
105 |
|
106 |
|
107 |
echo '<div class="tmpl_popup">';
|
108 |
+
echo '<a href="#" class="tmpl_pp_close"><i class="fa fa-times"></i></a>';
|
109 |
echo '<h1>Select a template <small> ( You can edit/customize the template later )</small></h1>';
|
110 |
|
111 |
WPSR_Buttons::$temp_buttons = $st_buttons;
|
112 |
|
113 |
$supported_cats = array(
|
114 |
+
'native' => 'Native social icons',
|
115 |
'icons_text_count' => 'Icons, text with counter',
|
116 |
'just_icons' => 'Just icons',
|
117 |
'icons_count' => 'Icons with counter',
|
147 |
echo '</section>';
|
148 |
|
149 |
echo '<div class="tmpl_pp_footer"><button class="button tmpl_clear_btn"><i class="fa fa-times"></i> No template</button>
|
150 |
+
<button class="button button-primary tmpl_apply_btn"><i class="fa fa-check-circle"></i> Select this template</button> <a class="req_template" href="http://bit.ly/wpsrForumNew" target="_blank">Request/submit template</a></div>';
|
151 |
echo '</div>';
|
152 |
WPSR_Buttons::$temp_buttons = array();
|
153 |
|
196 |
public static function page3(){
|
197 |
|
198 |
echo '<div class="page" data-page="3">';
|
199 |
+
echo '<h1><i class="fa fa-cog"></i> <span class="cb_wrap"><input class="cb" id="ft_sharebar" type="checkbox" data-toggle="sharebar_wrap" /><label for="ft_sharebar" class="fa"></label></span>';
|
200 |
echo 'Add a sharebar to your website ?</h1>';
|
201 |
|
202 |
$services = WPSR_Services::list_all();
|
213 |
'list' => array(
|
214 |
'icons' => array( 'Social icons', 'social-icons-sb.png', '125px' ),
|
215 |
'icons_counter' => array( 'Social icons with counter', 'social-icons-counter-sb.png', '125px' ),
|
216 |
+
'native_buttons' => array( 'Native social icons', 'native-buttons-sb.png', '125px' )
|
217 |
)
|
218 |
));
|
219 |
|
249 |
public static function page4(){
|
250 |
|
251 |
echo '<div class="page" data-page="4">';
|
252 |
+
echo '<h1><i class="fa fa-cog"></i> <span class="cb_wrap"><input class="cb" id="ft_followbar" type="checkbox" data-toggle="followbar_wrap" /><label for="ft_followbar" class="fa"></label></span>';
|
253 |
echo 'Add a Follow bar to your website ?</h1>';
|
254 |
|
255 |
echo '<div class="followbar_wrap hidden">';
|
272 |
echo '<div class="page" data-page="5">';
|
273 |
echo '<h1><i class="fa fa-cog"></i> More features !</h1>';
|
274 |
|
275 |
+
echo '<p class="ft_more"><span class="cb_wrap"><input class="cb" id="ft_textsharebar" type="checkbox" /><label for="ft_textsharebar" class="fa"></label></span>';
|
276 |
echo 'Add text sharebar to your posts and pages ?';
|
277 |
+
echo '</p>';
|
278 |
|
279 |
+
echo '<p class="ft_more"><span class="cb_wrap"><input class="cb" id="ft_mobilesharebar" type="checkbox" /><label for="ft_mobilesharebar" class="fa"></label></span>';
|
280 |
echo 'Add a mobile sharebar to your website ?';
|
281 |
+
echo '</p>';
|
282 |
|
283 |
echo '</div>';
|
284 |
|
305 |
|
306 |
echo '<p align="center" class="share_sec">';
|
307 |
echo '<span class="socializer a sr-32px sr-float sr-pad sr-icon-white sr-sw-1">
|
308 |
+
<span class="sr-twitter sr-text-in"><a href="https://twitter.com/intent/tweet?hashtags=wordpress&ref_src=twsrc%5Etfw&related=vaakash&text=Check%20out%20WP%20Socializer%2C%20a%20powerful%20social%20media%20share%20icons%2C%20buttons%20plugin%20for%20WordPress&tw_p=tweetbutton&url=https%3A%2F%2Fwww.aakashweb.com%2Fwordpress-plugins%2Fwp-socializer%2F&via=vaakash" target="_blank" title="Twitter"><i class="fab fa-twitter"></i><span class="text">Tweet about WP Socializer</span></a></span>
|
309 |
+
<span class="sr-googleplus sr-text-in"><a href="https://plus.google.com/share?url=https%3A%2F%2Fwww.aakashweb.com%2Fwordpress-plugins%2Fwp-socializer%2F" target="_blank" title="Google Plus"><i class="fab fa-google-plus"></i><span class="text">Share WP Socializer on Google+</span></a></span>
|
310 |
</span>
|
311 |
</p>';
|
312 |
|
313 |
+
echo '<section class="finish_footer"><a href="https://goo.gl/u8Zf09" target="_blank"><i class="fa fa-comment"></i> Send feedback</a> <a href="https://goo.gl/2DjGhD" class="fright" target="_blank"><i class="fa fa-star"></i> Rate and review</a></section>';
|
314 |
|
315 |
echo '</div>';
|
316 |
echo '</div>';
|
375 |
return false;
|
376 |
}
|
377 |
|
378 |
+
$st_buttons = WPSR_Services::list_templates( $feature );
|
379 |
|
380 |
$saved_buttons = get_option( 'wpsr_buttons' );
|
381 |
$saved_buttons = is_array( $saved_buttons ) ? $saved_buttons : array();
|
397 |
|
398 |
public static function template_info( $id ){
|
399 |
|
400 |
+
$st_templates = WPSR_Lists::load_json( 'templates' );
|
401 |
$tmpl_info = array(
|
402 |
'data' => '',
|
403 |
'buttons' => array()
|
497 |
return false;
|
498 |
}
|
499 |
|
500 |
+
$sharebar_btns = WPSR_Services::list_templates( 'sharebar' );
|
501 |
+
$order_list = array( 'share_counter', 'social_icons', 'facebook', 'google_plus', 'linkedin', 'stumbleupon', 'reddit', 'pinterest', 'twitter' );
|
502 |
$the_row = array();
|
503 |
|
504 |
foreach( $sharebar_btns as $id => $config ){
|
574 |
update_option( 'wpsr_mobile_sharebar_settings', $opts );
|
575 |
}
|
576 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
577 |
public static function dummy_page_info(){
|
578 |
return array(
|
579 |
'title' => 'Google',
|
admin/sharebar.php
CHANGED
@@ -8,20 +8,29 @@ class wpsr_admin_sharebar{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => 'Floating sharebar',
|
13 |
-
'banner' => WPSR_ADMIN_URL . '/images/banners/sharebar.
|
14 |
'page_callback' => array( $this, 'page' ),
|
|
|
15 |
'form' => array(
|
16 |
'id' => 'sharebar_settings',
|
17 |
'name' => 'sharebar_settings',
|
18 |
'callback' => array( $this, 'form_fields' ),
|
19 |
'validation' => array( $this, 'validation' ),
|
20 |
)
|
21 |
-
)
|
|
|
|
|
22 |
|
23 |
}
|
24 |
-
|
25 |
function form_fields( $values ){
|
26 |
|
27 |
$values = WPSR_Lists::set_defaults( $values, WPSR_Lists::defaults( 'sharebar' ) );
|
@@ -45,18 +54,7 @@ class wpsr_admin_sharebar{
|
|
45 |
WPSR_Admin::build_table( $section0, __( 'Enable/disable sharebar', 'wpsr' ), '', false, '1' );
|
46 |
|
47 |
echo '<div class="feature_wrap">';
|
48 |
-
|
49 |
-
WPSR_Admin::buttons_selector( $feature );
|
50 |
-
|
51 |
-
echo '<p>' . __( 'Created buttons', 'wpsr' ) . '</p>';
|
52 |
-
$buttons = WPSR_Buttons::list_all();
|
53 |
-
WPSR_Admin::buttons_list( 'all_buttons', $feature );
|
54 |
-
|
55 |
-
echo '<p>' .__( 'Drag the buttons from the above list and drop it into the template below.', 'wpsr' ) . '</p>';
|
56 |
-
WPSR_Admin::buttons_veditor( "buttons", $values['buttons'], false, false );
|
57 |
-
|
58 |
-
WPSR_Admin::box_wrap( 'close' );
|
59 |
-
|
60 |
$sb_types = array(
|
61 |
'vertical' => array( __( 'Vertical', 'wpsr' ), 'sb-vertical.png', '100px' ),
|
62 |
'horizontal' => array( __( 'Horizontal', 'wpsr' ), 'sb-horizontal.png', '100px' )
|
@@ -104,8 +102,14 @@ class wpsr_admin_sharebar{
|
|
104 |
|
105 |
);
|
106 |
|
107 |
-
WPSR_Admin::build_table( $section1, __( 'Sharebar type', 'wpsr' ), '', false, '
|
|
|
|
|
108 |
|
|
|
|
|
|
|
|
|
109 |
|
110 |
$themes = array(
|
111 |
'simple' => __( 'Simple', 'wpsr' ),
|
@@ -154,20 +158,20 @@ class wpsr_admin_sharebar{
|
|
154 |
'class' => 'color_picker',
|
155 |
))),
|
156 |
|
157 |
-
array( __( '
|
158 |
-
'name' => '
|
159 |
-
'value' => $values['
|
160 |
'list' => array(
|
161 |
-
'
|
162 |
-
'
|
163 |
),
|
164 |
))),
|
165 |
|
166 |
array( __( 'Offset from window/content', 'wpsr' ), WPSR_Admin::field( 'text', array(
|
167 |
'name' => 'offset',
|
168 |
'value' => $values['offset'],
|
169 |
-
'
|
170 |
-
))),
|
171 |
|
172 |
array( __( 'Additional CSS styles', 'wpsr' ), WPSR_Admin::field( 'text', array(
|
173 |
'name' => 'css_class',
|
@@ -186,13 +190,8 @@ class wpsr_admin_sharebar{
|
|
186 |
|
187 |
WPSR_Admin::build_table( $section2, __( 'Customization', 'wpsr' ), '', false, '4' );
|
188 |
|
189 |
-
WPSR_Admin::box_wrap( 'open', __( 'Preview and adjust the position of sharebar', 'wpsr' ), __( 'Click the button below to preview the sharebar and adjust its position in page.', 'wpsr' ), '5' );
|
190 |
-
echo '<button class="button button-primary sharebar_preview_btn" title="' . __( 'Click to show preview for sharebar', 'wpsr' ) . '"><i class="fa fa-cog fa-spin"></i> ' . __( 'Open preview and adjust position', 'wpsr' ) . '</button>';
|
191 |
-
echo '<div class="sharebar_preview_iwrap"><iframe src=""></iframe></div>';
|
192 |
-
WPSR_Admin::box_wrap( 'close' );
|
193 |
-
|
194 |
// Location rules
|
195 |
-
WPSR_Admin::box_wrap( 'open', __( 'Conditions to display the sharebar', 'wpsr' ), __( 'Choose the below options to select the pages which will display the sharebar.', 'wpsr' ), '
|
196 |
WPSR_Location_Rules::display_rules( "loc_rules", $values['loc_rules'] );
|
197 |
WPSR_Admin::box_wrap( 'close' );
|
198 |
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_admin_page', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
}
|
14 |
+
|
15 |
+
function register( $pages ){
|
16 |
+
|
17 |
+
$pages[ 'sharebar' ] = array(
|
18 |
'name' => 'Floating sharebar',
|
19 |
+
'banner' => WPSR_ADMIN_URL . '/images/banners/floating-sharebar.svg',
|
20 |
'page_callback' => array( $this, 'page' ),
|
21 |
+
'feature' => true,
|
22 |
'form' => array(
|
23 |
'id' => 'sharebar_settings',
|
24 |
'name' => 'sharebar_settings',
|
25 |
'callback' => array( $this, 'form_fields' ),
|
26 |
'validation' => array( $this, 'validation' ),
|
27 |
)
|
28 |
+
);
|
29 |
+
|
30 |
+
return $pages;
|
31 |
|
32 |
}
|
33 |
+
|
34 |
function form_fields( $values ){
|
35 |
|
36 |
$values = WPSR_Lists::set_defaults( $values, WPSR_Lists::defaults( 'sharebar' ) );
|
54 |
WPSR_Admin::build_table( $section0, __( 'Enable/disable sharebar', 'wpsr' ), '', false, '1' );
|
55 |
|
56 |
echo '<div class="feature_wrap">';
|
57 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
$sb_types = array(
|
59 |
'vertical' => array( __( 'Vertical', 'wpsr' ), 'sb-vertical.png', '100px' ),
|
60 |
'horizontal' => array( __( 'Horizontal', 'wpsr' ), 'sb-horizontal.png', '100px' )
|
102 |
|
103 |
);
|
104 |
|
105 |
+
WPSR_Admin::build_table( $section1, __( 'Sharebar type', 'wpsr' ), '', false, '2' );
|
106 |
+
|
107 |
+
WPSR_Admin::box_wrap( 'open', __( 'Add buttons to the sharebar', 'wpsr' ), __( 'Add sharing buttons to the sharebar template below', 'wpsr' ), '3' );
|
108 |
|
109 |
+
WPSR_Admin::buttons_veditor( "buttons", $values['buttons'], false, false );
|
110 |
+
WPSR_Buttons_Picker::print_buttons_picker($feature);
|
111 |
+
|
112 |
+
WPSR_Admin::box_wrap( 'close' );
|
113 |
|
114 |
$themes = array(
|
115 |
'simple' => __( 'Simple', 'wpsr' ),
|
158 |
'class' => 'color_picker',
|
159 |
))),
|
160 |
|
161 |
+
array( __( 'Initial state', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
162 |
+
'name' => 'init_state',
|
163 |
+
'value' => $values['init_state'],
|
164 |
'list' => array(
|
165 |
+
'open' => __( 'Opened', 'wpsr' ),
|
166 |
+
'close' => __( 'Closed', 'wpsr' )
|
167 |
),
|
168 |
))),
|
169 |
|
170 |
array( __( 'Offset from window/content', 'wpsr' ), WPSR_Admin::field( 'text', array(
|
171 |
'name' => 'offset',
|
172 |
'value' => $values['offset'],
|
173 |
+
'tip' => __( 'Pixels to offset the sharebar. You can also use the "adjust" button to edit visually.', 'wpsr' ),
|
174 |
+
)) . ' <button class="button button-primary sharebar_preview_btn" title="' . __( 'Edit the offset of the sharebar visually', 'wpsr' ) . '"><i class="fa fa-cog"></i> ' . __( 'Adjust position visually', 'wpsr' ) . '</button><div class="sharebar_preview_iwrap"><iframe src=""></iframe></div>' ),
|
175 |
|
176 |
array( __( 'Additional CSS styles', 'wpsr' ), WPSR_Admin::field( 'text', array(
|
177 |
'name' => 'css_class',
|
190 |
|
191 |
WPSR_Admin::build_table( $section2, __( 'Customization', 'wpsr' ), '', false, '4' );
|
192 |
|
|
|
|
|
|
|
|
|
|
|
193 |
// Location rules
|
194 |
+
WPSR_Admin::box_wrap( 'open', __( 'Conditions to display the sharebar', 'wpsr' ), __( 'Choose the below options to select the pages which will display the sharebar.', 'wpsr' ), '5' );
|
195 |
WPSR_Location_Rules::display_rules( "loc_rules", $values['loc_rules'] );
|
196 |
WPSR_Admin::box_wrap( 'close' );
|
197 |
|
admin/text_sharebar.php
CHANGED
@@ -8,20 +8,29 @@ class wpsr_admin_text_sharebar{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => 'Text sharebar',
|
13 |
'page_callback' => array( $this, 'page' ),
|
14 |
-
'banner' => WPSR_ADMIN_URL . '/images/banners/text-sharebar.
|
|
|
15 |
'form' => array(
|
16 |
'id' => 'text_sharebar_settings',
|
17 |
'name' => 'text_sharebar_settings',
|
18 |
'callback' => array( $this, 'form_fields' ),
|
19 |
'validation' => array( $this, 'validation' ),
|
20 |
)
|
21 |
-
)
|
|
|
|
|
22 |
|
23 |
}
|
24 |
-
|
25 |
function form_fields( $values ){
|
26 |
|
27 |
$values = WPSR_Lists::set_defaults( $values, WPSR_Lists::defaults( 'text_sharebar' ) );
|
@@ -41,14 +50,14 @@ class wpsr_admin_text_sharebar{
|
|
41 |
|
42 |
echo '<div class="feature_wrap">';
|
43 |
|
44 |
-
$sb_sites = WPSR_Lists::
|
45 |
|
46 |
WPSR_Admin::box_wrap( 'open', __( 'Add buttons to text sharebar', 'wpsr' ), __( 'Select buttons from the list below and add it to the selected list.', 'wpsr' ), '2' );
|
47 |
-
echo '<table class="form-table"><tr><td width="90%">';
|
48 |
echo '<select class="ssb_list widefat">';
|
49 |
foreach( $sb_sites as $id=>$prop ){
|
50 |
if( in_array( 'for_tsb', $prop[ 'features' ] ) ){
|
51 |
-
echo '<option value="' . $id . '">' . $prop[ 'name' ] . '</option>';
|
52 |
}
|
53 |
}
|
54 |
echo '</select>';
|
@@ -69,7 +78,7 @@ class wpsr_admin_text_sharebar{
|
|
69 |
if( count( $tsb_btns ) > 0 ){
|
70 |
foreach( $tsb_btns as $tsb_item ){
|
71 |
$sb_info = $sb_sites[ $tsb_item ];
|
72 |
-
echo '<li title="' . $sb_info[ 'name' ] . '" data-id="' . $tsb_item . '"><i class="
|
73 |
}
|
74 |
}else{
|
75 |
echo '<span class="ssb_empty">' . __( 'No buttons are selected for text sharebar', 'wpsr' ) . '</span>';
|
@@ -89,13 +98,14 @@ class wpsr_admin_text_sharebar{
|
|
89 |
'qtip' => 'https://www.youtube.com/watch?v=GQ1YO0xZ7WA'
|
90 |
))),
|
91 |
|
92 |
-
array( __( 'Button size', 'wpsr' ), WPSR_Admin::field( '
|
93 |
'name' => 'size',
|
94 |
'value' => $values['size'],
|
95 |
'list' => array(
|
96 |
-
'32px' => '32px',
|
97 |
-
'
|
98 |
-
'
|
|
|
99 |
),
|
100 |
'tip' => WPSR_ADMIN_URL . '/images/tips/tsb-sizes.png'
|
101 |
))),
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_admin_page', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
}
|
14 |
+
|
15 |
+
function register( $pages ){
|
16 |
+
|
17 |
+
$pages[ 'text_sharebar' ] = array(
|
18 |
'name' => 'Text sharebar',
|
19 |
'page_callback' => array( $this, 'page' ),
|
20 |
+
'banner' => WPSR_ADMIN_URL . '/images/banners/text-sharebar.svg',
|
21 |
+
'feature' => true,
|
22 |
'form' => array(
|
23 |
'id' => 'text_sharebar_settings',
|
24 |
'name' => 'text_sharebar_settings',
|
25 |
'callback' => array( $this, 'form_fields' ),
|
26 |
'validation' => array( $this, 'validation' ),
|
27 |
)
|
28 |
+
);
|
29 |
+
|
30 |
+
return $pages;
|
31 |
|
32 |
}
|
33 |
+
|
34 |
function form_fields( $values ){
|
35 |
|
36 |
$values = WPSR_Lists::set_defaults( $values, WPSR_Lists::defaults( 'text_sharebar' ) );
|
50 |
|
51 |
echo '<div class="feature_wrap">';
|
52 |
|
53 |
+
$sb_sites = WPSR_Lists::social_icons();
|
54 |
|
55 |
WPSR_Admin::box_wrap( 'open', __( 'Add buttons to text sharebar', 'wpsr' ), __( 'Select buttons from the list below and add it to the selected list.', 'wpsr' ), '2' );
|
56 |
+
echo '<table class="form-table ssb_tbl"><tr><td width="90%">';
|
57 |
echo '<select class="ssb_list widefat">';
|
58 |
foreach( $sb_sites as $id=>$prop ){
|
59 |
if( in_array( 'for_tsb', $prop[ 'features' ] ) ){
|
60 |
+
echo '<option value="' . $id . '" data-color="' . $prop['colors'][0] . '">' . $prop[ 'name' ] . '</option>';
|
61 |
}
|
62 |
}
|
63 |
echo '</select>';
|
78 |
if( count( $tsb_btns ) > 0 ){
|
79 |
foreach( $tsb_btns as $tsb_item ){
|
80 |
$sb_info = $sb_sites[ $tsb_item ];
|
81 |
+
echo '<li title="' . $sb_info[ 'name' ] . '" data-id="' . $tsb_item . '" style="background-color:' . $sb_info['colors'][0] . '"><i class="' . $sb_info[ 'icon' ] . '"></i> <span class="ssb_remove" title="' . __( 'Delete button', 'wpsr' ) . '">x</span></li>';
|
82 |
}
|
83 |
}else{
|
84 |
echo '<span class="ssb_empty">' . __( 'No buttons are selected for text sharebar', 'wpsr' ) . '</span>';
|
98 |
'qtip' => 'https://www.youtube.com/watch?v=GQ1YO0xZ7WA'
|
99 |
))),
|
100 |
|
101 |
+
array( __( 'Button size', 'wpsr' ), WPSR_Admin::field( 'image_select', array(
|
102 |
'name' => 'size',
|
103 |
'value' => $values['size'],
|
104 |
'list' => array(
|
105 |
+
'32px' => array( '32px', 'size.svg', '32px' ),
|
106 |
+
'40px' => array( '40px', 'size.svg', '40px' ),
|
107 |
+
'48px' => array( '48px', 'size.svg', '48px' ),
|
108 |
+
'64px' => array( '64px', 'size.svg', '64px' ),
|
109 |
),
|
110 |
'tip' => WPSR_ADMIN_URL . '/images/tips/tsb-sizes.png'
|
111 |
))),
|
admin/widgets.php
CHANGED
@@ -8,15 +8,26 @@ class wpsr_admin_widgets{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => __( 'Widgets', 'wpsr' ),
|
13 |
'page_callback' => array( $this, 'page' ),
|
|
|
|
|
|
|
14 |
'form' => array(
|
15 |
'id' => 'widgets',
|
16 |
'name' => 'widgets',
|
17 |
'callback' => ''
|
18 |
)
|
19 |
-
)
|
|
|
|
|
20 |
|
21 |
}
|
22 |
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_admin_page', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
}
|
14 |
+
|
15 |
+
function register( $pages ){
|
16 |
+
|
17 |
+
$pages[ 'widgets' ] = array(
|
18 |
'name' => __( 'Widgets', 'wpsr' ),
|
19 |
'page_callback' => array( $this, 'page' ),
|
20 |
+
'banner' => WPSR_ADMIN_URL . '/images/banners/widgets.svg',
|
21 |
+
'link' => admin_url('widgets.php#wp-socializer'),
|
22 |
+
'feature' => true,
|
23 |
'form' => array(
|
24 |
'id' => 'widgets',
|
25 |
'name' => 'widgets',
|
26 |
'callback' => ''
|
27 |
)
|
28 |
+
);
|
29 |
+
|
30 |
+
return $pages;
|
31 |
|
32 |
}
|
33 |
|
core/buttons.php
CHANGED
@@ -59,8 +59,8 @@ class WPSR_Buttons{
|
|
59 |
$html .= '<li data-service="' . esc_attr( $service_id ) . '" data-id="' . esc_attr( $button_id ) . '" class="ui_btn">';
|
60 |
$html .= '<span class="btn_icon"><img src="' . esc_attr( $service['icons'] ) . '" /></span>';
|
61 |
$html .= '<span class="btn_name">' . $service['name'] . '</span>';
|
62 |
-
$html .= '<
|
63 |
-
$html .= '<
|
64 |
$html .= '</li>';
|
65 |
$temp[ 'html' ] = $html;
|
66 |
|
@@ -188,6 +188,11 @@ class WPSR_Buttons{
|
|
188 |
|
189 |
$button = $buttons[ $id ];
|
190 |
$service_id = $button[ 'service' ];
|
|
|
|
|
|
|
|
|
|
|
191 |
$service = $services[ $service_id ];
|
192 |
|
193 |
// Inject feature name for processing
|
@@ -239,7 +244,7 @@ class WPSR_Buttons{
|
|
239 |
$buttons = self::get_temp_buttons();
|
240 |
}
|
241 |
|
242 |
-
return $buttons;
|
243 |
}
|
244 |
|
245 |
public static function generate_button_id( $service_id ){
|
59 |
$html .= '<li data-service="' . esc_attr( $service_id ) . '" data-id="' . esc_attr( $button_id ) . '" class="ui_btn">';
|
60 |
$html .= '<span class="btn_icon"><img src="' . esc_attr( $service['icons'] ) . '" /></span>';
|
61 |
$html .= '<span class="btn_name">' . $service['name'] . '</span>';
|
62 |
+
$html .= '<i class="btn_action btn_delete fa fa-trash-alt" title="' . __( 'Delete button', 'wpsr' ) . '"></i>';
|
63 |
+
$html .= '<i class="btn_action btn_edit fa fa-cog" title="' . __( 'Settings', 'wpsr') . '"></i>';
|
64 |
$html .= '</li>';
|
65 |
$temp[ 'html' ] = $html;
|
66 |
|
188 |
|
189 |
$button = $buttons[ $id ];
|
190 |
$service_id = $button[ 'service' ];
|
191 |
+
|
192 |
+
if( !array_key_exists( $service_id, $services ) ){
|
193 |
+
return '';
|
194 |
+
}
|
195 |
+
|
196 |
$service = $services[ $service_id ];
|
197 |
|
198 |
// Inject feature name for processing
|
244 |
$buttons = self::get_temp_buttons();
|
245 |
}
|
246 |
|
247 |
+
return apply_filters( 'wpsr_mod_buttons_list', $buttons );
|
248 |
}
|
249 |
|
250 |
public static function generate_button_id( $service_id ){
|
core/includes.php
CHANGED
@@ -15,7 +15,7 @@ class WPSR_Includes{
|
|
15 |
self::register( array(
|
16 |
'main_css' => array(
|
17 |
'type' => 'css',
|
18 |
-
'link' => WPSR_URL . 'public/css/
|
19 |
'deps' => array(),
|
20 |
'version' => WPSR_VERSION
|
21 |
),
|
@@ -130,6 +130,11 @@ class WPSR_Includes{
|
|
130 |
|
131 |
echo "\n<!-- WP Socializer " . WPSR_VERSION . " - JS - Start -->\n";
|
132 |
foreach( $active_includes as $a_inc ){
|
|
|
|
|
|
|
|
|
|
|
133 |
if( array_key_exists( $a_inc, $includes ) ){
|
134 |
$inc_info = $includes[ $a_inc ];
|
135 |
if( $inc_info[ 'type' ] == 'js' ){
|
@@ -171,6 +176,10 @@ class WPSR_Includes{
|
|
171 |
|
172 |
foreach( $includes as $inc_id => $inc_info ){
|
173 |
|
|
|
|
|
|
|
|
|
174 |
if( $inc_info[ 'type' ] == 'css' ){
|
175 |
|
176 |
if( isset( $inc_info[ 'link' ] ) ){
|
@@ -224,6 +233,24 @@ class WPSR_Includes{
|
|
224 |
|
225 |
}
|
226 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
}
|
228 |
|
229 |
WPSR_Includes::init();
|
15 |
self::register( array(
|
16 |
'main_css' => array(
|
17 |
'type' => 'css',
|
18 |
+
'link' => WPSR_URL . 'public/css/wpsr.min.css',
|
19 |
'deps' => array(),
|
20 |
'version' => WPSR_VERSION
|
21 |
),
|
130 |
|
131 |
echo "\n<!-- WP Socializer " . WPSR_VERSION . " - JS - Start -->\n";
|
132 |
foreach( $active_includes as $a_inc ){
|
133 |
+
|
134 |
+
if( self::skip_include( $a_inc ) ){
|
135 |
+
continue;
|
136 |
+
}
|
137 |
+
|
138 |
if( array_key_exists( $a_inc, $includes ) ){
|
139 |
$inc_info = $includes[ $a_inc ];
|
140 |
if( $inc_info[ 'type' ] == 'js' ){
|
176 |
|
177 |
foreach( $includes as $inc_id => $inc_info ){
|
178 |
|
179 |
+
if( self::skip_include( $inc_id ) ){
|
180 |
+
continue;
|
181 |
+
}
|
182 |
+
|
183 |
if( $inc_info[ 'type' ] == 'css' ){
|
184 |
|
185 |
if( isset( $inc_info[ 'link' ] ) ){
|
233 |
|
234 |
}
|
235 |
|
236 |
+
public static function skip_include( $id ){
|
237 |
+
|
238 |
+
$gsettings = WPSR_Lists::set_defaults( get_option( 'wpsr_general_settings' ), WPSR_Lists::defaults( 'gsettings_misc' ) );
|
239 |
+
$skip_res_load = $gsettings[ 'skip_res_load' ];
|
240 |
+
|
241 |
+
if( empty( $skip_res_load ) ){
|
242 |
+
return false;
|
243 |
+
}
|
244 |
+
|
245 |
+
$skip_res_load = array_map( 'trim', explode( ',', $skip_res_load ) );
|
246 |
+
|
247 |
+
if( in_array( $id, $skip_res_load ) ){
|
248 |
+
return true;
|
249 |
+
}else{
|
250 |
+
return false;
|
251 |
+
}
|
252 |
+
}
|
253 |
+
|
254 |
}
|
255 |
|
256 |
WPSR_Includes::init();
|
core/lists.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* List of social media sites for social
|
4 |
*
|
5 |
*/
|
6 |
|
@@ -28,15 +28,12 @@ class WPSR_Lists{
|
|
28 |
|
29 |
public static function ext_res( $name = 'all' ){
|
30 |
|
31 |
-
$res = array(
|
32 |
-
'font-awesome' => 'https://
|
33 |
-
'socializer-css' => 'https://cdn.rawgit.com/vaakash/socializer/aaa23968/css/socializer.min.css',
|
34 |
-
'socializer-js' => 'https://cdn.rawgit.com/vaakash/socializer/aaa23968/js/socializer.min.js',
|
35 |
-
'socializer-api' => 'https://cdn.rawgit.com/vaakash/socializer/aaa23968/misc/api.json',
|
36 |
'wp-socializer-cl' => 'https://raw.githubusercontent.com/vaakash/aakash-web/master/misc/wp-socializer/changelog/',
|
37 |
'jquery' => 'https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js',
|
38 |
'help' => 'https://raw.githubusercontent.com/vaakash/aakash-web/master/misc/wp-socializer/help.html'
|
39 |
-
);
|
40 |
|
41 |
if( array_key_exists( $name, $res ) ){
|
42 |
return $res[ $name ];
|
@@ -48,16 +45,83 @@ class WPSR_Lists{
|
|
48 |
|
49 |
}
|
50 |
|
51 |
-
public static function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
|
53 |
$g_settings = get_option( 'wpsr_general_settings' );
|
54 |
$g_settings = WPSR_Lists::set_defaults( $g_settings, self::defaults( 'gsettings_socialbuttons' ) );
|
55 |
|
56 |
-
|
57 |
'addtofavorites' => array(
|
58 |
'name' => 'Add to favorites',
|
59 |
'title' => 'Add to favorites',
|
60 |
-
'icon' => 'star',
|
61 |
'link' => '#',
|
62 |
'onclick' => 'socializer_addbookmark(event)',
|
63 |
'options' => array(),
|
@@ -68,7 +132,7 @@ class WPSR_Lists{
|
|
68 |
'behance' => array(
|
69 |
'name' => 'Behance',
|
70 |
'title' => __('', 'wpsr') . 'Behance',
|
71 |
-
'icon' => 'behance',
|
72 |
'link' => 'https://www.behance.net/',
|
73 |
'options' => array(),
|
74 |
'features' => array( 'for_profile' ),
|
@@ -78,7 +142,7 @@ class WPSR_Lists{
|
|
78 |
'bitbucket' => array(
|
79 |
'name' => 'Bitbucket',
|
80 |
'title' => __('', 'wpsr') . 'Bitbucket',
|
81 |
-
'icon' => 'bitbucket',
|
82 |
'link' => 'https://bitbucket.org/',
|
83 |
'options' => array(),
|
84 |
'features' => array( 'for_profile' ),
|
@@ -88,7 +152,7 @@ class WPSR_Lists{
|
|
88 |
'blogger' => array(
|
89 |
'name' => 'Blogger',
|
90 |
'title' => __('Post this on ', 'wpsr') . 'Blogger',
|
91 |
-
'icon' => 'rss-square',
|
92 |
'link' => 'https://www.blogger.com/blog-this.g?u={url}&n={title}&t={excerpt}',
|
93 |
'options' => array(),
|
94 |
'features' => array( 'for_share', 'for_tsb' ),
|
@@ -98,7 +162,7 @@ class WPSR_Lists{
|
|
98 |
'codepen' => array(
|
99 |
'name' => 'CodePen',
|
100 |
'title' => __('', 'wpsr') . 'CodePen',
|
101 |
-
'icon' => 'codepen',
|
102 |
'link' => 'https://codepen.io/',
|
103 |
'options' => array(),
|
104 |
'features' => array( 'for_profile' ),
|
@@ -108,7 +172,7 @@ class WPSR_Lists{
|
|
108 |
'comments' => array(
|
109 |
'name' => 'Comments',
|
110 |
'title' => __('', 'wpsr') . 'Comments',
|
111 |
-
'icon' => 'comments',
|
112 |
'link' => '#',
|
113 |
'onclick' => 'document.querySelector(\'' . $g_settings[ 'sb_comment_sec' ] . '\').scrollIntoView(true);',
|
114 |
'options' => array(),
|
@@ -119,7 +183,7 @@ class WPSR_Lists{
|
|
119 |
'delicious' => array(
|
120 |
'name' => 'Delicious',
|
121 |
'title' => __('Post this on ', 'wpsr') . 'Delicious',
|
122 |
-
'icon' => 'delicious',
|
123 |
'link' => 'https://delicious.com/post?url={url}&title={title}¬es={excerpt}',
|
124 |
'options' => array(),
|
125 |
'features' => array( 'for_share' ),
|
@@ -129,7 +193,7 @@ class WPSR_Lists{
|
|
129 |
'deviantart' => array(
|
130 |
'name' => 'DeviantArt',
|
131 |
'title' => __('', 'wpsr') . 'DeviantArt',
|
132 |
-
'icon' => 'deviantart',
|
133 |
'link' => 'https://deviantart.com/',
|
134 |
'options' => array(),
|
135 |
'features' => array( 'for_profile' ),
|
@@ -139,7 +203,7 @@ class WPSR_Lists{
|
|
139 |
'digg' => array(
|
140 |
'name' => 'Digg',
|
141 |
'title' => __('Submit this to ', 'wpsr') . 'Digg',
|
142 |
-
'icon' => 'digg',
|
143 |
'link' => 'https://digg.com/submit?url={url}&title={title}',
|
144 |
'options' => array(),
|
145 |
'features' => array( 'for_share' ),
|
@@ -149,7 +213,7 @@ class WPSR_Lists{
|
|
149 |
'dribbble' => array(
|
150 |
'name' => 'Dribbble',
|
151 |
'title' => __('', 'wpsr') . 'Dribble',
|
152 |
-
'icon' => 'dribbble',
|
153 |
'link' => 'https://dribbble.com/',
|
154 |
'options' => array(),
|
155 |
'features' => array( 'for_profile' ),
|
@@ -159,7 +223,7 @@ class WPSR_Lists{
|
|
159 |
'email' => array(
|
160 |
'name' => 'Email',
|
161 |
'title' => __('Email this ', 'wpsr') . '',
|
162 |
-
'icon' => 'envelope',
|
163 |
'link' => 'mailto:?to=&subject={title}&body={excerpt}%20-%20{url}',
|
164 |
'options' => array(),
|
165 |
'features' => array( 'for_share', 'for_tsb' ),
|
@@ -169,7 +233,7 @@ class WPSR_Lists{
|
|
169 |
'facebook' => array(
|
170 |
'name' => 'Facebook',
|
171 |
'title' => __('Share this on ', 'wpsr') . 'Facebook',
|
172 |
-
'icon' => 'facebook',
|
173 |
'link' => 'https://www.facebook.com/share.php?u={url}',
|
174 |
'link_tsb' => 'https://www.facebook.com/share.php?u={url}"e={excerpt}',
|
175 |
'options' => array( 'count' ),
|
@@ -180,7 +244,7 @@ class WPSR_Lists{
|
|
180 |
'fbmessenger' => array(
|
181 |
'name' => 'Facebook messenger',
|
182 |
'title' => __('', 'wpsr') . 'Facebook messenger',
|
183 |
-
'icon' => 'comment',
|
184 |
'link' => 'fb-messenger://share?link={url}',
|
185 |
'options' => array(),
|
186 |
'features' => array( 'mobile_only', 'for_share' ),
|
@@ -190,7 +254,7 @@ class WPSR_Lists{
|
|
190 |
'flickr' => array(
|
191 |
'name' => 'Flickr',
|
192 |
'title' => __('', 'wpsr') . 'Flickr',
|
193 |
-
'icon' => 'flickr',
|
194 |
'link' => 'https://www.flickr.com',
|
195 |
'options' => array(),
|
196 |
'features' => array( 'for_profile' ),
|
@@ -200,7 +264,7 @@ class WPSR_Lists{
|
|
200 |
'github' => array(
|
201 |
'name' => 'Github',
|
202 |
'title' => __('', 'wpsr') . 'Github',
|
203 |
-
'icon' => 'github',
|
204 |
'link' => 'https://www.github.com/',
|
205 |
'options' => array(),
|
206 |
'features' => array( 'for_profile' ),
|
@@ -210,7 +274,7 @@ class WPSR_Lists{
|
|
210 |
'google' => array(
|
211 |
'name' => 'Google',
|
212 |
'title' => __('Bookmark this on ', 'wpsr') . 'Google','',
|
213 |
-
'icon' => 'google',
|
214 |
'link' => 'https://www.google.com/bookmarks/mark?op=edit&bkmk={url}&title={title}&annotation={excerpt}',
|
215 |
'options' => array(),
|
216 |
'features' => array( 'for_share', 'for_tsb' ),
|
@@ -220,7 +284,7 @@ class WPSR_Lists{
|
|
220 |
'googleplus' => array(
|
221 |
'name' => 'Google Plus',
|
222 |
'title' => __('Share this on ', 'wpsr') . 'Google Plus',
|
223 |
-
'icon' => 'google-plus',
|
224 |
'link' => 'https://plus.google.com/share?url={url}',
|
225 |
'options' => array( 'count' ),
|
226 |
'features' => array( 'for_share', 'for_profile' ),
|
@@ -230,7 +294,7 @@ class WPSR_Lists{
|
|
230 |
'hackernews' => array(
|
231 |
'name' => 'Hacker News',
|
232 |
'title' => __('Share this on ', 'wpsr') . 'HackerNews',
|
233 |
-
'icon' => 'hacker-news',
|
234 |
'link' => 'https://news.ycombinator.com/submitlink?u={url}&t={title}',
|
235 |
'options' => array(),
|
236 |
'features' => array( 'for_share' ),
|
@@ -240,17 +304,27 @@ class WPSR_Lists{
|
|
240 |
'instagram' => array(
|
241 |
'name' => 'Instagram',
|
242 |
'title' => __('', 'wpsr') . 'Instagram',
|
243 |
-
'icon' => 'instagram',
|
244 |
'link' => 'https://instagram.com',
|
245 |
'options' => array(),
|
246 |
'features' => array( 'for_profile' ),
|
247 |
'colors' => array( '#0d3c5f' ),
|
248 |
),
|
249 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
250 |
'linkedin' => array(
|
251 |
'name' => 'LinkedIn',
|
252 |
'title' => __('Add this to ', 'wpsr') . 'LinkedIn',
|
253 |
-
'icon' => 'linkedin',
|
254 |
'link' => 'https://www.linkedin.com/shareArticle?mini=true&url={url}&title={title}&summary={excerpt}',
|
255 |
'options' => array( 'count' ),
|
256 |
'features' => array( 'for_share', 'for_profile', 'for_tsb' ),
|
@@ -260,37 +334,47 @@ class WPSR_Lists{
|
|
260 |
'medium' => array(
|
261 |
'name' => 'Medium',
|
262 |
'title' => __('', 'wpsr') . 'Medium',
|
263 |
-
'icon' => 'medium',
|
264 |
'link' => 'https://medium.com',
|
265 |
'options' => array(),
|
266 |
'features' => array( 'for_profile' ),
|
267 |
'colors' => array( '#02b875' ),
|
268 |
),
|
269 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
270 |
'paypal' => array(
|
271 |
'name' => 'PayPal',
|
272 |
'title' => __('', 'wpsr') . 'PayPal',
|
273 |
-
'icon' => 'paypal',
|
274 |
'link' => 'https://paypal.com',
|
275 |
'options' => array(),
|
276 |
'features' => array( 'for_profile' ),
|
277 |
'colors' => array( '#0070ba' ),
|
278 |
),
|
279 |
|
280 |
-
'flickr' => array(
|
281 |
-
'name' => 'Flickr',
|
282 |
-
'title' => __('', 'wpsr') . 'Flickr',
|
283 |
-
'icon' => 'flickr',
|
284 |
-
'link' => 'https://www.flickr.com',
|
285 |
-
'options' => array(),
|
286 |
-
'features' => array( 'for_profile' ),
|
287 |
-
'colors' => array( '#1c9be9' ),
|
288 |
-
),
|
289 |
-
|
290 |
'pdf' => array(
|
291 |
'name' => 'PDF',
|
292 |
'title' => __('Convert to ', 'wpsr') . 'PDF',
|
293 |
-
'icon' => 'file-pdf-o',
|
294 |
'link' => 'https://www.printfriendly.com/print?url={url}',
|
295 |
'options' => array(),
|
296 |
'features' => array( 'for_share' ),
|
@@ -300,7 +384,7 @@ class WPSR_Lists{
|
|
300 |
'pinterest' => array(
|
301 |
'name' => 'Pinterest',
|
302 |
'title' => __('Submit this to ', 'wpsr') . 'Pinterest',
|
303 |
-
'icon' => 'pinterest',
|
304 |
'link' => 'https://www.pinterest.com/pin/create/button/?url={url}&media={image}&description={excerpt}',
|
305 |
'options' => array( 'count' ),
|
306 |
'features' => array( 'for_share', 'for_profile', 'for_tsb' ),
|
@@ -310,7 +394,7 @@ class WPSR_Lists{
|
|
310 |
'pocket' => array(
|
311 |
'name' => 'Pocket',
|
312 |
'title' => __('Submit this to ', 'wpsr') . 'Pocket',
|
313 |
-
'icon' => 'get-pocket',
|
314 |
'link' => 'https://getpocket.com/save?url={url}&title={title}',
|
315 |
'options' => array(),
|
316 |
'features' => array( 'for_share' ),
|
@@ -320,7 +404,7 @@ class WPSR_Lists{
|
|
320 |
'print' => array(
|
321 |
'name' => 'Print',
|
322 |
'title' => __('Print this article ', 'wpsr') . '',
|
323 |
-
'icon' => 'print',
|
324 |
'link' => 'https://www.printfriendly.com/print?url={url}',
|
325 |
'options' => array(),
|
326 |
'features' => array( 'for_share' ),
|
@@ -330,17 +414,27 @@ class WPSR_Lists{
|
|
330 |
'reddit' => array(
|
331 |
'name' => 'Reddit',
|
332 |
'title' => __('Submit this to ', 'wpsr') . 'Reddit',
|
333 |
-
'icon' => 'reddit',
|
334 |
'link' => 'https://reddit.com/submit?url={url}&title={title}',
|
335 |
'options' => array(),
|
336 |
'features' => array( 'for_share' ),
|
337 |
'colors' => array( '#FF5600' ),
|
338 |
),
|
339 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
340 |
'rss' => array(
|
341 |
'name' => 'RSS',
|
342 |
'title' => __('Subscribe to ', 'wpsr') . 'RSS',
|
343 |
-
'icon' => 'rss',
|
344 |
'link' => '{rss-url}',
|
345 |
'options' => array(),
|
346 |
'features' => array( 'internal' ),
|
@@ -350,7 +444,7 @@ class WPSR_Lists{
|
|
350 |
'shortlink' => array(
|
351 |
'name' => 'Short link',
|
352 |
'title' => __('', 'wpsr') . 'Short link',
|
353 |
-
'icon' => 'link',
|
354 |
'link' => '{s-url}',
|
355 |
'onclick' => 'socializer_shortlink( event, this )',
|
356 |
'options' => array(),
|
@@ -361,17 +455,27 @@ class WPSR_Lists{
|
|
361 |
'snapchat' => array(
|
362 |
'name' => 'Snapchat',
|
363 |
'title' => __('', 'wpsr') . 'Snapchat',
|
364 |
-
'icon' => 'snapchat',
|
365 |
'link' => 'https://snapchat.com',
|
366 |
'options' => array(),
|
367 |
'features' => array( 'for_profile' ),
|
368 |
'colors' => array( '#FFFC00' ),
|
369 |
),
|
370 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
371 |
'soundcloud' => array(
|
372 |
'name' => 'Soundcloud',
|
373 |
'title' => __('', 'wpsr') . 'Soundcloud',
|
374 |
-
'icon' => 'soundcloud',
|
375 |
'link' => 'https://soundcloud.com/',
|
376 |
'options' => array(),
|
377 |
'features' => array( 'for_profile' ),
|
@@ -381,27 +485,17 @@ class WPSR_Lists{
|
|
381 |
'stackoverflow' => array(
|
382 |
'name' => 'StackOverflow',
|
383 |
'title' => __('', 'wpsr') . 'StackOverflow',
|
384 |
-
'icon' => 'stack-overflow',
|
385 |
'link' => 'https://stackoverflow.com/',
|
386 |
'options' => array(),
|
387 |
'features' => array( 'for_profile' ),
|
388 |
'colors' => array( '#F48024' ),
|
389 |
),
|
390 |
|
391 |
-
'stumbleupon' => array(
|
392 |
-
'name' => 'StumbleUpon',
|
393 |
-
'title' => __('Submit this to ', 'wpsr') . 'StumbleUpon',
|
394 |
-
'icon' => 'stumbleupon',
|
395 |
-
'link' => 'https://www.stumbleupon.com/submit?url={url}&title={title}',
|
396 |
-
'options' => array( 'count' ),
|
397 |
-
'features' => array( 'for_share' ),
|
398 |
-
'colors' => array( '#EB4823' ),
|
399 |
-
),
|
400 |
-
|
401 |
'quora' => array(
|
402 |
'name' => 'Quora',
|
403 |
'title' => __('', 'wpsr') . 'Quora',
|
404 |
-
'icon' => 'quora',
|
405 |
'link' => 'https://www.quora.com',
|
406 |
'options' => array(),
|
407 |
'features' => array( 'for_profile' ),
|
@@ -411,7 +505,7 @@ class WPSR_Lists{
|
|
411 |
'telegram' => array(
|
412 |
'name' => 'Telegram',
|
413 |
'title' => __('', 'wpsr') . 'Telegram',
|
414 |
-
'icon' => 'telegram',
|
415 |
'link' => 'https://telegram.me/share/url?url={url}&text={title}',
|
416 |
'options' => array(),
|
417 |
'features' => array( 'mobile_only', 'for_share' ),
|
@@ -421,7 +515,7 @@ class WPSR_Lists{
|
|
421 |
'tumblr' => array(
|
422 |
'name' => 'Tumblr',
|
423 |
'title' => __('Share this on ', 'wpsr') . 'Tumblr',
|
424 |
-
'icon' => 'tumblr',
|
425 |
'link' => 'https://www.tumblr.com/share?v=3&u={url}&t={title}&s={excerpt}',
|
426 |
'options' => array(),
|
427 |
'features' => array( 'for_share', 'for_tsb' ),
|
@@ -431,7 +525,7 @@ class WPSR_Lists{
|
|
431 |
'twitch' => array(
|
432 |
'name' => 'Twitch',
|
433 |
'title' => __('', 'wpsr') . 'Twitch',
|
434 |
-
'icon' => 'twitch',
|
435 |
'link' => 'https://www.twitch.tv/',
|
436 |
'options' => array(),
|
437 |
'features' => array( 'for_profile' ),
|
@@ -441,7 +535,7 @@ class WPSR_Lists{
|
|
441 |
'twitter' => array(
|
442 |
'name' => 'Twitter',
|
443 |
'title' => __('Tweet this !', 'wpsr') . '',
|
444 |
-
'icon' => 'twitter',
|
445 |
'link' => 'https://twitter.com/home?status={title}%20-%20{s-url}%20{twitter-username}',
|
446 |
'link_tsb' => 'https://twitter.com/home?status={excerpt}%20-%20{s-url}%20{twitter-username}',
|
447 |
'options' => array(),
|
@@ -452,7 +546,7 @@ class WPSR_Lists{
|
|
452 |
'vimeo' => array(
|
453 |
'name' => 'Vimeo',
|
454 |
'title' => __('', 'wpsr') . 'Vimeo',
|
455 |
-
'icon' => 'vimeo',
|
456 |
'link' => 'https://vimeo.com',
|
457 |
'options' => array(),
|
458 |
'features' => array( 'for_profile' ),
|
@@ -462,7 +556,7 @@ class WPSR_Lists{
|
|
462 |
'vkontakte' => array(
|
463 |
'name' => 'VKontakte',
|
464 |
'title' => __('Share this on ', 'wpsr') . 'VKontakte',
|
465 |
-
'icon' => 'vk',
|
466 |
'link' => 'https://vk.com/share.php?url={url}&title={title}&description={excerpt}',
|
467 |
'options' => array(),
|
468 |
'features' => array( 'for_share', 'for_tsb' ),
|
@@ -472,27 +566,37 @@ class WPSR_Lists{
|
|
472 |
'wechat' => array(
|
473 |
'name' => 'wechat',
|
474 |
'title' => __('', 'wpsr') . 'WeChat',
|
475 |
-
'icon' => 'wechat',
|
476 |
'link' => 'weixin://dl/chat?text={url}',
|
477 |
'options' => array(),
|
478 |
'features' => array( 'mobile_only', 'for_share' ),
|
479 |
'colors' => array( '#7BB32E' ),
|
480 |
),
|
481 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
482 |
'whatsapp' => array(
|
483 |
'name' => 'WhatsApp',
|
484 |
'title' => __('', 'wpsr') . 'WhatsApp',
|
485 |
-
'icon' => 'whatsapp',
|
486 |
-
'link' => 'whatsapp
|
487 |
'options' => array(),
|
488 |
-
'features' => array( '
|
489 |
'colors' => array( '#60b82d' ),
|
490 |
),
|
491 |
|
492 |
'xing' => array(
|
493 |
'name' => 'Xing',
|
494 |
'title' => __('Share this on ', 'wpsr') . 'Xing',
|
495 |
-
'icon' => 'xing',
|
496 |
'link' => 'https://www.xing.com/app/user?op=share&url={url}',
|
497 |
'options' => array(),
|
498 |
'features' => array( 'for_share' ),
|
@@ -502,7 +606,7 @@ class WPSR_Lists{
|
|
502 |
'yahoomail' => array(
|
503 |
'name' => 'Yahoo! Mail',
|
504 |
'title' => __('Add this to ', 'wpsr') . 'Yahoo! Mail',
|
505 |
-
'icon' => 'yahoo',
|
506 |
'link' => 'https://compose.mail.yahoo.com/?body={excerpt}%20-%20{url}&subject={title}',
|
507 |
'options' => array(),
|
508 |
'features' => array( 'for_share', 'for_tsb' ),
|
@@ -512,7 +616,7 @@ class WPSR_Lists{
|
|
512 |
'youtube' => array(
|
513 |
'name' => 'Youtube',
|
514 |
'title' => __('', 'wpsr') . 'Youtube',
|
515 |
-
'icon' => 'youtube-play',
|
516 |
'link' => 'https://youtube.com/',
|
517 |
'options' => array(),
|
518 |
'features' => array( 'for_profile' ),
|
@@ -521,6 +625,15 @@ class WPSR_Lists{
|
|
521 |
|
522 |
));
|
523 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
524 |
}
|
525 |
|
526 |
public static function sharethis(){
|
@@ -569,7 +682,7 @@ class WPSR_Lists{
|
|
569 |
|
570 |
if( $page == 'sharebar' ){
|
571 |
return array(
|
572 |
-
'ft_status' => '
|
573 |
'buttons' => 'eyIxIjp7InByb3BlcnRpZXMiOnt9LCJidXR0b25zIjpbXX19',
|
574 |
'type' => 'vertical',
|
575 |
'vl_position' => 'wleft',
|
@@ -581,7 +694,7 @@ class WPSR_Lists{
|
|
581 |
'offset' => '20px',
|
582 |
'bg_color' => '#ffffff',
|
583 |
'border_color' => '#cccccc',
|
584 |
-
'
|
585 |
'min_on_width' => '0',
|
586 |
'loc_rules' => array(
|
587 |
'type' => 'show_all',
|
@@ -597,7 +710,7 @@ class WPSR_Lists{
|
|
597 |
'template' => 'W10=',
|
598 |
'shape' => '',
|
599 |
'size' => '32px',
|
600 |
-
'
|
601 |
'bg_color' => '',
|
602 |
'icon_color' => '#ffffff',
|
603 |
'orientation' => 'vertical',
|
@@ -639,6 +752,7 @@ class WPSR_Lists{
|
|
639 |
'size' => '48px',
|
640 |
'bg_color' => '',
|
641 |
'icon_color' => '#ffffff',
|
|
|
642 |
'pad' => '',
|
643 |
'loc_rules' => array(
|
644 |
'type' => 'show_all',
|
@@ -686,10 +800,36 @@ class WPSR_Lists{
|
|
686 |
|
687 |
if( $page == 'gsettings_misc' ){
|
688 |
return array(
|
689 |
-
'
|
|
|
|
|
690 |
);
|
691 |
}
|
692 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
693 |
}
|
694 |
|
695 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* List of social media sites for social icons, sharethis, default values for admin pages and list of external resoruces
|
4 |
*
|
5 |
*/
|
6 |
|
28 |
|
29 |
public static function ext_res( $name = 'all' ){
|
30 |
|
31 |
+
$res = apply_filters( 'wpsr_mod_ext_res', array(
|
32 |
+
'font-awesome-adm' => 'https://use.fontawesome.com/releases/v5.3.1/css/all.css',
|
|
|
|
|
|
|
33 |
'wp-socializer-cl' => 'https://raw.githubusercontent.com/vaakash/aakash-web/master/misc/wp-socializer/changelog/',
|
34 |
'jquery' => 'https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js',
|
35 |
'help' => 'https://raw.githubusercontent.com/vaakash/aakash-web/master/misc/wp-socializer/help.html'
|
36 |
+
));
|
37 |
|
38 |
if( array_key_exists( $name, $res ) ){
|
39 |
return $res[ $name ];
|
45 |
|
46 |
}
|
47 |
|
48 |
+
public static function font_icons(){
|
49 |
+
|
50 |
+
return apply_filters( 'wpsr_mod_font_icons', array(
|
51 |
+
'fa4' => array(
|
52 |
+
'name' => 'Font awesome 4',
|
53 |
+
'type' => 'css',
|
54 |
+
'link' => 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css',
|
55 |
+
'deps' => array(),
|
56 |
+
'version' => WPSR_VERSION
|
57 |
+
),
|
58 |
+
'fa5' => array(
|
59 |
+
'name' => 'Font awesome 5',
|
60 |
+
'type' => 'css',
|
61 |
+
'link' => 'https://use.fontawesome.com/releases/v5.3.1/css/all.css',
|
62 |
+
'deps' => array(),
|
63 |
+
'version' => WPSR_VERSION,
|
64 |
+
'data' => array(
|
65 |
+
'key' => array( 'integrity', 'crossorigin' ),
|
66 |
+
'value' => array( 'sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU', 'anonymous' )
|
67 |
+
)
|
68 |
+
)
|
69 |
+
));
|
70 |
+
|
71 |
+
}
|
72 |
+
|
73 |
+
public static function get_font_icon(){
|
74 |
+
|
75 |
+
$font_icons = self::font_icons();
|
76 |
+
|
77 |
+
$gsettings = WPSR_Lists::set_defaults( get_option( 'wpsr_general_settings' ), WPSR_Lists::defaults( 'gsettings_misc' ) );
|
78 |
+
|
79 |
+
$sel_font_icon = $gsettings['font_icon'];
|
80 |
+
$sel_font_icon = ($sel_font_icon == '') ? 'fa4' : $sel_font_icon;
|
81 |
+
$sel_font_icon = is_admin() ? 'fa5' : $sel_font_icon;
|
82 |
+
|
83 |
+
$icon_props = array(
|
84 |
+
'id' => '',
|
85 |
+
'prop' => array()
|
86 |
+
);
|
87 |
+
|
88 |
+
if( array_key_exists( $sel_font_icon, $font_icons ) ){
|
89 |
+
$icon_props['id'] = $sel_font_icon;
|
90 |
+
$icon_props['prop'] = $font_icons[ $sel_font_icon ];
|
91 |
+
}
|
92 |
+
|
93 |
+
return $icon_props;
|
94 |
+
|
95 |
+
}
|
96 |
+
|
97 |
+
public static function load_json( $name = 'buttons' ){
|
98 |
+
|
99 |
+
$file = WPSR_ADMIN_URL . '/js/setup/' . $name . '.json';
|
100 |
+
$response = wp_remote_get( $file );
|
101 |
+
|
102 |
+
if( is_wp_error( $response ) ){
|
103 |
+
return array();
|
104 |
+
}else{
|
105 |
+
if( $response[ 'response' ][ 'code' ] == 200 ){
|
106 |
+
$data = json_decode( wp_remote_retrieve_body( $response ), true );
|
107 |
+
return is_array( $data ) ? $data : array();
|
108 |
+
}else{
|
109 |
+
return array();
|
110 |
+
}
|
111 |
+
}
|
112 |
+
|
113 |
+
}
|
114 |
+
|
115 |
+
public static function social_icons(){
|
116 |
|
117 |
$g_settings = get_option( 'wpsr_general_settings' );
|
118 |
$g_settings = WPSR_Lists::set_defaults( $g_settings, self::defaults( 'gsettings_socialbuttons' ) );
|
119 |
|
120 |
+
$all_icons = apply_filters( 'wpsr_mod_social_icons_list', array(
|
121 |
'addtofavorites' => array(
|
122 |
'name' => 'Add to favorites',
|
123 |
'title' => 'Add to favorites',
|
124 |
+
'icon' => array('fa4' => 'fa fa-star', 'fa5' => 'fa fa-star'),
|
125 |
'link' => '#',
|
126 |
'onclick' => 'socializer_addbookmark(event)',
|
127 |
'options' => array(),
|
132 |
'behance' => array(
|
133 |
'name' => 'Behance',
|
134 |
'title' => __('', 'wpsr') . 'Behance',
|
135 |
+
'icon' => array('fa4' => 'fa fa-behance', 'fa5' => 'fab fa-behance'),
|
136 |
'link' => 'https://www.behance.net/',
|
137 |
'options' => array(),
|
138 |
'features' => array( 'for_profile' ),
|
142 |
'bitbucket' => array(
|
143 |
'name' => 'Bitbucket',
|
144 |
'title' => __('', 'wpsr') . 'Bitbucket',
|
145 |
+
'icon' => array('fa4' => 'fa fa-bitbucket', 'fa5' => 'fab fa-bitbucket'),
|
146 |
'link' => 'https://bitbucket.org/',
|
147 |
'options' => array(),
|
148 |
'features' => array( 'for_profile' ),
|
152 |
'blogger' => array(
|
153 |
'name' => 'Blogger',
|
154 |
'title' => __('Post this on ', 'wpsr') . 'Blogger',
|
155 |
+
'icon' => array('fa4' => 'fa fa-rss', 'fa5' => 'fa fa-rss-square'),
|
156 |
'link' => 'https://www.blogger.com/blog-this.g?u={url}&n={title}&t={excerpt}',
|
157 |
'options' => array(),
|
158 |
'features' => array( 'for_share', 'for_tsb' ),
|
162 |
'codepen' => array(
|
163 |
'name' => 'CodePen',
|
164 |
'title' => __('', 'wpsr') . 'CodePen',
|
165 |
+
'icon' => array('fa4' => 'fa fa-codepen', 'fa5' => 'fab fa-codepen'),
|
166 |
'link' => 'https://codepen.io/',
|
167 |
'options' => array(),
|
168 |
'features' => array( 'for_profile' ),
|
172 |
'comments' => array(
|
173 |
'name' => 'Comments',
|
174 |
'title' => __('', 'wpsr') . 'Comments',
|
175 |
+
'icon' => array('fa4'=> 'fa fa-comment', 'fa5' => 'fa fa-comments'),
|
176 |
'link' => '#',
|
177 |
'onclick' => 'document.querySelector(\'' . $g_settings[ 'sb_comment_sec' ] . '\').scrollIntoView(true);',
|
178 |
'options' => array(),
|
183 |
'delicious' => array(
|
184 |
'name' => 'Delicious',
|
185 |
'title' => __('Post this on ', 'wpsr') . 'Delicious',
|
186 |
+
'icon' => array('fa4'=> 'fa fa-delicous', 'fa5' => 'fab fa-delicious'),
|
187 |
'link' => 'https://delicious.com/post?url={url}&title={title}¬es={excerpt}',
|
188 |
'options' => array(),
|
189 |
'features' => array( 'for_share' ),
|
193 |
'deviantart' => array(
|
194 |
'name' => 'DeviantArt',
|
195 |
'title' => __('', 'wpsr') . 'DeviantArt',
|
196 |
+
'icon' => array('fa4'=> 'fa fa-deviantart', 'fa5' => 'fab fa-deviantart'),
|
197 |
'link' => 'https://deviantart.com/',
|
198 |
'options' => array(),
|
199 |
'features' => array( 'for_profile' ),
|
203 |
'digg' => array(
|
204 |
'name' => 'Digg',
|
205 |
'title' => __('Submit this to ', 'wpsr') . 'Digg',
|
206 |
+
'icon' => array('fa4'=> 'fa fa-digg', 'fa5' => 'fab fa-digg'),
|
207 |
'link' => 'https://digg.com/submit?url={url}&title={title}',
|
208 |
'options' => array(),
|
209 |
'features' => array( 'for_share' ),
|
213 |
'dribbble' => array(
|
214 |
'name' => 'Dribbble',
|
215 |
'title' => __('', 'wpsr') . 'Dribble',
|
216 |
+
'icon' => array('fa4'=> 'fa fa-dribble', 'fa5' => 'fab fa-dribbble'),
|
217 |
'link' => 'https://dribbble.com/',
|
218 |
'options' => array(),
|
219 |
'features' => array( 'for_profile' ),
|
223 |
'email' => array(
|
224 |
'name' => 'Email',
|
225 |
'title' => __('Email this ', 'wpsr') . '',
|
226 |
+
'icon' => array('fa4'=> 'fa fa-envelope', 'fa5' => 'fa fa-envelope'),
|
227 |
'link' => 'mailto:?to=&subject={title}&body={excerpt}%20-%20{url}',
|
228 |
'options' => array(),
|
229 |
'features' => array( 'for_share', 'for_tsb' ),
|
233 |
'facebook' => array(
|
234 |
'name' => 'Facebook',
|
235 |
'title' => __('Share this on ', 'wpsr') . 'Facebook',
|
236 |
+
'icon' => array('fa4'=> 'fa fa-facebook-f', 'fa5' => 'fab fa-facebook-f'),
|
237 |
'link' => 'https://www.facebook.com/share.php?u={url}',
|
238 |
'link_tsb' => 'https://www.facebook.com/share.php?u={url}"e={excerpt}',
|
239 |
'options' => array( 'count' ),
|
244 |
'fbmessenger' => array(
|
245 |
'name' => 'Facebook messenger',
|
246 |
'title' => __('', 'wpsr') . 'Facebook messenger',
|
247 |
+
'icon' => array('fa4'=> 'fa fa-comment', 'fa5' => 'fab fa-facebook-messenger'),
|
248 |
'link' => 'fb-messenger://share?link={url}',
|
249 |
'options' => array(),
|
250 |
'features' => array( 'mobile_only', 'for_share' ),
|
254 |
'flickr' => array(
|
255 |
'name' => 'Flickr',
|
256 |
'title' => __('', 'wpsr') . 'Flickr',
|
257 |
+
'icon' => array('fa4'=> 'fa fa-flickr', 'fa5' => 'fab fa-flickr'),
|
258 |
'link' => 'https://www.flickr.com',
|
259 |
'options' => array(),
|
260 |
'features' => array( 'for_profile' ),
|
264 |
'github' => array(
|
265 |
'name' => 'Github',
|
266 |
'title' => __('', 'wpsr') . 'Github',
|
267 |
+
'icon' => array('fa4'=> 'fa fa-github', 'fa5' => 'fab fa-github'),
|
268 |
'link' => 'https://www.github.com/',
|
269 |
'options' => array(),
|
270 |
'features' => array( 'for_profile' ),
|
274 |
'google' => array(
|
275 |
'name' => 'Google',
|
276 |
'title' => __('Bookmark this on ', 'wpsr') . 'Google','',
|
277 |
+
'icon' => array('fa4'=> 'fa fa-google', 'fa5' => 'fab fa-google'),
|
278 |
'link' => 'https://www.google.com/bookmarks/mark?op=edit&bkmk={url}&title={title}&annotation={excerpt}',
|
279 |
'options' => array(),
|
280 |
'features' => array( 'for_share', 'for_tsb' ),
|
284 |
'googleplus' => array(
|
285 |
'name' => 'Google Plus',
|
286 |
'title' => __('Share this on ', 'wpsr') . 'Google Plus',
|
287 |
+
'icon' => array('fa4'=> 'fa fa-google-plus', 'fa5' => 'fab fa-google-plus-g'),
|
288 |
'link' => 'https://plus.google.com/share?url={url}',
|
289 |
'options' => array( 'count' ),
|
290 |
'features' => array( 'for_share', 'for_profile' ),
|
294 |
'hackernews' => array(
|
295 |
'name' => 'Hacker News',
|
296 |
'title' => __('Share this on ', 'wpsr') . 'HackerNews',
|
297 |
+
'icon' => array('fa4'=> 'fa fa-hacker-news', 'fa5' => 'fab fa-hacker-news'),
|
298 |
'link' => 'https://news.ycombinator.com/submitlink?u={url}&t={title}',
|
299 |
'options' => array(),
|
300 |
'features' => array( 'for_share' ),
|
304 |
'instagram' => array(
|
305 |
'name' => 'Instagram',
|
306 |
'title' => __('', 'wpsr') . 'Instagram',
|
307 |
+
'icon' => array('fa4'=> 'fa fa-instagram', 'fa5' => 'fab fa-instagram'),
|
308 |
'link' => 'https://instagram.com',
|
309 |
'options' => array(),
|
310 |
'features' => array( 'for_profile' ),
|
311 |
'colors' => array( '#0d3c5f' ),
|
312 |
),
|
313 |
|
314 |
+
'line' => array(
|
315 |
+
'name' => 'Line',
|
316 |
+
'title' => __('', 'wpsr') . 'Line',
|
317 |
+
'icon' => array('fa4'=> 'fa fa-line', 'fa5' => 'fab fa-line'),
|
318 |
+
'link' => 'https://social-plugins.line.me/lineit/share?url={url}',
|
319 |
+
'options' => array(),
|
320 |
+
'features' => array( 'for_share', 'mobile_only' ),
|
321 |
+
'colors' => array( '#00C300' ),
|
322 |
+
),
|
323 |
+
|
324 |
'linkedin' => array(
|
325 |
'name' => 'LinkedIn',
|
326 |
'title' => __('Add this to ', 'wpsr') . 'LinkedIn',
|
327 |
+
'icon' => array('fa4'=> 'fa fa-linkedin', 'fa5' => 'fab fa-linkedin-in'),
|
328 |
'link' => 'https://www.linkedin.com/shareArticle?mini=true&url={url}&title={title}&summary={excerpt}',
|
329 |
'options' => array( 'count' ),
|
330 |
'features' => array( 'for_share', 'for_profile', 'for_tsb' ),
|
334 |
'medium' => array(
|
335 |
'name' => 'Medium',
|
336 |
'title' => __('', 'wpsr') . 'Medium',
|
337 |
+
'icon' => array('fa4'=> 'fa fa-medium', 'fa5' => 'fab fa-medium-m'),
|
338 |
'link' => 'https://medium.com',
|
339 |
'options' => array(),
|
340 |
'features' => array( 'for_profile' ),
|
341 |
'colors' => array( '#02b875' ),
|
342 |
),
|
343 |
|
344 |
+
'mix' => array(
|
345 |
+
'name' => 'Mix',
|
346 |
+
'title' => __('', 'wpsr') . 'Mix',
|
347 |
+
'icon' => array('fa4'=> 'fa fa-mix', 'fa5' => 'fab fa-mix'),
|
348 |
+
'link' => 'https://mix.com/mixit?url={url}',
|
349 |
+
'options' => array(),
|
350 |
+
'features' => array( 'for_share' ),
|
351 |
+
'colors' => array( '#ff8226' ),
|
352 |
+
),
|
353 |
+
|
354 |
+
'odnoklassniki' => array(
|
355 |
+
'name' => 'Odnoklassniki',
|
356 |
+
'title' => __('', 'wpsr') . 'Odnoklassniki',
|
357 |
+
'icon' => array('fa4'=> 'fa fa-odnoklassniki', 'fa5' => 'fab fa-odnoklassniki'),
|
358 |
+
'link' => 'https://connect.ok.ru/dk?st.cmd=OAuth2Login&st.layout=w&st.redirect=%252Fdk%253Fcmd%253DWidgetSharePreview%2526amp%253Bst.cmd%253DWidgetSharePreview%2526amp%253Bst.shareUrl%253D{url}&st._wt=1&st.client_id=-1',
|
359 |
+
'options' => array(),
|
360 |
+
'features' => array( 'for_share', 'for_profile' ),
|
361 |
+
'colors' => array( '#F2720C' ),
|
362 |
+
),
|
363 |
+
|
364 |
'paypal' => array(
|
365 |
'name' => 'PayPal',
|
366 |
'title' => __('', 'wpsr') . 'PayPal',
|
367 |
+
'icon' => array('fa4'=> 'fa fa-paypal', 'fa5' => 'fab fa-paypal'),
|
368 |
'link' => 'https://paypal.com',
|
369 |
'options' => array(),
|
370 |
'features' => array( 'for_profile' ),
|
371 |
'colors' => array( '#0070ba' ),
|
372 |
),
|
373 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
374 |
'pdf' => array(
|
375 |
'name' => 'PDF',
|
376 |
'title' => __('Convert to ', 'wpsr') . 'PDF',
|
377 |
+
'icon' => array('fa4'=> 'fa fa-file-pdf-o', 'fa5' => 'fa fa-file-pdf'),
|
378 |
'link' => 'https://www.printfriendly.com/print?url={url}',
|
379 |
'options' => array(),
|
380 |
'features' => array( 'for_share' ),
|
384 |
'pinterest' => array(
|
385 |
'name' => 'Pinterest',
|
386 |
'title' => __('Submit this to ', 'wpsr') . 'Pinterest',
|
387 |
+
'icon' => array('fa4'=> 'fa fa-pinterest', 'fa5' => 'fab fa-pinterest'),
|
388 |
'link' => 'https://www.pinterest.com/pin/create/button/?url={url}&media={image}&description={excerpt}',
|
389 |
'options' => array( 'count' ),
|
390 |
'features' => array( 'for_share', 'for_profile', 'for_tsb' ),
|
394 |
'pocket' => array(
|
395 |
'name' => 'Pocket',
|
396 |
'title' => __('Submit this to ', 'wpsr') . 'Pocket',
|
397 |
+
'icon' => array('fa4'=> 'fa fa-get-pocket', 'fa5' => 'fab fa-get-pocket'),
|
398 |
'link' => 'https://getpocket.com/save?url={url}&title={title}',
|
399 |
'options' => array(),
|
400 |
'features' => array( 'for_share' ),
|
404 |
'print' => array(
|
405 |
'name' => 'Print',
|
406 |
'title' => __('Print this article ', 'wpsr') . '',
|
407 |
+
'icon' => array('fa4'=> 'fa fa-print', 'fa5' => 'fa fa-print'),
|
408 |
'link' => 'https://www.printfriendly.com/print?url={url}',
|
409 |
'options' => array(),
|
410 |
'features' => array( 'for_share' ),
|
414 |
'reddit' => array(
|
415 |
'name' => 'Reddit',
|
416 |
'title' => __('Submit this to ', 'wpsr') . 'Reddit',
|
417 |
+
'icon' => array('fa4'=> 'fa fa-reddit', 'fa5' => 'fab fa-reddit-alien'),
|
418 |
'link' => 'https://reddit.com/submit?url={url}&title={title}',
|
419 |
'options' => array(),
|
420 |
'features' => array( 'for_share' ),
|
421 |
'colors' => array( '#FF5600' ),
|
422 |
),
|
423 |
|
424 |
+
'renren' => array(
|
425 |
+
'name' => 'Renren',
|
426 |
+
'title' => __('Submit this to ', 'wpsr') . 'Renren',
|
427 |
+
'icon' => array('fa4'=> 'fa fa-renren', 'fa5' => 'fab fa-renren'),
|
428 |
+
'link' => 'https://www.connect.renren.com/share/sharer?url={url}&title={title}',
|
429 |
+
'options' => array(),
|
430 |
+
'features' => array( 'for_share' ),
|
431 |
+
'colors' => array( '#005EAC' ),
|
432 |
+
),
|
433 |
+
|
434 |
'rss' => array(
|
435 |
'name' => 'RSS',
|
436 |
'title' => __('Subscribe to ', 'wpsr') . 'RSS',
|
437 |
+
'icon' => array('fa4'=> 'fa fa-rss', 'fa5' => 'fa fa-rss'),
|
438 |
'link' => '{rss-url}',
|
439 |
'options' => array(),
|
440 |
'features' => array( 'internal' ),
|
444 |
'shortlink' => array(
|
445 |
'name' => 'Short link',
|
446 |
'title' => __('', 'wpsr') . 'Short link',
|
447 |
+
'icon' => array('fa4'=> 'fa fa-link', 'fa5' => 'fa fa-link'),
|
448 |
'link' => '{s-url}',
|
449 |
'onclick' => 'socializer_shortlink( event, this )',
|
450 |
'options' => array(),
|
455 |
'snapchat' => array(
|
456 |
'name' => 'Snapchat',
|
457 |
'title' => __('', 'wpsr') . 'Snapchat',
|
458 |
+
'icon' => array('fa4'=> 'fa fa-snapchat', 'fa5' => 'fab fa-snapchat'),
|
459 |
'link' => 'https://snapchat.com',
|
460 |
'options' => array(),
|
461 |
'features' => array( 'for_profile' ),
|
462 |
'colors' => array( '#FFFC00' ),
|
463 |
),
|
464 |
|
465 |
+
'skype' => array(
|
466 |
+
'name' => 'Skype',
|
467 |
+
'title' => __('', 'wpsr') . 'Skype',
|
468 |
+
'icon' => array('fa4'=> 'fa fa-skype', 'fa5' => 'fab fa-skype'),
|
469 |
+
'link' => 'https://web.skype.com/share?url={url}',
|
470 |
+
'options' => array(),
|
471 |
+
'features' => array( 'for_profile', 'for_share' ),
|
472 |
+
'colors' => array( '#00AFF0' ),
|
473 |
+
),
|
474 |
+
|
475 |
'soundcloud' => array(
|
476 |
'name' => 'Soundcloud',
|
477 |
'title' => __('', 'wpsr') . 'Soundcloud',
|
478 |
+
'icon' => array('fa4'=> 'fa fa-soundcloud', 'fa5' => 'fab fa-soundcloud'),
|
479 |
'link' => 'https://soundcloud.com/',
|
480 |
'options' => array(),
|
481 |
'features' => array( 'for_profile' ),
|
485 |
'stackoverflow' => array(
|
486 |
'name' => 'StackOverflow',
|
487 |
'title' => __('', 'wpsr') . 'StackOverflow',
|
488 |
+
'icon' => array('fa4'=> 'fa fa-stack-overflow', 'fa5' => 'fab fa-stack-overflow'),
|
489 |
'link' => 'https://stackoverflow.com/',
|
490 |
'options' => array(),
|
491 |
'features' => array( 'for_profile' ),
|
492 |
'colors' => array( '#F48024' ),
|
493 |
),
|
494 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
495 |
'quora' => array(
|
496 |
'name' => 'Quora',
|
497 |
'title' => __('', 'wpsr') . 'Quora',
|
498 |
+
'icon' => array('fa4'=> 'fa fa-quora', 'fa5' => 'fab fa-quora'),
|
499 |
'link' => 'https://www.quora.com',
|
500 |
'options' => array(),
|
501 |
'features' => array( 'for_profile' ),
|
505 |
'telegram' => array(
|
506 |
'name' => 'Telegram',
|
507 |
'title' => __('', 'wpsr') . 'Telegram',
|
508 |
+
'icon' => array('fa4'=> 'fa fa-telegram', 'fa5' => 'fab fa-telegram-plane'),
|
509 |
'link' => 'https://telegram.me/share/url?url={url}&text={title}',
|
510 |
'options' => array(),
|
511 |
'features' => array( 'mobile_only', 'for_share' ),
|
515 |
'tumblr' => array(
|
516 |
'name' => 'Tumblr',
|
517 |
'title' => __('Share this on ', 'wpsr') . 'Tumblr',
|
518 |
+
'icon' => array('fa4'=> 'fa fa-tumblr', 'fa5' => 'fab fa-tumblr'),
|
519 |
'link' => 'https://www.tumblr.com/share?v=3&u={url}&t={title}&s={excerpt}',
|
520 |
'options' => array(),
|
521 |
'features' => array( 'for_share', 'for_tsb' ),
|
525 |
'twitch' => array(
|
526 |
'name' => 'Twitch',
|
527 |
'title' => __('', 'wpsr') . 'Twitch',
|
528 |
+
'icon' => array('fa4'=> 'fa fa-twitch', 'fa5' => 'fab fa-twitch'),
|
529 |
'link' => 'https://www.twitch.tv/',
|
530 |
'options' => array(),
|
531 |
'features' => array( 'for_profile' ),
|
535 |
'twitter' => array(
|
536 |
'name' => 'Twitter',
|
537 |
'title' => __('Tweet this !', 'wpsr') . '',
|
538 |
+
'icon' => array('fa4'=> 'fa fa-twitter', 'fa5' => 'fab fa-twitter'),
|
539 |
'link' => 'https://twitter.com/home?status={title}%20-%20{s-url}%20{twitter-username}',
|
540 |
'link_tsb' => 'https://twitter.com/home?status={excerpt}%20-%20{s-url}%20{twitter-username}',
|
541 |
'options' => array(),
|
546 |
'vimeo' => array(
|
547 |
'name' => 'Vimeo',
|
548 |
'title' => __('', 'wpsr') . 'Vimeo',
|
549 |
+
'icon' => array('fa4'=> 'fa fa-vimeo', 'fa5' => 'fab fa-vimeo-v'),
|
550 |
'link' => 'https://vimeo.com',
|
551 |
'options' => array(),
|
552 |
'features' => array( 'for_profile' ),
|
556 |
'vkontakte' => array(
|
557 |
'name' => 'VKontakte',
|
558 |
'title' => __('Share this on ', 'wpsr') . 'VKontakte',
|
559 |
+
'icon' => array('fa4'=> 'fa fa-vk', 'fa5' => 'fab fa-vk'),
|
560 |
'link' => 'https://vk.com/share.php?url={url}&title={title}&description={excerpt}',
|
561 |
'options' => array(),
|
562 |
'features' => array( 'for_share', 'for_tsb' ),
|
566 |
'wechat' => array(
|
567 |
'name' => 'wechat',
|
568 |
'title' => __('', 'wpsr') . 'WeChat',
|
569 |
+
'icon' => array('fa4'=> 'fa fa-wechat', 'fa5' => 'fab fa-weixin'),
|
570 |
'link' => 'weixin://dl/chat?text={url}',
|
571 |
'options' => array(),
|
572 |
'features' => array( 'mobile_only', 'for_share' ),
|
573 |
'colors' => array( '#7BB32E' ),
|
574 |
),
|
575 |
|
576 |
+
'weibo' => array(
|
577 |
+
'name' => 'Weibo',
|
578 |
+
'title' => __('', 'wpsr') . 'Weibo',
|
579 |
+
'icon' => array('fa4'=> 'fa fa-weibo', 'fa5' => 'fab fa-weibo'),
|
580 |
+
'link' => 'https://service.weibo.com/share/share.php?url={url}&title={title}',
|
581 |
+
'options' => array(),
|
582 |
+
'features' => array( 'for_share', 'for_tsb' ),
|
583 |
+
'colors' => array( '#E6162D' ),
|
584 |
+
),
|
585 |
+
|
586 |
'whatsapp' => array(
|
587 |
'name' => 'WhatsApp',
|
588 |
'title' => __('', 'wpsr') . 'WhatsApp',
|
589 |
+
'icon' => array('fa4'=> 'fa fa-whatsapp', 'fa5' => 'fab fa-whatsapp'),
|
590 |
+
'link' => 'https://api.whatsapp.com/send?text={title}%20{url}',
|
591 |
'options' => array(),
|
592 |
+
'features' => array( 'for_share' ),
|
593 |
'colors' => array( '#60b82d' ),
|
594 |
),
|
595 |
|
596 |
'xing' => array(
|
597 |
'name' => 'Xing',
|
598 |
'title' => __('Share this on ', 'wpsr') . 'Xing',
|
599 |
+
'icon' => array('fa4'=> 'fa fa-xing', 'fa5' => 'fab fa-xing'),
|
600 |
'link' => 'https://www.xing.com/app/user?op=share&url={url}',
|
601 |
'options' => array(),
|
602 |
'features' => array( 'for_share' ),
|
606 |
'yahoomail' => array(
|
607 |
'name' => 'Yahoo! Mail',
|
608 |
'title' => __('Add this to ', 'wpsr') . 'Yahoo! Mail',
|
609 |
+
'icon' => array('fa4'=> 'fa fa-yahoo', 'fa5' => 'fab fa-yahoo'),
|
610 |
'link' => 'https://compose.mail.yahoo.com/?body={excerpt}%20-%20{url}&subject={title}',
|
611 |
'options' => array(),
|
612 |
'features' => array( 'for_share', 'for_tsb' ),
|
616 |
'youtube' => array(
|
617 |
'name' => 'Youtube',
|
618 |
'title' => __('', 'wpsr') . 'Youtube',
|
619 |
+
'icon' => array('fa4'=> 'fa fa-youtube-play', 'fa5' => 'fab fa-youtube'),
|
620 |
'link' => 'https://youtube.com/',
|
621 |
'options' => array(),
|
622 |
'features' => array( 'for_profile' ),
|
625 |
|
626 |
));
|
627 |
|
628 |
+
$font_icon = self::get_font_icon()['id'];
|
629 |
+
|
630 |
+
foreach( $all_icons as $id => $prop ){
|
631 |
+
$icon = $prop['icon'][$font_icon];
|
632 |
+
$all_icons[$id]['icon'] = $icon;
|
633 |
+
}
|
634 |
+
|
635 |
+
return $all_icons;
|
636 |
+
|
637 |
}
|
638 |
|
639 |
public static function sharethis(){
|
682 |
|
683 |
if( $page == 'sharebar' ){
|
684 |
return array(
|
685 |
+
'ft_status' => 'disable',
|
686 |
'buttons' => 'eyIxIjp7InByb3BlcnRpZXMiOnt9LCJidXR0b25zIjpbXX19',
|
687 |
'type' => 'vertical',
|
688 |
'vl_position' => 'wleft',
|
694 |
'offset' => '20px',
|
695 |
'bg_color' => '#ffffff',
|
696 |
'border_color' => '#cccccc',
|
697 |
+
'init_state' => 'open',
|
698 |
'min_on_width' => '0',
|
699 |
'loc_rules' => array(
|
700 |
'type' => 'show_all',
|
710 |
'template' => 'W10=',
|
711 |
'shape' => '',
|
712 |
'size' => '32px',
|
713 |
+
'init_state' => 'open',
|
714 |
'bg_color' => '',
|
715 |
'icon_color' => '#ffffff',
|
716 |
'orientation' => 'vertical',
|
752 |
'size' => '48px',
|
753 |
'bg_color' => '',
|
754 |
'icon_color' => '#ffffff',
|
755 |
+
'hide_on_scroll' => 'yes',
|
756 |
'pad' => '',
|
757 |
'loc_rules' => array(
|
758 |
'type' => 'show_all',
|
800 |
|
801 |
if( $page == 'gsettings_misc' ){
|
802 |
return array(
|
803 |
+
'font_icon' => 'fa4',
|
804 |
+
'misc_additional_css' => '',
|
805 |
+
'skip_res_load' => ''
|
806 |
);
|
807 |
}
|
808 |
|
809 |
+
return array();
|
810 |
+
|
811 |
+
}
|
812 |
+
|
813 |
+
public static function public_icons( $icon ){
|
814 |
+
|
815 |
+
$icons = apply_filters( 'wpsr_mod_public_icons', array(
|
816 |
+
|
817 |
+
'fb_open' => '<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 16 16" class="i-open"><path d="M15,6h-5V1c0-0.55-0.45-1-1-1H7C6.45,0,6,0.45,6,1v5H1C0.45,6,0,6.45,0,7v2c0,0.55,0.45,1,1,1h5v5c0,0.55,0.45,1,1,1h2 c0.55,0,1-0.45,1-1v-5h5c0.55,0,1-0.45,1-1V7C16,6.45,15.55,6,15,6z"/></svg>',
|
818 |
+
|
819 |
+
'fb_close' => '<svg class="i-close" xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 512 512"><path d="M417.4,224H94.6C77.7,224,64,238.3,64,256c0,17.7,13.7,32,30.6,32h322.8c16.9,0,30.6-14.3,30.6-32 C448,238.3,434.3,224,417.4,224z"/></svg>',
|
820 |
+
|
821 |
+
'sb_open' => '<svg class="i-open" xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 64 64"><path d="M48,39.26c-2.377,0-4.515,1-6.033,2.596L24.23,33.172c0.061-0.408,0.103-0.821,0.103-1.246c0-0.414-0.04-0.818-0.098-1.215 l17.711-8.589c1.519,1.609,3.667,2.619,6.054,2.619c4.602,0,8.333-3.731,8.333-8.333c0-4.603-3.731-8.333-8.333-8.333 s-8.333,3.73-8.333,8.333c0,0.414,0.04,0.817,0.098,1.215l-17.711,8.589c-1.519-1.609-3.666-2.619-6.054-2.619 c-4.603,0-8.333,3.731-8.333,8.333c0,4.603,3.73,8.333,8.333,8.333c2.377,0,4.515-1,6.033-2.596l17.737,8.684 c-0.061,0.407-0.103,0.821-0.103,1.246c0,4.603,3.731,8.333,8.333,8.333s8.333-3.73,8.333-8.333C56.333,42.99,52.602,39.26,48,39.26 z"/></svg>',
|
822 |
+
|
823 |
+
'sb_close' => '<svg class="i-close" xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 512 512"><path d="M417.4,224H94.6C77.7,224,64,238.3,64,256c0,17.7,13.7,32,30.6,32h322.8c16.9,0,30.6-14.3,30.6-32 C448,238.3,434.3,224,417.4,224z"/></svg>'
|
824 |
+
|
825 |
+
));
|
826 |
+
|
827 |
+
if( array_key_exists( $icon, $icons ) ){
|
828 |
+
return $icons[ $icon ];
|
829 |
+
}else{
|
830 |
+
return '';
|
831 |
+
}
|
832 |
+
|
833 |
}
|
834 |
|
835 |
}
|
core/location_rules.php
CHANGED
@@ -238,16 +238,16 @@ class WPSR_Location_Rules{
|
|
238 |
public static function display_rules( $id, $values = array() ){
|
239 |
|
240 |
$types = array(
|
241 |
-
'show_all' => __( 'Show in all pages', 'wpsr' ),
|
242 |
-
'hide_all' => __( 'Hide in all pages', 'wpsr' ),
|
243 |
-
'show_selected' => __( 'Show in selected pages', 'wpsr' ),
|
244 |
-
'hide_selected' => __( 'Hide in selected pages', 'wpsr' )
|
245 |
);
|
246 |
|
247 |
echo '<div class="loc_rules_wrap">';
|
248 |
|
249 |
echo '<div class="loc_rules_type">';
|
250 |
-
echo WPSR_Admin::field( '
|
251 |
'name' => $id . '[type]',
|
252 |
'list' => $types,
|
253 |
'value' => $values['type'],
|
@@ -262,7 +262,7 @@ class WPSR_Location_Rules{
|
|
262 |
|
263 |
$values['rule'] = json_decode( base64_decode( $values['rule'] ) );
|
264 |
|
265 |
-
echo '<div class="loc_rules_inner" data-conditioner data-condr-input="(prev::)(find::
|
266 |
echo '<p class="loc_rule_info">' . __( 'No page rules are added. Template will be hidden everywhere', 'wpsr' ) . '</p>';
|
267 |
|
268 |
echo '<div class="loc_rules_box">';
|
@@ -421,7 +421,7 @@ class WPSR_Location_Rules{
|
|
421 |
}elseif( $mode == 2 ){ // Rule check
|
422 |
|
423 |
$selected_post_formats = self::array_it( $ids );
|
424 |
-
$format = get_post_format() ? : 'standard';
|
425 |
return in_array( $format, $selected_post_formats );
|
426 |
|
427 |
}
|
238 |
public static function display_rules( $id, $values = array() ){
|
239 |
|
240 |
$types = array(
|
241 |
+
'show_all' => array( __( 'Show in all pages', 'wpsr' ), 'lr-show-all.svg', '80px' ),
|
242 |
+
'hide_all' => array( __( 'Hide in all pages', 'wpsr' ), 'lr-hide-all.svg', '80px' ),
|
243 |
+
'show_selected' => array( __( 'Show in selected pages', 'wpsr' ), 'lr-show-sel.svg', '80px' ),
|
244 |
+
'hide_selected' => array( __( 'Hide in selected pages', 'wpsr' ), 'lr-hide-sel.svg', '80px' )
|
245 |
);
|
246 |
|
247 |
echo '<div class="loc_rules_wrap">';
|
248 |
|
249 |
echo '<div class="loc_rules_type">';
|
250 |
+
echo WPSR_Admin::field( 'image_select', array(
|
251 |
'name' => $id . '[type]',
|
252 |
'list' => $types,
|
253 |
'value' => $values['type'],
|
262 |
|
263 |
$values['rule'] = json_decode( base64_decode( $values['rule'] ) );
|
264 |
|
265 |
+
echo '<div class="loc_rules_inner" data-conditioner data-condr-input="(prev::)(find::select)" data-condr-value="selected" data-condr-action="pattern?fadeIn:hide" data-condr-events="change">';
|
266 |
echo '<p class="loc_rule_info">' . __( 'No page rules are added. Template will be hidden everywhere', 'wpsr' ) . '</p>';
|
267 |
|
268 |
echo '<div class="loc_rules_box">';
|
421 |
}elseif( $mode == 2 ){ // Rule check
|
422 |
|
423 |
$selected_post_formats = self::array_it( $ids );
|
424 |
+
$format = get_post_format() ? get_post_format() : 'standard';
|
425 |
return in_array( $format, $selected_post_formats );
|
426 |
|
427 |
}
|
core/services.php
CHANGED
@@ -10,10 +10,14 @@ class WPSR_Services{
|
|
10 |
private static $active_services = array();
|
11 |
|
12 |
public static function init(){
|
13 |
-
|
|
|
|
|
14 |
}
|
15 |
|
16 |
-
public static function register(
|
|
|
|
|
17 |
|
18 |
$defaults = array(
|
19 |
'name' => '',
|
@@ -28,79 +32,125 @@ class WPSR_Services{
|
|
28 |
'validation' => '',
|
29 |
'general_settings' => '',
|
30 |
'general_settings_validation' => '',
|
|
|
31 |
)
|
32 |
);
|
33 |
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
|
|
|
|
|
|
50 |
}
|
51 |
|
52 |
-
self::register_includes( $id );
|
53 |
-
|
54 |
-
do_action( 'wpsr_do_service_register' );
|
55 |
-
|
56 |
}
|
57 |
|
58 |
-
public static function list_all(){
|
59 |
|
60 |
$services_temp = self::$services;
|
61 |
|
62 |
-
|
63 |
-
|
|
|
|
|
64 |
}
|
65 |
|
66 |
return apply_filters( 'wpsr_mod_services_list', $services_temp );
|
67 |
|
68 |
}
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
public static function output( $id, $settings = array(), $page_info = array() ){
|
71 |
|
|
|
|
|
72 |
if( !self::check_callable( $id, 'output' ) ){
|
73 |
return '';
|
74 |
}
|
75 |
|
76 |
-
return call_user_func(
|
77 |
|
78 |
}
|
79 |
|
80 |
public static function settings( $id, $values ){
|
81 |
|
|
|
|
|
82 |
if( !self::check_callable( $id, 'settings' ) ){
|
83 |
return '';
|
84 |
}
|
85 |
|
86 |
-
return call_user_func(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
|
88 |
}
|
89 |
|
90 |
public static function register_includes( $id ){
|
91 |
|
|
|
|
|
92 |
if( !self::check_callable( $id, 'includes' ) ){
|
93 |
return '';
|
94 |
}
|
95 |
|
96 |
-
$service_includes = call_user_func(
|
97 |
|
98 |
WPSR_Includes::register( $service_includes );
|
|
|
99 |
}
|
100 |
|
101 |
public static function check_callable( $id, $callback ){
|
102 |
|
103 |
-
$services = self
|
104 |
|
105 |
if( array_key_exists( $id, $services ) ){
|
106 |
$service = $services[ $id ];
|
10 |
private static $active_services = array();
|
11 |
|
12 |
public static function init(){
|
13 |
+
|
14 |
+
add_action( 'init', array( __CLASS__, 'register' ) );
|
15 |
+
|
16 |
}
|
17 |
|
18 |
+
public static function register(){
|
19 |
+
|
20 |
+
$init_services = apply_filters( 'wpsr_register_service', array() );
|
21 |
|
22 |
$defaults = array(
|
23 |
'name' => '',
|
32 |
'validation' => '',
|
33 |
'general_settings' => '',
|
34 |
'general_settings_validation' => '',
|
35 |
+
'templates' => ''
|
36 |
)
|
37 |
);
|
38 |
|
39 |
+
foreach( $init_services as $id => $config ){
|
40 |
+
|
41 |
+
$config[ 'callbacks' ] = WPSR_Lists::set_defaults( $config[ 'callbacks' ], $defaults[ 'callbacks' ] );
|
42 |
+
$config = WPSR_Lists::set_defaults( $config, $defaults );
|
43 |
+
|
44 |
+
apply_filters( 'wpsr_mod_service_config', $config );
|
45 |
+
|
46 |
+
self::$services[ $id ] = $config;
|
47 |
+
|
48 |
+
if( $config[ 'callbacks' ][ 'validation' ] != '' ){
|
49 |
+
add_filter( 'wpsr_service_validation_' . $id, $config[ 'callbacks' ][ 'validation' ], 10, 1 );
|
50 |
+
}
|
51 |
+
|
52 |
+
if( $config[ 'callbacks' ][ 'general_settings' ] != '' ){
|
53 |
+
add_action( 'wpsr_form_general_settings', $config[ 'callbacks' ][ 'general_settings' ], 10, 1 );
|
54 |
+
add_filter( 'wpsr_form_validation_general_settings', $config[ 'callbacks' ][ 'general_settings_validation' ], 10, 1 );
|
55 |
+
}
|
56 |
+
|
57 |
+
self::register_includes( $id );
|
58 |
+
|
59 |
}
|
60 |
|
|
|
|
|
|
|
|
|
61 |
}
|
62 |
|
63 |
+
public static function list_all( $remove_callbacks = true ){
|
64 |
|
65 |
$services_temp = self::$services;
|
66 |
|
67 |
+
if( $remove_callbacks ){
|
68 |
+
foreach( $services_temp as $id => $config ){
|
69 |
+
unset( $services_temp[ $id ][ 'callbacks' ] );
|
70 |
+
}
|
71 |
}
|
72 |
|
73 |
return apply_filters( 'wpsr_mod_services_list', $services_temp );
|
74 |
|
75 |
}
|
76 |
|
77 |
+
public static function list_templates($feature=''){
|
78 |
+
|
79 |
+
$services = self::list_all();
|
80 |
+
$all_templates = array();
|
81 |
+
|
82 |
+
foreach($services as $id => $config){
|
83 |
+
$templates = self::templates($id);
|
84 |
+
foreach($templates as $tid => $tdata){
|
85 |
+
$supported_features = isset($tdata['features']) ? $tdata['features'] : array();
|
86 |
+
if(count($supported_features) > 0 ){
|
87 |
+
if(!in_array($feature, $supported_features) || in_array('!'.$feature, $supported_features)){
|
88 |
+
continue;
|
89 |
+
}
|
90 |
+
}
|
91 |
+
|
92 |
+
$tdata['service'] = $id;
|
93 |
+
$all_templates[$tid] = $tdata;
|
94 |
+
}
|
95 |
+
}
|
96 |
+
|
97 |
+
return $all_templates;
|
98 |
+
|
99 |
+
}
|
100 |
+
|
101 |
public static function output( $id, $settings = array(), $page_info = array() ){
|
102 |
|
103 |
+
$services = self::list_all( false );
|
104 |
+
|
105 |
if( !self::check_callable( $id, 'output' ) ){
|
106 |
return '';
|
107 |
}
|
108 |
|
109 |
+
return call_user_func( $services[ $id ][ 'callbacks' ][ 'output' ], $settings, $page_info );
|
110 |
|
111 |
}
|
112 |
|
113 |
public static function settings( $id, $values ){
|
114 |
|
115 |
+
$services = self::list_all( false );
|
116 |
+
|
117 |
if( !self::check_callable( $id, 'settings' ) ){
|
118 |
return '';
|
119 |
}
|
120 |
|
121 |
+
return call_user_func( $services[ $id ][ 'callbacks' ][ 'settings' ], $values );
|
122 |
+
|
123 |
+
}
|
124 |
+
|
125 |
+
public static function templates( $id ){
|
126 |
+
|
127 |
+
$services = self::list_all( false );
|
128 |
+
|
129 |
+
if( !self::check_callable( $id, 'templates' ) ){
|
130 |
+
return array();
|
131 |
+
}
|
132 |
+
|
133 |
+
return call_user_func( $services[ $id ][ 'callbacks' ][ 'templates' ] );
|
134 |
|
135 |
}
|
136 |
|
137 |
public static function register_includes( $id ){
|
138 |
|
139 |
+
$services = self::list_all( false );
|
140 |
+
|
141 |
if( !self::check_callable( $id, 'includes' ) ){
|
142 |
return '';
|
143 |
}
|
144 |
|
145 |
+
$service_includes = call_user_func( $services[ $id ][ 'callbacks' ][ 'includes' ] );
|
146 |
|
147 |
WPSR_Includes::register( $service_includes );
|
148 |
+
|
149 |
}
|
150 |
|
151 |
public static function check_callable( $id, $callback ){
|
152 |
|
153 |
+
$services = self::list_all( false );
|
154 |
|
155 |
if( array_key_exists( $id, $services ) ){
|
156 |
$service = $services[ $id ];
|
core/templates.php
CHANGED
@@ -16,19 +16,20 @@ class WPSR_Template_Buttons{
|
|
16 |
|
17 |
public static function output(){
|
18 |
|
19 |
-
$btn_settings = WPSR_Lists::set_defaults( get_option( 'wpsr_button_settings' ), array( 'tmpl' => array() ));
|
20 |
$btn_templates = $btn_settings[ 'tmpl' ];
|
21 |
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
|
|
|
|
30 |
}
|
31 |
-
|
32 |
}
|
33 |
|
34 |
public static function html( $template, $page_info = array(), $min_on_width = '0' ){
|
@@ -110,7 +111,6 @@ class WPSR_Template_Buttons{
|
|
110 |
|
111 |
echo '<!doctype html><html lang="en"><head><meta charset="utf-8"><title>' . __( 'WP Socializer template preview', 'wpsr' ) . '</title>';
|
112 |
|
113 |
-
|
114 |
echo '</head><body>' . $gen_out[ 'html' ];
|
115 |
|
116 |
WPSR_Includes::preview_print_includes();
|
@@ -179,8 +179,8 @@ class WPSR_Template_Sharebar{
|
|
179 |
if( $opts[ 'border_color' ] != '' )
|
180 |
array_push( $styles, 'border-color:' . $opts[ 'border_color' ] );
|
181 |
|
182 |
-
if( $opts[ '
|
183 |
-
array_push( $classes, 'wpsr-
|
184 |
|
185 |
$classes = implode( ' ', $classes );
|
186 |
$styles = implode( ';', $styles );
|
@@ -189,6 +189,9 @@ class WPSR_Template_Sharebar{
|
|
189 |
// Apply filters
|
190 |
$rows = apply_filters( 'wpsr_mod_sharebar_template', $rows );
|
191 |
|
|
|
|
|
|
|
192 |
foreach( $rows as $row ){
|
193 |
if( count( $row->buttons ) > 0 ){
|
194 |
$html .= '<div class="wp-socializer wpsr-sharebar ' . esc_attr( $classes ) . '" style="' . esc_attr( $styles ) . '" data-stickto="' . esc_attr( $opts[ 'stick_element' ] ) . '"' . $min_on_width . '>';
|
@@ -200,7 +203,7 @@ class WPSR_Template_Sharebar{
|
|
200 |
$html .= '<span class="wpsr-btn">' . WPSR_Buttons::get_button( $btn, $page_info ) . '</span>';
|
201 |
}
|
202 |
$html .= '</div>';
|
203 |
-
$html .= '<div class="wpsr-sb-close" title="Open or close sharebar"><span class="
|
204 |
$html .= '</div>';
|
205 |
}
|
206 |
break;
|
@@ -307,7 +310,7 @@ class WPSR_Template_Followbar{
|
|
307 |
$template = $opts[ 'template' ];
|
308 |
$decoded = base64_decode( $template );
|
309 |
$btns = json_decode( $decoded );
|
310 |
-
$sb_sites = WPSR_Lists::
|
311 |
$html = '';
|
312 |
|
313 |
if( !is_array( $btns ) || empty( $btns ) ){
|
@@ -319,11 +322,13 @@ class WPSR_Template_Followbar{
|
|
319 |
if ( $opts[ 'icon_color' ] != '' ) array_push( $styles, 'color: ' . $opts[ 'icon_color' ] );
|
320 |
$style = join( ';', $styles );
|
321 |
|
322 |
-
$text_class = ( $opts[ 'text' ] != 'hide' ) ? 'sr-text-' . $opts[ 'text' ] : '';
|
323 |
-
|
324 |
foreach( $btns as $btn_obj ){
|
325 |
-
|
326 |
$id = key( (array) $btn_obj );
|
|
|
|
|
|
|
|
|
|
|
327 |
$prop = $sb_sites[ $id ];
|
328 |
|
329 |
$cicon = '';
|
@@ -332,24 +337,21 @@ class WPSR_Template_Followbar{
|
|
332 |
$style = '';
|
333 |
}
|
334 |
|
335 |
-
$iclasses = array( 'sr-' . $id, $
|
336 |
$onclick = array_key_exists( 'onclick', $prop ) ? 'onclick="' . esc_attr( $prop[ 'onclick' ] ) . '"' : '';
|
|
|
337 |
|
338 |
$html .= '<span class="' . esc_attr( join( ' ', $iclasses ) ) . '">';
|
339 |
-
$html .= '<a rel="nofollow" href="' . esc_attr( $btn_obj->$id->url ) . '" target="_blank" title="' . esc_attr( $
|
340 |
|
341 |
if( $btn_obj->$id->icon == '' ){
|
342 |
-
$html .= '<i class="
|
343 |
}else{
|
344 |
$html .= '<img src="' . esc_attr( $btn_obj->$id->icon ) . '" alt="' . esc_attr( $prop[ 'name' ] ) . '" />';
|
345 |
}
|
346 |
|
347 |
$html .= '</a>';
|
348 |
|
349 |
-
if( $text_class != '' ){
|
350 |
-
$html .= '<span class="text">' . ( ( $btn_obj->$id->text == '' ) ? $prop[ 'name' ] : $btn_obj->$id->text ) . '</span>';
|
351 |
-
}
|
352 |
-
|
353 |
$html .= '</span>';
|
354 |
|
355 |
}
|
@@ -367,12 +369,19 @@ class WPSR_Template_Followbar{
|
|
367 |
|
368 |
$html = '<div class="' . $classes . '">' . $html . '</div>';
|
369 |
|
|
|
|
|
|
|
370 |
if( $floating ){
|
371 |
$min_on_width = ( $opts[ 'min_on_width' ] > 0 ) ? ' data-minonwidth="' . $opts[ 'min_on_width' ] . '" ' : '';
|
372 |
$title = ( $opts[ 'title' ] != '' ) ? '<div class="sr-fb-title">' . $opts[ 'title' ] . '</div>' : '';
|
373 |
-
$close_btn = '<div class="wpsr-fb-close" title="
|
374 |
$orientation = ( $opts[ 'orientation' ] == 'horizontal' ) ? 'sr-fb-hl' : 'sr-fb-vl';
|
375 |
$fb_classes = array( 'wpsr-followbar', 'sr-fb-' . $opts[ 'position' ], $orientation );
|
|
|
|
|
|
|
|
|
376 |
$html = '<div class="' . esc_attr( join( ' ', $fb_classes ) ) . '"' . $min_on_width . '>' . $title . $html . $close_btn . '</div>';
|
377 |
}
|
378 |
|
@@ -413,7 +422,7 @@ class WPSR_Template_Text_Sharebar{
|
|
413 |
$template = $opts[ 'template' ];
|
414 |
$decoded = base64_decode( $template );
|
415 |
$btns = json_decode( $decoded );
|
416 |
-
$sb_sites = WPSR_Lists::
|
417 |
$page_info = WPSR_Metadata::metadata();
|
418 |
$html = '';
|
419 |
|
@@ -430,7 +439,7 @@ class WPSR_Template_Text_Sharebar{
|
|
430 |
$link = array_key_exists( 'link_tsb', $sb_info ) ? $sb_info[ 'link_tsb' ] : $sb_info[ 'link' ];
|
431 |
$onclick = array_key_exists( 'onclick', $sb_info ) ? 'onclick="' . esc_attr( $sb_info[ 'onclick' ] ) . '"' : '';
|
432 |
|
433 |
-
$html .= '<li><a href="#" title="' . esc_attr( $sb_info[ 'title' ] ) . '" data-link="' . esc_attr( $link ) . '" style="color: ' . esc_attr( $opts[ 'icon_color' ] ) . '" ' . $onclick . '><i class="
|
434 |
}
|
435 |
|
436 |
$html = '<ul class="wpsr-text-sb wpsr-tsb-' . esc_attr( $opts[ 'size' ] ) . ' wpsr-clearfix" data-content="' . esc_attr( $opts[ 'content' ] ) . '" data-tcount="' . esc_attr( $opts[ 'text_count' ] ) . '" style="background-color: ' . esc_attr( $opts[ 'bg_color' ] ) . '" data-url="' . esc_attr( $page_info[ 'url' ] ) . '" data-title="' . esc_attr( $page_info[ 'title' ] ) . '" data-surl="' . esc_attr( $page_info[ 'short_url' ] ) . '" data-tuname="' . esc_attr( $t_username ) . '">' . $html . '</ul>';
|
@@ -468,7 +477,7 @@ class WPSR_Template_Mobile_Sharebar{
|
|
468 |
$template = $opts[ 'template' ];
|
469 |
$decoded = base64_decode( $template );
|
470 |
$btns = json_decode( $decoded );
|
471 |
-
$sb_sites = WPSR_Lists::
|
472 |
$page_info = WPSR_Metadata::metadata();
|
473 |
$html = '';
|
474 |
|
@@ -481,17 +490,23 @@ class WPSR_Template_Mobile_Sharebar{
|
|
481 |
if ( $opts[ 'icon_color' ] != '' ) array_push( $styles, 'color: ' . $opts[ 'icon_color' ] );
|
482 |
$style = join( ';', $styles );
|
483 |
|
484 |
-
foreach( $btns as $
|
485 |
-
|
|
|
|
|
|
|
|
|
|
|
486 |
$link = self::get_url( $sb_info[ 'link' ], $page_info );
|
487 |
$onclick = array_key_exists( 'onclick', $sb_info ) ? 'onclick="' . esc_attr( $sb_info[ 'onclick' ] ) . '"' : '';
|
488 |
|
489 |
-
$html .= '<span class="sr-' . $
|
490 |
}
|
491 |
|
492 |
$classes = array( 'socializer', 'wpsr-mobile-sb', 'sr-' . $opts[ 'size' ], 'sr-fluid', 'sr-opacity', 'sr-popup' );
|
493 |
|
494 |
if( $opts[ 'pad' ] != '' ) array_push( $classes, 'sr-' . $opts[ 'pad' ] );
|
|
|
495 |
|
496 |
$classes = join( ' ', $classes );
|
497 |
|
16 |
|
17 |
public static function output(){
|
18 |
|
19 |
+
$btn_settings = WPSR_Lists::set_defaults( get_option( 'wpsr_button_settings' ), array( 'ft_status' => 'enable', 'tmpl' => array() ));
|
20 |
$btn_templates = $btn_settings[ 'tmpl' ];
|
21 |
|
22 |
+
if($btn_settings[ 'ft_status' ] != 'disable'){
|
23 |
+
foreach( $btn_templates as $tmpl ){
|
24 |
+
|
25 |
+
$content_obj = new wpsr_template_button_handler( $tmpl, 'content' );
|
26 |
+
$excerpt_obj = new wpsr_template_button_handler( $tmpl, 'excerpt' );
|
27 |
+
|
28 |
+
add_filter( 'the_content', array( $content_obj, 'print_template' ), 10 );
|
29 |
+
add_filter( 'the_excerpt', array( $excerpt_obj, 'print_template' ), 10 );
|
30 |
+
|
31 |
+
}
|
32 |
}
|
|
|
33 |
}
|
34 |
|
35 |
public static function html( $template, $page_info = array(), $min_on_width = '0' ){
|
111 |
|
112 |
echo '<!doctype html><html lang="en"><head><meta charset="utf-8"><title>' . __( 'WP Socializer template preview', 'wpsr' ) . '</title>';
|
113 |
|
|
|
114 |
echo '</head><body>' . $gen_out[ 'html' ];
|
115 |
|
116 |
WPSR_Includes::preview_print_includes();
|
179 |
if( $opts[ 'border_color' ] != '' )
|
180 |
array_push( $styles, 'border-color:' . $opts[ 'border_color' ] );
|
181 |
|
182 |
+
if( $opts[ 'init_state' ] == 'close' )
|
183 |
+
array_push( $classes, 'wpsr-mow' );
|
184 |
|
185 |
$classes = implode( ' ', $classes );
|
186 |
$styles = implode( ';', $styles );
|
189 |
// Apply filters
|
190 |
$rows = apply_filters( 'wpsr_mod_sharebar_template', $rows );
|
191 |
|
192 |
+
$open_icon = WPSR_Lists::public_icons( 'sb_open' );
|
193 |
+
$close_icon = WPSR_Lists::public_icons( 'sb_close' );
|
194 |
+
|
195 |
foreach( $rows as $row ){
|
196 |
if( count( $row->buttons ) > 0 ){
|
197 |
$html .= '<div class="wp-socializer wpsr-sharebar ' . esc_attr( $classes ) . '" style="' . esc_attr( $styles ) . '" data-stickto="' . esc_attr( $opts[ 'stick_element' ] ) . '"' . $min_on_width . '>';
|
203 |
$html .= '<span class="wpsr-btn">' . WPSR_Buttons::get_button( $btn, $page_info ) . '</span>';
|
204 |
}
|
205 |
$html .= '</div>';
|
206 |
+
$html .= '<div class="wpsr-sb-close" title="Open or close sharebar"><span class="wpsr-bar-icon">' . $open_icon . $close_icon . '</span></div>';
|
207 |
$html .= '</div>';
|
208 |
}
|
209 |
break;
|
310 |
$template = $opts[ 'template' ];
|
311 |
$decoded = base64_decode( $template );
|
312 |
$btns = json_decode( $decoded );
|
313 |
+
$sb_sites = WPSR_Lists::social_icons();
|
314 |
$html = '';
|
315 |
|
316 |
if( !is_array( $btns ) || empty( $btns ) ){
|
322 |
if ( $opts[ 'icon_color' ] != '' ) array_push( $styles, 'color: ' . $opts[ 'icon_color' ] );
|
323 |
$style = join( ';', $styles );
|
324 |
|
|
|
|
|
325 |
foreach( $btns as $btn_obj ){
|
|
|
326 |
$id = key( (array) $btn_obj );
|
327 |
+
|
328 |
+
if(!array_key_exists($id, $sb_sites)){
|
329 |
+
continue;
|
330 |
+
}
|
331 |
+
|
332 |
$prop = $sb_sites[ $id ];
|
333 |
|
334 |
$cicon = '';
|
337 |
$style = '';
|
338 |
}
|
339 |
|
340 |
+
$iclasses = array( 'sr-' . $id, $cicon );
|
341 |
$onclick = array_key_exists( 'onclick', $prop ) ? 'onclick="' . esc_attr( $prop[ 'onclick' ] ) . '"' : '';
|
342 |
+
$title = ( ( $btn_obj->$id->text == '' ) ? $prop[ 'name' ] : $btn_obj->$id->text );
|
343 |
|
344 |
$html .= '<span class="' . esc_attr( join( ' ', $iclasses ) ) . '">';
|
345 |
+
$html .= '<a rel="nofollow" href="' . esc_attr( $btn_obj->$id->url ) . '" target="_blank" title="' . esc_attr( $title ) . '" style="' . esc_attr( $style ) . '" ' . $onclick . '>';
|
346 |
|
347 |
if( $btn_obj->$id->icon == '' ){
|
348 |
+
$html .= '<i class="' . esc_attr( $prop[ 'icon' ] ) . '"></i>';
|
349 |
}else{
|
350 |
$html .= '<img src="' . esc_attr( $btn_obj->$id->icon ) . '" alt="' . esc_attr( $prop[ 'name' ] ) . '" />';
|
351 |
}
|
352 |
|
353 |
$html .= '</a>';
|
354 |
|
|
|
|
|
|
|
|
|
355 |
$html .= '</span>';
|
356 |
|
357 |
}
|
369 |
|
370 |
$html = '<div class="' . $classes . '">' . $html . '</div>';
|
371 |
|
372 |
+
$open_icon = WPSR_Lists::public_icons( 'fb_open' );
|
373 |
+
$close_icon = WPSR_Lists::public_icons( 'fb_close' );
|
374 |
+
|
375 |
if( $floating ){
|
376 |
$min_on_width = ( $opts[ 'min_on_width' ] > 0 ) ? ' data-minonwidth="' . $opts[ 'min_on_width' ] . '" ' : '';
|
377 |
$title = ( $opts[ 'title' ] != '' ) ? '<div class="sr-fb-title">' . $opts[ 'title' ] . '</div>' : '';
|
378 |
+
$close_btn = '<div class="wpsr-fb-close" title="Open or close followbar"><span class="wpsr-bar-icon">' . $open_icon . $close_icon . '</span></div>';
|
379 |
$orientation = ( $opts[ 'orientation' ] == 'horizontal' ) ? 'sr-fb-hl' : 'sr-fb-vl';
|
380 |
$fb_classes = array( 'wpsr-followbar', 'sr-fb-' . $opts[ 'position' ], $orientation );
|
381 |
+
|
382 |
+
if( $opts[ 'init_state' ] == 'close' )
|
383 |
+
array_push( $fb_classes, 'wpsr-mow' );
|
384 |
+
|
385 |
$html = '<div class="' . esc_attr( join( ' ', $fb_classes ) ) . '"' . $min_on_width . '>' . $title . $html . $close_btn . '</div>';
|
386 |
}
|
387 |
|
422 |
$template = $opts[ 'template' ];
|
423 |
$decoded = base64_decode( $template );
|
424 |
$btns = json_decode( $decoded );
|
425 |
+
$sb_sites = WPSR_Lists::social_icons();
|
426 |
$page_info = WPSR_Metadata::metadata();
|
427 |
$html = '';
|
428 |
|
439 |
$link = array_key_exists( 'link_tsb', $sb_info ) ? $sb_info[ 'link_tsb' ] : $sb_info[ 'link' ];
|
440 |
$onclick = array_key_exists( 'onclick', $sb_info ) ? 'onclick="' . esc_attr( $sb_info[ 'onclick' ] ) . '"' : '';
|
441 |
|
442 |
+
$html .= '<li><a href="#" title="' . esc_attr( $sb_info[ 'title' ] ) . '" data-link="' . esc_attr( $link ) . '" style="color: ' . esc_attr( $opts[ 'icon_color' ] ) . '" ' . $onclick . '><i class="' . esc_attr( $sb_info[ 'icon' ] ) . '"></i></a></li>';
|
443 |
}
|
444 |
|
445 |
$html = '<ul class="wpsr-text-sb wpsr-tsb-' . esc_attr( $opts[ 'size' ] ) . ' wpsr-clearfix" data-content="' . esc_attr( $opts[ 'content' ] ) . '" data-tcount="' . esc_attr( $opts[ 'text_count' ] ) . '" style="background-color: ' . esc_attr( $opts[ 'bg_color' ] ) . '" data-url="' . esc_attr( $page_info[ 'url' ] ) . '" data-title="' . esc_attr( $page_info[ 'title' ] ) . '" data-surl="' . esc_attr( $page_info[ 'short_url' ] ) . '" data-tuname="' . esc_attr( $t_username ) . '">' . $html . '</ul>';
|
477 |
$template = $opts[ 'template' ];
|
478 |
$decoded = base64_decode( $template );
|
479 |
$btns = json_decode( $decoded );
|
480 |
+
$sb_sites = WPSR_Lists::social_icons();
|
481 |
$page_info = WPSR_Metadata::metadata();
|
482 |
$html = '';
|
483 |
|
490 |
if ( $opts[ 'icon_color' ] != '' ) array_push( $styles, 'color: ' . $opts[ 'icon_color' ] );
|
491 |
$style = join( ';', $styles );
|
492 |
|
493 |
+
foreach( $btns as $id ){
|
494 |
+
|
495 |
+
if(!array_key_exists($id, $sb_sites)){
|
496 |
+
continue;
|
497 |
+
}
|
498 |
+
|
499 |
+
$sb_info = $sb_sites[ $id ];
|
500 |
$link = self::get_url( $sb_info[ 'link' ], $page_info );
|
501 |
$onclick = array_key_exists( 'onclick', $sb_info ) ? 'onclick="' . esc_attr( $sb_info[ 'onclick' ] ) . '"' : '';
|
502 |
|
503 |
+
$html .= '<span class="sr-' . $id . '"><a rel="nofollow" target="_blank" href="' . esc_attr( $link ) . '" title="' . esc_attr( $sb_info[ 'title' ] ) . '" style="' . $style . '" ' . $onclick . '><i class="' . esc_attr( $sb_info[ 'icon' ] ) . '" tar></i></a></span>';
|
504 |
}
|
505 |
|
506 |
$classes = array( 'socializer', 'wpsr-mobile-sb', 'sr-' . $opts[ 'size' ], 'sr-fluid', 'sr-opacity', 'sr-popup' );
|
507 |
|
508 |
if( $opts[ 'pad' ] != '' ) array_push( $classes, 'sr-' . $opts[ 'pad' ] );
|
509 |
+
if( $opts[ 'hide_on_scroll' ] == 'yes' ) array_push( $classes, 'wpsr-mobile-hos' );
|
510 |
|
511 |
$classes = join( ' ', $classes );
|
512 |
|
core/widgets.php
CHANGED
@@ -98,7 +98,7 @@ class WPSR_Widgets{
|
|
98 |
wp_enqueue_script( 'wpsr_admin_widget_js', WPSR_ADMIN_URL . 'js/script_widgets.js', array( 'jquery' ) );
|
99 |
wp_enqueue_script( 'wp-color-picker' );
|
100 |
wp_enqueue_style( 'wp-color-picker' );
|
101 |
-
wp_enqueue_style( 'wpsr_fa', WPSR_Lists::ext_res( 'font-awesome' ) );
|
102 |
|
103 |
wp_enqueue_style( 'wpsr_ipopup', WPSR_ADMIN_URL . 'css/ipopup.css' );
|
104 |
wp_enqueue_script( 'wpsr_ipopup', WPSR_ADMIN_URL . 'js/ipopup.js' );
|
@@ -320,18 +320,12 @@ class wpsr_widget_buttons{
|
|
320 |
'hide_services' => array()
|
321 |
);
|
322 |
|
|
|
|
|
323 |
echo '<div id="wpsr_pp_editor">';
|
324 |
echo '<h3>WP Socializer - widget template editor</h3>';
|
325 |
-
WPSR_Admin::box_wrap( 'open', __( 'Create buttons', 'wpsr' ), __( 'Select a service from the list to create a new button', 'wpsr' ), '1' );
|
326 |
-
WPSR_Admin::buttons_selector( $feature );
|
327 |
-
|
328 |
-
echo '<p>' . __( 'List of buttons created.', 'wpsr' ) . '</p>';
|
329 |
-
$buttons = WPSR_Buttons::list_all();
|
330 |
-
WPSR_Admin::buttons_list( 'all_buttons', $feature );
|
331 |
-
|
332 |
-
WPSR_Admin::box_wrap( 'close' );
|
333 |
|
334 |
-
WPSR_Admin::box_wrap( 'open', __( '
|
335 |
WPSR_Admin::buttons_veditor( 'widget_buttons_template', esc_attr( $_GET[ 'template' ] ), true, 'wpsr_preview_template_buttons' );
|
336 |
WPSR_Admin::box_wrap( 'close' );
|
337 |
|
98 |
wp_enqueue_script( 'wpsr_admin_widget_js', WPSR_ADMIN_URL . 'js/script_widgets.js', array( 'jquery' ) );
|
99 |
wp_enqueue_script( 'wp-color-picker' );
|
100 |
wp_enqueue_style( 'wp-color-picker' );
|
101 |
+
wp_enqueue_style( 'wpsr_fa', WPSR_Lists::ext_res( 'font-awesome-adm' ) );
|
102 |
|
103 |
wp_enqueue_style( 'wpsr_ipopup', WPSR_ADMIN_URL . 'css/ipopup.css' );
|
104 |
wp_enqueue_script( 'wpsr_ipopup', WPSR_ADMIN_URL . 'js/ipopup.js' );
|
320 |
'hide_services' => array()
|
321 |
);
|
322 |
|
323 |
+
WPSR_Buttons_Picker::print_buttons_picker($feature);
|
324 |
+
|
325 |
echo '<div id="wpsr_pp_editor">';
|
326 |
echo '<h3>WP Socializer - widget template editor</h3>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
327 |
|
328 |
+
WPSR_Admin::box_wrap( 'open', __( 'Add buttons to the template', 'wpsr' ), __( 'Add buttons to the template using the add sharing button below. Click "+" to add a new row. Click and drag row to rearrange the order.', 'wpsr' ), '1' );
|
329 |
WPSR_Admin::buttons_veditor( 'widget_buttons_template', esc_attr( $_GET[ 'template' ] ), true, 'wpsr_preview_template_buttons' );
|
330 |
WPSR_Admin::box_wrap( 'close' );
|
331 |
|
public/css/wp-socializer.css
CHANGED
@@ -30,7 +30,7 @@
|
|
30 |
}
|
31 |
.wpsr-sb-vl{
|
32 |
z-index: 9999;
|
33 |
-
width: 82px;
|
34 |
top: 50%;
|
35 |
transform: translateY(-50%);
|
36 |
position: fixed;
|
@@ -51,9 +51,6 @@
|
|
51 |
.wpsr-sb-vl-static{
|
52 |
position: absolute;
|
53 |
}
|
54 |
-
.wpsr-sb-vl .socializer *:last-child{
|
55 |
-
margin: 0;
|
56 |
-
}
|
57 |
|
58 |
.wpsr-sb-hl{
|
59 |
left: 50%;
|
@@ -77,6 +74,7 @@
|
|
77 |
bottom: 0;
|
78 |
}
|
79 |
|
|
|
80 |
.wpsr-sb-simple{
|
81 |
padding: 10px;
|
82 |
text-align: center;
|
@@ -95,20 +93,13 @@
|
|
95 |
border: 1px solid transparent;
|
96 |
}
|
97 |
|
98 |
-
.wpsr-sb-wocbtn .wpsr-arrow{
|
99 |
-
color: #fff;
|
100 |
-
}
|
101 |
-
.wpsr-sharebar .wpsr-arrow:before{
|
102 |
-
content: '\f0d9';
|
103 |
-
}
|
104 |
-
|
105 |
.wpsr-sharebar::-webkit-scrollbar{
|
106 |
width: 5px;
|
107 |
height: 5px;
|
108 |
}
|
109 |
|
110 |
.wpsr-sharebar::-webkit-scrollbar-thumb{
|
111 |
-
background: #
|
112 |
border-radius: 10px;
|
113 |
}
|
114 |
.wpsr-sharebar:hover .wpsr-sb-close{
|
@@ -122,14 +113,20 @@
|
|
122 |
display: none;
|
123 |
padding: 10px;
|
124 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
.wpsr-sb-vl .wpsr-sb-close{
|
126 |
-
bottom:
|
127 |
-
transform:
|
128 |
left: 50%;
|
129 |
}
|
130 |
.wpsr-sb-hl .wpsr-sb-close{
|
131 |
-
right:
|
132 |
-
transform:
|
133 |
top: 50%;
|
134 |
}
|
135 |
|
@@ -138,13 +135,13 @@
|
|
138 |
width: 48px;
|
139 |
height: 48px;
|
140 |
border-radius: 50%;
|
|
|
|
|
|
|
141 |
}
|
142 |
.wpsr-mow.wpsr-sharebar .wpsr-sb-inner{
|
143 |
display: none;
|
144 |
}
|
145 |
-
.wpsr-mow.wpsr-sharebar .wpsr-arrow:before{
|
146 |
-
content: '\f1e0';
|
147 |
-
}
|
148 |
.wpsr-mow.wpsr-sharebar .wpsr-sb-close{
|
149 |
top: 0;
|
150 |
margin-top: 0;
|
@@ -236,19 +233,6 @@
|
|
236 |
transform: translateY( -50% );
|
237 |
}
|
238 |
|
239 |
-
.sr-fb-tl .wpsr-arrow:before, .sr-fb-bl .wpsr-arrow:before, .sr-fb-lm .wpsr-arrow:before{
|
240 |
-
content: '\f0d9';
|
241 |
-
}
|
242 |
-
.sr-fb-tr .wpsr-arrow:before, .sr-fb-rm .wpsr-arrow:before, .sr-fb-br .wpsr-arrow:before{
|
243 |
-
content: '\f0da';
|
244 |
-
}
|
245 |
-
.sr-fb-bm .wpsr-arrow:before{
|
246 |
-
content: '\f0d7';
|
247 |
-
}
|
248 |
-
.sr-fb-tm .wpsr-arrow:before{
|
249 |
-
content: '\f0d8';
|
250 |
-
}
|
251 |
-
|
252 |
.wpsr-followbar div.sr-fb-title{
|
253 |
font-size: 0.8em;
|
254 |
margin: 0 0 0.8em 0;
|
@@ -263,23 +247,28 @@
|
|
263 |
}
|
264 |
.wpsr-followbar.sr-fb-vl{
|
265 |
text-align: center;
|
266 |
-
line-height: 1.
|
267 |
}
|
268 |
.wpsr-followbar.sr-fb-vl .sr-fb-title{
|
269 |
width: 5em;
|
270 |
text-align: center;
|
|
|
271 |
}
|
272 |
.wpsr-fb-close{
|
273 |
position: absolute;
|
274 |
right: 0;
|
275 |
-
padding: 10px;
|
276 |
cursor: pointer;
|
277 |
display: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
}
|
279 |
.wpsr-followbar:hover .wpsr-fb-close{
|
280 |
display: block;
|
281 |
}
|
282 |
-
|
283 |
.wpsr-mow.wpsr-followbar .sr-fb-title{
|
284 |
display: none;
|
285 |
}
|
@@ -289,37 +278,32 @@
|
|
289 |
.wpsr-mow.wpsr-followbar .wpsr-fb-close{
|
290 |
display: block;
|
291 |
}
|
292 |
-
|
293 |
-
content: '\f0da';
|
294 |
-
}
|
295 |
-
.wpsr-mow.sr-fb-tr .wpsr-arrow:before, .wpsr-mow.sr-fb-rm .wpsr-arrow:before, .wpsr-mow.sr-fb-br .wpsr-arrow:before{
|
296 |
-
content: '\f0d9';
|
297 |
-
}
|
298 |
-
.wpsr-mow.sr-fb-bm .wpsr-arrow:before{
|
299 |
-
content: '\f0d8';
|
300 |
-
}
|
301 |
-
.wpsr-mow.sr-fb-tm .wpsr-arrow:before{
|
302 |
-
content: '\f0d7';
|
303 |
-
}
|
304 |
.sr-fb-bm .wpsr-fb-close, .sr-fb-bl .wpsr-fb-close{
|
305 |
-
right:
|
306 |
-
transform:
|
307 |
-
|
308 |
-
.wpsr-mow.sr-fb-tl .wpsr-fb-close, .wpsr-mow.sr-fb-lm .wpsr-fb-close{
|
309 |
-
right: -24px;
|
310 |
-
transform: translateY(0%);
|
311 |
}
|
312 |
.sr-fb-vl.sr-fb-br .wpsr-fb-close {
|
313 |
left: 0;
|
314 |
bottom: 0;
|
315 |
transform: translateX(-100%);
|
|
|
316 |
}
|
317 |
.sr-fb-hl.sr-fb-br .wpsr-fb-close {
|
318 |
top: 0;
|
319 |
right: 0;
|
320 |
transform: translateY(-100%);
|
321 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
322 |
|
|
|
323 |
.wpsr-text-sb{
|
324 |
background: #fff;
|
325 |
margin: 0;
|
@@ -386,6 +370,7 @@
|
|
386 |
animation: wpsr-fadein 1s;
|
387 |
}
|
388 |
|
|
|
389 |
.wpsr-mobile-sb{
|
390 |
position: fixed;
|
391 |
bottom: 0;
|
@@ -396,6 +381,7 @@
|
|
396 |
box-shadow: 0 3px 5px 3px #000;
|
397 |
transition: margin 1s ease-out;
|
398 |
margin-bottom: 0;
|
|
|
399 |
}
|
400 |
.wpsr-mobile-sb.wpsr-msb-hide{
|
401 |
transition: margin 2s ease-out;
|
@@ -406,12 +392,40 @@
|
|
406 |
display: none;
|
407 |
}
|
408 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
409 |
.wpsr-clearfix:after{
|
410 |
display: block;
|
411 |
clear: both;
|
412 |
content: '';
|
413 |
}
|
414 |
|
|
|
|
|
|
|
|
|
415 |
@keyframes wpsr-fadein {
|
416 |
0% {opacity: 0;}
|
417 |
100% {opacity: 1;}
|
@@ -421,11 +435,8 @@
|
|
421 |
100% {opacity: 0;}
|
422 |
}
|
423 |
|
424 |
-
.wpsr-btn .fb_iframe_widget {
|
425 |
-
margin-bottom: 0;
|
426 |
-
}
|
427 |
-
|
428 |
@media only screen and (max-width : 800px){
|
|
|
429 |
.wpsr-sb-hl{
|
430 |
bottom: 0 !important;
|
431 |
top: auto !important;
|
@@ -434,10 +445,12 @@
|
|
434 |
border-radius: 0;
|
435 |
overflow: auto;
|
436 |
transform: none;
|
437 |
-
padding-left:
|
|
|
438 |
}
|
439 |
.wpsr-sb-hl .wpsr-sb-inner{
|
440 |
-
width:
|
|
|
441 |
}
|
442 |
.wpsr-sb-hl .wpsr-sb-close {
|
443 |
display: block;
|
@@ -446,17 +459,11 @@
|
|
446 |
top: 0;
|
447 |
bottom: 0;
|
448 |
width: 50px;
|
449 |
-
border-right: 1px solid #ccc;
|
450 |
transform: none;
|
451 |
padding: 0;
|
452 |
}
|
453 |
-
.wpsr-sb-hl .wpsr-arrow{
|
454 |
-
position: absolute;
|
455 |
-
top: 50%;
|
456 |
-
left: 50%;
|
457 |
-
margin: -16px;
|
458 |
-
}
|
459 |
|
|
|
460 |
.wpsr-sb-vl{
|
461 |
bottom: 0 !important;
|
462 |
top: 0 !important;
|
@@ -466,10 +473,7 @@
|
|
466 |
border-radius: 0;
|
467 |
overflow: auto;
|
468 |
transform: none;
|
469 |
-
padding-top:
|
470 |
-
}
|
471 |
-
.wpsr-sb-vl .wpsr-sb-inner{
|
472 |
-
height: 2000px;
|
473 |
}
|
474 |
.wpsr-sb-vl .wpsr-sb-close {
|
475 |
display: block;
|
@@ -477,18 +481,11 @@
|
|
477 |
left: 0 !important;
|
478 |
top: 0;
|
479 |
right: 0;
|
480 |
-
border-bottom: 1px solid #ccc;
|
481 |
margin: 0 !important;
|
482 |
transform: none;
|
483 |
height: 50px;
|
484 |
padding: 0;
|
485 |
}
|
486 |
-
.wpsr-sb-vl .wpsr-arrow{
|
487 |
-
position: absolute;
|
488 |
-
top: 50%;
|
489 |
-
left: 50%;
|
490 |
-
transform: translate( -50%, -50% );
|
491 |
-
}
|
492 |
.wpsr-sb-simple-ns{
|
493 |
background: #fff;
|
494 |
border: 1px solid #dfdfdf;
|
@@ -501,18 +498,14 @@
|
|
501 |
padding: 0;
|
502 |
overflow: hidden;
|
503 |
border-radius: 0;
|
504 |
-
opacity: 0.4;
|
505 |
-
}
|
506 |
-
.wpsr-mow.wpsr-sharebar:hover{
|
507 |
-
opacity: 1;
|
508 |
}
|
509 |
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
top:
|
514 |
-
|
|
|
515 |
}
|
516 |
|
517 |
-
|
518 |
}
|
30 |
}
|
31 |
.wpsr-sb-vl{
|
32 |
z-index: 9999;
|
33 |
+
max-width: 82px;
|
34 |
top: 50%;
|
35 |
transform: translateY(-50%);
|
36 |
position: fixed;
|
51 |
.wpsr-sb-vl-static{
|
52 |
position: absolute;
|
53 |
}
|
|
|
|
|
|
|
54 |
|
55 |
.wpsr-sb-hl{
|
56 |
left: 50%;
|
74 |
bottom: 0;
|
75 |
}
|
76 |
|
77 |
+
/* Sharebar themes */
|
78 |
.wpsr-sb-simple{
|
79 |
padding: 10px;
|
80 |
text-align: center;
|
93 |
border: 1px solid transparent;
|
94 |
}
|
95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
.wpsr-sharebar::-webkit-scrollbar{
|
97 |
width: 5px;
|
98 |
height: 5px;
|
99 |
}
|
100 |
|
101 |
.wpsr-sharebar::-webkit-scrollbar-thumb{
|
102 |
+
background: #aaa;
|
103 |
border-radius: 10px;
|
104 |
}
|
105 |
.wpsr-sharebar:hover .wpsr-sb-close{
|
113 |
display: none;
|
114 |
padding: 10px;
|
115 |
}
|
116 |
+
.wpsr-sb-close .wpsr-bar-icon{
|
117 |
+
opacity: 0.2;
|
118 |
+
}
|
119 |
+
.wpsr-sb-close:hover .wpsr-bar-icon{
|
120 |
+
opacity: 0.8;
|
121 |
+
}
|
122 |
.wpsr-sb-vl .wpsr-sb-close{
|
123 |
+
bottom: 0;
|
124 |
+
transform: translate(-50%, 100%);
|
125 |
left: 50%;
|
126 |
}
|
127 |
.wpsr-sb-hl .wpsr-sb-close{
|
128 |
+
right: 0;
|
129 |
+
transform: translate(100%, -50%);
|
130 |
top: 50%;
|
131 |
}
|
132 |
|
135 |
width: 48px;
|
136 |
height: 48px;
|
137 |
border-radius: 50%;
|
138 |
+
background: none !important;
|
139 |
+
border: none !important;
|
140 |
+
box-shadow: none !important;
|
141 |
}
|
142 |
.wpsr-mow.wpsr-sharebar .wpsr-sb-inner{
|
143 |
display: none;
|
144 |
}
|
|
|
|
|
|
|
145 |
.wpsr-mow.wpsr-sharebar .wpsr-sb-close{
|
146 |
top: 0;
|
147 |
margin-top: 0;
|
233 |
transform: translateY( -50% );
|
234 |
}
|
235 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
236 |
.wpsr-followbar div.sr-fb-title{
|
237 |
font-size: 0.8em;
|
238 |
margin: 0 0 0.8em 0;
|
247 |
}
|
248 |
.wpsr-followbar.sr-fb-vl{
|
249 |
text-align: center;
|
250 |
+
line-height: 1.5q;
|
251 |
}
|
252 |
.wpsr-followbar.sr-fb-vl .sr-fb-title{
|
253 |
width: 5em;
|
254 |
text-align: center;
|
255 |
+
line-height: 1.5;
|
256 |
}
|
257 |
.wpsr-fb-close{
|
258 |
position: absolute;
|
259 |
right: 0;
|
|
|
260 |
cursor: pointer;
|
261 |
display: none;
|
262 |
+
line-height: 0;
|
263 |
+
padding: 1em;
|
264 |
+
opacity: 0.2;
|
265 |
+
}
|
266 |
+
.wpsr-fb-close:hover{
|
267 |
+
opacity: 0.8;
|
268 |
}
|
269 |
.wpsr-followbar:hover .wpsr-fb-close{
|
270 |
display: block;
|
271 |
}
|
|
|
272 |
.wpsr-mow.wpsr-followbar .sr-fb-title{
|
273 |
display: none;
|
274 |
}
|
278 |
.wpsr-mow.wpsr-followbar .wpsr-fb-close{
|
279 |
display: block;
|
280 |
}
|
281 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
282 |
.sr-fb-bm .wpsr-fb-close, .sr-fb-bl .wpsr-fb-close{
|
283 |
+
right: 0;
|
284 |
+
transform: translate(100%,-100%);
|
285 |
+
padding-bottom: 0;
|
|
|
|
|
|
|
286 |
}
|
287 |
.sr-fb-vl.sr-fb-br .wpsr-fb-close {
|
288 |
left: 0;
|
289 |
bottom: 0;
|
290 |
transform: translateX(-100%);
|
291 |
+
padding-bottom: 0;
|
292 |
}
|
293 |
.sr-fb-hl.sr-fb-br .wpsr-fb-close {
|
294 |
top: 0;
|
295 |
right: 0;
|
296 |
transform: translateY(-100%);
|
297 |
}
|
298 |
+
.sr-fb-hl.sr-fb-tr .wpsr-fb-close {
|
299 |
+
padding-right: 0;
|
300 |
+
}
|
301 |
+
.wpsr-mow.sr-fb-tl .wpsr-fb-close, .wpsr-mow.sr-fb-lm .wpsr-fb-close{
|
302 |
+
right: -24px;
|
303 |
+
transform: translateY(0%);
|
304 |
+
}
|
305 |
|
306 |
+
/* Text Sharebar */
|
307 |
.wpsr-text-sb{
|
308 |
background: #fff;
|
309 |
margin: 0;
|
370 |
animation: wpsr-fadein 1s;
|
371 |
}
|
372 |
|
373 |
+
/* Mobile sharebar */
|
374 |
.wpsr-mobile-sb{
|
375 |
position: fixed;
|
376 |
bottom: 0;
|
381 |
box-shadow: 0 3px 5px 3px #000;
|
382 |
transition: margin 1s ease-out;
|
383 |
margin-bottom: 0;
|
384 |
+
z-index: 9999;
|
385 |
}
|
386 |
.wpsr-mobile-sb.wpsr-msb-hide{
|
387 |
transition: margin 2s ease-out;
|
392 |
display: none;
|
393 |
}
|
394 |
|
395 |
+
/* Collapse icon */
|
396 |
+
.wpsr-bar-icon{
|
397 |
+
line-height: 0;
|
398 |
+
background: #000000;
|
399 |
+
display: inline-block;
|
400 |
+
padding: 3px;
|
401 |
+
border-radius: 50%;
|
402 |
+
vertical-align: middle;
|
403 |
+
fill: #fff;
|
404 |
+
}
|
405 |
+
.wpsr-bar-icon .i-open{
|
406 |
+
display: none;
|
407 |
+
}
|
408 |
+
.wpsr-mow .wpsr-bar-icon .i-close{
|
409 |
+
display: none;
|
410 |
+
}
|
411 |
+
.wpsr-mow .wpsr-bar-icon .i-open{
|
412 |
+
display: block;
|
413 |
+
}
|
414 |
+
.wpsr-mow .wpsr-bar-icon{
|
415 |
+
padding: 5px;
|
416 |
+
}
|
417 |
+
|
418 |
+
/* Misc */
|
419 |
.wpsr-clearfix:after{
|
420 |
display: block;
|
421 |
clear: both;
|
422 |
content: '';
|
423 |
}
|
424 |
|
425 |
+
.wpsr-btn .fb_iframe_widget {
|
426 |
+
margin-bottom: 0;
|
427 |
+
}
|
428 |
+
|
429 |
@keyframes wpsr-fadein {
|
430 |
0% {opacity: 0;}
|
431 |
100% {opacity: 1;}
|
435 |
100% {opacity: 0;}
|
436 |
}
|
437 |
|
|
|
|
|
|
|
|
|
438 |
@media only screen and (max-width : 800px){
|
439 |
+
/* Sharebar - Horizontal on mobile */
|
440 |
.wpsr-sb-hl{
|
441 |
bottom: 0 !important;
|
442 |
top: auto !important;
|
445 |
border-radius: 0;
|
446 |
overflow: auto;
|
447 |
transform: none;
|
448 |
+
padding-left: 60px;
|
449 |
+
max-height: 84px;
|
450 |
}
|
451 |
.wpsr-sb-hl .wpsr-sb-inner{
|
452 |
+
width: 100%;
|
453 |
+
padding: 10px;
|
454 |
}
|
455 |
.wpsr-sb-hl .wpsr-sb-close {
|
456 |
display: block;
|
459 |
top: 0;
|
460 |
bottom: 0;
|
461 |
width: 50px;
|
|
|
462 |
transform: none;
|
463 |
padding: 0;
|
464 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
465 |
|
466 |
+
/* Sharebar - Vertical on mobile */
|
467 |
.wpsr-sb-vl{
|
468 |
bottom: 0 !important;
|
469 |
top: 0 !important;
|
473 |
border-radius: 0;
|
474 |
overflow: auto;
|
475 |
transform: none;
|
476 |
+
padding-top: 60px;
|
|
|
|
|
|
|
477 |
}
|
478 |
.wpsr-sb-vl .wpsr-sb-close {
|
479 |
display: block;
|
481 |
left: 0 !important;
|
482 |
top: 0;
|
483 |
right: 0;
|
|
|
484 |
margin: 0 !important;
|
485 |
transform: none;
|
486 |
height: 50px;
|
487 |
padding: 0;
|
488 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
489 |
.wpsr-sb-simple-ns{
|
490 |
background: #fff;
|
491 |
border: 1px solid #dfdfdf;
|
498 |
padding: 0;
|
499 |
overflow: hidden;
|
500 |
border-radius: 0;
|
|
|
|
|
|
|
|
|
501 |
}
|
502 |
|
503 |
+
/* Sharebar - Close button */
|
504 |
+
.wpsr-sharebar .wpsr-bar-icon {
|
505 |
+
position: absolute;
|
506 |
+
top: 50%;
|
507 |
+
left: 50%;
|
508 |
+
transform: translate(-50%,-50%);
|
509 |
}
|
510 |
|
|
|
511 |
}
|
public/css/wp-socializer.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wp-socializer:after{clear:both;content:'';display:block}.wpsr-buttons{display:block;margin:0 0 1.5em 0}.wpsr-buttons .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0;display:inline-block}.wpsr-buttons .wpsr-btn:last-child{margin-right:0}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:9999}.wpsr-sb-inner:after{content:'';display:block;clear:both}.wpsr-sb-vl{z-index:9999;width:82px;top:50%;transform:translateY(-50%);position:fixed}.wpsr-sb-vl .wpsr-btn{margin-bottom:1em;display:block}.wpsr-sb-vl .wpsr-btn:last-child{margin:0}.wpsr-sb-vl-wleft{left:0}.wpsr-sb-vl-wright{right:0}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-
|
1 |
+
.wp-socializer:after{clear:both;content:'';display:block}.wpsr-buttons{display:block;margin:0 0 1.5em 0}.wpsr-buttons .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0;display:inline-block}.wpsr-buttons .wpsr-btn:last-child{margin-right:0}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:9999}.wpsr-sb-inner:after{content:'';display:block;clear:both}.wpsr-sb-vl{z-index:9999;max-width:82px;top:50%;transform:translateY(-50%);position:fixed}.wpsr-sb-vl .wpsr-btn{margin-bottom:1em;display:block}.wpsr-sb-vl .wpsr-btn:last-child{margin:0}.wpsr-sb-vl-wleft{left:0}.wpsr-sb-vl-wright{right:0}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{left:50%;transform:translateX(-50%);position:fixed}.wpsr-sb-hl .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0;display:inline-block}.wpsr-sb-hl .wpsr-btn:last-child{margin:0}.wpsr-sb-hl-wtop{top:0}.wpsr-sb-hl-wbottom{bottom:0}.wpsr-sb-simple{padding:10px;text-align:center;border-radius:10px;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple-sq{padding:10px;text-align:center;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple-ns{text-align:center;border:1px solid transparent}.wpsr-sharebar::-webkit-scrollbar{width:5px;height:5px}.wpsr-sharebar::-webkit-scrollbar-thumb{background:#aaa;border-radius:10px}.wpsr-sharebar:hover .wpsr-sb-close{display:block}.wpsr-sb-close{position:absolute;cursor:pointer;display:none;padding:10px}.wpsr-sb-close .wpsr-bar-icon{opacity:0.2}.wpsr-sb-close:hover .wpsr-bar-icon{opacity:0.8}.wpsr-sb-vl .wpsr-sb-close{bottom:0;transform:translate(-50%,100%);left:50%}.wpsr-sb-hl .wpsr-sb-close{right:0;transform:translate(100%,-50%);top:50%}.wpsr-mow.wpsr-sharebar{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-mow.wpsr-sharebar .wpsr-sb-inner{display:none}.wpsr-mow.wpsr-sharebar .wpsr-sb-close{top:0;margin-top:0;transform:none;right:0;left:0;bottom:0;line-height:48px;display:block;padding:0}.wpsr-counter{line-height:2em;text-align:center;font-size:10px}.wpsr-counter .scount{font-size:2em;font-weight:bold}.wpsr-counter .stext{display:block;line-height:1em;color:#888;text-transform:uppercase;font-size:1em;margin-top:-0.15em}.wpsr-counter.wpsrc-hl{line-height:1em;font-size:18px}.wpsr-counter.wpsrc-hl .scount{font-size:1em;margin-right:0.25em}.wpsr-counter.wpsrc-hl .stext{display:inline-block;font-size:0.8em}.socializer span.sr-cicon a{background:none;border:none}.wpsr-followbar{position:fixed;z-index:999999;line-height:0}.sr-fb-tl{top:20px;left:20px}.sr-fb-tm{top:20px;left:50%;transform:translateX( -50% )}.sr-fb-tr{top:20px;right:20px}.sr-fb-rm{top:50%;right:20px;transform:translateY( -50% )}.sr-fb-br{bottom:20px;right:20px}.sr-fb-bm{bottom:20px;left:50%;transform:translateX( -50% )}.sr-fb-bl{bottom:20px;left:20px}.sr-fb-lm{left:20px;top:50%;transform:translateY( -50% )}.wpsr-followbar div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-followbar.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-followbar.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-followbar.sr-fb-vl .sr-fb-title{width:5em;text-align:center;line-height:1.5}.wpsr-fb-close{position:absolute;right:0;cursor:pointer;display:none;line-height:0;padding:1em;opacity:0.2}.wpsr-fb-close:hover{opacity:0.8}.wpsr-followbar:hover .wpsr-fb-close{display:block}.wpsr-mow.wpsr-followbar .sr-fb-title{display:none}.wpsr-mow.wpsr-followbar .sr-followbar{display:none}.wpsr-mow.wpsr-followbar .wpsr-fb-close{display:block}.sr-fb-bm .wpsr-fb-close,.sr-fb-bl .wpsr-fb-close{right:0;transform:translate(100%,-100%);padding-bottom:0}.sr-fb-vl.sr-fb-br .wpsr-fb-close{left:0;bottom:0;transform:translateX(-100%);padding-bottom:0}.sr-fb-hl.sr-fb-br .wpsr-fb-close{top:0;right:0;transform:translateY(-100%)}.sr-fb-hl.sr-fb-tr .wpsr-fb-close{padding-right:0}.wpsr-mow.sr-fb-tl .wpsr-fb-close,.wpsr-mow.sr-fb-lm .wpsr-fb-close{right:-24px;transform:translateY(0%)}.wpsr-text-sb{background:#fff;margin:0;padding:0 10px;border-radius:5px;display:inline-block;position:absolute;transform:translate( -50%,-150% );margin-top:-10px;transition:margin-top 0.5s;display:none;animation:wpsr-fadeout 1s;box-shadow:0 3px 6px -3px #000;background-image:linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0))}.wpsr-text-sb:before{position:absolute;content:'';display:block;background-color:inherit;width:10px;height:10px;bottom:-5px;transform:rotate(45deg) translateX(-50%);left:50%;z-index:-1;transform-origin:left;box-shadow:2px 2px 4px -2px #000}.wpsr-text-sb li{list-style:none;float:left;line-height:0}.wpsr-text-sb li a{text-align:center;display:inline-block}.wpsr-text-sb li a:hover{background-image:linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0))}.wpsr-tsb-32px a{width:32px;height:32px;line-height:32px;font-size:16px}.wpsr-tsb-48px a{width:48px;height:48px;line-height:48px;font-size:24px}.wpsr-tsb-64px a{width:64px;height:64px;line-height:64px;font-size:32px}.wpsr-text-sb.wpsr-tsb-active{margin-top:0;transition:margin-top 0.5s;display:block;animation:wpsr-fadein 1s}.wpsr-mobile-sb{position:fixed;bottom:0;left:0;right:0;line-height:0;background:#fff;box-shadow:0 3px 5px 3px #000;transition:margin 1s ease-out;margin-bottom:0;z-index:9999}.wpsr-mobile-sb.wpsr-msb-hide{transition:margin 2s ease-out;margin-bottom:-68px}.wpsr-mow.wpsr-buttons{display:none}.wpsr-bar-icon{line-height:0;background:#000;display:inline-block;padding:3px;border-radius:50%;vertical-align:middle;fill:#fff}.wpsr-bar-icon .i-open{display:none}.wpsr-mow .wpsr-bar-icon .i-close{display:none}.wpsr-mow .wpsr-bar-icon .i-open{display:block}.wpsr-mow .wpsr-bar-icon{padding:5px}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-btn .fb_iframe_widget{margin-bottom:0}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}@media only screen and (max-width:800px){.wpsr-sb-hl{bottom:0!important;top:auto!important;left:-1px!important;right:-1px!important;border-radius:0;overflow:auto;transform:none;padding-left:60px;max-height:84px}.wpsr-sb-hl .wpsr-sb-inner{width:100%;padding:10px}.wpsr-sb-hl .wpsr-sb-close{display:block;position:absolute;left:0;top:0;bottom:0;width:50px;transform:none;padding:0}.wpsr-sb-vl{bottom:0!important;top:0!important;left:-1px!important;right:auto!important;margin-left:0!important;border-radius:0;overflow:auto;transform:none;padding-top:60px}.wpsr-sb-vl .wpsr-sb-close{display:block;position:absolute;left:0!important;top:0;right:0;margin:0!important;transform:none;height:50px;padding:0}.wpsr-sb-simple-ns{background:#fff;border:1px solid #dfdfdf}.wpsr-mow.wpsr-sharebar{width:50px;height:50px;padding:0;overflow:hidden;border-radius:0}.wpsr-sharebar .wpsr-bar-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}
|
public/css/wpsr.min.css
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-socializer:after{clear:both;content:'';display:block}.wpsr-buttons{display:block;margin:0 0 1.5em 0}.wpsr-buttons .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0;display:inline-block}.wpsr-buttons .wpsr-btn:last-child{margin-right:0}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:9999}.wpsr-sb-inner:after{content:'';display:block;clear:both}.wpsr-sb-vl{z-index:9999;max-width:82px;top:50%;transform:translateY(-50%);position:fixed}.wpsr-sb-vl .wpsr-btn{margin-bottom:1em;display:block}.wpsr-sb-vl .wpsr-btn:last-child{margin:0}.wpsr-sb-vl-wleft{left:0}.wpsr-sb-vl-wright{right:0}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{left:50%;transform:translateX(-50%);position:fixed}.wpsr-sb-hl .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0;display:inline-block}.wpsr-sb-hl .wpsr-btn:last-child{margin:0}.wpsr-sb-hl-wtop{top:0}.wpsr-sb-hl-wbottom{bottom:0}.wpsr-sb-simple{padding:10px;text-align:center;border-radius:10px;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple-sq{padding:10px;text-align:center;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple-ns{text-align:center;border:1px solid transparent}.wpsr-sharebar::-webkit-scrollbar{width:5px;height:5px}.wpsr-sharebar::-webkit-scrollbar-thumb{background:#aaa;border-radius:10px}.wpsr-sharebar:hover .wpsr-sb-close{display:block}.wpsr-sb-close{position:absolute;cursor:pointer;display:none;padding:10px}.wpsr-sb-close .wpsr-bar-icon{opacity:0.2}.wpsr-sb-close:hover .wpsr-bar-icon{opacity:0.8}.wpsr-sb-vl .wpsr-sb-close{bottom:0;transform:translate(-50%,100%);left:50%}.wpsr-sb-hl .wpsr-sb-close{right:0;transform:translate(100%,-50%);top:50%}.wpsr-mow.wpsr-sharebar{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-mow.wpsr-sharebar .wpsr-sb-inner{display:none}.wpsr-mow.wpsr-sharebar .wpsr-sb-close{top:0;margin-top:0;transform:none;right:0;left:0;bottom:0;line-height:48px;display:block;padding:0}.wpsr-counter{line-height:2em;text-align:center;font-size:10px}.wpsr-counter .scount{font-size:2em;font-weight:bold}.wpsr-counter .stext{display:block;line-height:1em;color:#888;text-transform:uppercase;font-size:1em;margin-top:-0.15em}.wpsr-counter.wpsrc-hl{line-height:1em;font-size:18px}.wpsr-counter.wpsrc-hl .scount{font-size:1em;margin-right:0.25em}.wpsr-counter.wpsrc-hl .stext{display:inline-block;font-size:0.8em}.socializer span.sr-cicon a{background:none;border:none}.wpsr-followbar{position:fixed;z-index:999999;line-height:0}.sr-fb-tl{top:20px;left:20px}.sr-fb-tm{top:20px;left:50%;transform:translateX( -50% )}.sr-fb-tr{top:20px;right:20px}.sr-fb-rm{top:50%;right:20px;transform:translateY( -50% )}.sr-fb-br{bottom:20px;right:20px}.sr-fb-bm{bottom:20px;left:50%;transform:translateX( -50% )}.sr-fb-bl{bottom:20px;left:20px}.sr-fb-lm{left:20px;top:50%;transform:translateY( -50% )}.wpsr-followbar div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-followbar.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-followbar.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-followbar.sr-fb-vl .sr-fb-title{width:5em;text-align:center;line-height:1.5}.wpsr-fb-close{position:absolute;right:0;cursor:pointer;display:none;line-height:0;padding:1em;opacity:0.2}.wpsr-fb-close:hover{opacity:0.8}.wpsr-followbar:hover .wpsr-fb-close{display:block}.wpsr-mow.wpsr-followbar .sr-fb-title{display:none}.wpsr-mow.wpsr-followbar .sr-followbar{display:none}.wpsr-mow.wpsr-followbar .wpsr-fb-close{display:block}.sr-fb-bm .wpsr-fb-close,.sr-fb-bl .wpsr-fb-close{right:0;transform:translate(100%,-100%);padding-bottom:0}.sr-fb-vl.sr-fb-br .wpsr-fb-close{left:0;bottom:0;transform:translateX(-100%);padding-bottom:0}.sr-fb-hl.sr-fb-br .wpsr-fb-close{top:0;right:0;transform:translateY(-100%)}.sr-fb-hl.sr-fb-tr .wpsr-fb-close{padding-right:0}.wpsr-mow.sr-fb-tl .wpsr-fb-close,.wpsr-mow.sr-fb-lm .wpsr-fb-close{right:-24px;transform:translateY(0%)}.wpsr-text-sb{background:#fff;margin:0;padding:0 10px;border-radius:5px;display:inline-block;position:absolute;transform:translate( -50%,-150% );margin-top:-10px;transition:margin-top 0.5s;display:none;animation:wpsr-fadeout 1s;box-shadow:0 3px 6px -3px #000;background-image:linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0))}.wpsr-text-sb:before{position:absolute;content:'';display:block;background-color:inherit;width:10px;height:10px;bottom:-5px;transform:rotate(45deg) translateX(-50%);left:50%;z-index:-1;transform-origin:left;box-shadow:2px 2px 4px -2px #000}.wpsr-text-sb li{list-style:none;float:left;line-height:0}.wpsr-text-sb li a{text-align:center;display:inline-block}.wpsr-text-sb li a:hover{background-image:linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0))}.wpsr-tsb-32px a{width:32px;height:32px;line-height:32px;font-size:16px}.wpsr-tsb-48px a{width:48px;height:48px;line-height:48px;font-size:24px}.wpsr-tsb-64px a{width:64px;height:64px;line-height:64px;font-size:32px}.wpsr-text-sb.wpsr-tsb-active{margin-top:0;transition:margin-top 0.5s;display:block;animation:wpsr-fadein 1s}.wpsr-mobile-sb{position:fixed;bottom:0;left:0;right:0;line-height:0;background:#fff;box-shadow:0 3px 5px 3px #000;transition:margin 1s ease-out;margin-bottom:0;z-index:9999}.wpsr-mobile-sb.wpsr-msb-hide{transition:margin 2s ease-out;margin-bottom:-68px}.wpsr-mow.wpsr-buttons{display:none}.wpsr-bar-icon{line-height:0;background:#000;display:inline-block;padding:3px;border-radius:50%;vertical-align:middle;fill:#fff}.wpsr-bar-icon .i-open{display:none}.wpsr-mow .wpsr-bar-icon .i-close{display:none}.wpsr-mow .wpsr-bar-icon .i-open{display:block}.wpsr-mow .wpsr-bar-icon{padding:5px}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-btn .fb_iframe_widget{margin-bottom:0}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}@media only screen and (max-width:800px){.wpsr-sb-hl{bottom:0!important;top:auto!important;left:-1px!important;right:-1px!important;border-radius:0;overflow:auto;transform:none;padding-left:60px;max-height:84px}.wpsr-sb-hl .wpsr-sb-inner{width:100%;padding:10px}.wpsr-sb-hl .wpsr-sb-close{display:block;position:absolute;left:0;top:0;bottom:0;width:50px;transform:none;padding:0}.wpsr-sb-vl{bottom:0!important;top:0!important;left:-1px!important;right:auto!important;margin-left:0!important;border-radius:0;overflow:auto;transform:none;padding-top:60px}.wpsr-sb-vl .wpsr-sb-close{display:block;position:absolute;left:0!important;top:0;right:0;margin:0!important;transform:none;height:50px;padding:0}.wpsr-sb-simple-ns{background:#fff;border:1px solid #dfdfdf}.wpsr-mow.wpsr-sharebar{width:50px;height:50px;padding:0;overflow:hidden;border-radius:0}.wpsr-sharebar .wpsr-bar-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}
|
2 |
+
/*!
|
3 |
+
* Socializer - CSS library for social media buttons
|
4 |
+
* Copyright (c) 2016 Aakash Chakravarthy - www.aakashweb.com
|
5 |
+
* MIT license
|
6 |
+
*/.socializer,.socializer a>*,.socializer>*{display:inline-block;padding:0;margin:0}.socializer:after,.sr-more .socializer:after{content:'';clear:both}.socializer a>*,.sr-text-out .text,.sr-text-out a{vertical-align:middle}.socializer a,.sr-text-below{text-align:center}.socializer:after,.sr-more .socializer:after,.sr-more .socializer:before,.sr-ribbon a:after,.sr-text-hover .text:before{content:''}.socializer>*{float:left;list-style:none;position:relative}.socializer a{font-family:sans-serif!important;display:inline-block;border:0 solid;text-decoration:none;width:16px;height:16px;line-height:18px;font-size:8px;box-sizing:content-box;transition:all .5s;-webkit-transition:all .2s;transition-timing-function:ease-out;-webkit-transition-timing-function:ease-out}.socializer:after{display:block}.sr-32px{min-height:32px}.sr-32px a{width:32px;height:32px;line-height:32px;font-size:16px}.sr-32px.sr-font-sm a{font-size:10.67px}.sr-32px.sr-font-lg a{font-size:21.33px}.sr-40px{min-height:40px}.sr-40px a{width:40px;height:40px;line-height:40px;font-size:20px}.sr-40px.sr-font-sm a{font-size:13.33px}.sr-40px.sr-font-lg a{font-size:26.67px}.sr-48px{min-height:48px}.sr-48px a{width:48px;height:48px;line-height:48px;font-size:24px}.sr-48px.sr-font-sm a{font-size:16px}.sr-48px.sr-font-lg a,.sr-64px a{font-size:32px}.sr-64px{min-height:64px}.sr-64px a{width:64px;height:64px;line-height:64px}.sr-64px.sr-font-sm a{font-size:21.33px}.sr-64px.sr-font-lg a{font-size:42.67px}.socializer .sr-addtofavorites a,.socializer .sr-addtofavorites a:visited{color:#F9A600;border-color:#F9A600;background-color:#F9A600}.socializer .sr-behance a,.socializer .sr-behance a:visited{color:#1769ff;border-color:#1769ff;background-color:#1769ff}.socializer .sr-bitbucket a,.socializer .sr-bitbucket a:visited{color:#205081;border-color:#205081;background-color:#205081}.socializer .sr-blogger a,.socializer .sr-blogger a:visited{color:#FF6501;border-color:#FF6501;background-color:#FF6501}.socializer .sr-codepen a,.socializer .sr-codepen a:visited{color:#000;border-color:#000;background-color:#000}.socializer .sr-comments a,.socializer .sr-comments a:visited{color:#333;border-color:#333;background-color:#333}.socializer .sr-delicious a,.socializer .sr-delicious a:visited{color:#3274D1;border-color:#3274D1;background-color:#3274D1}.socializer .sr-deviantart a,.socializer .sr-deviantart a:visited{color:#475c4d;border-color:#475c4d;background-color:#475c4d}.socializer .sr-digg a,.socializer .sr-digg a:visited{color:#000;border-color:#000;background-color:#000}.socializer .sr-dribbble a,.socializer .sr-dribbble a:visited{color:#ea4c89;border-color:#ea4c89;background-color:#ea4c89}.socializer .sr-email a,.socializer .sr-email a:visited{color:#000;border-color:#000;background-color:#000}.socializer .sr-facebook a,.socializer .sr-facebook a:visited{color:#3e5b98;border-color:#3e5b98;background-color:#3e5b98}.socializer .sr-fbmessenger a,.socializer .sr-fbmessenger a:visited{color:#2998ff;border-color:#2998ff;background-color:#2998ff}.socializer .sr-flickr a,.socializer .sr-flickr a:visited{color:#1c9be9;border-color:#1c9be9;background-color:#1c9be9}.socializer .sr-github a,.socializer .sr-github a:visited{color:#333;border-color:#333;background-color:#333}.socializer .sr-google a,.socializer .sr-google a:visited{color:#3A7CEC;border-color:#3A7CEC;background-color:#3A7CEC}.socializer .sr-googleplus a,.socializer .sr-googleplus a:visited{color:#DB483B;border-color:#DB483B;background-color:#DB483B}.socializer .sr-hackernews a,.socializer .sr-hackernews a:visited{color:#FF6500;border-color:#FF6500;background-color:#FF6500}.socializer .sr-instagram a,.socializer .sr-instagram a:visited{color:#0d3c5f;border-color:#0d3c5f;background-color:#0d3c5f}.socializer .sr-line a,.socializer .sr-line a:visited{color:#00C300;border-color:#00C300;background-color:#00C300}.socializer .sr-linkedin a,.socializer .sr-linkedin a:visited{color:#0274B3;border-color:#0274B3;background-color:#0274B3}.socializer .sr-medium a,.socializer .sr-medium a:visited{color:#02b875;border-color:#02b875;background-color:#02b875}.socializer .sr-mix a,.socializer .sr-mix a:visited{color:#ff8226;border-color:#ff8226;background-color:#ff8226}.socializer .sr-odnoklassniki a,.socializer .sr-odnoklassniki a:visited{color:#F2720C;border-color:#F2720C;background-color:#F2720C}.socializer .sr-paypal a,.socializer .sr-paypal a:visited{color:#0070ba;border-color:#0070ba;background-color:#0070ba}.socializer .sr-pdf a,.socializer .sr-pdf a:visited{color:#E61B2E;border-color:#E61B2E;background-color:#E61B2E}.socializer .sr-pinterest a,.socializer .sr-pinterest a:visited{color:#CB2027;border-color:#CB2027;background-color:#CB2027}.socializer .sr-pocket a,.socializer .sr-pocket a:visited{color:#EF4056;border-color:#EF4056;background-color:#EF4056}.socializer .sr-print a,.socializer .sr-print a:visited{color:#6D9F00;border-color:#6D9F00;background-color:#6D9F00}.socializer .sr-reddit a,.socializer .sr-reddit a:visited{color:#FF5600;border-color:#FF5600;background-color:#FF5600}.socializer .sr-renren a,.socializer .sr-renren a:visited{color:#005EAC;border-color:#005EAC;background-color:#005EAC}.socializer .sr-rss a,.socializer .sr-rss a:visited{color:#FF7B0A;border-color:#FF7B0A;background-color:#FF7B0A}.socializer .sr-shortlink a,.socializer .sr-shortlink a:visited{color:#333;border-color:#333;background-color:#333}.socializer .sr-skype a,.socializer .sr-skype a:visited{color:#00AFF0;border-color:#00AFF0;background-color:#00AFF0}.socializer .sr-snapchat a,.socializer .sr-snapchat a:visited{color:#FFFC00;border-color:#FFFC00;background-color:#FFFC00}.socializer .sr-soundcloud a,.socializer .sr-soundcloud a:visited{color:#f50;border-color:#f50;background-color:#f50}.socializer .sr-stackoverflow a,.socializer .sr-stackoverflow a:visited{color:#F48024;border-color:#F48024;background-color:#F48024}.socializer .sr-stumbleupon a,.socializer .sr-stumbleupon a:visited{color:#EB4823;border-color:#EB4823;background-color:#EB4823}.socializer .sr-quora a,.socializer .sr-quora a:visited{color:#b92b27;border-color:#b92b27;background-color:#b92b27}.socializer .sr-telegram a,.socializer .sr-telegram a:visited{color:#179cde;border-color:#179cde;background-color:#179cde}.socializer .sr-tumblr a,.socializer .sr-tumblr a:visited{color:#314358;border-color:#314358;background-color:#314358}.socializer .sr-twitch a,.socializer .sr-twitch a:visited{color:#4b367c;border-color:#4b367c;background-color:#4b367c}.socializer .sr-twitter a,.socializer .sr-twitter a:visited{color:#4da7de;border-color:#4da7de;background-color:#4da7de}.socializer .sr-vimeo a,.socializer .sr-vimeo a:visited{color:#00ADEF;border-color:#00ADEF;background-color:#00ADEF}.socializer .sr-vkontakte a,.socializer .sr-vkontakte a:visited{color:#4C75A3;border-color:#4C75A3;background-color:#4C75A3}.socializer .sr-wechat a,.socializer .sr-wechat a:visited{color:#7BB32E;border-color:#7BB32E;background-color:#7BB32E}.socializer .sr-weibo a,.socializer .sr-weibo a:visited{color:#E6162D;border-color:#E6162D;background-color:#E6162D}.socializer .sr-whatsapp a,.socializer .sr-whatsapp a:visited{color:#60b82d;border-color:#60b82d;background-color:#60b82d}.socializer .sr-xing a,.socializer .sr-xing a:visited{color:#006567;border-color:#006567;background-color:#006567}.socializer .sr-yahoomail a,.socializer .sr-yahoomail a:visited{color:#4A00A1;border-color:#4A00A1;background-color:#4A00A1}.socializer .sr-youtube a,.socializer .sr-youtube a:visited{color:#cc181e;border-color:#cc181e;background-color:#cc181e}.socializer .sr-more>a,.socializer .sr-more>a:visited{color:green;border-color:green;background-color:green}.sr-text-in a{width:auto;padding:0 1em;overflow:hidden}.sr-text-in a>*{padding-right:.5em}.sr-text-in a>:last-child{padding-right:0}.sr-text-out .text{font-size:12px;margin-left:.5em}.sr-text-below .text{display:block;font-size:12px;margin-top:.5em}.sr-text-hover .text{display:none;position:absolute;background:#000;color:#fff;font-size:12px;width:100px;top:-3em;border-radius:5px;text-align:center;line-height:2em;margin-left:-25%;z-index:9999}.sr-text-hover .text:before{position:absolute;border:.5em solid red;bottom:-1em;left:1em;width:0;height:0;border-color:#000 transparent transparent}.sr-vertical.sr-count-2 a,.sr-vertical.sr-count-3 a{height:auto}.sr-text-hover:hover>.text{display:block}.sr-bdr-sm.socializer a{border-width:1px}.sr-bdr-md.socializer a{border-width:2px}.sr-bdr-lg.socializer a{border-width:3px}.sr-bdr-none.socializer a{border-width:0}.sr-bdr-white.socializer a,.sr-bdr-white.socializer a:visited{border-color:#fff}.sr-bdr-dark.socializer a,.sr-bdr-dark.socializer a:visited{border-color:#000}.sr-bdr-grey.socializer a,.sr-bdr-grey.socializer a:visited{border-color:#ccc}.sr-bg-white.socializer a,.sr-bg-white.socializer a:visited{background-color:#fff}.sr-bg-dark.socializer a,.sr-bg-dark.socializer a:visited{background-color:#333}.sr-bg-grey.socializer a,.sr-bg-grey.socializer a:visited{background-color:#ccc}.sr-bg-none.socializer a,.sr-bg-none.socializer a:visited{background-color:transparent}.sr-icon-white.socializer a,.sr-icon-white.socializer a:visited{color:#fff}.sr-icon-dark.socializer a,.sr-icon-dark.socializer a:visited{color:#333}.sr-icon-grey.socializer a,.sr-icon-grey.socializer a:visited{color:#ccc}.sr-sw-1.socializer a{box-shadow:0 0 .2em rgba(0,0,0,.3)}.sr-sw-2.socializer a{box-shadow:inset 0 -.1em .1em rgba(0,0,0,.3)}.sr-sw-3.socializer a{box-shadow:0 -.1em .1em rgba(0,0,0,.3)}.sr-sw-icon-1.socializer a i{text-shadow:0 1px 1px rgba(0,0,0,.5)}.sr-count-1 span.ctext{background:#FF5722;position:absolute;top:-.6em;right:-.6em;border-radius:1em;font-size:.6em;line-height:1;padding:.3em .5em;z-index:99;color:#fff;box-shadow:0 1px 3px -1px #000}.sr-count-2 span.ctext,.sr-count-3 span.ctext{font-size:.8em;margin:0;line-height:.8em;font-weight:700}.sr-count-2 span.ctext{padding:.5em;background:rgba(0,0,0,.3);border-radius:1em}.sr-count-3 span.ctext{border-left:1px solid;padding:0 0 0 .8em}.sr-vertical.sr-count-2 span.ctext,.sr-vertical.sr-count-3 span.ctext{font-size:.6em;border-radius:0;padding:.5em;display:block}.sr-vertical.sr-count-3 span.ctext{border-top:1px solid}.sr-bb-1 .sr-text-in{margin-right:3.5em}.sr-bb-1 a{position:relative;overflow:visible}.sr-bb-1 span.ctext{font-size:.8em;font-weight:700;background:#fff;border-radius:3px;color:#333;position:absolute;width:3em;top:0;bottom:0;padding:0;right:-3.5em;border:1px solid #dfdfdf}.sr-vertical.sr-bb-1 span.ctext{display:block;position:static;width:100%;margin:-.3em 0 0;font-size:.7em;line-height:1;padding:.3em 0}.sr-circle a{border-radius:50%}.sr-circle .sr-text-in a,.sr-circle.sr-text-in a{border-radius:1em}.sr-squircle .sr-text-in a,.sr-squircle a,.sr-squircle.sr-text-in a{border-radius:.5em}.sr-squircle-2 .sr-text-in a,.sr-squircle-2 a,.sr-squircle-2.sr-text-in a{border-radius:0 .5em}.sr-diamond a{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.sr-diamond a>*{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.sr-drop a{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50% 50% 0}.sr-drop a>*{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.sr-ribbon a:after{display:block;position:absolute;left:0;right:0;border-style:solid;border-color:inherit;border-bottom-color:transparent;border-width:0 1em .5em}.sr-fluid{display:table;width:100%;table-layout:fixed}.sr-fluid>*{display:table-cell;float:none;width:100%}.sr-fluid a{width:100%;box-sizing:border-box;overflow:hidden;padding:0 .5em}.sr-fluid.sr-pad{border-spacing:.25em}.sr-fluid .sr-text-in a>*,.sr-fluid.sr-text-in a>*{margin-right:.5em}.sr-fluid .sr-text-in a>:last-child,.sr-fluid.sr-text-in a>:last-child{margin-right:0}.sr-fluid .sr-text-in a:last-child,.sr-fluid.sr-text-in a:last-child{margin:0}.sr-fluid.sr-squircle a{border-radius:.5em}.sr-fluid.sr-squircle-2 a{border-radius:0 .5em}.sr-fluid .sr-more li{display:block;width:100%}.sr-no-icon i,.sr-vertical .sr-text-in .text{display:none}.sr-vertical{width:16px}.sr-vertical.sr-32px,.sr-vertical.sr-32px>*{width:32px}.sr-vertical.sr-40px,.sr-vertical.sr-40px>*{width:40px}.sr-vertical.sr-48px,.sr-vertical.sr-48px>*{width:48px}.sr-vertical.sr-64px,.sr-vertical.sr-64px>*{width:64px}.sr-vertical.sr-pad>*{margin:0 0 .5em}.sr-vertical .sr-text-in{line-height:1}.sr-vertical .sr-text-in a{padding:0;width:inherit}.sr-vertical .sr-text-in a>*{padding:0}.sr-opacity a:hover{opacity:.5}.sr-opacity a:active{opacity:.8}.sr-fade-black a:active,.sr-fade-white a:active{opacity:.2}.sr-rotate a:hover{-webkit-transform:rotate(15deg);transform:rotate(15deg)}.sr-rotate a:active{-webkit-transform:rotate(0);transform:rotate(0)}.sr-zoom a:hover{-webkit-transform:scale(1.1);transform:scale(1.1);z-index:9999}.sr-shrink a:hover,.sr-zoom a:active{-webkit-transform:scale(.9);transform:scale(.9)}.sr-shrink a:active{-webkit-transform:scale(.7);transform:scale(.7)}.sr-float a:hover{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.sr-float a:active{-webkit-transform:translateY(0);transform:translateY(0)}.sr-sink a:hover{-webkit-transform:translateY(5px);transform:translateY(5px)}.sr-sink a:active{-webkit-transform:translateY(0);transform:translateY(0)}.sr-fade-white a:hover{color:#000;background-color:#fff}.sr-fade-black a:hover{color:#fff;background-color:#000}.sr-pad>*{margin-right:.5em}.sr-multiline>*{margin-bottom:.5em}.socializer.sr-pad>:last-child{margin:0}.sr-more .socializer{background:#fff;padding:.5em;position:absolute;display:none;box-shadow:0 2px 6px -2px;z-index:9999}.sr-sb-dark,.sr-sb-white{box-shadow:0 1px 4px -2px;padding:10px}.sr-more .socializer:before{display:inline-block;position:absolute;border:.25em solid;border-color:transparent transparent #fff;top:-.5em;left:.5em}.sr-more .socializer:after{display:block}.sr-more .socializer>*{margin:0 0 .5em}.sr-more .socializer>:last-child{margin-bottom:0}.sr-more:hover .socializer{display:block}.sr-sharebar{position:fixed;z-index:9999}.sr-sb-vl{top:50%;transform:translateY(-50%)}.sr-sb-left{left:30px}.sr-sb-right{right:30px}.sr-sb-hl{left:50%;transform:translateX(-50%)}.sr-sb-top{top:30px}.sr-sb-bottom{bottom:30px}.sr-sb-white{background:#fff}.sr-sb-dark{background:#333}.sr-sb-dark .text{color:#fff}
|
public/js/wp-socializer.js
CHANGED
@@ -250,18 +250,18 @@ document.addEventListener( 'DOMContentLoaded', function(){
|
|
250 |
// Mobile sharebar
|
251 |
msb = document.querySelector( '.wpsr-mobile-sb' );
|
252 |
if( msb ){
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
}
|
266 |
|
267 |
// Followbar
|
250 |
// Mobile sharebar
|
251 |
msb = document.querySelector( '.wpsr-mobile-sb' );
|
252 |
if( msb ){
|
253 |
+
if( msb.classList.contains( 'wpsr-mobile-hos' ) ){
|
254 |
+
var lastScrollTop = 0;
|
255 |
+
window.addEventListener( 'scroll', function(){
|
256 |
+
var st = window.pageYOffset || document.documentElement.scrollTop;
|
257 |
+
if ( st > lastScrollTop ){
|
258 |
+
wpsr_helpers.addClass( msb, 'wpsr-msb-hide' );
|
259 |
+
} else {
|
260 |
+
wpsr_helpers.removeClass( msb, 'wpsr-msb-hide' );
|
261 |
+
}
|
262 |
+
lastScrollTop = st;
|
263 |
+
}, false );
|
264 |
+
}
|
265 |
}
|
266 |
|
267 |
// Followbar
|
public/js/wp-socializer.min.js
CHANGED
@@ -1,35 +1 @@
|
|
1 |
-
function socializer_addbookmark(t){var e=navigator.userAgent.toLowerCase(),s
|
2 |
-
t.preventDefault(),r=(s?"Command/Cmd":"CTRL")+" + D",alert("Press "+r+" to bookmark this page")}function socializer_shortlink(t,e){t.preventDefault(),link=e.getAttribute("href"),"#"!=link&&prompt("Short link",link)}window.wpsr_helpers={addClass:function(t,e){t.classList?t.classList.add(e):t.className+=" "+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")},popup:function(t,e,s,r){var n=screen.width/2-s/2,o=screen.height/2-r/2
|
3 |
-
return window.open(t,e,"toolbar=no,location=no,menubar=no,scrollbars=yes,width="+s+",height="+r+",top="+o+",left="+n)},ajax:function(t,e,s,r,n){var o=new XMLHttpRequest
|
4 |
-
o.props=n,o.open(e,t,!0),"POST"==e&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),o.onreadystatechange=function(){if(4==o.readyState&&200==o.status)return r(o)},o.send(s)},format_num:function(t){if(t<1e3)return t
|
5 |
-
for(var e=["k","m","b","t"],s=t,r=0;r<e.length;r++)if(!((t/=1e3)>1e3)){s=Math.round(100*t)/100+e[r]
|
6 |
-
break}return s}},document.addEventListener("DOMContentLoaded",function(){for(scr_links=document.querySelectorAll(".socializer.sr-popup a"),u=0;u<scr_links.length;u++){var t=scr_links[u]
|
7 |
-
t.addEventListener("click",function(t){var e=this.getAttribute("href")
|
8 |
-
"#"==e||this.hasAttribute("onclick")||wpsr_helpers.popup(e,"_blank",800,500),t.preventDefault()})}var e=document.querySelector(".wpsr-sharebar")
|
9 |
-
if(e){var s=function(){vlsb=document.querySelector(".wpsr-sb-vl-scontent"),vlsb&&(stick=vlsb.getAttribute("data-stickto"),stick_ele=document.querySelector(stick),stick_ele&&(vlsb.style.left=stick_ele.offsetLeft+"px")),e&&window.innerWidth<=800&&wpsr_helpers.addClass(e,"wpsr-mow")}
|
10 |
-
s(),window.addEventListener("resize",s),sb_close_btn=e.querySelector(".wpsr-sb-close"),sb_close_btn.addEventListener("click",function(){e.classList.contains("wpsr-mow")?wpsr_helpers.removeClass(e,"wpsr-mow"):wpsr_helpers.addClass(e,"wpsr-mow")})}if(tsb=document.querySelector(".wpsr-text-sb"),tsb){window.wpsr_tsb={stext:"",startx:0,starty:0}
|
11 |
-
var r={ptitle:tsb.getAttribute("data-title"),purl:tsb.getAttribute("data-url"),psurl:tsb.getAttribute("data-surl"),ptuname:tsb.getAttribute("data-tuname"),cnt_sel:tsb.getAttribute("data-content"),word_count:tsb.getAttribute("data-tcount")},n=function(){var t=""
|
12 |
-
return window.getSelection?t=window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&(t=document.selection.createRange().text),t},o=function(t,e){tsb.style.left=t+"px",tsb.style.top=e+"px",wpsr_helpers.addClass(tsb,"wpsr-tsb-active")},a=function(){wpsr_helpers.removeClass(tsb,"wpsr-tsb-active")},i=function(){var t=wpsr_tsb.stext,e=parseInt(r.word_count)
|
13 |
-
return 0==e?t:t.split(" ").slice(0,e).join(" ")},l=function(t){var e={"{title}":r.ptitle,"{url}":r.purl,"{s-url}":r.psurl,"{twitter-username}":r.ptuname,"{excerpt}":i()}
|
14 |
-
for(var s in e)e.hasOwnProperty(s)&&(t=t.replace(RegExp(s,"g"),e[s]))
|
15 |
-
return t}
|
16 |
-
if(""!=r.cnt_sel)for(var p=r.cnt_sel.replace(/[\[\]<>"'\/\\=&%]/g,""),c=document.querySelectorAll(p),u=0;u<c.length;u++){var d=c[u]
|
17 |
-
d.addEventListener("mousedown",function(t){wpsr_tsb.startx=t.pageX,wpsr_tsb.starty=t.pageY}),d.addEventListener("mouseup",function(t){var e=n()
|
18 |
-
""!=e?(tsb_x=(t.pageX+parseInt(wpsr_tsb.startx))/2,tsb_y=Math.min(wpsr_tsb.starty,t.pageY),e!=wpsr_tsb.stext?(o(tsb_x,tsb_y),wpsr_tsb.stext=e):a()):a()})}document.body.addEventListener("mousedown",function(t){a()}),tsb.addEventListener("mousedown",function(t){t.stopPropagation()})
|
19 |
-
for(var w=tsb.querySelectorAll("a"),u=0;u<w.length;u++){var t=w[u]
|
20 |
-
t.addEventListener("click",function(t){var e=this.getAttribute("data-link")
|
21 |
-
"#"!=e&&(rep_link=l(e),wpsr_helpers.popup(rep_link,800,500)),t.preventDefault()})}}if(msb=document.querySelector(".wpsr-mobile-sb"),msb){var b=0
|
22 |
-
window.addEventListener("scroll",function(){var t=window.pageYOffset||document.documentElement.scrollTop
|
23 |
-
t>b?wpsr_helpers.addClass(msb,"wpsr-msb-hide"):wpsr_helpers.removeClass(msb,"wpsr-msb-hide"),b=t},!1)}var f=document.querySelector(".wpsr-followbar")
|
24 |
-
f&&(fb_close_btn=f.querySelector(".wpsr-fb-close"),fb_close_btn.addEventListener("click",function(){f.classList.contains("wpsr-mow")?wpsr_helpers.removeClass(f,"wpsr-mow"):wpsr_helpers.addClass(f,"wpsr-mow")})),mow=document.querySelectorAll("[data-minonwidth]")
|
25 |
-
var m=function(t,e){var s=t.getAttribute("data-minonwidth")
|
26 |
-
s>0&&(e<=s?wpsr_helpers.addClass(t,"wpsr-mow"):wpsr_helpers.removeClass(t,"wpsr-mow"))}
|
27 |
-
if(mow.length>0&&["resize","load"].forEach(function(t){window.addEventListener(t,function(){for(u=0;u<mow.length;u++){m(mow[u],window.innerWidth)}})}),wpsr_ajax_url){var v=document.querySelectorAll("[data-wpsrs]")
|
28 |
-
if(v.length>0){var _={},h=wpsr_ajax_url+"?action=wpsr_share_count"
|
29 |
-
for(u=0;u<v.length;u++){var g=v[u],y=g.getAttribute("data-wpsrs"),k=g.getAttribute("data-wpsrs-svcs").split(",")
|
30 |
-
y in _||(_[y]=[])
|
31 |
-
for(j=0;j<k.length;j++)_[y].indexOf(k[j])===-1&&_[y].push(k[j])}var L=function(t){var e=JSON.parse(t.responseText),s=document.querySelectorAll('[data-wpsrs="'+t.props.forURL+'"]')
|
32 |
-
for(u=0;u<s.length;u++){var r=s[u],n=r.getAttribute("data-wpsrs-svcs").split(","),o=0
|
33 |
-
for(j=0;j<n.length;j++){var a=n[j]
|
34 |
-
a in e&&(o+=parseInt(e[a])||0)}r.innerHTML=wpsr_helpers.format_num(o)}}
|
35 |
-
for(var y in _)_.hasOwnProperty(y)&&(send_data={url:y,services:_[y]},to_send="data="+JSON.stringify(send_data),wpsr_helpers.ajax(h,"POST",to_send,L,{forURL:y}))}}})
|
1 |
+
function socializer_addbookmark(t){var e=navigator.userAgent.toLowerCase(),s=-1!=e.indexOf("mac"),r="";t.preventDefault(),r=(s?"Command/Cmd":"CTRL")+" + D",alert("Press "+r+" to bookmark this page")}function socializer_shortlink(t,e){t.preventDefault(),link=e.getAttribute("href"),"#"!=link&&prompt("Short link",link)}window.wpsr_helpers={addClass:function(t,e){t.classList?t.classList.add(e):t.className+=" "+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")},popup:function(t,e,s,r){var n=screen.width/2-s/2,o=screen.height/2-r/2;return window.open(t,e,"toolbar=no,location=no,menubar=no,scrollbars=yes,width="+s+",height="+r+",top="+o+",left="+n)},ajax:function(t,e,s,r,n){var o=new XMLHttpRequest;o.props=n,o.open(e,t,!0),"POST"==e&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),o.onreadystatechange=function(){if(4==o.readyState&&200==o.status)return r(o)},o.send(s)},format_num:function(t){if(t<1e3)return t;for(var e=["k","m","b","t"],s=t,r=0;r<e.length;r++)if(!((t/=1e3)>1e3)){s=Math.round(100*t)/100+e[r];break}return s}},document.addEventListener("DOMContentLoaded",function(){for(scr_links=document.querySelectorAll(".socializer.sr-popup a"),u=0;u<scr_links.length;u++){var t=scr_links[u];t.addEventListener("click",function(t){var e=this.getAttribute("href");"#"==e||this.hasAttribute("onclick")||wpsr_helpers.popup(e,"_blank",800,500),t.preventDefault()})}var e=document.querySelector(".wpsr-sharebar");if(e){var s=function(){vlsb=document.querySelector(".wpsr-sb-vl-scontent"),vlsb&&(stick=vlsb.getAttribute("data-stickto"),stick_ele=document.querySelector(stick),stick_ele&&(vlsb.style.left=stick_ele.offsetLeft+"px")),e&&window.innerWidth<=800&&wpsr_helpers.addClass(e,"wpsr-mow")};s(),window.addEventListener("resize",s),sb_close_btn=e.querySelector(".wpsr-sb-close"),sb_close_btn.addEventListener("click",function(){e.classList.contains("wpsr-mow")?wpsr_helpers.removeClass(e,"wpsr-mow"):wpsr_helpers.addClass(e,"wpsr-mow")})}if(tsb=document.querySelector(".wpsr-text-sb"),tsb){window.wpsr_tsb={stext:"",startx:0,starty:0};var r={ptitle:tsb.getAttribute("data-title"),purl:tsb.getAttribute("data-url"),psurl:tsb.getAttribute("data-surl"),ptuname:tsb.getAttribute("data-tuname"),cnt_sel:tsb.getAttribute("data-content"),word_count:tsb.getAttribute("data-tcount")},n=function(){var t="";return window.getSelection?t=window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&(t=document.selection.createRange().text),t},o=function(t,e){tsb.style.left=t+"px",tsb.style.top=e+"px",wpsr_helpers.addClass(tsb,"wpsr-tsb-active")},a=function(){wpsr_helpers.removeClass(tsb,"wpsr-tsb-active")},i=function(){var t=wpsr_tsb.stext,e=parseInt(r.word_count);return 0==e?t:t.split(" ").slice(0,e).join(" ")},l=function(t){var e={"{title}":r.ptitle,"{url}":r.purl,"{s-url}":r.psurl,"{twitter-username}":r.ptuname,"{excerpt}":i()};for(var s in e)e.hasOwnProperty(s)&&(t=t.replace(RegExp(s,"g"),e[s]));return t};if(""!=r.cnt_sel)for(var p=r.cnt_sel.replace(/[\[\]<>"'\/\\=&%]/g,""),c=document.querySelectorAll(p),u=0;u<c.length;u++){var d=c[u];d.addEventListener("mousedown",function(t){wpsr_tsb.startx=t.pageX,wpsr_tsb.starty=t.pageY}),d.addEventListener("mouseup",function(t){var e=n();""!=e?(tsb_x=(t.pageX+parseInt(wpsr_tsb.startx))/2,tsb_y=Math.min(wpsr_tsb.starty,t.pageY),e!=wpsr_tsb.stext?(o(tsb_x,tsb_y),wpsr_tsb.stext=e):a()):a()})}document.body.addEventListener("mousedown",function(t){a()}),tsb.addEventListener("mousedown",function(t){t.stopPropagation()});for(var w=tsb.querySelectorAll("a"),u=0;u<w.length;u++){var t=w[u];t.addEventListener("click",function(t){var e=this.getAttribute("data-link");"#"!=e&&(rep_link=l(e),wpsr_helpers.popup(rep_link,800,500)),t.preventDefault()})}}if(msb=document.querySelector(".wpsr-mobile-sb"),msb&&msb.classList.contains("wpsr-mobile-hos")){var b=0;window.addEventListener("scroll",function(){var t=window.pageYOffset||document.documentElement.scrollTop;t>b?wpsr_helpers.addClass(msb,"wpsr-msb-hide"):wpsr_helpers.removeClass(msb,"wpsr-msb-hide"),b=t},!1)}var m=document.querySelector(".wpsr-followbar");m&&(fb_close_btn=m.querySelector(".wpsr-fb-close"),fb_close_btn.addEventListener("click",function(){m.classList.contains("wpsr-mow")?wpsr_helpers.removeClass(m,"wpsr-mow"):wpsr_helpers.addClass(m,"wpsr-mow")})),mow=document.querySelectorAll("[data-minonwidth]");var f=function(t,e){var s=t.getAttribute("data-minonwidth");s>0&&(e<=s?wpsr_helpers.addClass(t,"wpsr-mow"):wpsr_helpers.removeClass(t,"wpsr-mow"))};if(mow.length>0&&["resize","load"].forEach(function(t){window.addEventListener(t,function(){for(u=0;u<mow.length;u++){var t=mow[u];f(t,window.innerWidth)}})}),wpsr_ajax_url){var v=document.querySelectorAll("[data-wpsrs]");if(v.length>0){var _={},h=wpsr_ajax_url+"?action=wpsr_share_count";for(u=0;u<v.length;u++){var g=v[u],y=g.getAttribute("data-wpsrs"),k=g.getAttribute("data-wpsrs-svcs").split(",");y in _||(_[y]=[]);for(j=0;j<k.length;j++)-1===_[y].indexOf(k[j])&&_[y].push(k[j])}var L=function(t){var e=JSON.parse(t.responseText),s=document.querySelectorAll('[data-wpsrs="'+t.props.forURL+'"]');for(u=0;u<s.length;u++){var r=s[u],n=r.getAttribute("data-wpsrs-svcs").split(","),o=0;for(j=0;j<n.length;j++){var a=n[j];a in e&&(o+=parseInt(e[a])||0)}r.innerHTML=wpsr_helpers.format_num(o)}};for(var y in _)_.hasOwnProperty(y)&&(send_data={url:y,services:_[y]},to_send="data="+JSON.stringify(send_data),wpsr_helpers.ajax(h,"POST",to_send,L,{forURL:y}))}}});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
=== WP Socializer ===
|
2 |
Contributors: vaakash
|
3 |
Donate link: https://goo.gl/qMF3iE
|
4 |
-
Tags: social
|
5 |
Requires at least: 4.6
|
6 |
-
Tested up to: 4.9.
|
7 |
-
Stable tag:
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
ONE plugin to insert
|
12 |
|
13 |
== Description ==
|
14 |
|
@@ -19,12 +19,12 @@ WP Socializer is an all in one complete social media plugin to add native social
|
|
19 |
* **Drag & drop** social icons, buttons builder.
|
20 |
* Add icons easily using the **setup wizard**.
|
21 |
* Display the icons, buttons only on the required posts, pages using the advanced **conditional rules builder system**.
|
22 |
-
* Insert **
|
23 |
* Insert **9 native social button** widgets ( i.e Facebook, Twitter, Google Plus etc. +6 )
|
24 |
* Insert both **vertical and horizontal floating sharebars**.
|
25 |
-
* Insert **
|
26 |
* Insert **text sharebar** with 11 social network support.
|
27 |
-
* Add **mobile sharebar** which supports icons of
|
28 |
* Has inbuilt system to **display share counts**.
|
29 |
* Has support for **shortcodes**.
|
30 |
* Has support for native **social network sidebar widgets**.
|
@@ -69,7 +69,6 @@ WP Socializer supports share counter. Share counter can be either displayed indi
|
|
69 |
|
70 |
* Facebook like counts
|
71 |
* LinkedIn share counts
|
72 |
-
* StumbleUpon counts
|
73 |
* Google Plus +1s
|
74 |
* Pinterest counts
|
75 |
* Total share counts
|
@@ -102,7 +101,7 @@ Show/hide based on:
|
|
102 |
|
103 |
= Supported social media icons =
|
104 |
|
105 |
-
Add to favorites, Behance, Bitbucket, Blogger, CodePen, Comments, Delicious, DeviantArt, Digg, Dribbble, Email, Facebook, Facebook messenger, Flickr, Github, Google, Google Plus, Hacker News, Instagram, LinkedIn, Medium, PayPal, PDF, Pinterest, Pocket, Print, Reddit, RSS, Short link, Snapchat, Soundcloud, StackOverflow,
|
106 |
|
107 |
Social share icon designs:
|
108 |
|
@@ -120,8 +119,8 @@ Social share icon designs:
|
|
120 |
With WP Socializer plugin, you can add the native share buttons provided by leading social media websites. Buttons settings can be changed inside the admin page itself. All kinds of native social buttons from the below providers can be created.
|
121 |
|
122 |
* Facebook, Twitter, Google Plus
|
123 |
-
*
|
124 |
-
*
|
125 |
|
126 |
|
127 |
= Sidebar widgets =
|
@@ -140,10 +139,10 @@ WP Socializer can also be used to insert widgets to WordPress sidebar. Below lis
|
|
140 |
There is also support for shortcodes with which social media buttons can be placed anywhere in posts and even in themes directly. The list of social buttons which can be inserted can be seen below.
|
141 |
|
142 |
* Facebook, Twitter
|
143 |
-
* Google Plus
|
144 |
* Reddit, LinkedIn
|
145 |
* Sharethis, Pinterest
|
146 |
-
* Pocket &
|
147 |
|
148 |
|
149 |
= Follow us icons and selected text sharebar =
|
@@ -164,10 +163,10 @@ If you find that any of the social buttons are missing, they can also be added v
|
|
164 |
= More links =
|
165 |
|
166 |
* [FAQs](https://goo.gl/Ge7riC)
|
167 |
-
* [Support Forum](
|
168 |
* [Homepage](https://goo.gl/u8Zf09)
|
169 |
* [Donate](https://goo.gl/qMF3iE)
|
170 |
-
* [Submit translation](
|
171 |
* [YouTube demo videos](https://goo.gl/4jZJji)
|
172 |
|
173 |
|
@@ -183,7 +182,7 @@ If you find that any of the social buttons are missing, they can also be added v
|
|
183 |
|
184 |
= Why are the share buttons not aligned properly ? =
|
185 |
|
186 |
-
Share buttons are aligned using CSS. This alignment can sometimes be disturbed by the active theme used. This can be corrected by CSS. Please refer [this image](https://goo.gl/Ge7riC#css-classes) for the list of CSS classes used by plugin to modify it or else please post your issue in the [support forum](
|
187 |
|
188 |
= Share buttons are not displayed in the page ! =
|
189 |
|
@@ -207,28 +206,34 @@ Please refer [this page](https://goo.gl/Ge7riC) for the full list of FAQs.
|
|
207 |
|
208 |
== Screenshots ==
|
209 |
|
210 |
-
1.
|
211 |
-
2.
|
212 |
-
3.
|
213 |
-
4.
|
214 |
-
5.
|
215 |
-
6.
|
216 |
-
7.
|
217 |
-
8.
|
218 |
-
9.
|
219 |
-
10.
|
220 |
-
11.
|
221 |
-
12. Administration page
|
222 |
-
13.
|
223 |
-
14. Setup wizard, page
|
224 |
-
15. Setup wizard, list of templates
|
225 |
-
16. Social icon designs selection page.
|
226 |
-
|
227 |
|
228 |
|
229 |
|
230 |
== Changelog ==
|
231 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
232 |
= 3.3.4 =
|
233 |
* Fix: Google plus widget does not work for pages.
|
234 |
* Fix: Admin UI tweaks to ease the customization of options.
|
1 |
=== WP Socializer ===
|
2 |
Contributors: vaakash
|
3 |
Donate link: https://goo.gl/qMF3iE
|
4 |
+
Tags: social sharebar, social media icons, share icons, share buttons, follow buttons, widgets, floating share buttons, profile buttons, mobile sharebar, profile icons, social bar, share counter, excerpt, shortcode, linkedin, pinterest, pocket, reddit, sharethis, addthis, whatsapp, tweet, vkontakte, socializer, wp socializer, weibo, line, mix, odnoklassniki, renren, skype
|
5 |
Requires at least: 4.6
|
6 |
+
Tested up to: 4.9.8
|
7 |
+
Stable tag: 4.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
ONE plugin to insert beautiful Social media share buttons, Floating sharebar, Follow us icons, Mobile sharebar, Widgets with TONS of customization easily
|
12 |
|
13 |
== Description ==
|
14 |
|
19 |
* **Drag & drop** social icons, buttons builder.
|
20 |
* Add icons easily using the **setup wizard**.
|
21 |
* Display the icons, buttons only on the required posts, pages using the advanced **conditional rules builder system**.
|
22 |
+
* Insert **50 social share icons** which are highly scalable.
|
23 |
* Insert **9 native social button** widgets ( i.e Facebook, Twitter, Google Plus etc. +6 )
|
24 |
* Insert both **vertical and horizontal floating sharebars**.
|
25 |
+
* Insert **50 follow me icons** in floating bar and widgets.
|
26 |
* Insert **text sharebar** with 11 social network support.
|
27 |
+
* Add **mobile sharebar** which supports icons of 50 networks.
|
28 |
* Has inbuilt system to **display share counts**.
|
29 |
* Has support for **shortcodes**.
|
30 |
* Has support for native **social network sidebar widgets**.
|
69 |
|
70 |
* Facebook like counts
|
71 |
* LinkedIn share counts
|
|
|
72 |
* Google Plus +1s
|
73 |
* Pinterest counts
|
74 |
* Total share counts
|
101 |
|
102 |
= Supported social media icons =
|
103 |
|
104 |
+
Add to favorites, Behance, Bitbucket, Blogger, CodePen, Comments, Delicious, DeviantArt, Digg, Dribbble, Email, Facebook, Facebook messenger, Flickr, Github, Google, Google Plus, Hacker News, Instagram, LinkedIn, Medium, PayPal, PDF, Pinterest, Pocket, Print, Reddit, RSS, Short link, Snapchat, Soundcloud, StackOverflow, Quora, Telegram, Tumblr, Twitter, Vimeo, VKontakte, wechat, WhatsApp, Xing, Yahoo! Mail, Youtube, Weibo, Line, Mix, Odnoklassniki, Renren, Skype
|
105 |
|
106 |
Social share icon designs:
|
107 |
|
119 |
With WP Socializer plugin, you can add the native share buttons provided by leading social media websites. Buttons settings can be changed inside the admin page itself. All kinds of native social buttons from the below providers can be created.
|
120 |
|
121 |
* Facebook, Twitter, Google Plus
|
122 |
+
* Reddit, LinkedIn, Sharethis
|
123 |
+
* Pinterest & Pocket
|
124 |
|
125 |
|
126 |
= Sidebar widgets =
|
139 |
There is also support for shortcodes with which social media buttons can be placed anywhere in posts and even in themes directly. The list of social buttons which can be inserted can be seen below.
|
140 |
|
141 |
* Facebook, Twitter
|
142 |
+
* Google Plus
|
143 |
* Reddit, LinkedIn
|
144 |
* Sharethis, Pinterest
|
145 |
+
* Pocket & 50 social media icons
|
146 |
|
147 |
|
148 |
= Follow us icons and selected text sharebar =
|
163 |
= More links =
|
164 |
|
165 |
* [FAQs](https://goo.gl/Ge7riC)
|
166 |
+
* [Support Forum](http://bit.ly/wpsrForumNew)
|
167 |
* [Homepage](https://goo.gl/u8Zf09)
|
168 |
* [Donate](https://goo.gl/qMF3iE)
|
169 |
+
* [Submit translation](http://bit.ly/wpsrForumNew)
|
170 |
* [YouTube demo videos](https://goo.gl/4jZJji)
|
171 |
|
172 |
|
182 |
|
183 |
= Why are the share buttons not aligned properly ? =
|
184 |
|
185 |
+
Share buttons are aligned using CSS. This alignment can sometimes be disturbed by the active theme used. This can be corrected by CSS. Please refer [this image](https://goo.gl/Ge7riC#css-classes) for the list of CSS classes used by plugin to modify it or else please post your issue in the [support forum](http://bit.ly/wpsrForumNew) I'll try my best to give a quick CSS fix for the misalignment.
|
186 |
|
187 |
= Share buttons are not displayed in the page ! =
|
188 |
|
206 |
|
207 |
== Screenshots ==
|
208 |
|
209 |
+
1. WP Socializer admin home page.
|
210 |
+
2. Native social icon, buttons, share counters, icons styles in action
|
211 |
+
3. WP Socializer in action with a dark theme
|
212 |
+
4. Vertical sharebar
|
213 |
+
5. Horizontal sharebar
|
214 |
+
6. Sharebar with custom background color and design
|
215 |
+
7. Follow us icons floating to the sides.
|
216 |
+
8. Mobile sharebar in different themes
|
217 |
+
9. Social media share widgets.
|
218 |
+
10. Selected text sharebar with green theme selected.
|
219 |
+
11. Conditional display UI.
|
220 |
+
12. Administration page 1
|
221 |
+
13. Administration page 2
|
222 |
+
14. Setup wizard, page 1
|
|
|
|
|
|
|
223 |
|
224 |
|
225 |
|
226 |
== Changelog ==
|
227 |
|
228 |
+
= 4.0 =
|
229 |
+
* New: Brand new admin interface.
|
230 |
+
* New: CSS resources are combined and optimized.
|
231 |
+
* New: Support for font awesome 5 icons.
|
232 |
+
* New: Weibo, Renren, Odnoklassniki, Line, Skype, Mix social icons added.
|
233 |
+
* New: Custom colors can be selected for share icons.
|
234 |
+
* New: Added new options for Floating sharebar, mobile sharebar
|
235 |
+
* New: Enhanced existing developer APIs and added new filters.
|
236 |
+
|
237 |
= 3.3.4 =
|
238 |
* Fix: Google plus widget does not work for pages.
|
239 |
* Fix: Admin UI tweaks to ease the customization of options.
|
services/facebook.php
CHANGED
@@ -8,7 +8,24 @@ class wpsr_service_facebook{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => 'Facebook',
|
13 |
'icons' => WPSR_ADMIN_URL . '/images/icons/facebook.png',
|
14 |
'desc' => __( 'Create Facebook like, share and send buttons', 'wpsr' ),
|
@@ -20,20 +37,12 @@ class wpsr_service_facebook{
|
|
20 |
'validation' => array( $this, 'validation' ),
|
21 |
'general_settings' => array( $this, 'general_settings' ),
|
22 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
|
|
23 |
)
|
24 |
-
));
|
25 |
-
|
26 |
-
$this->default_values = array(
|
27 |
-
'type' => 'like',
|
28 |
-
'like_type' => 'box_count',
|
29 |
-
'like_share_btn' => 'false',
|
30 |
-
'like_size' => 'small',
|
31 |
-
'like_width' => '',
|
32 |
-
'like_action' => 'like',
|
33 |
-
'like_faces' => 'false',
|
34 |
-
'share_type' => 'box_count'
|
35 |
);
|
36 |
|
|
|
|
|
37 |
}
|
38 |
|
39 |
function output( $settings = array(), $page_info = array() ){
|
@@ -207,6 +216,38 @@ class wpsr_service_facebook{
|
|
207 |
return $values;
|
208 |
}
|
209 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
}
|
211 |
|
212 |
new wpsr_service_facebook();
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_service', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
$this->default_values = array(
|
14 |
+
'type' => 'like',
|
15 |
+
'like_type' => 'box_count',
|
16 |
+
'like_share_btn' => 'false',
|
17 |
+
'like_size' => 'small',
|
18 |
+
'like_width' => '',
|
19 |
+
'like_action' => 'like',
|
20 |
+
'like_faces' => 'false',
|
21 |
+
'share_type' => 'box_count'
|
22 |
+
);
|
23 |
+
|
24 |
+
}
|
25 |
+
|
26 |
+
function register( $services ){
|
27 |
+
|
28 |
+
$services[ 'facebook' ] = array(
|
29 |
'name' => 'Facebook',
|
30 |
'icons' => WPSR_ADMIN_URL . '/images/icons/facebook.png',
|
31 |
'desc' => __( 'Create Facebook like, share and send buttons', 'wpsr' ),
|
37 |
'validation' => array( $this, 'validation' ),
|
38 |
'general_settings' => array( $this, 'general_settings' ),
|
39 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
40 |
+
'templates' => array( $this, 'templates' )
|
41 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
);
|
43 |
|
44 |
+
return $services;
|
45 |
+
|
46 |
}
|
47 |
|
48 |
function output( $settings = array(), $page_info = array() ){
|
216 |
return $values;
|
217 |
}
|
218 |
|
219 |
+
function templates(){
|
220 |
+
|
221 |
+
return array(
|
222 |
+
'fb_hl'=> array(
|
223 |
+
'desc' => 'Small facebook like button with counter',
|
224 |
+
'settings'=> array(
|
225 |
+
'like_type'=> 'button_count'
|
226 |
+
)
|
227 |
+
),
|
228 |
+
'fb_vl'=> array(
|
229 |
+
'desc' => 'Tall facebook like button with counter',
|
230 |
+
'settings'=> array(
|
231 |
+
'like_type'=> 'box_count'
|
232 |
+
)
|
233 |
+
),
|
234 |
+
'fb_hl_lg'=> array(
|
235 |
+
'desc' => 'Large facebook like button with counter',
|
236 |
+
'settings'=> array(
|
237 |
+
'like_type'=> 'button_count',
|
238 |
+
'like_size'=> 'large'
|
239 |
+
)
|
240 |
+
),
|
241 |
+
'fb_hl_nc'=> array(
|
242 |
+
'desc' => 'Small facebook like button without counter',
|
243 |
+
'settings'=> array(
|
244 |
+
'like_type'=> 'button'
|
245 |
+
)
|
246 |
+
)
|
247 |
+
);
|
248 |
+
|
249 |
+
}
|
250 |
+
|
251 |
}
|
252 |
|
253 |
new wpsr_service_facebook();
|
services/google_plus.php
CHANGED
@@ -8,7 +8,19 @@ class wpsr_service_google_plus{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => 'Google Plus',
|
13 |
'icons' => WPSR_ADMIN_URL . '/images/icons/google-plus.png',
|
14 |
'desc' => __( 'Create Google Plus +1 buttons', 'wpsr' ),
|
@@ -20,17 +32,14 @@ class wpsr_service_google_plus{
|
|
20 |
'validation' => array( $this, 'validation' ),
|
21 |
'general_settings' => array( $this, 'general_settings' ),
|
22 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
|
|
23 |
)
|
24 |
-
));
|
25 |
-
|
26 |
-
$this->default_values = array(
|
27 |
-
'size' => 'standard',
|
28 |
-
'annotation' => 'inline',
|
29 |
-
'width' => '',
|
30 |
);
|
31 |
|
|
|
|
|
32 |
}
|
33 |
-
|
34 |
function output( $settings = array(), $page_info = array() ){
|
35 |
|
36 |
$out = array();
|
@@ -135,6 +144,37 @@ class wpsr_service_google_plus{
|
|
135 |
return $values;
|
136 |
}
|
137 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
}
|
139 |
|
140 |
new wpsr_service_google_plus();
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_service', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
$this->default_values = array(
|
14 |
+
'size' => 'standard',
|
15 |
+
'annotation' => 'inline',
|
16 |
+
'width' => '',
|
17 |
+
);
|
18 |
+
|
19 |
+
}
|
20 |
+
|
21 |
+
function register( $services ){
|
22 |
+
|
23 |
+
$services[ 'google_plus' ] = array(
|
24 |
'name' => 'Google Plus',
|
25 |
'icons' => WPSR_ADMIN_URL . '/images/icons/google-plus.png',
|
26 |
'desc' => __( 'Create Google Plus +1 buttons', 'wpsr' ),
|
32 |
'validation' => array( $this, 'validation' ),
|
33 |
'general_settings' => array( $this, 'general_settings' ),
|
34 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
35 |
+
'templates' => array( $this, 'templates' )
|
36 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
);
|
38 |
|
39 |
+
return $services;
|
40 |
+
|
41 |
}
|
42 |
+
|
43 |
function output( $settings = array(), $page_info = array() ){
|
44 |
|
45 |
$out = array();
|
144 |
return $values;
|
145 |
}
|
146 |
|
147 |
+
function templates(){
|
148 |
+
|
149 |
+
return array(
|
150 |
+
'gp_hl'=> array(
|
151 |
+
'settings'=> array(
|
152 |
+
'size'=> 'medium',
|
153 |
+
'annotation'=> 'bubble'
|
154 |
+
)
|
155 |
+
),
|
156 |
+
'gp_vl'=> array(
|
157 |
+
'settings'=> array(
|
158 |
+
'size'=> 'tall',
|
159 |
+
'annotation'=> 'bubble'
|
160 |
+
)
|
161 |
+
),
|
162 |
+
'gp_hl_lg'=> array(
|
163 |
+
'settings'=> array(
|
164 |
+
'size'=> 'standard',
|
165 |
+
'annotation'=> 'bubble'
|
166 |
+
)
|
167 |
+
),
|
168 |
+
'gp_hl_nc'=> array(
|
169 |
+
'settings'=> array(
|
170 |
+
'size'=> 'medium',
|
171 |
+
'annotation'=> 'none'
|
172 |
+
)
|
173 |
+
)
|
174 |
+
);
|
175 |
+
|
176 |
+
}
|
177 |
+
|
178 |
}
|
179 |
|
180 |
new wpsr_service_google_plus();
|
services/html.php
CHANGED
@@ -8,7 +8,18 @@ class wpsr_service_html{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => 'Custom HTML',
|
13 |
'icons' => WPSR_ADMIN_URL . '/images/icons/html.png',
|
14 |
'desc' => __( 'Add custom HTML snippets like "heading" within the template', 'wpsr' ),
|
@@ -20,16 +31,14 @@ class wpsr_service_html{
|
|
20 |
'validation' => array( $this, 'validation' ),
|
21 |
'general_settings' => array( $this, 'general_settings' ),
|
22 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
|
|
23 |
)
|
24 |
-
));
|
25 |
-
|
26 |
-
$this->default_values = array(
|
27 |
-
'html' => '<h3>' . __( 'Share this article', 'wpsr' ) . '</h3>',
|
28 |
-
'_wrap_tag' => 0
|
29 |
);
|
30 |
|
|
|
|
|
31 |
}
|
32 |
-
|
33 |
function output( $settings = array(), $page_info = array() ){
|
34 |
|
35 |
$out = array();
|
@@ -128,6 +137,19 @@ wpsr_load_js( "wpsr_tbg_js", "' . WPSR_ADMIN_URL . 'js/trumbowyg/trumbowyg.min.j
|
|
128 |
return $values;
|
129 |
}
|
130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
}
|
132 |
|
133 |
new wpsr_service_html();
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_service', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
$this->default_values = array(
|
14 |
+
'html' => '<h3>' . __( 'Share this article', 'wpsr' ) . '</h3>',
|
15 |
+
'_wrap_tag' => 0
|
16 |
+
);
|
17 |
+
|
18 |
+
}
|
19 |
+
|
20 |
+
function register( $services ){
|
21 |
+
|
22 |
+
$services[ 'html' ] = array(
|
23 |
'name' => 'Custom HTML',
|
24 |
'icons' => WPSR_ADMIN_URL . '/images/icons/html.png',
|
25 |
'desc' => __( 'Add custom HTML snippets like "heading" within the template', 'wpsr' ),
|
31 |
'validation' => array( $this, 'validation' ),
|
32 |
'general_settings' => array( $this, 'general_settings' ),
|
33 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
34 |
+
'templates' => array( $this, 'templates' )
|
35 |
)
|
|
|
|
|
|
|
|
|
|
|
36 |
);
|
37 |
|
38 |
+
return $services;
|
39 |
+
|
40 |
}
|
41 |
+
|
42 |
function output( $settings = array(), $page_info = array() ){
|
43 |
|
44 |
$out = array();
|
137 |
return $values;
|
138 |
}
|
139 |
|
140 |
+
function templates(){
|
141 |
+
|
142 |
+
return array(
|
143 |
+
'html'=> array(
|
144 |
+
'settings'=> array(
|
145 |
+
'html'=> '<h3>Share and enjoy !</h3>',
|
146 |
+
'_wrap_tag'=> '0'
|
147 |
+
)
|
148 |
+
)
|
149 |
+
);
|
150 |
+
|
151 |
+
}
|
152 |
+
|
153 |
}
|
154 |
|
155 |
new wpsr_service_html();
|
services/linkedin.php
CHANGED
@@ -8,7 +8,17 @@ class wpsr_service_linkedin{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => 'LinkedIn',
|
13 |
'icons' => WPSR_ADMIN_URL . '/images/icons/linkedin.png',
|
14 |
'desc' => __( 'Create LinkedIn buttons', 'wpsr' ),
|
@@ -20,15 +30,14 @@ class wpsr_service_linkedin{
|
|
20 |
'validation' => array( $this, 'validation' ),
|
21 |
'general_settings' => array( $this, 'general_settings' ),
|
22 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
|
|
23 |
)
|
24 |
-
));
|
25 |
-
|
26 |
-
$this->default_values = array(
|
27 |
-
'type' => 'right'
|
28 |
);
|
29 |
|
|
|
|
|
30 |
}
|
31 |
-
|
32 |
function output( $settings = array(), $page_info = array() ){
|
33 |
|
34 |
$out = array();
|
@@ -103,6 +112,26 @@ class wpsr_service_linkedin{
|
|
103 |
return $values;
|
104 |
}
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
}
|
107 |
|
108 |
new wpsr_service_linkedin();
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_service', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
$this->default_values = array(
|
14 |
+
'type' => 'right'
|
15 |
+
);
|
16 |
+
|
17 |
+
}
|
18 |
+
|
19 |
+
function register( $services ){
|
20 |
+
|
21 |
+
$services[ 'linkedin' ] = array(
|
22 |
'name' => 'LinkedIn',
|
23 |
'icons' => WPSR_ADMIN_URL . '/images/icons/linkedin.png',
|
24 |
'desc' => __( 'Create LinkedIn buttons', 'wpsr' ),
|
30 |
'validation' => array( $this, 'validation' ),
|
31 |
'general_settings' => array( $this, 'general_settings' ),
|
32 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
33 |
+
'templates' => array( $this, 'templates' )
|
34 |
)
|
|
|
|
|
|
|
|
|
35 |
);
|
36 |
|
37 |
+
return $services;
|
38 |
+
|
39 |
}
|
40 |
+
|
41 |
function output( $settings = array(), $page_info = array() ){
|
42 |
|
43 |
$out = array();
|
112 |
return $values;
|
113 |
}
|
114 |
|
115 |
+
function templates(){
|
116 |
+
|
117 |
+
return array(
|
118 |
+
'linkedin_hl'=> array(
|
119 |
+
'settings'=> array()
|
120 |
+
),
|
121 |
+
'linkedin_vl'=> array(
|
122 |
+
'settings'=> array(
|
123 |
+
'type'=> 'top'
|
124 |
+
)
|
125 |
+
),
|
126 |
+
'linkedin_hl_nc'=> array(
|
127 |
+
'settings'=> array(
|
128 |
+
'type'=> 'none'
|
129 |
+
)
|
130 |
+
)
|
131 |
+
);
|
132 |
+
|
133 |
+
}
|
134 |
+
|
135 |
}
|
136 |
|
137 |
new wpsr_service_linkedin();
|
services/pinterest.php
CHANGED
@@ -8,7 +8,19 @@ class wpsr_service_pinterest{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => 'Pinterest',
|
13 |
'icons' => WPSR_ADMIN_URL . '/images/icons/pinterest.png',
|
14 |
'desc' => 'A simple description for the Pinterest button',
|
@@ -20,17 +32,14 @@ class wpsr_service_pinterest{
|
|
20 |
'validation' => array( $this, 'validation' ),
|
21 |
'general_settings' => array( $this, 'general_settings' ),
|
22 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
|
|
23 |
)
|
24 |
-
));
|
25 |
-
|
26 |
-
$this->default_values = array(
|
27 |
-
'type' => 'save',
|
28 |
-
'save_shape' => 'normal',
|
29 |
-
'save_size' => 'normal'
|
30 |
);
|
31 |
|
|
|
|
|
32 |
}
|
33 |
-
|
34 |
function output( $settings = array(), $page_info = array() ){
|
35 |
|
36 |
$out = array();
|
@@ -165,6 +174,21 @@ class wpsr_service_pinterest{
|
|
165 |
return $values;
|
166 |
}
|
167 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
}
|
169 |
|
170 |
new wpsr_service_pinterest();
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_service', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
$this->default_values = array(
|
14 |
+
'type' => 'save',
|
15 |
+
'save_shape' => 'normal',
|
16 |
+
'save_size' => 'normal'
|
17 |
+
);
|
18 |
+
|
19 |
+
}
|
20 |
+
|
21 |
+
function register( $services ){
|
22 |
+
|
23 |
+
$services[ 'pinterest' ] = array(
|
24 |
'name' => 'Pinterest',
|
25 |
'icons' => WPSR_ADMIN_URL . '/images/icons/pinterest.png',
|
26 |
'desc' => 'A simple description for the Pinterest button',
|
32 |
'validation' => array( $this, 'validation' ),
|
33 |
'general_settings' => array( $this, 'general_settings' ),
|
34 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
35 |
+
'templates' => array( $this, 'templates' )
|
36 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
);
|
38 |
|
39 |
+
return $services;
|
40 |
+
|
41 |
}
|
42 |
+
|
43 |
function output( $settings = array(), $page_info = array() ){
|
44 |
|
45 |
$out = array();
|
174 |
return $values;
|
175 |
}
|
176 |
|
177 |
+
function templates(){
|
178 |
+
|
179 |
+
return array(
|
180 |
+
'pinterest_hl'=> array(
|
181 |
+
'settings'=> array()
|
182 |
+
),
|
183 |
+
'pinterest_hl_lg'=> array(
|
184 |
+
'settings'=> array(
|
185 |
+
'save_size'=> 'large'
|
186 |
+
)
|
187 |
+
)
|
188 |
+
);
|
189 |
+
|
190 |
+
}
|
191 |
+
|
192 |
}
|
193 |
|
194 |
new wpsr_service_pinterest();
|
services/pocket.php
CHANGED
@@ -8,7 +8,17 @@ class wpsr_service_pocket{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => 'Pocket',
|
13 |
'icons' => WPSR_ADMIN_URL . '/images/icons/pocket.png',
|
14 |
'desc' => __( 'Create Pocket buttons', 'wpsr' ),
|
@@ -20,15 +30,14 @@ class wpsr_service_pocket{
|
|
20 |
'validation' => array( $this, 'validation' ),
|
21 |
'general_settings' => array( $this, 'general_settings' ),
|
22 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
|
|
23 |
)
|
24 |
-
));
|
25 |
-
|
26 |
-
$this->default_values = array(
|
27 |
-
'type' => 'horizontal',
|
28 |
);
|
29 |
|
|
|
|
|
30 |
}
|
31 |
-
|
32 |
function output( $settings = array(), $page_info = array() ){
|
33 |
|
34 |
$out = array();
|
@@ -87,6 +96,26 @@ class wpsr_service_pocket{
|
|
87 |
return $values;
|
88 |
}
|
89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
}
|
91 |
|
92 |
new wpsr_service_pocket();
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_service', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
$this->default_values = array(
|
14 |
+
'type' => 'horizontal',
|
15 |
+
);
|
16 |
+
|
17 |
+
}
|
18 |
+
|
19 |
+
function register( $services ){
|
20 |
+
|
21 |
+
$services[ 'pocket' ] = array(
|
22 |
'name' => 'Pocket',
|
23 |
'icons' => WPSR_ADMIN_URL . '/images/icons/pocket.png',
|
24 |
'desc' => __( 'Create Pocket buttons', 'wpsr' ),
|
30 |
'validation' => array( $this, 'validation' ),
|
31 |
'general_settings' => array( $this, 'general_settings' ),
|
32 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
33 |
+
'templates' => array( $this, 'templates' )
|
34 |
)
|
|
|
|
|
|
|
|
|
35 |
);
|
36 |
|
37 |
+
return $services;
|
38 |
+
|
39 |
}
|
40 |
+
|
41 |
function output( $settings = array(), $page_info = array() ){
|
42 |
|
43 |
$out = array();
|
96 |
return $values;
|
97 |
}
|
98 |
|
99 |
+
function templates(){
|
100 |
+
|
101 |
+
return array(
|
102 |
+
'pocket_hl'=> array(
|
103 |
+
'settings'=> array()
|
104 |
+
),
|
105 |
+
'pocket_vl'=> array(
|
106 |
+
'settings'=> array(
|
107 |
+
'type'=> 'vertical'
|
108 |
+
)
|
109 |
+
),
|
110 |
+
'pocket_hl_nc'=> array(
|
111 |
+
'settings'=> array(
|
112 |
+
'type'=> 'none'
|
113 |
+
)
|
114 |
+
)
|
115 |
+
);
|
116 |
+
|
117 |
+
}
|
118 |
+
|
119 |
}
|
120 |
|
121 |
new wpsr_service_pocket();
|
services/reddit.php
CHANGED
@@ -8,7 +8,17 @@ class wpsr_service_reddit{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => 'Reddit',
|
13 |
'icons' => WPSR_ADMIN_URL . '/images/icons/reddit.png',
|
14 |
'desc' => __( 'Create Reddit share buttons', 'wpsr' ),
|
@@ -20,15 +30,14 @@ class wpsr_service_reddit{
|
|
20 |
'validation' => array( $this, 'validation' ),
|
21 |
'general_settings' => array( $this, 'general_settings' ),
|
22 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
|
|
23 |
)
|
24 |
-
));
|
25 |
-
|
26 |
-
$this->default_values = array(
|
27 |
-
'type' => 'button1',
|
28 |
);
|
29 |
|
|
|
|
|
30 |
}
|
31 |
-
|
32 |
function output( $settings = array(), $page_info = array() ){
|
33 |
|
34 |
$out = array();
|
@@ -87,6 +96,21 @@ class wpsr_service_reddit{
|
|
87 |
return $values;
|
88 |
}
|
89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
}
|
91 |
|
92 |
new wpsr_service_reddit();
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_service', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
$this->default_values = array(
|
14 |
+
'type' => 'button1',
|
15 |
+
);
|
16 |
+
|
17 |
+
}
|
18 |
+
|
19 |
+
function register( $services ){
|
20 |
+
|
21 |
+
$services[ 'reddit' ] = array(
|
22 |
'name' => 'Reddit',
|
23 |
'icons' => WPSR_ADMIN_URL . '/images/icons/reddit.png',
|
24 |
'desc' => __( 'Create Reddit share buttons', 'wpsr' ),
|
30 |
'validation' => array( $this, 'validation' ),
|
31 |
'general_settings' => array( $this, 'general_settings' ),
|
32 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
33 |
+
'templates' => array( $this, 'templates' )
|
34 |
)
|
|
|
|
|
|
|
|
|
35 |
);
|
36 |
|
37 |
+
return $services;
|
38 |
+
|
39 |
}
|
40 |
+
|
41 |
function output( $settings = array(), $page_info = array() ){
|
42 |
|
43 |
$out = array();
|
96 |
return $values;
|
97 |
}
|
98 |
|
99 |
+
function templates(){
|
100 |
+
|
101 |
+
return array(
|
102 |
+
'reddit_hl'=> array(
|
103 |
+
'settings'=> array()
|
104 |
+
),
|
105 |
+
'reddit_vl'=> array(
|
106 |
+
'settings'=> array(
|
107 |
+
'type'=> 'button2'
|
108 |
+
)
|
109 |
+
)
|
110 |
+
);
|
111 |
+
|
112 |
+
}
|
113 |
+
|
114 |
}
|
115 |
|
116 |
new wpsr_service_reddit();
|
services/share_counter.php
CHANGED
@@ -8,7 +8,20 @@ class wpsr_service_share_counter{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => 'Share Counter',
|
13 |
'icons' => WPSR_ADMIN_URL . '/images/icons/share_counter.png',
|
14 |
'desc' => __( 'Display share counter', 'wpsr' ),
|
@@ -20,18 +33,14 @@ class wpsr_service_share_counter{
|
|
20 |
'validation' => array( $this, 'validation' ),
|
21 |
'general_settings' => array( $this, 'general_settings' ),
|
22 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
|
|
23 |
)
|
24 |
-
));
|
25 |
-
|
26 |
-
$this->default_values = array(
|
27 |
-
'text' => 'Shares',
|
28 |
-
'counter_color' => '#000',
|
29 |
-
'add_services' => array(),
|
30 |
-
'orientation' => 'vl'
|
31 |
);
|
32 |
|
|
|
|
|
33 |
}
|
34 |
-
|
35 |
function output( $settings = array(), $page_info = array() ){
|
36 |
|
37 |
$out = array();
|
@@ -126,14 +135,49 @@ class wpsr_service_share_counter{
|
|
126 |
}
|
127 |
|
128 |
function general_settings_validation( $values ){
|
129 |
-
|
130 |
if( intval( $values[ 'counter_expiration' ] ) < 1800 ){
|
131 |
$values[ 'counter_expiration' ] = 1800;
|
132 |
-
}
|
133 |
|
134 |
return $values;
|
135 |
}
|
136 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
}
|
138 |
|
139 |
new wpsr_service_share_counter();
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_service', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
$this->default_values = array(
|
14 |
+
'text' => 'Shares',
|
15 |
+
'counter_color' => '#000',
|
16 |
+
'add_services' => array(),
|
17 |
+
'orientation' => 'vl'
|
18 |
+
);
|
19 |
+
|
20 |
+
}
|
21 |
+
|
22 |
+
function register( $services ){
|
23 |
+
|
24 |
+
$services[ 'share_counter' ] = array(
|
25 |
'name' => 'Share Counter',
|
26 |
'icons' => WPSR_ADMIN_URL . '/images/icons/share_counter.png',
|
27 |
'desc' => __( 'Display share counter', 'wpsr' ),
|
33 |
'validation' => array( $this, 'validation' ),
|
34 |
'general_settings' => array( $this, 'general_settings' ),
|
35 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
36 |
+
'templates' => array( $this, 'templates' )
|
37 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
);
|
39 |
|
40 |
+
return $services;
|
41 |
+
|
42 |
}
|
43 |
+
|
44 |
function output( $settings = array(), $page_info = array() ){
|
45 |
|
46 |
$out = array();
|
135 |
}
|
136 |
|
137 |
function general_settings_validation( $values ){
|
138 |
+
|
139 |
if( intval( $values[ 'counter_expiration' ] ) < 1800 ){
|
140 |
$values[ 'counter_expiration' ] = 1800;
|
141 |
+
}
|
142 |
|
143 |
return $values;
|
144 |
}
|
145 |
|
146 |
+
function templates(){
|
147 |
+
|
148 |
+
return array(
|
149 |
+
'share_counter_vl'=> array(
|
150 |
+
'settings'=> array(
|
151 |
+
'add_services'=> [
|
152 |
+
'facebook',
|
153 |
+
'googleplus',
|
154 |
+
'linkedin',
|
155 |
+
'pinterest',
|
156 |
+
'stumbleupon'
|
157 |
+
],
|
158 |
+
'text'=> 'Shares',
|
159 |
+
'counter_color'=> '#000'
|
160 |
+
)
|
161 |
+
),
|
162 |
+
|
163 |
+
'share_counter_hl'=> array(
|
164 |
+
'settings'=> array(
|
165 |
+
'add_services'=> [
|
166 |
+
'facebook',
|
167 |
+
'googleplus',
|
168 |
+
'linkedin',
|
169 |
+
'pinterest',
|
170 |
+
'stumbleupon'
|
171 |
+
],
|
172 |
+
'text'=> 'Shares',
|
173 |
+
'counter_color'=> '#000',
|
174 |
+
'orientation'=> 'hl'
|
175 |
+
)
|
176 |
+
)
|
177 |
+
);
|
178 |
+
|
179 |
+
}
|
180 |
+
|
181 |
}
|
182 |
|
183 |
new wpsr_service_share_counter();
|
services/sharethis.php
CHANGED
@@ -8,10 +8,16 @@ class wpsr_service_sharethis{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => 'Share this',
|
13 |
'icons' => WPSR_ADMIN_URL . '/images/icons/sharethis.png',
|
14 |
-
'desc' => __( 'Create Sharethis buttons like social
|
15 |
'settings' => array( 'size' => '500x300' ),
|
16 |
'callbacks' => array(
|
17 |
'output' => array( $this, 'output' ),
|
@@ -20,11 +26,14 @@ class wpsr_service_sharethis{
|
|
20 |
'validation' => array( $this, 'validation' ),
|
21 |
'general_settings' => array( $this, 'general_settings' ),
|
22 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
|
|
23 |
)
|
24 |
-
)
|
|
|
|
|
25 |
|
26 |
}
|
27 |
-
|
28 |
function output( $settings = array(), $page_info = array() ){
|
29 |
|
30 |
$html = '<div class="sharethis-inline-share-buttons" data-url="' . $page_info[ 'url' ] . '" data-title="' . $page_info[ 'title' ] . '" data-description="' . $page_info[ 'excerpt' ] . '" data-image="' . $page_info[ 'post_image' ] . '"></div>';
|
@@ -90,6 +99,12 @@ class wpsr_service_sharethis{
|
|
90 |
return $values;
|
91 |
}
|
92 |
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
}
|
94 |
|
95 |
new wpsr_service_sharethis();
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_service', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
}
|
14 |
+
|
15 |
+
function register( $services ){
|
16 |
+
|
17 |
+
$services[ 'sharethis' ] = array(
|
18 |
'name' => 'Share this',
|
19 |
'icons' => WPSR_ADMIN_URL . '/images/icons/sharethis.png',
|
20 |
+
'desc' => __( 'Create Sharethis buttons like social icons with counter', 'wpsr' ),
|
21 |
'settings' => array( 'size' => '500x300' ),
|
22 |
'callbacks' => array(
|
23 |
'output' => array( $this, 'output' ),
|
26 |
'validation' => array( $this, 'validation' ),
|
27 |
'general_settings' => array( $this, 'general_settings' ),
|
28 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
29 |
+
'templates' => array( $this, 'templates' )
|
30 |
)
|
31 |
+
);
|
32 |
+
|
33 |
+
return $services;
|
34 |
|
35 |
}
|
36 |
+
|
37 |
function output( $settings = array(), $page_info = array() ){
|
38 |
|
39 |
$html = '<div class="sharethis-inline-share-buttons" data-url="' . $page_info[ 'url' ] . '" data-title="' . $page_info[ 'title' ] . '" data-description="' . $page_info[ 'excerpt' ] . '" data-image="' . $page_info[ 'post_image' ] . '"></div>';
|
99 |
return $values;
|
100 |
}
|
101 |
|
102 |
+
function templates(){
|
103 |
+
|
104 |
+
return array();
|
105 |
+
|
106 |
+
}
|
107 |
+
|
108 |
}
|
109 |
|
110 |
new wpsr_service_sharethis();
|
services/{social_buttons.php → social_icons.php}
RENAMED
@@ -1,31 +1,18 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
*
|
5 |
*/
|
6 |
|
7 |
-
class
|
8 |
|
9 |
var $sites;
|
10 |
|
11 |
function __construct(){
|
12 |
|
13 |
-
|
14 |
-
'name' => 'Social Icons',
|
15 |
-
'icons' => WPSR_ADMIN_URL . '/images/icons/social_buttons.png',
|
16 |
-
'desc' => __( 'Create social buttons with 35 sites and combiniations of different shape, size and colors.', 'wpsr' ),
|
17 |
-
'settings' => array( 'size' => 'popup' ),
|
18 |
-
'callbacks' => array(
|
19 |
-
'output' => array( $this, 'output' ),
|
20 |
-
'includes' => array( $this, 'includes' ),
|
21 |
-
'settings' => array( $this, 'settings' ),
|
22 |
-
'validation' => array( $this, 'validation' ),
|
23 |
-
'general_settings' => array( $this, 'general_settings' ),
|
24 |
-
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
25 |
-
)
|
26 |
-
));
|
27 |
|
28 |
-
$this->sites = WPSR_Lists::
|
29 |
|
30 |
$this->default_values = array(
|
31 |
'selected_sites' => '',
|
@@ -35,20 +22,42 @@ class wpsr_service_social_buttons{
|
|
35 |
'sr-layout' => '',
|
36 |
'sr-font-size' => '',
|
37 |
'sr-icon-display' => '',
|
38 |
-
'sr-icon-color' => 'icon-white',
|
39 |
'sr-border-width' => '',
|
40 |
-
'sr-border-color' => '',
|
41 |
-
'sr-background-color' => '',
|
42 |
'sr-count-style' => 'count-1',
|
43 |
'sr-shadow' => '',
|
44 |
'sr-pad' => '',
|
45 |
'text-styles' => '',
|
|
|
|
|
|
|
46 |
'more_sites' => '0',
|
47 |
'open_popup' => ''
|
48 |
);
|
49 |
|
50 |
}
|
51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
function output( $settings = array(), $page_info = array() ){
|
53 |
|
54 |
$out = array();
|
@@ -73,8 +82,21 @@ class wpsr_service_social_buttons{
|
|
73 |
'custom_url' => '',
|
74 |
);
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
foreach( $sel_sites as $site ){
|
77 |
$id = key( $site );
|
|
|
|
|
|
|
|
|
|
|
78 |
$opts = WPSR_Lists::set_defaults( (array) $site->$id, $def_site_options );
|
79 |
$props = $this->sites[ $id ];
|
80 |
|
@@ -92,7 +114,7 @@ class wpsr_service_social_buttons{
|
|
92 |
if( $opts[ 'count' ] == 1 && in_array( 'count', $props[ 'options' ] ) ){
|
93 |
$count_holder = WPSR_Share_Counter::placeholder( $page_info[ 'url' ], $id );
|
94 |
$count_tag = '<span class="ctext">' . $count_holder . '</span>';
|
95 |
-
$text_class = 'sr-text-in';
|
96 |
}
|
97 |
|
98 |
$text_in = '';
|
@@ -109,9 +131,9 @@ class wpsr_service_social_buttons{
|
|
109 |
}
|
110 |
}
|
111 |
|
112 |
-
$icon = ( $opts[ 'icon' ] == '' ) ? '<i class="
|
113 |
|
114 |
-
$chtml = '<span class="sr-' . esc_attr( $id ) . ' ' . esc_attr( $text_class ) . '"><a rel="nofollow" href="' . esc_attr( $url ) . '" target="_blank" ' . $onclick . ' title="' . esc_attr( $props[ 'title' ] ) . '">' . $icon . $text_in . $count_tag . '</a>' . $text_out . '</span>';
|
115 |
|
116 |
array_push( $sites_clist, $chtml );
|
117 |
}
|
@@ -120,7 +142,7 @@ class wpsr_service_social_buttons{
|
|
120 |
if( intval( $settings[ 'more_sites' ] ) > 0 ){
|
121 |
$more_count = intval( $settings[ 'more_sites' ] );
|
122 |
$more_sites = array_slice( $sites_clist, -$more_count, $more_count );
|
123 |
-
$more_html = '<span class="sr-more"><a href="#" target="_blank" title="More sites"><i class="fa fa-share-alt"></i></a><ul class="socializer">' . implode( "\n", $more_sites ) . '</ul></span>';
|
124 |
$sites_clist = array_slice( $sites_clist, 0, -$more_count );
|
125 |
array_push( $sites_clist, $more_html );
|
126 |
}
|
@@ -141,15 +163,7 @@ class wpsr_service_social_buttons{
|
|
141 |
function includes(){
|
142 |
|
143 |
return array(
|
144 |
-
'
|
145 |
-
'type' => 'css',
|
146 |
-
'link' => WPSR_Lists::ext_res( 'font-awesome' )
|
147 |
-
),
|
148 |
-
|
149 |
-
'sb_css' => array(
|
150 |
-
'type' => 'css',
|
151 |
-
'link' => WPSR_Lists::ext_res( 'socializer-css' )
|
152 |
-
),
|
153 |
);
|
154 |
|
155 |
}
|
@@ -220,11 +234,11 @@ class wpsr_service_social_buttons{
|
|
220 |
|
221 |
?>
|
222 |
|
223 |
-
<h3><?php _e( 'Select social
|
224 |
-
<button class="mini_section_select"><
|
225 |
|
226 |
<div class="mini_section">
|
227 |
-
<p><?php _e( 'Drag and drop social
|
228 |
<div class="mini_filters"><select class="sb_features_list" data-list=".list_available" ><?php
|
229 |
foreach( $site_features as $k=>$v ){ echo '<option value="' . $k . '">' . $v[ 'title' ] . '</options>'; }
|
230 |
?></select><input type="text" class="list_search" data-list=".list_available" placeholder="<?php _e( 'Search', 'wpsr' ); ?> ..." /></div>
|
@@ -239,9 +253,9 @@ class wpsr_service_social_buttons{
|
|
239 |
}
|
240 |
|
241 |
echo '<li' . $datas . ' style="background-color: ' . $config[ 'colors' ][0] . ';" data-features="' . implode( ',', $config[ 'features' ] ) . '">';
|
242 |
-
echo '<i class="
|
243 |
echo '<span>' . $config[ 'name' ] . '</span>';
|
244 |
-
echo '<i class="fa fa-trash-
|
245 |
echo '<i class="fa fa-cog item_action item_settings" title="' . __( 'Button settings', 'wpsr' ) . '"></i> ';
|
246 |
echo '</li>';
|
247 |
}
|
@@ -262,9 +276,9 @@ foreach( $saved as $i ){
|
|
262 |
}
|
263 |
|
264 |
echo '<li' . $datas . ' style="background-color: ' . $site_prop[ 'colors' ][0] . ';">';
|
265 |
-
echo '<i class="
|
266 |
echo '<span>' . $site_prop[ 'name' ] . '</span>';
|
267 |
-
echo '<i class="fa fa-trash-
|
268 |
echo '<i class="fa fa-cog item_action item_settings" title="' . __( 'Button settings', 'wpsr' ) . '"></i>';
|
269 |
echo '</li>';
|
270 |
|
@@ -298,7 +312,7 @@ if( jQuery ){
|
|
298 |
<?php
|
299 |
|
300 |
$a[ $values['title'] ] = array(
|
301 |
-
'service' => '
|
302 |
'settings'=> $values
|
303 |
);
|
304 |
echo json_encode( $a );
|
@@ -312,35 +326,31 @@ echo json_encode( $a );
|
|
312 |
|
313 |
$section1 = array(
|
314 |
|
315 |
-
array(
|
316 |
-
|
317 |
-
array(__( 'Icon size', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
318 |
'name' => 'o[sr-sizes]',
|
319 |
'value' => $values['sr-sizes'],
|
320 |
'list' => array(
|
321 |
-
'32px' => '32px',
|
322 |
-
'
|
323 |
-
'48px' => '48px',
|
324 |
-
'64px' => '64px',
|
325 |
),
|
326 |
-
'custom' => 'data-scr-settings="sizes"'
|
327 |
-
'tip' => WPSR_ADMIN_URL . '/images/tips/btn-sizes.png'
|
328 |
))),
|
329 |
|
330 |
-
array( __( 'Icon shape', 'wpsr' ), WPSR_Admin::field( '
|
331 |
'name' => 'o[sr-shapes]',
|
332 |
'value' => $values['sr-shapes'],
|
333 |
'list' => array(
|
334 |
-
'' => '
|
335 |
-
'circle' => 'Circle',
|
336 |
-
'squircle' => 'Squircle',
|
337 |
-
'squircle-2' => 'Squircle 2',
|
338 |
-
'diamond' => 'Diamond',
|
339 |
-
'ribbon' => 'Ribbon',
|
340 |
-
'drop' => 'Drop',
|
341 |
),
|
342 |
-
'custom' => 'data-scr-settings="shapes"'
|
343 |
-
'tip' => WPSR_ADMIN_URL . '/images/tips/btn-shapes.png'
|
344 |
))),
|
345 |
|
346 |
array( __( 'Hover effects', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
@@ -364,16 +374,15 @@ echo json_encode( $a );
|
|
364 |
|
365 |
$section2 = array(
|
366 |
|
367 |
-
array( __( 'Button layout', 'wpsr' ), WPSR_Admin::field( '
|
368 |
'name' => 'o[sr-layout]',
|
369 |
'value' => $values['sr-layout'],
|
370 |
'list' => array(
|
371 |
-
'' => '
|
372 |
-
'fluid' => 'Fluid',
|
373 |
-
'vertical' =>
|
374 |
),
|
375 |
-
'custom' => 'data-scr-settings="layouts"'
|
376 |
-
'tip' => WPSR_ADMIN_URL . '/images/tips/btn-layouts.png'
|
377 |
))),
|
378 |
|
379 |
array( __( 'Text styles', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
@@ -413,16 +422,25 @@ echo json_encode( $a );
|
|
413 |
|
414 |
$section3 = array(
|
415 |
|
416 |
-
array( __( 'Icon color', 'wpsr' ), WPSR_Admin::field( '
|
417 |
-
'name' => 'o[
|
418 |
-
'value' => $values['
|
419 |
-
'
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
426 |
))),
|
427 |
|
428 |
array( __( 'Border width', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
@@ -437,42 +455,17 @@ echo json_encode( $a );
|
|
437 |
'custom' => 'data-scr-settings="border-width"'
|
438 |
))),
|
439 |
|
440 |
-
array( __( '
|
441 |
-
'name' => 'o[sr-border-color]',
|
442 |
-
'value' => $values['sr-border-color'],
|
443 |
-
'list' => array(
|
444 |
-
'' => 'Color border',
|
445 |
-
'bdr-white' => 'White border',
|
446 |
-
'bdr-dark' => 'Dark border',
|
447 |
-
'bdr-grey' => 'Grey border'
|
448 |
-
),
|
449 |
-
'custom' => 'data-scr-settings="border-color"'
|
450 |
-
))),
|
451 |
-
|
452 |
-
array( __( 'Background color', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
453 |
-
'name' => 'o[sr-background-color]',
|
454 |
-
'value' => $values['sr-background-color'],
|
455 |
-
'list' => array(
|
456 |
-
'' => 'Color background',
|
457 |
-
'bg-none' => 'Transparent background',
|
458 |
-
'bg-white' => 'White background',
|
459 |
-
'bg-dark' => 'Dark background',
|
460 |
-
'bg-grey' => 'Grey background'
|
461 |
-
),
|
462 |
-
'custom' => 'data-scr-settings="background-color"'
|
463 |
-
))),
|
464 |
-
|
465 |
-
array( __( 'Share counter style', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
466 |
'name' => 'o[sr-count-style]',
|
467 |
'value' => $values['sr-count-style'],
|
468 |
'list' => array(
|
469 |
-
'count-1' => 'Style 1',
|
470 |
-
'count-2' => 'Style 2',
|
471 |
-
'count-3' => 'Style 3',
|
472 |
-
'
|
473 |
-
'bb-1' => 'Bubble style 1',
|
474 |
),
|
475 |
-
'custom' => 'data-scr-settings="count-style"'
|
|
|
476 |
))),
|
477 |
|
478 |
array( __( 'Shadow type', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
@@ -533,8 +526,6 @@ echo json_encode( $a );
|
|
533 |
|
534 |
);
|
535 |
|
536 |
-
echo '<div class="scr_templates_wrap"><i class="fa fa-times item_popup_close" title="Close"></i><ul class="scr_templates"></ul></div>';
|
537 |
-
|
538 |
echo '<div class="scr_swrap">';
|
539 |
echo '<h4 class="collapse_head">' . __( 'Size, shape and hover effects', 'wpsr' ) . '</h4>';
|
540 |
WPSR_Admin::build_table( $section1, '', '', true);
|
@@ -599,7 +590,7 @@ echo json_encode( $a );
|
|
599 |
)))
|
600 |
);
|
601 |
|
602 |
-
WPSR_Admin::build_table( $section1, 'Social
|
603 |
|
604 |
}
|
605 |
|
@@ -607,8 +598,12 @@ echo json_encode( $a );
|
|
607 |
return $values;
|
608 |
}
|
609 |
|
|
|
|
|
|
|
|
|
610 |
}
|
611 |
|
612 |
-
new
|
613 |
|
614 |
?>
|
1 |
<?php
|
2 |
/**
|
3 |
+
* social icons service for WP Socializer
|
4 |
*
|
5 |
*/
|
6 |
|
7 |
+
class wpsr_service_social_icons{
|
8 |
|
9 |
var $sites;
|
10 |
|
11 |
function __construct(){
|
12 |
|
13 |
+
add_filter( 'wpsr_register_service', array( $this, 'register' ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
+
$this->sites = WPSR_Lists::social_icons();
|
16 |
|
17 |
$this->default_values = array(
|
18 |
'selected_sites' => '',
|
22 |
'sr-layout' => '',
|
23 |
'sr-font-size' => '',
|
24 |
'sr-icon-display' => '',
|
|
|
25 |
'sr-border-width' => '',
|
|
|
|
|
26 |
'sr-count-style' => 'count-1',
|
27 |
'sr-shadow' => '',
|
28 |
'sr-pad' => '',
|
29 |
'text-styles' => '',
|
30 |
+
'icon_color' => '#fff',
|
31 |
+
'bg_color' => '',
|
32 |
+
'border_color' => '',
|
33 |
'more_sites' => '0',
|
34 |
'open_popup' => ''
|
35 |
);
|
36 |
|
37 |
}
|
38 |
+
|
39 |
+
function register( $services ){
|
40 |
+
|
41 |
+
$services[ 'social_icons' ] = array(
|
42 |
+
'name' => 'Social Icons',
|
43 |
+
'icons' => WPSR_ADMIN_URL . '/images/icons/social_icons.png',
|
44 |
+
'desc' => __( 'Create social icons with 35 sites and combiniations of different shape, size and colors.', 'wpsr' ),
|
45 |
+
'settings' => array( 'size' => 'popup' ),
|
46 |
+
'callbacks' => array(
|
47 |
+
'output' => array( $this, 'output' ),
|
48 |
+
'includes' => array( $this, 'includes' ),
|
49 |
+
'settings' => array( $this, 'settings' ),
|
50 |
+
'validation' => array( $this, 'validation' ),
|
51 |
+
'general_settings' => array( $this, 'general_settings' ),
|
52 |
+
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
53 |
+
'templates' => array( $this, 'templates' )
|
54 |
+
)
|
55 |
+
);
|
56 |
+
|
57 |
+
return $services;
|
58 |
+
|
59 |
+
}
|
60 |
+
|
61 |
function output( $settings = array(), $page_info = array() ){
|
62 |
|
63 |
$out = array();
|
82 |
'custom_url' => '',
|
83 |
);
|
84 |
|
85 |
+
$styles = array();
|
86 |
+
if ( $settings[ 'bg_color' ] != '' ) array_push( $styles, 'background-color: ' . $settings[ 'bg_color' ] );
|
87 |
+
if ( $settings[ 'icon_color' ] != '' ) array_push( $styles, 'color: ' . $settings[ 'icon_color' ] );
|
88 |
+
if ( $settings[ 'border_color' ] != '' ) array_push( $styles, 'border-color: ' . $settings[ 'border_color' ] );
|
89 |
+
$style = join( ';', $styles );
|
90 |
+
|
91 |
+
$style = ( $style != '' ) ? ' style="' . $style . '"' : '';
|
92 |
+
|
93 |
foreach( $sel_sites as $site ){
|
94 |
$id = key( $site );
|
95 |
+
|
96 |
+
if(!array_key_exists($id, $this->sites)){
|
97 |
+
continue;
|
98 |
+
}
|
99 |
+
|
100 |
$opts = WPSR_Lists::set_defaults( (array) $site->$id, $def_site_options );
|
101 |
$props = $this->sites[ $id ];
|
102 |
|
114 |
if( $opts[ 'count' ] == 1 && in_array( 'count', $props[ 'options' ] ) ){
|
115 |
$count_holder = WPSR_Share_Counter::placeholder( $page_info[ 'url' ], $id );
|
116 |
$count_tag = '<span class="ctext">' . $count_holder . '</span>';
|
117 |
+
$text_class = ( isset( $settings['sr-count-style'] ) && $settings['sr-count-style'] == 'count-1' ) ? '' : 'sr-text-in';
|
118 |
}
|
119 |
|
120 |
$text_in = '';
|
131 |
}
|
132 |
}
|
133 |
|
134 |
+
$icon = ( $opts[ 'icon' ] == '' ) ? '<i class="' . esc_attr( $props[ 'icon' ] ) . '"></i>' : '<img src="' . esc_attr( $opts[ 'icon' ] ) . '" alt="' . esc_attr( $id ) . '" />';
|
135 |
|
136 |
+
$chtml = '<span class="sr-' . esc_attr( $id ) . ' ' . esc_attr( $text_class ) . '"><a rel="nofollow" href="' . esc_attr( $url ) . '" target="_blank" ' . $onclick . ' title="' . esc_attr( $props[ 'title' ] ) . '" ' . $style . '>' . $icon . $text_in . $count_tag . '</a>' . $text_out . '</span>';
|
137 |
|
138 |
array_push( $sites_clist, $chtml );
|
139 |
}
|
142 |
if( intval( $settings[ 'more_sites' ] ) > 0 ){
|
143 |
$more_count = intval( $settings[ 'more_sites' ] );
|
144 |
$more_sites = array_slice( $sites_clist, -$more_count, $more_count );
|
145 |
+
$more_html = '<span class="sr-more"><a href="#" target="_blank" title="More sites" ' . $style . '><i class="fa fa-share-alt"></i></a><ul class="socializer">' . implode( "\n", $more_sites ) . '</ul></span>';
|
146 |
$sites_clist = array_slice( $sites_clist, 0, -$more_count );
|
147 |
array_push( $sites_clist, $more_html );
|
148 |
}
|
163 |
function includes(){
|
164 |
|
165 |
return array(
|
166 |
+
'sb_icon_css' => WPSR_Lists::get_font_icon()['prop']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
);
|
168 |
|
169 |
}
|
234 |
|
235 |
?>
|
236 |
|
237 |
+
<h3><?php _e( 'Select social icons', 'wpsr' ); ?></h3>
|
238 |
+
<button class="mini_section_select"><i class="fa fa-plus"></i> <?php _e( 'Click to open the list of buttons', 'wpsr' ); ?><i class="fa fa-chevron-down fright"></i></button>
|
239 |
|
240 |
<div class="mini_section">
|
241 |
+
<p><?php _e( 'Drag and drop social icons into the box below', 'wpsr' ); ?></p>
|
242 |
<div class="mini_filters"><select class="sb_features_list" data-list=".list_available" ><?php
|
243 |
foreach( $site_features as $k=>$v ){ echo '<option value="' . $k . '">' . $v[ 'title' ] . '</options>'; }
|
244 |
?></select><input type="text" class="list_search" data-list=".list_available" placeholder="<?php _e( 'Search', 'wpsr' ); ?> ..." /></div>
|
253 |
}
|
254 |
|
255 |
echo '<li' . $datas . ' style="background-color: ' . $config[ 'colors' ][0] . ';" data-features="' . implode( ',', $config[ 'features' ] ) . '">';
|
256 |
+
echo '<i class="' . $config[ 'icon' ] . ' item_icon" ></i> ';
|
257 |
echo '<span>' . $config[ 'name' ] . '</span>';
|
258 |
+
echo '<i class="fa fa-trash-alt item_action item_delete" title="' . __( 'Delete button', 'wpsr' ) . '"></i> ';
|
259 |
echo '<i class="fa fa-cog item_action item_settings" title="' . __( 'Button settings', 'wpsr' ) . '"></i> ';
|
260 |
echo '</li>';
|
261 |
}
|
276 |
}
|
277 |
|
278 |
echo '<li' . $datas . ' style="background-color: ' . $site_prop[ 'colors' ][0] . ';">';
|
279 |
+
echo '<i class="' . $site_prop[ 'icon' ] . ' item_icon"></i>';
|
280 |
echo '<span>' . $site_prop[ 'name' ] . '</span>';
|
281 |
+
echo '<i class="fa fa-trash-alt item_action item_delete" title="' . __( 'Delete button', 'wpsr' ) . '"></i>';
|
282 |
echo '<i class="fa fa-cog item_action item_settings" title="' . __( 'Button settings', 'wpsr' ) . '"></i>';
|
283 |
echo '</li>';
|
284 |
|
312 |
<?php
|
313 |
|
314 |
$a[ $values['title'] ] = array(
|
315 |
+
'service' => 'social_icons',
|
316 |
'settings'=> $values
|
317 |
);
|
318 |
echo json_encode( $a );
|
326 |
|
327 |
$section1 = array(
|
328 |
|
329 |
+
array(__( 'Icon size', 'wpsr' ), WPSR_Admin::field( 'image_select', array(
|
|
|
|
|
330 |
'name' => 'o[sr-sizes]',
|
331 |
'value' => $values['sr-sizes'],
|
332 |
'list' => array(
|
333 |
+
'32px' => array( '32px', 'size.svg', '32px' ),
|
334 |
+
'40px' => array( '40px', 'size.svg', '40px' ),
|
335 |
+
'48px' => array( '48px', 'size.svg', '48px' ),
|
336 |
+
'64px' => array( '64px', 'size.svg', '64px' ),
|
337 |
),
|
338 |
+
'custom' => 'data-scr-settings="sizes"'
|
|
|
339 |
))),
|
340 |
|
341 |
+
array( __( 'Icon shape', 'wpsr' ), WPSR_Admin::field( 'image_select', array(
|
342 |
'name' => 'o[sr-shapes]',
|
343 |
'value' => $values['sr-shapes'],
|
344 |
'list' => array(
|
345 |
+
'' => array( 'Sqaure', 'shape-square.svg', '32px' ),
|
346 |
+
'circle' => array( 'Circle', 'shape-circle.svg', '32px' ),
|
347 |
+
'squircle' => array( 'Squircle', 'shape-squircle.svg', '32px' ),
|
348 |
+
'squircle-2' => array( 'Squircle 2', 'shape-squircle-2.svg', '32px' ),
|
349 |
+
'diamond' => array( 'Diamond', 'shape-diamond.svg', '32px' ),
|
350 |
+
'ribbon' => array( 'Ribbon', 'shape-ribbon.svg', '32px' ),
|
351 |
+
'drop' => array( 'Drop', 'shape-drop.svg', '32px' ),
|
352 |
),
|
353 |
+
'custom' => 'data-scr-settings="shapes"'
|
|
|
354 |
))),
|
355 |
|
356 |
array( __( 'Hover effects', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
374 |
|
375 |
$section2 = array(
|
376 |
|
377 |
+
array( __( 'Button layout', 'wpsr' ), WPSR_Admin::field( 'image_select', array(
|
378 |
'name' => 'o[sr-layout]',
|
379 |
'value' => $values['sr-layout'],
|
380 |
'list' => array(
|
381 |
+
'' => array( 'Horizontal', 'layout-horizontal.svg', '64px' ),
|
382 |
+
'fluid' => array( 'Fluid', 'layout-fluid.svg', '64px' ),
|
383 |
+
'vertical' => array( 'Vertical', 'layout-vertical.svg', '64px' ),
|
384 |
),
|
385 |
+
'custom' => 'data-scr-settings="layouts"'
|
|
|
386 |
))),
|
387 |
|
388 |
array( __( 'Text styles', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
422 |
|
423 |
$section3 = array(
|
424 |
|
425 |
+
array( __( 'Icon color', 'wpsr' ), WPSR_Admin::field( 'text', array(
|
426 |
+
'name' => 'o[icon_color]',
|
427 |
+
'value' => $values['icon_color'],
|
428 |
+
'class' => 'wp-color',
|
429 |
+
'helper' => __( 'Set empty value to use brand color', 'wpsr' )
|
430 |
+
))),
|
431 |
+
|
432 |
+
array( __( 'Background color', 'wpsr' ), WPSR_Admin::field( 'text', array(
|
433 |
+
'name' => 'o[bg_color]',
|
434 |
+
'value' => $values['bg_color'],
|
435 |
+
'class' => 'wp-color',
|
436 |
+
'helper' => __( 'Set empty value to use brand color', 'wpsr' )
|
437 |
+
))),
|
438 |
+
|
439 |
+
array( __( 'Border color', 'wpsr' ), WPSR_Admin::field( 'text', array(
|
440 |
+
'name' => 'o[border_color]',
|
441 |
+
'value' => $values['border_color'],
|
442 |
+
'class' => 'wp-color',
|
443 |
+
'helper' => __( 'Set empty value to use brand color', 'wpsr' )
|
444 |
))),
|
445 |
|
446 |
array( __( 'Border width', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
455 |
'custom' => 'data-scr-settings="border-width"'
|
456 |
))),
|
457 |
|
458 |
+
array( __( 'Share counter style', 'wpsr' ), WPSR_Admin::field( 'image_select', array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
459 |
'name' => 'o[sr-count-style]',
|
460 |
'value' => $values['sr-count-style'],
|
461 |
'list' => array(
|
462 |
+
'count-1' => array( 'Style 1', 'counter-1.svg', '60px' ),
|
463 |
+
'count-2' => array( 'Style 2', 'counter-2.svg', '70px' ),
|
464 |
+
'count-3' => array( 'Style 3', 'counter-3.svg', '70px' ),
|
465 |
+
'bb-1' => array( 'Bubble style 1', 'bb-1.svg', '70px' ),
|
|
|
466 |
),
|
467 |
+
'custom' => 'data-scr-settings="count-style"',
|
468 |
+
'helper' => __( 'To show count, in the same page under icons list, select an icon and enable gear icon > show count', 'wpsr' )
|
469 |
))),
|
470 |
|
471 |
array( __( 'Shadow type', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
526 |
|
527 |
);
|
528 |
|
|
|
|
|
529 |
echo '<div class="scr_swrap">';
|
530 |
echo '<h4 class="collapse_head">' . __( 'Size, shape and hover effects', 'wpsr' ) . '</h4>';
|
531 |
WPSR_Admin::build_table( $section1, '', '', true);
|
590 |
)))
|
591 |
);
|
592 |
|
593 |
+
WPSR_Admin::build_table( $section1, 'Social icons settings' );
|
594 |
|
595 |
}
|
596 |
|
598 |
return $values;
|
599 |
}
|
600 |
|
601 |
+
function templates(){
|
602 |
+
return WPSR_Lists::load_json('buttons');
|
603 |
+
}
|
604 |
+
|
605 |
}
|
606 |
|
607 |
+
new wpsr_service_social_icons();
|
608 |
|
609 |
?>
|
services/stumbleupon.php
DELETED
@@ -1,105 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* StumbleUpon service for WP Socializer
|
4 |
-
*
|
5 |
-
*/
|
6 |
-
|
7 |
-
class wpsr_service_stumbleupon{
|
8 |
-
|
9 |
-
function __construct(){
|
10 |
-
|
11 |
-
WPSR_Services::register( 'stumbleupon', array(
|
12 |
-
'name' => 'StumbleUpon',
|
13 |
-
'icons' => WPSR_ADMIN_URL . '/images/icons/stumbleupon.png',
|
14 |
-
'desc' => __( 'Create StumbleUpon buttons', 'wpsr' ),
|
15 |
-
'settings' => array( 'size' => '500x200' ),
|
16 |
-
'callbacks' => array(
|
17 |
-
'output' => array( $this, 'output' ),
|
18 |
-
'includes' => array( $this, 'includes' ),
|
19 |
-
'settings' => array( $this, 'settings' ),
|
20 |
-
'validation' => array( $this, 'validation' ),
|
21 |
-
'general_settings' => array( $this, 'general_settings' ),
|
22 |
-
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
23 |
-
)
|
24 |
-
));
|
25 |
-
|
26 |
-
$this->default_values = array(
|
27 |
-
'type' => '1'
|
28 |
-
);
|
29 |
-
|
30 |
-
}
|
31 |
-
|
32 |
-
function output( $settings = array(), $page_info = array() ){
|
33 |
-
|
34 |
-
$out = array();
|
35 |
-
$settings = WPSR_Lists::set_defaults( $settings, $this->default_values );
|
36 |
-
|
37 |
-
$out['html'] = '<su:badge layout="' . esc_attr( $settings[ 'type' ] ) . '" location="' . esc_attr( $page_info[ 'url' ] ) . '"></su:badge>';
|
38 |
-
$out['includes'] = array( 'stumbleupon_main_js' );
|
39 |
-
return $out;
|
40 |
-
|
41 |
-
}
|
42 |
-
|
43 |
-
function includes(){
|
44 |
-
|
45 |
-
$includes = array(
|
46 |
-
'stumbleupon_main_js' => array(
|
47 |
-
'type' => 'js',
|
48 |
-
'code' => "<script type='text/javascript'>
|
49 |
-
(function() {
|
50 |
-
var li = document.createElement('script'); li.type = 'text/javascript'; li.async = true;
|
51 |
-
li.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + '//platform.stumbleupon.com/1/widgets.js';
|
52 |
-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(li, s);
|
53 |
-
})();
|
54 |
-
</script>"
|
55 |
-
)
|
56 |
-
);
|
57 |
-
|
58 |
-
return $includes;
|
59 |
-
|
60 |
-
}
|
61 |
-
|
62 |
-
function settings( $values ){
|
63 |
-
|
64 |
-
$values = WPSR_Lists::set_defaults( $values, $this->default_values );
|
65 |
-
|
66 |
-
$section1 = array(
|
67 |
-
array( __( 'Button type', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
68 |
-
'name' => 'o[type]',
|
69 |
-
'value' => $values['type'],
|
70 |
-
'list' => array(
|
71 |
-
'1' => 'Small, count on right, square box',
|
72 |
-
'2' => 'Small, count on right, round box',
|
73 |
-
'3' => 'Small, count on right, no box',
|
74 |
-
'4' => 'Small, no count',
|
75 |
-
'5' => 'Big, count on top, square box',
|
76 |
-
'6' => 'Big, no count',
|
77 |
-
),
|
78 |
-
'tip' => WPSR_ADMIN_URL . '/images/tips/stumbleupon-types.png'
|
79 |
-
))),
|
80 |
-
);
|
81 |
-
|
82 |
-
WPSR_Admin::build_table( $section1, '', '', true);
|
83 |
-
|
84 |
-
}
|
85 |
-
|
86 |
-
function validation( $values ){
|
87 |
-
|
88 |
-
return $values;
|
89 |
-
|
90 |
-
}
|
91 |
-
|
92 |
-
|
93 |
-
function general_settings( $values ){
|
94 |
-
|
95 |
-
}
|
96 |
-
|
97 |
-
function general_settings_validation( $values ){
|
98 |
-
return $values;
|
99 |
-
}
|
100 |
-
|
101 |
-
}
|
102 |
-
|
103 |
-
new wpsr_service_stumbleupon();
|
104 |
-
|
105 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
services/twitter.php
CHANGED
@@ -8,7 +8,25 @@ class wpsr_service_twitter{
|
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
'name' => 'Twitter',
|
13 |
'icons' => WPSR_ADMIN_URL . '/images/icons/twitter.png',
|
14 |
'desc' => __( 'Create Twitter buttons like share, follow, hashtag and mention', 'wpsr' ),
|
@@ -20,23 +38,14 @@ class wpsr_service_twitter{
|
|
20 |
'validation' => array( $this, 'validation' ),
|
21 |
'general_settings' => array( $this, 'general_settings' ),
|
22 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
|
|
23 |
)
|
24 |
-
));
|
25 |
-
|
26 |
-
$gs = get_option( 'wpsr_general_settings' );
|
27 |
-
$gs = WPSR_Lists::set_defaults( $gs, WPSR_Lists::defaults( 'gsettings_twitter' ) );
|
28 |
-
|
29 |
-
$this->default_values = array(
|
30 |
-
'type' => 'share',
|
31 |
-
'count' => 'false',
|
32 |
-
'username' => $gs[ 'twitter_username' ],
|
33 |
-
'recommend' => '',
|
34 |
-
'hashtag' => '',
|
35 |
-
'size' => 'small'
|
36 |
);
|
37 |
|
|
|
|
|
38 |
}
|
39 |
-
|
40 |
function output( $settings = array(), $page_info = array() ){
|
41 |
|
42 |
$out = array();
|
@@ -171,6 +180,21 @@ class wpsr_service_twitter{
|
|
171 |
return $values;
|
172 |
}
|
173 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
}
|
175 |
|
176 |
new wpsr_service_twitter();
|
8 |
|
9 |
function __construct(){
|
10 |
|
11 |
+
add_filter( 'wpsr_register_service', array( $this, 'register' ) );
|
12 |
+
|
13 |
+
$gs = get_option( 'wpsr_general_settings' );
|
14 |
+
$gs = WPSR_Lists::set_defaults( $gs, WPSR_Lists::defaults( 'gsettings_twitter' ) );
|
15 |
+
|
16 |
+
$this->default_values = array(
|
17 |
+
'type' => 'share',
|
18 |
+
'count' => 'false',
|
19 |
+
'username' => $gs[ 'twitter_username' ],
|
20 |
+
'recommend' => '',
|
21 |
+
'hashtag' => '',
|
22 |
+
'size' => 'small'
|
23 |
+
);
|
24 |
+
|
25 |
+
}
|
26 |
+
|
27 |
+
function register( $services ){
|
28 |
+
|
29 |
+
$services[ 'twitter' ] = array(
|
30 |
'name' => 'Twitter',
|
31 |
'icons' => WPSR_ADMIN_URL . '/images/icons/twitter.png',
|
32 |
'desc' => __( 'Create Twitter buttons like share, follow, hashtag and mention', 'wpsr' ),
|
38 |
'validation' => array( $this, 'validation' ),
|
39 |
'general_settings' => array( $this, 'general_settings' ),
|
40 |
'general_settings_validation' => array( $this, 'general_settings_validation' ),
|
41 |
+
'templates' => array( $this, 'templates' )
|
42 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
);
|
44 |
|
45 |
+
return $services;
|
46 |
+
|
47 |
}
|
48 |
+
|
49 |
function output( $settings = array(), $page_info = array() ){
|
50 |
|
51 |
$out = array();
|
180 |
return $values;
|
181 |
}
|
182 |
|
183 |
+
function templates(){
|
184 |
+
|
185 |
+
return array(
|
186 |
+
'twitter_hl'=> array(
|
187 |
+
'settings'=> array()
|
188 |
+
),
|
189 |
+
'twitter_hl_lg'=> array(
|
190 |
+
'settings'=> array(
|
191 |
+
'size'=> 'large'
|
192 |
+
)
|
193 |
+
)
|
194 |
+
);
|
195 |
+
|
196 |
+
}
|
197 |
+
|
198 |
}
|
199 |
|
200 |
new wpsr_service_twitter();
|
wpsr.php
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
* Plugin Name: WP Socializer
|
4 |
* Plugin URI: https://www.aakashweb.com/wordpress-plugins/wp-socializer/
|
5 |
* Description: WP Socializer is an all in one complete social media plugin to add native social media buttons, icons, floating sharebar, follow us buttons, profile icons, mobile sharebar and selected text share popups easily with complete control and customization.
|
6 |
-
* Version:
|
7 |
* Author: Aakash Chakravarthy
|
8 |
* Author URI: https://www.aakashweb.com
|
9 |
* Text Domain: wpsr
|
10 |
* Domain Path: /languages
|
11 |
*/
|
12 |
|
13 |
-
define( 'WPSR_VERSION', '
|
14 |
define( 'WPSR_PATH', plugin_dir_path( __FILE__ ) ); // All have trailing slash
|
15 |
define( 'WPSR_URL', plugin_dir_url( __FILE__ ) );
|
16 |
define( 'WPSR_ADMIN_URL', trailingslashit( plugin_dir_url( __FILE__ ) . 'admin' ) );
|
@@ -25,7 +25,6 @@ final class WP_Socializer{
|
|
25 |
|
26 |
add_action( 'plugins_loaded', array( $this, 'load_text_domain' ) );
|
27 |
|
28 |
-
// Includes
|
29 |
$this->includes();
|
30 |
|
31 |
}
|
@@ -46,10 +45,9 @@ final class WP_Socializer{
|
|
46 |
|
47 |
// Services
|
48 |
include_once( WPSR_PATH . 'services/twitter.php' );
|
49 |
-
include_once( WPSR_PATH . 'services/
|
50 |
include_once( WPSR_PATH . 'services/facebook.php' );
|
51 |
include_once( WPSR_PATH . 'services/google_plus.php' );
|
52 |
-
include_once( WPSR_PATH . 'services/stumbleupon.php' );
|
53 |
include_once( WPSR_PATH . 'services/linkedin.php' );
|
54 |
include_once( WPSR_PATH . 'services/reddit.php' );
|
55 |
include_once( WPSR_PATH . 'services/sharethis.php' );
|
@@ -68,6 +66,7 @@ final class WP_Socializer{
|
|
68 |
include_once( WPSR_PATH . 'admin/widgets.php' );
|
69 |
include_once( WPSR_PATH . 'admin/import_export.php' );
|
70 |
include_once( WPSR_PATH . 'admin/general_settings.php' );
|
|
|
71 |
include_once( WPSR_PATH . 'admin/setup.php' );
|
72 |
|
73 |
}
|
3 |
* Plugin Name: WP Socializer
|
4 |
* Plugin URI: https://www.aakashweb.com/wordpress-plugins/wp-socializer/
|
5 |
* Description: WP Socializer is an all in one complete social media plugin to add native social media buttons, icons, floating sharebar, follow us buttons, profile icons, mobile sharebar and selected text share popups easily with complete control and customization.
|
6 |
+
* Version: 4.0
|
7 |
* Author: Aakash Chakravarthy
|
8 |
* Author URI: https://www.aakashweb.com
|
9 |
* Text Domain: wpsr
|
10 |
* Domain Path: /languages
|
11 |
*/
|
12 |
|
13 |
+
define( 'WPSR_VERSION', '4.0' );
|
14 |
define( 'WPSR_PATH', plugin_dir_path( __FILE__ ) ); // All have trailing slash
|
15 |
define( 'WPSR_URL', plugin_dir_url( __FILE__ ) );
|
16 |
define( 'WPSR_ADMIN_URL', trailingslashit( plugin_dir_url( __FILE__ ) . 'admin' ) );
|
25 |
|
26 |
add_action( 'plugins_loaded', array( $this, 'load_text_domain' ) );
|
27 |
|
|
|
28 |
$this->includes();
|
29 |
|
30 |
}
|
45 |
|
46 |
// Services
|
47 |
include_once( WPSR_PATH . 'services/twitter.php' );
|
48 |
+
include_once( WPSR_PATH . 'services/social_icons.php' );
|
49 |
include_once( WPSR_PATH . 'services/facebook.php' );
|
50 |
include_once( WPSR_PATH . 'services/google_plus.php' );
|
|
|
51 |
include_once( WPSR_PATH . 'services/linkedin.php' );
|
52 |
include_once( WPSR_PATH . 'services/reddit.php' );
|
53 |
include_once( WPSR_PATH . 'services/sharethis.php' );
|
66 |
include_once( WPSR_PATH . 'admin/widgets.php' );
|
67 |
include_once( WPSR_PATH . 'admin/import_export.php' );
|
68 |
include_once( WPSR_PATH . 'admin/general_settings.php' );
|
69 |
+
include_once( WPSR_PATH . 'admin/buttons_picker.php' );
|
70 |
include_once( WPSR_PATH . 'admin/setup.php' );
|
71 |
|
72 |
}
|