Version Description
- Added Temporary login feature.
- Added Hover, Custom hover, and Smart Theme for social login Icons.
- Fixed Yahoo attribute mapping.
- Updated Facebook setup instructions.
- Updated Facebook and Google setup videos.
- Published Christmas and EOSS.
- Added Fitbit and Stackoverflow apps in Premium and all-inclusive app.
- Added connect with messenger feature in Premium and all-inclusive app.
Download this release
Release Info
Developer | unsolvedcontriver |
Plugin | Social Login |
Version | 7.5.6 |
Comparing to | |
See all releases |
Code changes from version 7.5.5 to 7.5.6
- CustomerOpenID.php +2 -2
- class-mo-openid-login-widget.php +430 -471
- class-mo-openid-social-comment.php +5 -7
- class-mo-openid-social-share.php +5 -9
- class-mo-openid-sso-shortcode-buttons.php +233 -498
- includes/css/bootstrap-social.css +61 -7
- includes/css/bootstrap.min-preview.css +29 -1
- includes/css/font-awesome.min.css +1 -1
- includes/css/mo_openid_style.css +14 -0
- includes/css/mo_sl_banner.css +4 -0
- includes/images/eosssale.gif +0 -0
- includes/images/icons/fitbit.png +0 -0
- includes/images/miniOrange_logo.png +0 -0
- includes/images/mo-sl-xmas.jpg +0 -0
- includes/js/mo_openid_settings.js +13 -0
- miniorange_openid_sso_settings.php +59 -11
- miniorange_openid_sso_settings_page.php +14 -14
- mo-openid-social-login-functions.php +7 -14
- mo_openid_feedback_form.php +1 -3
- mo_openid_sso_encryption.php +1 -2
- readme.txt +32 -8
- social_apps/facebook.php +3 -2
- social_apps/fitbit.php +8 -0
- social_apps/stackoverflow.php +8 -0
- social_apps/yahoo.php +5 -3
- social_apps/yandex.php +0 -79
- uninstall.php +1 -2
- view/add_on/mo_discord_add_on.php +33 -36
- view/config_apps/mo_openid_config_apps.php +79 -2
- view/customise_social_icons/mo_openid_cust_icons.php +606 -64
- view/licensing_plans/mo_openid_lic_plans.php +68 -74
- view/tlwp/mo_openid_tlwp.php +313 -0
CustomerOpenID.php
CHANGED
@@ -55,7 +55,7 @@ class CustomerOpenID {
|
|
55 |
Â
$response = self::mo_openid_wp_remote_post($url, $args);
|
56 |
Â
if($response['body']==NULL)
|
57 |
Â
{
|
58 |
-
if($_POST['action']=='mo_register_new_user')
|
59 |
Â
wp_send_json(["error" => 'There was an error creating an account for you. Please try again.']);
|
60 |
Â
else {
|
61 |
Â
update_option('mo_openid_message', 'There was an error creating an account for you. Please try again.');
|
@@ -528,7 +528,7 @@ class CustomerOpenID {
|
|
528 |
Â
if(!is_wp_error($response)){
|
529 |
Â
return $response;
|
530 |
Â
} else {
|
531 |
-
if ($_POST['action'] == 'mo_register_new_user')
|
532 |
Â
wp_send_json(["error" => 'Unable to connect to the Internet. Please try again.']);
|
533 |
Â
else {
|
534 |
Â
update_option('mo_openid_message', 'Unable to connect to the Internet. Please try again.');
|
55 |
Â
$response = self::mo_openid_wp_remote_post($url, $args);
|
56 |
Â
if($response['body']==NULL)
|
57 |
Â
{
|
58 |
+
if(isset($_POST['action'])?$_POST['action']=='mo_register_new_user':0)
|
59 |
Â
wp_send_json(["error" => 'There was an error creating an account for you. Please try again.']);
|
60 |
Â
else {
|
61 |
Â
update_option('mo_openid_message', 'There was an error creating an account for you. Please try again.');
|
528 |
Â
if(!is_wp_error($response)){
|
529 |
Â
return $response;
|
530 |
Â
} else {
|
531 |
+
if (isset($_POST['action'])? $_POST['action']== 'mo_register_new_user':0)
|
532 |
Â
wp_send_json(["error" => 'Unable to connect to the Internet. Please try again.']);
|
533 |
Â
else {
|
534 |
Â
update_option('mo_openid_message', 'Unable to connect to the Internet. Please try again.');
|
class-mo-openid-login-widget.php
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
Â
<?php
|
2 |
Â
include "mo-openid-social-login-functions.php";
|
Â
|
|
3 |
Â
add_action( 'wp_login', 'mo_openid_link_account', 5, 2);
|
4 |
Â
add_action( 'mo_user_register', 'mo_openid_update_role', 1, 2);
|
5 |
Â
add_action( 'mo_user_register','mo_openid_send_email',1, 2 );
|
@@ -77,6 +78,9 @@ class mo_openid_login_wid extends WP_Widget {
|
|
77 |
Â
$customHeight = esc_attr(get_option('mo_login_icon_custom_height'));
|
78 |
Â
$customSize = esc_attr(get_option('mo_login_icon_custom_size'));
|
79 |
Â
$customBackground = esc_attr(get_option('mo_login_icon_custom_color'));
|
Â
|
|
Â
|
|
Â
|
|
80 |
Â
$customTheme = esc_attr(get_option('mo_openid_login_custom_theme'));
|
81 |
Â
$customTextofTitle = esc_attr(get_option('mo_openid_login_button_customize_text'));
|
82 |
Â
$customBoundary = esc_attr(get_option('mo_login_icon_custom_boundary'));
|
@@ -84,6 +88,7 @@ class mo_openid_login_wid extends WP_Widget {
|
|
84 |
Â
$customLogoutLink = get_option('mo_openid_login_widget_customize_logout_text');
|
85 |
Â
$customTextColor=esc_attr(get_option('mo_login_openid_login_widget_customize_textcolor'));
|
86 |
Â
$customText=esc_html(get_option('mo_openid_login_widget_customize_text'));
|
Â
|
|
87 |
Â
$application_pos = get_option('app_pos');
|
88 |
Â
|
89 |
Â
if(get_option('mo_openid_gdpr_consent_enable')) {
|
@@ -137,7 +142,11 @@ class mo_openid_login_wid extends WP_Widget {
|
|
137 |
Â
'customSize' => $customSize,
|
138 |
Â
'html' => '',
|
139 |
Â
'customBackground' => $customBackground,
|
Â
|
|
Â
|
|
Â
|
|
140 |
Â
'customTheme' => $customTheme,
|
Â
|
|
141 |
Â
);
|
142 |
Â
$html=$this->display_apps($values);
|
143 |
Â
$html.='<br/>';
|
@@ -206,6 +215,10 @@ class mo_openid_login_wid extends WP_Widget {
|
|
206 |
Â
$customHeight = isset( $atts['height'] )? esc_attr(intval($atts['height'])) : esc_attr(intval(get_option('mo_login_icon_custom_height')));
|
207 |
Â
$customSize = isset( $atts['size'] )? esc_attr(intval($atts['size'])) : esc_attr(intval(get_option('mo_login_icon_custom_size')));
|
208 |
Â
$customBackground = isset( $atts['background'] )? esc_attr($atts['background']) : esc_attr(get_option('mo_login_icon_custom_color'));
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
209 |
Â
$customTheme = isset( $atts['theme'] )? esc_attr($atts['theme']) : esc_attr(get_option('mo_openid_login_custom_theme'));
|
210 |
Â
$buttonText = esc_html(get_option('mo_openid_login_button_customize_text'));
|
211 |
Â
$customTextofTitle = esc_attr(get_option('mo_openid_login_button_customize_text'));
|
@@ -267,6 +280,9 @@ class mo_openid_login_wid extends WP_Widget {
|
|
267 |
Â
'customWidth' => $customWidth,
|
268 |
Â
'customHeight' => $customHeight,
|
269 |
Â
'customBoundary' => $customBoundary,
|
Â
|
|
Â
|
|
Â
|
|
270 |
Â
'buttonText' => $buttonText,
|
271 |
Â
'dis' => $dis,
|
272 |
Â
'customTextofTitle' => $customTextofTitle,
|
@@ -274,7 +290,8 @@ class mo_openid_login_wid extends WP_Widget {
|
|
274 |
Â
'html' => $html,
|
275 |
Â
'customBackground' => $customBackground,
|
276 |
Â
'customTheme' => $customTheme,
|
277 |
-
'
|
Â
|
|
278 |
Â
);
|
279 |
Â
$html=$this->display_apps($values);
|
280 |
Â
|
@@ -313,9 +330,12 @@ class mo_openid_login_wid extends WP_Widget {
|
|
313 |
Â
$html=$values['html'];
|
314 |
Â
$view=$values['view'];
|
315 |
Â
$customBackground=$values['customBackground'];
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
316 |
Â
$customTheme=$values['customTheme'];
|
317 |
Â
$appcnt=isset($values['appcnt'])?$values['appcnt']:'';
|
318 |
-
|
319 |
Â
if( $appsConfigured || $selected_apps!="") {
|
320 |
Â
|
321 |
Â
if($selected_apps!="")
|
@@ -359,6 +379,10 @@ class mo_openid_login_wid extends WP_Widget {
|
|
359 |
Â
'html' => $html,
|
360 |
Â
'view' => $view,
|
361 |
Â
'customBackground' => $customBackground,
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
362 |
Â
'app_dis' => $app_dis,
|
363 |
Â
'customTheme' => $customTheme,
|
364 |
Â
'customer_register' => 'yes',
|
@@ -392,6 +416,10 @@ class mo_openid_login_wid extends WP_Widget {
|
|
392 |
Â
'html' => $html,
|
393 |
Â
'view' => $view,
|
394 |
Â
'customBackground' => $customBackground,
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
395 |
Â
'app_dis' => $app_dis,
|
396 |
Â
'customTheme' => $customTheme,
|
397 |
Â
'customer_register' => 'no',
|
@@ -427,6 +455,10 @@ class mo_openid_login_wid extends WP_Widget {
|
|
427 |
Â
'html' => $html,
|
428 |
Â
'view' => $view,
|
429 |
Â
'customBackground' => $customBackground,
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
430 |
Â
'app_dis' => $app_dis,
|
431 |
Â
'customTheme' => $customTheme,
|
432 |
Â
'customer_register' => 'yes',
|
@@ -450,7 +482,7 @@ class mo_openid_login_wid extends WP_Widget {
|
|
450 |
Â
public function select_app($select_apps,$app_values){
|
451 |
Â
if( get_option('mo_openid_fonawesome_load') == 1)
|
452 |
Â
wp_enqueue_style( 'mo-openid-sl-wp-font-awesome',plugins_url('includes/css/mo-font-awesome.min.css', __FILE__), false );
|
453 |
-
wp_enqueue_style( 'mo-wp-style-icon',plugins_url('includes/css/mo_openid_login_icons.css?version=
|
454 |
Â
wp_enqueue_style( 'mo-wp-bootstrap-social',plugins_url('includes/css/bootstrap-social.css', __FILE__), false );
|
455 |
Â
if( get_option('mo_openid_bootstrap_load') == 1)
|
456 |
Â
wp_enqueue_style( 'mo-wp-bootstrap-main',plugins_url('includes/css/bootstrap.min-preview.css', __FILE__), false );
|
@@ -468,88 +500,26 @@ class mo_openid_login_wid extends WP_Widget {
|
|
468 |
Â
$html = $app_values['html'];
|
469 |
Â
$view = $app_values['view'];
|
470 |
Â
$customBackground = $app_values['customBackground'];
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
471 |
Â
$app_dis = $app_values['app_dis'];
|
472 |
Â
$customTheme = $app_values['customTheme'];
|
473 |
Â
$customer_register = $app_values['customer_register'];
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
$
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
$html = $this->add_apps("google", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
|
485 |
-
break;
|
486 |
-
case 'vkontakte':
|
487 |
-
case 'vk':
|
488 |
-
$custom_app = esc_attr($this->if_custom_app_exists('vkontakte'));
|
489 |
-
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
490 |
-
$html = $this->add_apps("vk", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
|
491 |
-
break;
|
492 |
-
case 'twitter':
|
493 |
-
$custom_app = esc_attr($this->if_custom_app_exists('twitter'));
|
494 |
-
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
495 |
-
$html = $this->add_apps("twitter", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
|
496 |
-
break;
|
497 |
-
case 'linkedin':
|
498 |
-
case 'linkin':
|
499 |
-
$custom_app = esc_attr($this->if_custom_app_exists('linkedin'));
|
500 |
-
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
501 |
-
$html = $this->add_apps("linkin", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
|
502 |
-
break;
|
503 |
-
case 'instagram':
|
504 |
-
case 'insta':
|
505 |
-
$custom_app = esc_attr($this->if_custom_app_exists('instagram'));
|
506 |
-
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
507 |
-
$html = $this->add_apps("insta", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
|
508 |
-
break;
|
509 |
-
case 'amazon':
|
510 |
-
$custom_app = esc_attr($this->if_custom_app_exists('amazon'));
|
511 |
-
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
512 |
-
$html = $this->add_apps("amazon", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
|
513 |
-
break;
|
514 |
-
case 'salesforce':
|
515 |
-
case 'sforce':
|
516 |
-
$custom_app = esc_attr($this->if_custom_app_exists('salesforce'));
|
517 |
-
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
518 |
-
$html = $this->add_apps("sforce", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
|
519 |
-
break;
|
520 |
-
case 'windowslive':
|
521 |
-
case 'wlive':
|
522 |
-
$custom_app = esc_attr($this->if_custom_app_exists('windowslive'));
|
523 |
-
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
524 |
-
$html = $this->add_apps("wlive", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
|
525 |
-
break;
|
526 |
-
case 'yahoo':
|
527 |
-
$custom_app = esc_attr($this->if_custom_app_exists('yahoo'));
|
528 |
-
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
529 |
-
$html = $this->add_apps("yahoo", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
|
530 |
-
break;
|
531 |
-
case 'snapchat':
|
532 |
-
$custom_app = esc_attr($this->if_custom_app_exists('snapchat'));
|
533 |
-
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
534 |
-
$html = $this->add_apps("snapchat", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
|
535 |
-
break;
|
536 |
-
case 'dribbble':
|
537 |
-
$custom_app = esc_attr($this->if_custom_app_exists('dribbble'));
|
538 |
-
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
539 |
-
$html = $this->add_apps("dribbble", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
|
540 |
-
break;
|
541 |
-
case 'wordpress':
|
542 |
-
case 'wpress':
|
543 |
-
$custom_app = esc_attr($this->if_custom_app_exists('wordpress'));
|
544 |
-
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
545 |
-
$html = $this->add_apps("wpress", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
|
546 |
-
break;
|
547 |
-
case 'discord':
|
548 |
-
$custom_app = esc_attr($this->if_custom_app_exists('discord'));
|
549 |
-
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
550 |
-
$html = $this->add_apps("discord", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
|
551 |
-
break;
|
552 |
Â
}
|
Â
|
|
Â
|
|
553 |
Â
return $html;
|
554 |
Â
}
|
555 |
Â
|
@@ -559,438 +529,188 @@ class mo_openid_login_wid extends WP_Widget {
|
|
559 |
Â
return 'disable';
|
560 |
Â
}
|
561 |
Â
//for shortcode
|
562 |
-
public function add_apps($app_name,$theme,$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view,$customBackground,$app_dis)
|
563 |
Â
{
|
564 |
-
$default_color= array('facebook'=>'#1877F2','google'=>'#DB4437','vkontakte'=>'#466482','twitter'=>'#2795e9','yahoo'=>'#430297','yandex'=>'#2795e9','instagram'=>'#3f729b','linkedin'=>'#007bb6','amazon'=>'#ff9900','paypal'=>'#0d127a','salesforce'=>'#1ab7ea','windowslive'=>'#2672ec','apple'=>'#000000','steam'=>'#000000','wordpress'=>'#587ea3','pinterest'=>'#cb2027','spotify'=>'#19bf61','tumblr'=>'#2c4762','twitch'=>'#720e9e','github'=>'#000000','dribbble'=>'#ee66aa','flickr'=>'#ff0084','stackexchange'=>'0000ff','snapchat'=>'#fffc00','reddit'=>'#ff4301','odnoklassniki'=>'#f97400','foursquare'=>'#f94877','wechat'=>'#00c300','vimeo'=>'#1ab7ea','line'=>'#00c300','hubspot'=>'#fa7820','discord'=>'#7289da','meetup'=>'#e51937','stackexchange'=>'#0000FF','wiebo'=>'#df2029','kakao'=>'#ffe812','livejournal'=>'#3c1361','naver'=>'#3EAF0E','teamsnap'=>'#ff9a1a');
|
565 |
Â
|
566 |
Â
if($customWidth!=='auto'||$customWidth=='Auto'||$customWidth=='AUTO')
|
567 |
Â
$customWidth.='px';
|
568 |
Â
if($theme=="default")
|
569 |
Â
{
|
570 |
-
|
571 |
-
{
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-facebook mo_btn-custom-dec login-button'";
|
576 |
-
} else {
|
577 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-facebook mo_btn-custom-dec login-button'";
|
578 |
-
}
|
579 |
-
if($app_dis!="disable")
|
580 |
-
$html .= "onClick=\"moOpenIdLogin('facebook','" . $custom_app . "');\"";
|
581 |
-
$html .= "> <img class='fa' style='padding-top:" . ($customHeight - 35) . "px !important; margin-top: 0' src='" . plugins_url('includes/images/icons/fb.png', __FILE__) . "'>" . $buttonText . " Facebook</a>";
|
582 |
-
} else {
|
583 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Facebook'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('facebook','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " facebook'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['facebook'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-facebook mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
|
584 |
-
}
|
585 |
-
return $html;
|
586 |
-
}
|
587 |
-
else if($app_name=="google")
|
588 |
-
{
|
589 |
-
if ($selected_theme == 'longbutton') {
|
590 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;background: rgb(255,255,255)!important; background:linear-gradient(90deg, rgba(255,255,255,1) 40px, rgb(79, 113, 232) 5%) !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;border-color: rgba(79, 113, 232, 1);border-bottom-width: thin;'";
|
591 |
-
if ($view == "horizontal") {
|
592 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-google mo_btn-custom-dec login-button'";
|
593 |
-
} else {
|
594 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-google mo_btn-custom-dec login-button'";
|
595 |
-
}
|
596 |
-
if($app_dis!="disable")
|
597 |
-
$html .= "onClick=\"moOpenIdLogin('google','" . $custom_app . "');\"";
|
598 |
-
$html.="> <img class='fa' style='padding-top:" . ($customHeight - 35) . "px !important; margin-top: 0' src='" . plugins_url('includes/images/icons/g.png', __FILE__) . "'>" . $buttonText . " Google</a>";
|
599 |
-
} else {
|
600 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Google'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('google','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " google'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['google'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-google mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
|
601 |
-
}
|
602 |
-
return $html;
|
603 |
-
}
|
604 |
-
else if($app_name=="vk")
|
605 |
-
{
|
606 |
-
if ($selected_theme == 'longbutton') {
|
607 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
608 |
-
if ($view == "horizontal") {
|
609 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-vk mo_btn-custom-dec login-button'";
|
610 |
-
} else {
|
611 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-vk mo_btn-custom-dec login-button'";
|
612 |
-
}
|
613 |
-
if($app_dis!="disable")
|
614 |
-
$html .= "onClick=\"moOpenIdLogin('vkontakte','" . $custom_app . "');\"";
|
615 |
-
$html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-vk'></i>" . $buttonText . " Vkontakte</a>";
|
616 |
-
} else {
|
617 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Vkontakte'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('vkontakte','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " vkontakte'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['vkontakte'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-vk mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
|
618 |
-
}
|
619 |
-
return $html;
|
620 |
-
}
|
621 |
-
else if($app_name=="twitter")
|
622 |
-
{
|
623 |
-
if ($selected_theme == 'longbutton') {
|
624 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
625 |
-
if ($view == "horizontal") {
|
626 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-twitter mo_btn-custom-dec login-button'";
|
627 |
-
} else {
|
628 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-twitter mo_btn-custom-dec login-button'";
|
629 |
-
}
|
630 |
-
if($app_dis!="disable")
|
631 |
-
$html .= "onClick=\"moOpenIdLogin('twitter','" . $custom_app . "');\"";
|
632 |
-
$html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-twitter'></i>" . $buttonText . " Twitter</a>";
|
633 |
-
} else {
|
634 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Twitter'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('twitter','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " twitter'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['twitter'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-twitter mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
|
635 |
Â
}
|
636 |
-
|
637 |
-
|
638 |
-
else if($app_name=="linkin")
|
639 |
-
{
|
640 |
-
if ($selected_theme == 'longbutton') {
|
641 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . "style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
642 |
-
if ($view == "horizontal") {
|
643 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-linkedin mo_btn-custom-dec login-button'";
|
644 |
-
} else {
|
645 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-linkedin mo_btn-custom-dec login-button'";
|
646 |
-
}
|
647 |
-
if($app_dis!="disable")
|
648 |
-
$html .= "onClick=\"moOpenIdLogin('linkedin','" . $custom_app . "');\"";
|
649 |
-
$html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-linkedin'></i>" . $buttonText . " LinkedIn</a>";
|
650 |
-
} else {
|
651 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Linkedin'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('linkedin','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " linkedin'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['linkedin'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-linkedin mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
|
652 |
Â
}
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
661 |
Â
} else {
|
662 |
-
$html .= "class='
|
663 |
Â
}
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-soundcloud mo_btn-custom-dec login-button'";
|
678 |
Â
} else {
|
679 |
-
$html .= "class='
|
680 |
Â
}
|
681 |
-
|
682 |
-
$html .= "onClick=\"moOpenIdLogin('amazon','" . $custom_app . "');\"";
|
683 |
-
$html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-amazon'></i>" . $buttonText . " Amazon</a>";
|
684 |
-
} else {
|
685 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Amazon'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('amazon','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " amazon'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['amazon'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-amazon mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
|
686 |
Â
}
|
687 |
-
return $html;
|
688 |
Â
}
|
689 |
-
|
690 |
-
{
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
$
|
695 |
-
|
696 |
-
|
697 |
-
if ($view == "horizontal") {
|
698 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-vimeo mo_btn-custom-dec login-button' ";
|
699 |
-
} else {
|
700 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-vimeo mo_btn-custom-dec login-button' ";
|
701 |
Â
}
|
702 |
-
if($
|
703 |
-
|
704 |
-
$html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-salesforce'></i>" . $buttonText . " Salesforce</a>";
|
705 |
-
} else {
|
706 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " salesforce'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('salesforce','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " salesforce'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['salesforce'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-salesforce mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
|
707 |
-
}
|
708 |
-
return $html;
|
709 |
-
}
|
710 |
-
else if($app_name=="wlive")
|
711 |
-
{
|
712 |
-
if ($selected_theme == 'longbutton') {
|
713 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . "style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
714 |
-
if ($view == "horizontal") {
|
715 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-microsoft mo_btn-custom-dec login-button'";
|
716 |
-
} else {
|
717 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-microsoft mo_btn-custom-dec login-button'";
|
718 |
Â
}
|
719 |
-
if($
|
720 |
-
$html .= " onClick=\"moOpenIdLogin('
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
else if($app_name=="yahoo")
|
728 |
-
{
|
729 |
-
if ($selected_theme == 'longbutton') {
|
730 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
731 |
-
if ($view == "horizontal") {
|
732 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-yahoo mo_btn-custom-dec login-button'";
|
733 |
Â
} else {
|
734 |
-
$html .= "class='
|
735 |
Â
}
|
736 |
-
|
737 |
-
$html .= "onClick=\"moOpenIdLogin('yaahoo','" . $custom_app . "');\"";
|
738 |
-
$html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-yahoo'></i>" . $buttonText . " Yahoo</a>";
|
739 |
-
} else {
|
740 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Yahoo'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('yahoo','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " Yahoo'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['yahoo'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-yahoo mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
|
741 |
Â
}
|
742 |
-
return $html;
|
743 |
Â
}
|
744 |
-
else if($
|
745 |
-
|
746 |
-
|
747 |
-
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-snapchat mo_btn-custom-dec login-button'";
|
752 |
Â
}
|
753 |
-
if($
|
754 |
-
|
755 |
-
$html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-snapchat'></i>" . $buttonText . " Snapchat</a>";
|
756 |
-
} else {
|
757 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " snapchat'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('snapchat','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " snapchat'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['snapchat'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-snapchat mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
|
758 |
-
}
|
759 |
-
return $html;
|
760 |
-
}
|
761 |
-
else if($app_name=="dribbble")
|
762 |
-
{
|
763 |
-
if ($selected_theme == 'longbutton') {
|
764 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
765 |
-
if ($view == "horizontal") {
|
766 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-dribbble mo_btn-custom-dec login-button'";
|
767 |
-
} else {
|
768 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-dribbble mo_btn-custom-dec login-button'";
|
769 |
Â
}
|
770 |
-
if($
|
771 |
-
$html .= "onClick=\"moOpenIdLogin('
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
if ($selected_theme == 'longbutton') {
|
781 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
782 |
-
if ($view == "horizontal") {
|
783 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-discord mo_openid_mo_btn-custom-dec login-button'";
|
784 |
Â
} else {
|
785 |
-
$html .= "class='
|
786 |
Â
}
|
787 |
-
|
788 |
-
$html .= "onClick=\"moOpenIdLogin('discord','" . $custom_app . "');\"";
|
789 |
-
$html.="> <img class='fa' style='margin-top:" . ($customHeight - 35) . "px !important; margin-top: 0' src='" . plugins_url('includes/images/icons/discords.png', __FILE__) . "'>" . $buttonText . " Discord</a>";
|
790 |
-
} else {
|
791 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Discord'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('discord','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " discord'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['discord'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-discord mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
|
792 |
Â
}
|
793 |
-
return $html;
|
794 |
Â
}
|
795 |
-
|
796 |
Â
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
if ($view == "horizontal") {
|
803 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
804 |
-
} else {
|
805 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
806 |
-
}
|
807 |
-
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-facebook'></i> " . $buttonText . " Facebook</a>";
|
808 |
-
} else {
|
809 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Facebook'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('facebook','" . $custom_app . "');\"";$html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-facebook custom-login-button " . $selected_theme . "' ></i></a>";
|
810 |
-
}
|
811 |
-
return $html;
|
812 |
-
}
|
813 |
-
else if($app_name=="google") {
|
814 |
-
if ($selected_theme == 'longbutton') {
|
815 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . "";if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('google','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
|
816 |
-
if ($view == "horizontal") {
|
817 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
818 |
-
} else {
|
819 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
820 |
Â
}
|
821 |
-
$
|
822 |
-
|
823 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Google'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('google','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " Google'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-google custom-login-button " . $selected_theme . "' ></i></a>";
|
824 |
-
}
|
825 |
-
return $html;
|
826 |
-
}
|
827 |
-
else if($app_name=="vk") {
|
828 |
-
if ($selected_theme == 'longbutton') {
|
829 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('vkontakte','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
|
830 |
-
if ($view == "horizontal") {
|
831 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
832 |
-
} else {
|
833 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
834 |
Â
}
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
if ($view == "horizontal") {
|
845 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
846 |
Â
} else {
|
847 |
-
$html .= "class='
|
848 |
Â
}
|
849 |
-
$html
|
850 |
-
} else {
|
851 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Twitter'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('twitter','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-twitter custom-login-button " . $selected_theme . "' ></i></a>";
|
852 |
Â
}
|
853 |
-
return $html;
|
854 |
Â
}
|
855 |
-
else if($
|
856 |
-
if ($selected_theme == 'longbutton') {
|
857 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.="onClick=\"moOpenIdLogin('linkedin','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
|
858 |
-
if ($view == "horizontal") {
|
859 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
860 |
-
} else {
|
861 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
862 |
-
}
|
863 |
-
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-linkedin'></i> " . $buttonText . " LinkedIn</a>";
|
864 |
-
} else {
|
865 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " LinkedIn'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('linkedin','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-linkedin custom-login-button " . $selected_theme . "' ></i></a>";
|
866 |
-
}
|
867 |
Â
|
868 |
-
|
869 |
-
|
870 |
-
|
871 |
-
|
872 |
-
|
873 |
-
if ($view == "horizontal") {
|
874 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
875 |
-
} else {
|
876 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
877 |
Â
}
|
878 |
-
$
|
879 |
-
|
880 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Instagram'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('instagram','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-instagram custom-login-button " . $selected_theme . "' ></i></a>";
|
881 |
-
}
|
882 |
-
return $html;
|
883 |
-
}
|
884 |
-
else if($app_name=="amazon") {
|
885 |
-
if ($selected_theme == 'longbutton') {
|
886 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('amazon','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
|
887 |
-
if ($view == "horizontal") {
|
888 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
889 |
-
} else {
|
890 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
891 |
-
}
|
892 |
-
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-amazon'></i> " . $buttonText . " Amazon</a>";
|
893 |
-
} else {
|
894 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Amazon'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('amazon','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-amazon custom-login-button " . $selected_theme . "' ></i></a>";
|
895 |
-
}
|
896 |
-
|
897 |
-
return $html;
|
898 |
-
}
|
899 |
-
else if($app_name=="sforce")
|
900 |
-
{
|
901 |
-
if(!mo_openid_is_customer_registered())
|
902 |
-
$app_dis='disabled';
|
903 |
-
else
|
904 |
-
$app_dis='';
|
905 |
-
if ($selected_theme == 'longbutton') {
|
906 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('salesforce','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
|
907 |
-
if ($view == "horizontal") {
|
908 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
909 |
-
} else {
|
910 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
911 |
Â
}
|
912 |
-
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('windowslive','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
|
922 |
-
if ($view == "horizontal") {
|
923 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
924 |
Â
} else {
|
925 |
-
$html .= "class='
|
Â
|
|
926 |
Â
}
|
927 |
-
$html
|
928 |
-
} else {
|
929 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Microsoft'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('windowslive','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-windows custom-login-button " . $selected_theme . "' ></i></a>";
|
930 |
Â
}
|
931 |
-
return $html;
|
932 |
Â
}
|
933 |
-
else if($
|
934 |
-
|
935 |
-
|
936 |
-
$
|
937 |
-
if
|
938 |
-
|
939 |
-
} else {
|
940 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
941 |
Â
}
|
942 |
-
$
|
943 |
-
|
944 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Yahoo'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('yaahoo','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-yahoo custom-login-button " . $selected_theme . "' ></i></a>";
|
945 |
-
}
|
946 |
-
return $html;
|
947 |
-
}
|
948 |
-
else if($app_name=="snapchat")
|
949 |
-
{
|
950 |
-
if ($selected_theme == 'longbutton') {
|
951 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('snapchat','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
|
952 |
-
if ($view == "horizontal") {
|
953 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
954 |
-
} else {
|
955 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
956 |
Â
}
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
-
|
961 |
-
|
962 |
-
|
963 |
-
|
964 |
-
|
965 |
-
if ($selected_theme == 'longbutton') {
|
966 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('dribbble','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
|
967 |
-
if ($view == "horizontal") {
|
968 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
969 |
-
} else {
|
970 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
971 |
-
}
|
972 |
-
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-dribbble'></i> " . $buttonText . " Dribbble</a>";
|
973 |
-
} else {
|
974 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Dribbble'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('dribbble','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-dribbble custom-login-button " . $selected_theme . "' ></i></a>";
|
975 |
-
}
|
976 |
-
return $html;
|
977 |
-
}
|
978 |
-
else if($app_name=="discord")
|
979 |
-
{
|
980 |
-
if ($selected_theme == 'longbutton') {
|
981 |
-
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('discord','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
|
982 |
-
if ($view == "horizontal") {
|
983 |
-
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
|
984 |
Â
} else {
|
985 |
-
$html .= "class='
|
986 |
Â
}
|
987 |
-
$html
|
988 |
-
} else {
|
989 |
-
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Discord'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('discord','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-discord custom-login-button " . $selected_theme . "' ></i></a>";
|
990 |
Â
}
|
991 |
-
return $html;
|
992 |
Â
}
|
993 |
-
}
|
994 |
Â
|
995 |
Â
}
|
996 |
Â
|
@@ -1337,6 +1057,245 @@ function mo_openid_redirect_after_logout($logout_url)
|
|
1337 |
Â
|
1338 |
Â
}
|
1339 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1340 |
Â
function mo_openid_login_validate(){
|
1341 |
Â
|
1342 |
Â
|
@@ -1403,7 +1362,7 @@ function mo_openid_login_validate(){
|
|
1403 |
Â
'last_name' => $last_name,
|
1404 |
Â
'user_url' => $user_url,
|
1405 |
Â
);
|
1406 |
-
|
1407 |
Â
// Checking if username already exist
|
1408 |
Â
$user_name_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $userdata['user_login']));
|
1409 |
Â
|
@@ -1430,7 +1389,7 @@ function mo_openid_login_validate(){
|
|
1430 |
Â
exit();
|
1431 |
Â
}
|
1432 |
Â
}
|
1433 |
-
|
1434 |
Â
$user_id = wp_insert_user( $userdata);
|
1435 |
Â
if(is_wp_error( $user_id )) {
|
1436 |
Â
print_r($user_id);
|
@@ -1685,7 +1644,7 @@ function get_current_customer(){
|
|
1685 |
Â
update_option( 'mo_openid_message', 'Your account has been retrieved successfully.' );
|
1686 |
Â
delete_option('mo_openid_verify_customer');
|
1687 |
Â
delete_option('mo_openid_new_registration');
|
1688 |
-
if($_POST['action']=='mo_register_new_user')
|
1689 |
Â
wp_send_json(["success" => 'Your account has been retrieved successfully.']);
|
1690 |
Â
else
|
1691 |
Â
mo_openid_show_success_message();
|
@@ -1693,7 +1652,7 @@ function get_current_customer(){
|
|
1693 |
Â
update_option( 'mo_openid_message', 'You already have an account with miniOrange. Please enter a valid password.');
|
1694 |
Â
update_option('mo_openid_verify_customer', 'true');
|
1695 |
Â
delete_option('mo_openid_new_registration');
|
1696 |
-
if($_POST['action']=='mo_register_new_user')
|
1697 |
Â
wp_send_json(["error" => 'You already have an account with miniOrange. Please enter a valid password.']);
|
1698 |
Â
else {
|
1699 |
Â
mo_openid_show_error_message();
|
1 |
Â
<?php
|
2 |
Â
include "mo-openid-social-login-functions.php";
|
3 |
+
require_once(ABSPATH.'wp-admin/includes/user.php' );
|
4 |
Â
add_action( 'wp_login', 'mo_openid_link_account', 5, 2);
|
5 |
Â
add_action( 'mo_user_register', 'mo_openid_update_role', 1, 2);
|
6 |
Â
add_action( 'mo_user_register','mo_openid_send_email',1, 2 );
|
78 |
Â
$customHeight = esc_attr(get_option('mo_login_icon_custom_height'));
|
79 |
Â
$customSize = esc_attr(get_option('mo_login_icon_custom_size'));
|
80 |
Â
$customBackground = esc_attr(get_option('mo_login_icon_custom_color'));
|
81 |
+
$customHoverBackground = esc_attr(get_option('mo_login_icon_custom_hover_color'));
|
82 |
+
$customSmartBackground1 = esc_attr(get_option('mo_login_icon_custom_smart_color1'));
|
83 |
+
$customSmartBackground2 = esc_attr(get_option('mo_login_icon_custom_smart_color2'));
|
84 |
Â
$customTheme = esc_attr(get_option('mo_openid_login_custom_theme'));
|
85 |
Â
$customTextofTitle = esc_attr(get_option('mo_openid_login_button_customize_text'));
|
86 |
Â
$customBoundary = esc_attr(get_option('mo_login_icon_custom_boundary'));
|
88 |
Â
$customLogoutLink = get_option('mo_openid_login_widget_customize_logout_text');
|
89 |
Â
$customTextColor=esc_attr(get_option('mo_login_openid_login_widget_customize_textcolor'));
|
90 |
Â
$customText=esc_html(get_option('mo_openid_login_widget_customize_text'));
|
91 |
+
$effectStatus =esc_html(get_option('mo_openid_button_theme_effect'));
|
92 |
Â
$application_pos = get_option('app_pos');
|
93 |
Â
|
94 |
Â
if(get_option('mo_openid_gdpr_consent_enable')) {
|
142 |
Â
'customSize' => $customSize,
|
143 |
Â
'html' => '',
|
144 |
Â
'customBackground' => $customBackground,
|
145 |
+
'customHoverBackground' => $customHoverBackground,
|
146 |
+
'customSmartBackground1' => $customSmartBackground1,
|
147 |
+
'customSmartBackground2' => $customSmartBackground2,
|
148 |
Â
'customTheme' => $customTheme,
|
149 |
+
'effectStatus'=>$effectStatus
|
150 |
Â
);
|
151 |
Â
$html=$this->display_apps($values);
|
152 |
Â
$html.='<br/>';
|
215 |
Â
$customHeight = isset( $atts['height'] )? esc_attr(intval($atts['height'])) : esc_attr(intval(get_option('mo_login_icon_custom_height')));
|
216 |
Â
$customSize = isset( $atts['size'] )? esc_attr(intval($atts['size'])) : esc_attr(intval(get_option('mo_login_icon_custom_size')));
|
217 |
Â
$customBackground = isset( $atts['background'] )? esc_attr($atts['background']) : esc_attr(get_option('mo_login_icon_custom_color'));
|
218 |
+
$customHoverBackground = isset( $atts['background_hover'] )? esc_attr($atts['background_hover']) : esc_attr(get_option('mo_login_icon_custom_hover_color'));
|
219 |
+
$customSmartBackground1 = isset( $atts['background_smart1'] )? esc_attr($atts['background_smart1']) : esc_attr(get_option('mo_login_icon_custom_smart_color1'));
|
220 |
+
$customSmartBackground2 = isset( $atts['background_smart2'] )? esc_attr($atts['background_smart2']) : esc_attr(get_option('mo_login_icon_custom_smart_color2'));
|
221 |
+
$effectStatus = isset( $atts['effectStatus'] )? esc_attr($atts['effectStatus']) : esc_attr(get_option('mo_openid_button_theme_effect'));
|
222 |
Â
$customTheme = isset( $atts['theme'] )? esc_attr($atts['theme']) : esc_attr(get_option('mo_openid_login_custom_theme'));
|
223 |
Â
$buttonText = esc_html(get_option('mo_openid_login_button_customize_text'));
|
224 |
Â
$customTextofTitle = esc_attr(get_option('mo_openid_login_button_customize_text'));
|
280 |
Â
'customWidth' => $customWidth,
|
281 |
Â
'customHeight' => $customHeight,
|
282 |
Â
'customBoundary' => $customBoundary,
|
283 |
+
'customHoverBackground' => $customHoverBackground,
|
284 |
+
'customSmartBackground1' => $customSmartBackground1,
|
285 |
+
'customSmartBackground2' => $customSmartBackground2,
|
286 |
Â
'buttonText' => $buttonText,
|
287 |
Â
'dis' => $dis,
|
288 |
Â
'customTextofTitle' => $customTextofTitle,
|
290 |
Â
'html' => $html,
|
291 |
Â
'customBackground' => $customBackground,
|
292 |
Â
'customTheme' => $customTheme,
|
293 |
+
'effectStatus'=> $effectStatus,
|
294 |
+
'appcnt' => $appcnt
|
295 |
Â
);
|
296 |
Â
$html=$this->display_apps($values);
|
297 |
Â
|
330 |
Â
$html=$values['html'];
|
331 |
Â
$view=$values['view'];
|
332 |
Â
$customBackground=$values['customBackground'];
|
333 |
+
$customHoverBackground=$values['customHoverBackground'];
|
334 |
+
$customSmartBackground1=$values['customSmartBackground1'];
|
335 |
+
$customSmartBackground2=$values['customSmartBackground2'];
|
336 |
+
$effectStatus= $values['effectStatus'];
|
337 |
Â
$customTheme=$values['customTheme'];
|
338 |
Â
$appcnt=isset($values['appcnt'])?$values['appcnt']:'';
|
Â
|
|
339 |
Â
if( $appsConfigured || $selected_apps!="") {
|
340 |
Â
|
341 |
Â
if($selected_apps!="")
|
379 |
Â
'html' => $html,
|
380 |
Â
'view' => $view,
|
381 |
Â
'customBackground' => $customBackground,
|
382 |
+
'customHoverBackground' => $customHoverBackground,
|
383 |
+
'customSmartBackground1' => $customSmartBackground1,
|
384 |
+
'customSamrtBackground2' => $customSmartBackground2,
|
385 |
+
'effectStatus'=> $effectStatus,
|
386 |
Â
'app_dis' => $app_dis,
|
387 |
Â
'customTheme' => $customTheme,
|
388 |
Â
'customer_register' => 'yes',
|
416 |
Â
'html' => $html,
|
417 |
Â
'view' => $view,
|
418 |
Â
'customBackground' => $customBackground,
|
419 |
+
'customHoverBackground' => $customHoverBackground,
|
420 |
+
'customSmartBackground1' => $customSmartBackground1,
|
421 |
+
'customSamrtBackground2' => $customSmartBackground2,
|
422 |
+
'effectStatus'=> $effectStatus,
|
423 |
Â
'app_dis' => $app_dis,
|
424 |
Â
'customTheme' => $customTheme,
|
425 |
Â
'customer_register' => 'no',
|
455 |
Â
'html' => $html,
|
456 |
Â
'view' => $view,
|
457 |
Â
'customBackground' => $customBackground,
|
458 |
+
'customHoverBackground' => $customHoverBackground,
|
459 |
+
'customSmartBackground1' => $customSmartBackground1,
|
460 |
+
'customSamrtBackground2' => $customSmartBackground2,
|
461 |
+
'effectStatus'=> $effectStatus,
|
462 |
Â
'app_dis' => $app_dis,
|
463 |
Â
'customTheme' => $customTheme,
|
464 |
Â
'customer_register' => 'yes',
|
482 |
Â
public function select_app($select_apps,$app_values){
|
483 |
Â
if( get_option('mo_openid_fonawesome_load') == 1)
|
484 |
Â
wp_enqueue_style( 'mo-openid-sl-wp-font-awesome',plugins_url('includes/css/mo-font-awesome.min.css', __FILE__), false );
|
485 |
+
wp_enqueue_style( 'mo-wp-style-icon',plugins_url('includes/css/mo_openid_login_icons.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__), false );
|
486 |
Â
wp_enqueue_style( 'mo-wp-bootstrap-social',plugins_url('includes/css/bootstrap-social.css', __FILE__), false );
|
487 |
Â
if( get_option('mo_openid_bootstrap_load') == 1)
|
488 |
Â
wp_enqueue_style( 'mo-wp-bootstrap-main',plugins_url('includes/css/bootstrap.min-preview.css', __FILE__), false );
|
500 |
Â
$html = $app_values['html'];
|
501 |
Â
$view = $app_values['view'];
|
502 |
Â
$customBackground = $app_values['customBackground'];
|
503 |
+
$customHoverBackground = $app_values['customHoverBackground'];
|
504 |
+
$customSmartBackground1 = $app_values['customSmartBackground1'];
|
505 |
+
$customSmartBackground2 = $app_values['customSamrtBackground2'];
|
506 |
+
$effectStatus = $app_values['effectStatus'];
|
507 |
Â
$app_dis = $app_values['app_dis'];
|
508 |
Â
$customTheme = $app_values['customTheme'];
|
509 |
Â
$customer_register = $app_values['customer_register'];
|
510 |
+
|
511 |
+
if($select_apps == 'facebook' || $select_apps == 'fb' || $select_apps == 'dribbble' || $select_apps == 'snapchat' || $select_apps == 'discord'){
|
512 |
+
if($select_apps=='fb')
|
513 |
+
$select_apps='facebook';
|
514 |
+
$custom_app = esc_attr($this->if_custom_app_exists($select_apps));;
|
515 |
+
$app_dis == "false" ? $app_dis = "disable" : $app_dis = "";
|
516 |
+
}
|
517 |
+
else{
|
518 |
+
$custom_app = esc_attr($this->if_custom_app_exists($select_apps));
|
519 |
+
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
520 |
Â
}
|
521 |
+
|
522 |
+
$html = $this->add_apps($select_apps, $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $customHoverBackground,$customSmartBackground1,$customSmartBackground2,$effectStatus, $app_dis);
|
523 |
Â
return $html;
|
524 |
Â
}
|
525 |
Â
|
529 |
Â
return 'disable';
|
530 |
Â
}
|
531 |
Â
//for shortcode
|
532 |
+
public function add_apps($app_name,$theme,$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view,$customBackground,$customHoverBackground,$customSmartBackground1,$customSmartBackground2,$effectStatus,$app_dis)
|
533 |
Â
{
|
534 |
+
$default_color= array('facebook'=>'#1877F2','google'=>'#DB4437','vkontakte'=>'#466482','twitter'=>'#2795e9','yahoo'=>'#430297','yandex'=>'#2795e9','instagram'=>'#3f729b','linkedin'=>'#007bb6','amazon'=>'#ff9900','paypal'=>'#0d127a','salesforce'=>'#1ab7ea','windowslive'=>'#2672ec','apple'=>'#000000','steam'=>'#000000','wordpress'=>'#587ea3','pinterest'=>'#cb2027','spotify'=>'#19bf61','tumblr'=>'#2c4762','twitch'=>'#720e9e','github'=>'#000000','dribbble'=>'#ee66aa','flickr'=>'#ff0084','stackexchange'=>'0000ff','snapchat'=>'#fffc00','reddit'=>'#ff4301','odnoklassniki'=>'#f97400','foursquare'=>'#f94877','wechat'=>'#00c300','vimeo'=>'#1ab7ea','line'=>'#00c300','hubspot'=>'#fa7820','trello'=>'#0079bf','discord'=>'#7289da','meetup'=>'#e51937','stackexchange'=>'#0000FF','wiebo'=>'#df2029','kakao'=>'#ffe812','livejournal'=>'#3c1361','naver'=>'#3EAF0E','teamsnap'=>'#ff9a1a','slack'=>'#4c154d','gitlab'=>'#30353e','dropbox'=>'#0061ff','mailru'=>'#0000FF');
|
535 |
Â
|
536 |
Â
if($customWidth!=='auto'||$customWidth=='Auto'||$customWidth=='AUTO')
|
537 |
Â
$customWidth.='px';
|
538 |
Â
if($theme=="default")
|
539 |
Â
{
|
540 |
+
$a[] = $app_name;
|
541 |
+
foreach($a as $app){
|
542 |
+
$icon = $app;
|
543 |
+
if($app == "vkontakte"){
|
544 |
+
$icon = "vk";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
545 |
Â
}
|
546 |
+
if($app == "windowslive"){
|
547 |
+
$icon = "windows";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
548 |
Â
}
|
549 |
+
|
550 |
+
if($app_name=="google")
|
551 |
+
{
|
552 |
+
if ($selected_theme == 'longbutton') {
|
553 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;background: rgb(255,255,255)!important; background:linear-gradient(90deg, rgba(255,255,255,1) 40px, rgb(79, 113, 232) 5%) !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;border-color: rgba(79, 113, 232, 1);border-bottom-width: thin;'";
|
554 |
+
if ($view == "horizontal") {
|
555 |
+
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-google mo_btn-custom-dec login-button mo_btn_".$effectStatus."'";
|
556 |
+
} else {
|
557 |
+
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-google mo_btn-custom-dec login-button mo_btn_".$effectStatus."'";
|
558 |
+
}
|
559 |
+
if($app_dis!="disable")
|
560 |
+
$html .= "onClick=\"moOpenIdLogin('google','" . $custom_app . "');\"";
|
561 |
+
$html.="> <img class='fa' style='padding-top:" . ($customHeight - 35) . "px !important; margin-top: 0' src='" . plugins_url('includes/images/icons/g.png', __FILE__) . "'>" . $buttonText . " Google</a>";
|
562 |
Â
} else {
|
563 |
+
$html .= "<a class='" . $dis . " login-button ' rel='nofollow' title= ' " . $customTextofTitle . " Google'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('google','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " google'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['google'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-google mo_btn-mo mo_openid-login-button login-button mo_btn_".$effectStatus."_i " . $selected_theme . "' ></i></a>";
|
564 |
Â
}
|
565 |
+
return $html;
|
566 |
+
}else{
|
567 |
+
|
568 |
+
if ($selected_theme == 'longbutton') {
|
569 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
570 |
+
if ($view == "horizontal") {
|
571 |
+
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-".$icon." mo_btn-custom-dec login-button mo_btn_".$effectStatus." '";
|
572 |
+
} else {
|
573 |
+
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-".$icon." mo_btn-custom-dec login-button mo_btn_".$effectStatus."_i '";
|
574 |
+
}
|
575 |
+
if($app_dis!="disable")
|
576 |
+
$html .= "onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";
|
577 |
+
$html .= "> <i class='fab fa-".$icon."' style='padding-top:" . ($customHeight - 35) . "px !important; margin-top: 0' src='" . plugins_url('includes/images/icons/'.$app.'.png', __FILE__) . "'></i>" . $buttonText . " ".ucfirst($app)."</a>";
|
Â
|
|
578 |
Â
} else {
|
579 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " ".$app."'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " ".$app."'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color[$app].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-".$icon." mo_btn-mo mo_openid-login-button login-button mo_btn_".$effectStatus."_i " . $selected_theme . "' ></i></a>";
|
580 |
Â
}
|
581 |
+
return $html;
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
582 |
Â
}
|
Â
|
|
583 |
Â
}
|
584 |
+
}
|
585 |
+
else if($theme=="custom"){
|
586 |
+
|
587 |
+
$a[] = $app_name;
|
588 |
+
foreach($a as $app){
|
589 |
+
$icon = $app;
|
590 |
+
if($app == "vkontakte"){
|
591 |
+
$icon = "vk";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
592 |
Â
}
|
593 |
+
if($app == "windowslive"){
|
594 |
+
$icon = "windows";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
595 |
Â
}
|
596 |
+
if ($selected_theme == 'longbutton') {
|
597 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";$html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
|
598 |
+
if ($view == "horizontal") {
|
599 |
+
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button mo_btn_".$effectStatus."'";
|
600 |
+
} else {
|
601 |
+
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button mo_btn_".$effectStatus."'";
|
602 |
+
}
|
603 |
+
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-".$icon."'></i> " . $buttonText . " ".ucfirst($app)."</a>";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
604 |
Â
} else {
|
605 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " ".$app."'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";$html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-".$icon." custom-login-button mo_btn_".$effectStatus."_i " . $selected_theme . "' ></i></a>";
|
606 |
Â
}
|
607 |
+
return $html;
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
608 |
Â
}
|
Â
|
|
609 |
Â
}
|
610 |
+
else if($theme=="white"){
|
611 |
+
|
612 |
+
$a[] = $app_name;
|
613 |
+
foreach($a as $app){
|
614 |
+
$icon = $app;
|
615 |
+
if($app == "vkontakte"){
|
616 |
+
$icon = "vk";
|
Â
|
|
617 |
Â
}
|
618 |
+
if($app == "windowslive"){
|
619 |
+
$icon = "windows";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
620 |
Â
}
|
621 |
+
if ($selected_theme == 'longbutton') {
|
622 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";$html.=" style='border-color:#000000;margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; border-radius: " . $customBoundary . "px !important;color:#000000;background:#ffffff'";
|
623 |
+
if ($view == "horizontal") {
|
624 |
+
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-".$app."-white mo_openid_mo_btn-custom-dec login-button mo_btn_".$effectStatus." '";
|
625 |
+
} else {
|
626 |
+
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-".$app."-white mo_openid_mo_btn-custom-dec login-button mo_btn_".$effectStatus." '";
|
627 |
+
}
|
628 |
+
if ($app_dis != "disable")
|
629 |
+
$html .= "onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";
|
630 |
+
$html .= "> <i style='color:".$default_color[$app]."; border-right:#ffffff; padding-top:" . ($customHeight - 35) . "px !important;' class='fab fa-".$icon."'></i>" . $buttonText . " ".ucfirst($app)."</a>";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
631 |
Â
} else {
|
632 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " ".ucfirst($app)."'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " ".$app."'><i style='background:white;margin-top:10px;text-align:center;padding:7px 0px 1px 0px;box-sizing:initial;width:" . $customSize . "px !important;height:" . ($customSize-8) . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;color:" . $default_color[$app] . " !important;font-size: " . ($customSize - 14) . "px !important;border: 1px solid black;' class='fab fa-".$icon." mo_btn-mo mo_btn_".$effectStatus."_i " . $selected_theme . "' ></i></a>";
|
633 |
Â
}
|
634 |
+
return $html;
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
635 |
Â
}
|
Â
|
|
636 |
Â
}
|
637 |
+
else if($theme=="hover"){
|
638 |
Â
|
639 |
+
$a[] = $app_name;
|
640 |
+
foreach($a as $app){
|
641 |
+
$icon = $app;
|
642 |
+
if($app == "vkontakte"){
|
643 |
+
$icon = "vk";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
644 |
Â
}
|
645 |
+
if($app == "windowslive"){
|
646 |
+
$icon = "windows";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
647 |
Â
}
|
648 |
+
if ($selected_theme == 'longbutton') {
|
649 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . " style='border-color:#000000; margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
650 |
+
if ($view == "horizontal") {
|
651 |
+
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-".$icon."-hov mo_openid_mo_btn-custom-dec login-button mo_btn_".$effectStatus." '";
|
652 |
+
} else {
|
653 |
+
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-".$icon."-hov mo_openid_mo_btn-custom-dec login-button mo_btn_".$effectStatus."'";
|
654 |
+
}
|
655 |
+
$html .= "onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";
|
656 |
+
$html .= "> <i style='color: ".$default_color[$app]."; border-right:#ffffff; padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-".$icon."'></i>" . $buttonText ." ".ucfirst($app_name)."</a>";
|
Â
|
|
Â
|
|
657 |
Â
} else {
|
658 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " ".ucfirst($app)."'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " " .ucfirst($app)."'><i style='background:white;margin-top:10px;text-align:center;padding:7px 0px 1px 0px;box-sizing:initial;width:" . $customSize . "px !important;height:" . ($customSize-8) . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;color:" . $default_color[$app] . ";font-size: " . ($customSize - 14) . "px !important;border: 1px solid black;' class='fab fa-".$icon." mo_openid_i".$icon."-hov mo_btn_".$effectStatus."_i " . $selected_theme . "' ></i></a>";
|
659 |
Â
}
|
660 |
+
return $html;
|
Â
|
|
Â
|
|
661 |
Â
}
|
Â
|
|
662 |
Â
}
|
663 |
+
else if($theme=="custom_hover"){
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
664 |
Â
|
665 |
+
$a[] = $app_name;
|
666 |
+
foreach($a as $app){
|
667 |
+
$icon = $app;
|
668 |
+
if($app == "vkontakte"){
|
669 |
+
$icon = "vk";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
670 |
Â
}
|
671 |
+
if($app == "windowslive"){
|
672 |
+
$icon = "windows";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
673 |
Â
}
|
674 |
+
if ($selected_theme == 'longbutton') {
|
675 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onMouseOver=\"this.style.color= 'white';this.style.background= '#".$customHoverBackground."';\"
|
676 |
+
onMouseOut=\"this.style.color= '#".$customHoverBackground."';this.style.background= 'white';\" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";$html.=" style='background:white; margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; color:#" . $customHoverBackground . ";border-color:#" . $customHoverBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
|
677 |
+
if ($view == "horizontal") {
|
678 |
+
$html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_openid_mo_btn-custom-dec login-button mo_btn_".$effectStatus." '";
|
679 |
+
} else {
|
680 |
+
$html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_openid_mo_btn-custom-dec login-button mo_btn_".$effectStatus."'";
|
681 |
+
}
|
682 |
+
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-".$icon."'></i> " . $buttonText . " ".ucfirst($app)."</a>";
|
Â
|
|
Â
|
|
Â
|
|
683 |
Â
} else {
|
684 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " ".ucfirst($app)."'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";
|
685 |
+
$html.=" title= ' " . $customTextofTitle . " " .ucfirst($app)."'><i onMouseOver=\"this.style.color= 'white';this.style.background= '#".$customHoverBackground."';\" onMouseOut=\"this.style.color= '#".$customHoverBackground."';this.style.background= 'white';\" style='background:white;margin-top:10px;text-align:center;padding:7px 0px 1px 0px;box-sizing:initial;width:" . $customSize . "px !important;height:" . ($customSize-8) . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;color:#" . $customHoverBackground . ";font-size: " . ($customSize - 14) . "px !important;border: 1px solid #" . $customHoverBackground . ";' class='fab fa-".$icon." " . $selected_theme . " mo_btn_".$effectStatus."_i ' ></i></a>";
|
686 |
Â
}
|
687 |
+
return $html;
|
Â
|
|
Â
|
|
688 |
Â
}
|
Â
|
|
689 |
Â
}
|
690 |
+
else if($theme=="smart"){
|
691 |
+
$a[] = $app_name;
|
692 |
+
foreach($a as $app){
|
693 |
+
$icon = $app;
|
694 |
+
if($app == "vkontakte"){
|
695 |
+
$icon = "vk";
|
Â
|
|
Â
|
|
696 |
Â
}
|
697 |
+
if($app == "windowslive"){
|
698 |
+
$icon = "windows";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
699 |
Â
}
|
700 |
+
if ($selected_theme == 'longbutton') {
|
701 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";$html.=" style='color:#ffffff;background:linear-gradient(90deg,#$customSmartBackground1,#$customSmartBackground2);margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; border-radius: " . $customBoundary . "px !important;'";
|
702 |
+
if ($view == "horizontal") {
|
703 |
+
$html .= "class='mo_btn_smart mo_btn-mo mo_btn-block-inline mo_btn-social mo_openid_mo_btn-customtheme mo_openid_mo_btn-custom-dec login-button mo_btn_".$effectStatus."'";
|
704 |
+
} else {
|
705 |
+
$html .= "class='mo_btn_smart mo_btn-mo mo_btn-block mo_btn-social mo_openid_mo_btn-customtheme mo_openid_mo_btn-custom-dec login-button mo_btn_".$effectStatus."'";
|
706 |
+
}
|
707 |
+
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important;' class='fab fa-".$icon."'></i> " . $buttonText . " ".ucfirst($app)."</a>";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
708 |
Â
} else {
|
709 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " ".ucfirst($app)."'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";$html.=" ><i style='margin-top:10px;text-align:center;padding:7px 0px 1px 0px;box-sizing:initial;width:" . $customSize . "px !important;height:" . ($customSize-8) . "px !important;margin-left:" . ($spacebetweenicons+4) . "px !important; background:linear-gradient(90deg,#$customSmartBackground1,#$customSmartBackground2)!important;font-size: " . ($customSize - 16) . "px !important;color:white' class='fab mo_btn-mo fa-".$icon." mo_openid_custom-login-button mo_button_smart_i mo_btn_".$effectStatus."_i " . $selected_theme . "' ></i></a>";
|
710 |
Â
}
|
711 |
+
return $html;
|
Â
|
|
Â
|
|
712 |
Â
}
|
Â
|
|
713 |
Â
}
|
Â
|
|
714 |
Â
|
715 |
Â
}
|
716 |
Â
|
1057 |
Â
|
1058 |
Â
}
|
1059 |
Â
|
1060 |
+
function get_valid_user_based_on_mo_token( $token = '', $fields = 'all' ) {
|
1061 |
+
if ( empty( $token ) ) {
|
1062 |
+
return false;
|
1063 |
+
}
|
1064 |
+
|
1065 |
+
$args = array(
|
1066 |
+
'fields' => $fields,
|
1067 |
+
'meta_key' => 'mo_expire',
|
1068 |
+
'order' => 'DESC',
|
1069 |
+
'orderby' => 'meta_value',
|
1070 |
+
'meta_query' => array(
|
1071 |
+
0 => array(
|
1072 |
+
'key' => 'mo_token',
|
1073 |
+
'value' => sanitize_text_field( $token ),
|
1074 |
+
'compare' => '=',
|
1075 |
+
),
|
1076 |
+
),
|
1077 |
+
);
|
1078 |
+
|
1079 |
+
$users = new WP_User_Query( $args );
|
1080 |
+
|
1081 |
+
$users_data = $users->get_results();
|
1082 |
+
|
1083 |
+
|
1084 |
+
if ( empty( $users_data ) ) {
|
1085 |
+
return false;
|
1086 |
+
}
|
1087 |
+
|
1088 |
+
// foreach ( $users_data as $key => $user ) {
|
1089 |
+
// $expire = get_user_meta( $user->ID, '_wtlwp_expire', true );
|
1090 |
+
//
|
1091 |
+
// if ( is_string( $expire ) && strpos( $expire, '_after_access' ) ) {
|
1092 |
+
// $expiry_options = get_expiry_options();
|
1093 |
+
// $timestamp = ! empty( $expiry_options[ $expire ] ) ? $expiry_options[ $expire ]['timestamp'] : 0;
|
1094 |
+
// $expire = get_current_gmt_timestamp() + $timestamp;
|
1095 |
+
// update_user_meta( $user->ID, '_wtlwp_expire', $expire );
|
1096 |
+
// } elseif ( $expire <= get_current_gmt_timestamp() ) {
|
1097 |
+
// unset( $users_data[ $key ] );
|
1098 |
+
// }
|
1099 |
+
// }
|
1100 |
+
|
1101 |
+
return $users_data;
|
1102 |
+
|
1103 |
+
}
|
1104 |
+
|
1105 |
+
function get_expiry_options() {
|
1106 |
+
|
1107 |
+
$expiry_options = array(
|
1108 |
+
'hour' => array( 'group' => 'from_now', 'group_name' => __( 'From Now', 'temporary-login-without-password' ), 'label' => __( 'One Hour', 'temporary-login-without-password' ), 'timestamp' => HOUR_IN_SECONDS, 'order' => 5 ),
|
1109 |
+
'min' => array( 'group' => 'from_now', 'group_name' => __( 'From Now', 'temporary-login-without-password' ), 'label' => __( 'One Hour', 'temporary-login-without-password' ), 'timestamp' => MINUTE_IN_SECONDS, 'order' => 6 ),
|
1110 |
+
'3_hours' => array( 'group' => 'from_now', 'group_name' => __( 'From Now', 'temporary-login-without-password' ), 'label' => __( 'Three Hours', 'temporary-login-without-password' ), 'timestamp' => HOUR_IN_SECONDS * 3, 'order' => 10 ),
|
1111 |
+
'day' => array( 'group' => 'from_now', 'group_name' => __( 'From Now', 'temporary-login-without-password' ), 'label' => __( 'One Day', 'temporary-login-without-password' ), 'timestamp' => DAY_IN_SECONDS, 'order' => 15 ),
|
1112 |
+
'3_days' => array( 'group' => 'from_now', 'group_name' => __( 'From Now', 'temporary-login-without-password' ), 'label' => __( 'Three Days', 'temporary-login-without-password' ), 'timestamp' => DAY_IN_SECONDS * 3, 'order' => 20 ),
|
1113 |
+
'week' => array( 'group' => 'from_now', 'group_name' => __( 'From Now', 'temporary-login-without-password' ), 'label' => __( 'One Week', 'temporary-login-without-password' ), 'timestamp' => WEEK_IN_SECONDS, 'order' => 25 ),
|
1114 |
+
'month' => array( 'group' => 'from_now', 'group_name' => __( 'From Now', 'temporary-login-without-password' ), 'label' => __( 'One Month', 'temporary-login-without-password' ), 'timestamp' => MONTH_IN_SECONDS, 'order' => 30 ),
|
1115 |
+
'hour_after_access' => array( 'group' => 'after_access', 'group_name' => __( 'After Access', 'temporary-login-without-password' ), 'label' => __( 'One Hour', 'temporary-login-without-password' ), 'expiry_label' => __( '1 hour after access', 'temporary-login-without-password' ), 'timestamp' => HOUR_IN_SECONDS, 'order' => 6 ),
|
1116 |
+
'3_hours_after_access' => array( 'group' => 'after_access', 'group_name' => __( 'After Access', 'temporary-login-without-password' ), 'label' => __( 'Three Hours', 'temporary-login-without-password' ), 'expiry_label' => __( '3 hours after access', 'temporary-login-without-password' ), 'timestamp' => HOUR_IN_SECONDS * 3, 'order' => 11 ),
|
1117 |
+
'day_after_access' => array( 'group' => 'after_access', 'group_name' => __( 'After Access', 'temporary-login-without-password' ), 'label' => __( 'One Day', 'temporary-login-without-password' ), 'expiry_label' => __( '1 day after access', 'temporary-login-without-password' ), 'timestamp' => DAY_IN_SECONDS, 'order' => 16 ),
|
1118 |
+
'3_days_after_access' => array( 'group' => 'after_access', 'group_name' => __( 'After Access', 'temporary-login-without-password' ), 'label' => __( 'Three Days', 'temporary-login-without-password' ), 'expiry_label' => __( '3 days after access', 'temporary-login-without-password' ), 'timestamp' => DAY_IN_SECONDS * 3, 'order' => 21 ),
|
1119 |
+
'week_after_access' => array( 'group' => 'after_access', 'group_name' => __( 'After Access', 'temporary-login-without-password' ), 'label' => __( 'One Week', 'temporary-login-without-password' ), 'expiry_label' => __( '1 week after access', 'temporary-login-without-password' ), 'timestamp' => WEEK_IN_SECONDS, 'order' => 26 ),
|
1120 |
+
'month_after_access' => array( 'group' => 'after_access', 'group_name' => __( 'After Access', 'temporary-login-without-password' ), 'label' => __( 'One Month', 'temporary-login-without-password' ), 'expiry_label' => __( '1 month after access', 'temporary-login-without-password' ), 'timestamp' => MONTH_IN_SECONDS, 'order' => 31 ),
|
1121 |
+
'custom_date' => array( 'group' => 'custom', 'group_name' => __( 'Custom', 'temporary-login-without-password' ), 'label' => __( 'Custom Date', 'temporary-login-without-password' ), 'timestamp' => 0, 'order' => 35 ),
|
1122 |
+
);
|
1123 |
+
|
1124 |
+
// Now, one can add their own options.
|
1125 |
+
$expiry_options = apply_filters( 'tlwp_expiry_options', $expiry_options );
|
1126 |
+
|
1127 |
+
// Get Order options to sort $expiry_options array by it's array
|
1128 |
+
foreach ( $expiry_options as $key => $options ) {
|
1129 |
+
$expiry_options[ $key ]['order'] = ! empty( $options['order'] ) ? $options['order'] : 100;
|
1130 |
+
$expiry_options[ $key ]['group'] = ! empty( $options['group'] ) ? $options['group'] : __( 'from_now', '' );
|
1131 |
+
$expiry_options[ $key ]['group_name'] = ! empty( $options['group_name'] ) ? $options['group_name'] : __( 'From Now', '' );
|
1132 |
+
$expiry_options[ $key ]['expiry_label'] = ! empty( $options['expiry_label'] ) ? $options['expiry_label'] : '';
|
1133 |
+
|
1134 |
+
$orders[ $key ] = ! empty( $options['order'] ) ? $options['order'] : 100;
|
1135 |
+
}
|
1136 |
+
|
1137 |
+
// Sort $expiry_options array by it's order value
|
1138 |
+
array_multisort( $orders, SORT_ASC, $expiry_options );
|
1139 |
+
|
1140 |
+
return $expiry_options;
|
1141 |
+
}
|
1142 |
+
|
1143 |
+
function get_current_gmt_timestamp() {
|
1144 |
+
return strtotime( gmdate( 'Y-m-d H:i:s', time() ) );
|
1145 |
+
|
1146 |
+
}
|
1147 |
+
|
1148 |
+
function get_user_expire_time( $expiry_option = 'day', $date = '' ) {
|
1149 |
+
|
1150 |
+
$expiry_options = get_expiry_options();
|
1151 |
+
|
1152 |
+
$expiry_option = in_array( $expiry_option, array_keys( $expiry_options ) ) ? $expiry_option : 'day';
|
1153 |
+
|
1154 |
+
if ( 'custom_date' === $expiry_option ) {
|
1155 |
+
|
1156 |
+
// For the custom_date option we need to simply expire login at particular date
|
1157 |
+
// So, we don't need to do addition in the current timestamp
|
1158 |
+
$current_timestamp = 0;
|
1159 |
+
$timestamp = strtotime( $date );
|
1160 |
+
} elseif ( strpos( $expiry_option, '_after_access' ) > 0 ) {
|
1161 |
+
return $expiry_option;
|
1162 |
+
} else {
|
1163 |
+
|
1164 |
+
// We need current gmt timestamp and from now we need to expire temporary login
|
1165 |
+
// after specified time. So, we need to add into current timestamp
|
1166 |
+
$current_timestamp = get_current_gmt_timestamp();
|
1167 |
+
$timestamp = $expiry_options[ $expiry_option ]['timestamp'];
|
1168 |
+
}
|
1169 |
+
|
1170 |
+
return $current_timestamp + floatval( $timestamp );
|
1171 |
+
|
1172 |
+
}
|
1173 |
+
|
1174 |
+
function is_login_expired( $user_id = 0 ) {
|
1175 |
+
|
1176 |
+
if ( empty( $user_id ) ) {
|
1177 |
+
$user_id = get_current_user_id();
|
1178 |
+
}
|
1179 |
+
|
1180 |
+
if ( empty( $user_id ) ) {
|
1181 |
+
return false;
|
1182 |
+
}
|
1183 |
+
|
1184 |
+
$expire = get_user_meta( $user_id, 'mo_expire', true );
|
1185 |
+
|
1186 |
+
return ! empty( $expire ) && is_numeric( $expire ) && get_current_gmt_timestamp() >= floatval( $expire ) ? true : false;
|
1187 |
+
|
1188 |
+
}
|
1189 |
+
|
1190 |
+
function is_valid_temporary_login( $user_id = 0, $check_expiry = true ) {
|
1191 |
+
|
1192 |
+
if ( empty( $user_id ) ) {
|
1193 |
+
return false;
|
1194 |
+
}
|
1195 |
+
|
1196 |
+
$check = get_user_meta( $user_id, 'mo_user', true );
|
1197 |
+
|
1198 |
+
if ( ! empty( $check ) && $check_expiry ) {
|
1199 |
+
$check = ! ( is_login_expired( $user_id ) );
|
1200 |
+
}
|
1201 |
+
|
1202 |
+
return ! empty( $check ) ? true : false;
|
1203 |
+
|
1204 |
+
}
|
1205 |
+
|
1206 |
+
function mf_remove_menu_pages() {
|
1207 |
+
remove_submenu_page('users.php' , 'user-new.php' );
|
1208 |
+
}
|
1209 |
+
|
1210 |
+
function init_wtlwp() {
|
1211 |
+
$i = get_current_user_id();
|
1212 |
+
$temp_user = get_user_meta($i, 'temporary_url', true);
|
1213 |
+
if ($temp_user) {
|
1214 |
+
add_action('admin_menu', 'mf_remove_menu_pages');
|
1215 |
+
}
|
1216 |
+
if ($GLOBALS['pagenow'] === 'users.php') {
|
1217 |
+
if ($temp_user) {
|
1218 |
+
echo "
|
1219 |
+
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js'></script>
|
1220 |
+
<script type='text/javascript'>
|
1221 |
+
|
1222 |
+
jQuery(window).on('load',function () {
|
1223 |
+
document.getElementsByClassName('page-title-action')[0].remove();
|
1224 |
+
}); </script>";
|
1225 |
+
}
|
1226 |
+
}
|
1227 |
+
|
1228 |
+
if ( ! empty( $_GET['mo_token'] ) ) {
|
1229 |
+
|
1230 |
+
$wtlwp_token = sanitize_key( $_GET['mo_token'] ); // Input var okay.
|
1231 |
+
$users = get_valid_user_based_on_mo_token( $wtlwp_token );
|
1232 |
+
|
1233 |
+
$temporary_user = '';
|
1234 |
+
if ( ! empty( $users ) ) {
|
1235 |
+
$temporary_user = $users[0];
|
1236 |
+
}
|
1237 |
+
|
1238 |
+
if ( ! empty( $temporary_user ) ) {
|
1239 |
+
|
1240 |
+
$temporary_user_id = $temporary_user->ID;
|
1241 |
+
$do_login = true;
|
1242 |
+
if ( is_user_logged_in() ) {
|
1243 |
+
$current_user_id = get_current_user_id();
|
1244 |
+
if ( $temporary_user_id !== $current_user_id ) {
|
1245 |
+
wp_logout();
|
1246 |
+
} else {
|
1247 |
+
$do_login = false;
|
1248 |
+
}
|
1249 |
+
}
|
1250 |
+
|
1251 |
+
if ( $do_login ) {
|
1252 |
+
if ( ! empty( $temporary_user_id)) {
|
1253 |
+
if (is_login_expired($temporary_user_id)) {
|
1254 |
+
wp_logout();
|
1255 |
+
wp_delete_user( $temporary_user_id);
|
1256 |
+
wp_safe_redirect(home_url());
|
1257 |
+
exit();
|
1258 |
+
}
|
1259 |
+
}
|
1260 |
+
$temporary_user_login = $temporary_user->login;
|
1261 |
+
update_user_meta( $temporary_user_id, 'mo_last_login', get_current_gmt_timestamp() ); // phpcs:ignore
|
1262 |
+
wp_set_current_user( $temporary_user_id, $temporary_user_login );
|
1263 |
+
wp_set_auth_cookie( $temporary_user_id );
|
1264 |
+
|
1265 |
+
// Set login count
|
1266 |
+
$login_count_key = 'mo_login_count';
|
1267 |
+
$login_count = get_user_meta( $temporary_user_id, $login_count_key, true );
|
1268 |
+
|
1269 |
+
// If we already have a count, increment by 1
|
1270 |
+
if ( ! empty( $login_count ) ) {
|
1271 |
+
$login_count ++;
|
1272 |
+
} else {
|
1273 |
+
$login_count = 1;
|
1274 |
+
}
|
1275 |
+
|
1276 |
+
update_user_meta( $temporary_user_id, $login_count_key, $login_count );
|
1277 |
+
do_action( 'wp_login', $temporary_user_login, $temporary_user );
|
1278 |
+
}
|
1279 |
+
|
1280 |
+
$request_uri = $_SERVER['REQUEST_URI'];
|
1281 |
+
$request_uri = '';
|
1282 |
+
//var_dump($request_uri);
|
1283 |
+
|
1284 |
+
$redirect_to_url = apply_filters( 'tlwp_login_redirect', apply_filters( 'login_redirect', network_site_url( remove_query_arg( 'mo_token', $request_uri ) ), false, $temporary_user ), $temporary_user );
|
1285 |
+
//var_dump($redirect_to_url);exit();
|
1286 |
+
} else {
|
1287 |
+
// Temporary user not found?? Redirect to home page.
|
1288 |
+
$redirect_to_url = home_url();
|
1289 |
+
}
|
1290 |
+
|
1291 |
+
wp_safe_redirect( $redirect_to_url ); // Redirect to given url after successful login.
|
1292 |
+
exit();
|
1293 |
+
} else {
|
1294 |
+
return 1;
|
1295 |
+
}
|
1296 |
+
|
1297 |
+
}
|
1298 |
+
|
1299 |
Â
function mo_openid_login_validate(){
|
1300 |
Â
|
1301 |
Â
|
1362 |
Â
'last_name' => $last_name,
|
1363 |
Â
'user_url' => $user_url,
|
1364 |
Â
);
|
1365 |
+
|
1366 |
Â
// Checking if username already exist
|
1367 |
Â
$user_name_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $userdata['user_login']));
|
1368 |
Â
|
1389 |
Â
exit();
|
1390 |
Â
}
|
1391 |
Â
}
|
1392 |
+
|
1393 |
Â
$user_id = wp_insert_user( $userdata);
|
1394 |
Â
if(is_wp_error( $user_id )) {
|
1395 |
Â
print_r($user_id);
|
1644 |
Â
update_option( 'mo_openid_message', 'Your account has been retrieved successfully.' );
|
1645 |
Â
delete_option('mo_openid_verify_customer');
|
1646 |
Â
delete_option('mo_openid_new_registration');
|
1647 |
+
if(isset($_POST['action'])?$_POST['action']=='mo_register_new_user':0)
|
1648 |
Â
wp_send_json(["success" => 'Your account has been retrieved successfully.']);
|
1649 |
Â
else
|
1650 |
Â
mo_openid_show_success_message();
|
1652 |
Â
update_option( 'mo_openid_message', 'You already have an account with miniOrange. Please enter a valid password.');
|
1653 |
Â
update_option('mo_openid_verify_customer', 'true');
|
1654 |
Â
delete_option('mo_openid_new_registration');
|
1655 |
+
if(isset($_POST['action'])?$_POST['action']=='mo_register_new_user':0)
|
1656 |
Â
wp_send_json(["error" => 'You already have an account with miniOrange. Please enter a valid password.']);
|
1657 |
Â
else {
|
1658 |
Â
mo_openid_show_error_message();
|
class-mo-openid-social-comment.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
Â
<?php
|
2 |
Â
function mo_openid_social_comment($post, $url){
|
3 |
-
|
4 |
Â
?>
|
5 |
Â
<script>
|
6 |
Â
function moOpenIDShowCommentForms(){
|
@@ -27,21 +27,21 @@
|
|
27 |
Â
|
28 |
Â
(function() { // REQUIRED CONFIGURATION VARIABLE: EDIT THE SHORTNAME BELOW
|
29 |
Â
var d = document, s = d.createElement('script');
|
30 |
-
|
31 |
Â
// IMPORTANT: Replace EXAMPLE with your forum shortname!
|
32 |
Â
s.src = 'https://<?php echo get_option('mo_disqus_shortname'); ?>.disqus.com/embed.js';
|
33 |
-
|
34 |
Â
s.setAttribute('data-timestamp', +new Date());
|
35 |
Â
(d.head || d.body).appendChild(s);
|
36 |
Â
})();
|
37 |
-
|
38 |
Â
}
|
39 |
Â
}
|
40 |
Â
|
41 |
Â
</script>
|
42 |
Â
<?php
|
43 |
Â
}
|
44 |
-
|
45 |
Â
function mo_openid_comments_shortcode(){
|
46 |
Â
$html = '';
|
47 |
Â
$html .= '<div id="mo_comment_shortcode"></div>';
|
@@ -92,5 +92,3 @@
|
|
92 |
Â
|
93 |
Â
return $html;
|
94 |
Â
}
|
95 |
-
|
96 |
-
?>
|
1 |
Â
<?php
|
2 |
Â
function mo_openid_social_comment($post, $url){
|
3 |
+
|
4 |
Â
?>
|
5 |
Â
<script>
|
6 |
Â
function moOpenIDShowCommentForms(){
|
27 |
Â
|
28 |
Â
(function() { // REQUIRED CONFIGURATION VARIABLE: EDIT THE SHORTNAME BELOW
|
29 |
Â
var d = document, s = d.createElement('script');
|
30 |
+
|
31 |
Â
// IMPORTANT: Replace EXAMPLE with your forum shortname!
|
32 |
Â
s.src = 'https://<?php echo get_option('mo_disqus_shortname'); ?>.disqus.com/embed.js';
|
33 |
+
|
34 |
Â
s.setAttribute('data-timestamp', +new Date());
|
35 |
Â
(d.head || d.body).appendChild(s);
|
36 |
Â
})();
|
37 |
+
|
38 |
Â
}
|
39 |
Â
}
|
40 |
Â
|
41 |
Â
</script>
|
42 |
Â
<?php
|
43 |
Â
}
|
44 |
+
|
45 |
Â
function mo_openid_comments_shortcode(){
|
46 |
Â
$html = '';
|
47 |
Â
$html .= '<div id="mo_comment_shortcode"></div>';
|
92 |
Â
|
93 |
Â
return $html;
|
94 |
Â
}
|
Â
|
|
Â
|
class-mo-openid-social-share.php
CHANGED
@@ -1,6 +1,4 @@
|
|
1 |
Â
<?php
|
2 |
-
|
3 |
-
|
4 |
Â
if(isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off'){
|
5 |
Â
$http = "https://";
|
6 |
Â
} else {
|
@@ -717,10 +715,8 @@ $url = $http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI'];
|
|
717 |
Â
}
|
718 |
Â
hideVerticalShare();
|
719 |
Â
</script>
|
720 |
-
<?php
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
?>
|
1 |
Â
<?php
|
Â
|
|
Â
|
|
2 |
Â
if(isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off'){
|
3 |
Â
$http = "https://";
|
4 |
Â
} else {
|
715 |
Â
}
|
716 |
Â
hideVerticalShare();
|
717 |
Â
</script>
|
718 |
+
<?php
|
719 |
+
}
|
720 |
+
}
|
721 |
+
?>
|
722 |
+
</div><br>
|
Â
|
|
Â
|
class-mo-openid-sso-shortcode-buttons.php
CHANGED
@@ -16,11 +16,10 @@ function count_convert($count)
|
|
16 |
Â
|
17 |
Â
//shortcode for horizontal sharing
|
18 |
Â
function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
19 |
-
wp_enqueue_style( 'mo-wp-style-icon',plugins_url('includes/css/mo_openid_login_icons.css?version=
|
20 |
Â
if( get_option('mo_openid_fonawesome_load') == 1)
|
21 |
Â
wp_enqueue_style( 'mo-openid-sl-wp-font-awesome',plugins_url('includes/css/mo-font-awesome.min.css', __FILE__), false );
|
22 |
-
wp_enqueue_style( 'mo_openid_admin_settings_style', plugins_url('includes/css/mo_openid_style.css?version=
|
23 |
-
$default_color= array('facebook'=>'#1877F2','google'=>'#DB4437','vkontakte'=>'#466482','twitter'=>'#2795e9','digg'=>'#000000','yahoo'=>'#430297','yandex'=>'#2795e9','instagram'=>'#3f729b','linkedin'=>'#007bb6','pocket'=>'#ee4056','print'=>'#ee4056','whatsapp'=>'#25D366','email'=>'#787878','amazon'=>'#ff9900','paypal'=>'#0d127a','stumbleupon'=>'#f74425','salesforce'=>'#1ab7ea','windowslive'=>'#2672ec','apple'=>'#000000','steam'=>'#000000','wordpress'=>'#587ea3','pinterest'=>'#cb2027','spotify'=>'#19bf61','tumblr'=>'#2c4762','twitch'=>'#720e9e','github'=>'#000000','dribbble'=>'#ee66aa','flickr'=>'#ff0084','stackexchange'=>'0000ff','snapchat'=>'#fffc00','reddit'=>'#ff4301','odnoklassniki'=>'#f97400','foursquare'=>'#f94877','wechat'=>'#00c300','vimeo'=>'#1ab7ea','line'=>'#00c300','hubspot'=>'#fa7820','discord'=>'#7289da','meetup'=>'#e51937','stackexchange'=>'#0000FF','wiebo'=>'#df2029','kakao'=>'#ffe812','livejournal'=>'#3c1361','naver'=>'#3EAF0E','teamsnap'=>'#ff9a1a');
|
24 |
Â
|
25 |
Â
$html = '';
|
26 |
Â
$selected_theme = isset( $atts['shape'] )? esc_attr($atts['shape']) : esc_attr(get_option('mo_openid_share_theme'));
|
@@ -33,12 +32,58 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
33 |
Â
$textColor = isset( $atts['color'] ) ? esc_attr($atts['color']) : '#'.esc_attr(get_option('mo_openid_share_widget_customize_text_color'));
|
34 |
Â
$text = isset( $atts['heading'] ) ? esc_attr($atts ['heading']) : esc_attr(get_option('mo_openid_share_widget_customize_text'));
|
35 |
Â
$twitter_username = get_option('mo_openid_share_twitter_username');
|
36 |
-
$url = isset( $atts['url'])? esc_url($atts['url']) : esc_url(
|
37 |
-
$
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
38 |
Â
|
39 |
-
|
40 |
-
|
41 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
42 |
Â
|
43 |
Â
if($fontColor)
|
44 |
Â
{
|
@@ -48,128 +93,38 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
48 |
Â
$fontColor;
|
49 |
Â
}
|
50 |
Â
|
51 |
-
if($sharing_counts=="yes" || $sharing_counts=="1")
|
52 |
-
$sharing_counts=1;
|
53 |
-
else
|
54 |
-
$sharing_counts=0;
|
55 |
-
|
56 |
-
$email_subject = esc_html(get_option('mo_openid_share_email_subject'));
|
57 |
-
$email_body = get_option('mo_openid_share_email_body');
|
58 |
-
$email_body = str_replace('##url##', $url, $email_body);
|
59 |
-
|
60 |
-
if($custom_theme == 'custom'){
|
61 |
-
$custom_theme = 'custom';
|
62 |
-
}
|
63 |
-
if($custom_theme == 'customFont'){
|
64 |
-
$custom_theme = 'customFont';
|
65 |
-
}
|
66 |
-
|
67 |
-
$orientation = 'hor';
|
68 |
-
|
69 |
Â
$html .= '<div class="mo-openid-app-icons circle ">';
|
70 |
Â
|
71 |
Â
$html .= '<p style="margin-top:4% !important; margin-bottom:0px !important; color:'.$textColor.'">';
|
72 |
-
if(
|
73 |
Â
$html .= $text . '</p>';
|
74 |
Â
$html .= "<div class='horizontal'>";
|
75 |
Â
if($custom_theme == 'custom'){
|
76 |
Â
if($sharing_counts) {
|
77 |
Â
$html.= "<div class='mo_openid_sharecount'><ul class='mo_openid_share_count_icon'>";
|
78 |
Â
}
|
79 |
-
if( get_option('mo_openid_facebook_share_enable') ) {
|
80 |
-
$link = 'https://www.facebook.com/sharer/sharer.php?u='.$url.'&src=sdkpreparse';
|
81 |
-
if ($sharing_counts){
|
82 |
-
if(get_option('mo_openid_Facebook_share_count_api')!="") {
|
83 |
-
$count = get_transient('facebook');
|
84 |
-
if ($count===false) {
|
85 |
-
$content = file_get_contents("https://graph.facebook.com/v3.3/?id=" . $url . "&fields=engagement&access_token=".get_option('mo_openid_Facebook_share_count_api'));
|
86 |
-
$content=explode('share_count":',$content);
|
87 |
-
$content=explode(',',$content[1]);
|
88 |
-
$count=$content[0];
|
89 |
-
set_transient('facebook', $count, 3600);
|
90 |
-
}
|
91 |
-
}
|
92 |
-
$html .= "<li>";}
|
93 |
-
$html.="<a rel='nofollow' title='Facebook' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-facebook' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts && get_option('mo_openid_Facebook_share_count_api')!=""){$html .= "<span style='margin-left : " . ($spaceBetweenIcons) . "px !important'>$count</span></li>";} else{$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
94 |
-
}
|
95 |
-
|
96 |
-
if( get_option('mo_openid_twitter_share_enable') ) {
|
97 |
-
|
98 |
-
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
99 |
-
if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-twitter' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
100 |
-
}
|
101 |
-
|
102 |
-
if( get_option('mo_openid_google_share_enable') ) {
|
103 |
-
if ($sharing_counts){
|
104 |
-
$html .= "<li>";}
|
105 |
-
$link = 'https://plus.google.com/share?url='.$url;
|
106 |
-
$html .= "<a rel='nofollow' title='Google' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-google' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
107 |
-
}
|
108 |
-
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
109 |
-
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
110 |
-
if ($sharing_counts){
|
111 |
-
|
112 |
-
$html .= "<li>";
|
113 |
-
}
|
114 |
-
$html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-vk' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
115 |
-
}
|
116 |
-
if( get_option('mo_openid_tumblr_share_enable') ) {
|
117 |
-
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
118 |
-
|
119 |
-
if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-tumblr' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
120 |
-
}
|
121 |
-
if( get_option('mo_openid_stumble_share_enable') ) {
|
122 |
-
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
123 |
-
if ($sharing_counts){
|
124 |
-
$html .= "<li>";
|
125 |
-
}
|
126 |
-
$html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-stumbleupon' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
127 |
-
}
|
128 |
-
if( get_option('mo_openid_linkedin_share_enable') ) {
|
129 |
-
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
130 |
-
if ($sharing_counts){
|
131 |
-
$html .= "<li>";
|
132 |
-
}
|
133 |
-
$html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-linkedin' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
134 |
-
}
|
135 |
-
|
136 |
-
if( get_option('mo_openid_reddit_share_enable') ) {
|
137 |
-
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
138 |
-
if ($sharing_counts){
|
139 |
-
$html .= "<li>";
|
140 |
-
}
|
141 |
-
$html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-reddit' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
142 |
-
}
|
143 |
-
|
144 |
-
if( get_option('mo_openid_pinterest_share_enable') ) {
|
145 |
-
if ($sharing_counts){
|
146 |
-
$html .= "<li>";
|
147 |
-
}
|
148 |
-
$html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-pinterest' style='padding-top:3px;text-align:center;color:#ffffff;font-size:" .($sharingSize-10). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
149 |
-
}
|
150 |
-
|
151 |
-
if( get_option('mo_openid_pocket_share_enable') ) {
|
152 |
-
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
153 |
-
if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-get-pocket' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
154 |
-
}
|
155 |
-
if( get_option('mo_openid_digg_share_enable') ) {
|
156 |
-
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
157 |
-
if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-digg' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
158 |
-
}
|
159 |
-
if( get_option('mo_openid_mail_share_enable') ) {
|
160 |
-
if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " far fa-envelope' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
161 |
-
}
|
162 |
-
if( get_option('mo_openid_print_share_enable') ) {
|
163 |
-
if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fas fa-print' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
164 |
-
}
|
165 |
-
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
166 |
-
|
167 |
-
if(!wp_is_mobile()){
|
168 |
-
if ($sharing_counts){$html .= "<li>";} $html .= '<a rel="nofollow" title="Whatsapp" target ="_blank" href="https://web.whatsapp.com/send?text=' . $url .'" class="mo-openid-share-link" style="margin-left : '.($spaceBetweenIcons) . 'px !important;border-bottom:0px !important;"><i class="mo-custom-share-icon ' .$selected_theme. ' fab fa-whatsapp" style="padding-top:8px;text-align:center;color:#ffffff;font-size: '.($sharingSize-16). 'px !important;background-color:#' .$custom_color. ';height: '.$sharingSize. 'px !important;width:' .$sharingSize. 'px !important;"></i></a>'; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
169 |
-
}
|
170 |
-
else{
|
171 |
-
if ($sharing_counts){$html .= "<li>";} $html .= '<a rel="nofollow" title="Whatsapp" href="whatsapp://send?text=' . $url .'" class="mo-openid-share-link" style="margin-left : '.($spaceBetweenIcons) . 'px !important;border-bottom:0px !important;"><i class="mo-custom-share-icon ' .$selected_theme. ' fab fa-whatsapp" style="padding-top:8px;text-align:center;color:#ffffff;font-size: '.($sharingSize-16). 'px !important;background-color:#' .$custom_color. ';height: '.$sharingSize. 'px !important;width:' .$sharingSize. 'px !important;"></i></a>'; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
172 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
173 |
Â
}
|
174 |
Â
}
|
175 |
Â
if($sharing_counts){
|
@@ -182,85 +137,28 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
182 |
Â
if ($sharing_counts) {
|
183 |
Â
$html .= "<div class='mo_openid_sharecount'><ul class='mo_openid_share_count_icon'>";
|
184 |
Â
}
|
185 |
-
if (get_option('mo_openid_facebook_share_enable')) {
|
186 |
-
$link = 'https://www.facebook.com/sharer/sharer.php?u='.$url.'&src=sdkpreparse';
|
187 |
-
if ($sharing_counts){
|
188 |
-
if(get_option('mo_openid_Facebook_share_count_api')!="") {
|
189 |
-
$count = get_transient('facebook');
|
190 |
-
if ($count===false) {
|
191 |
-
$content = file_get_contents("https://graph.facebook.com/v3.3/?id=" . $url . "&fields=engagement&access_token=".get_option('mo_openid_Facebook_share_count_api'));
|
192 |
-
$content=explode('share_count":',$content);
|
193 |
-
$content=explode(',',$content[1]);
|
194 |
-
$count=$content[0];
|
195 |
-
set_transient('facebook', $count, 3600);
|
196 |
-
}
|
197 |
-
}
|
198 |
-
$html .= "<li style='line-height: 0.0px'>";
|
199 |
-
}
|
200 |
-
$html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-facebook' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts && get_option('mo_openid_Facebook_share_count_api')!=""){$html .= "<span style='margin-left : " . ($spaceBetweenIcons) . "px !important'>$count</span></li>";} else{$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
201 |
-
}
|
202 |
Â
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
if (get_option('mo_openid_stumble_share_enable')) {
|
225 |
-
$link = 'http://www.stumbleupon.com/submit?url=' . $url . '&title=' . $title;
|
226 |
-
if ($sharing_counts){
|
227 |
-
$html .= "<li style='line-height: 0.0px'>";
|
228 |
-
}
|
229 |
-
$html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-stumbleupon' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
230 |
-
}
|
231 |
-
if (get_option('mo_openid_linkedin_share_enable')) {
|
232 |
-
$link = 'https://www.linkedin.com/shareArticle?mini=true&title=' . $title . '&url=' . $url . '&summary=' . $excerpt;
|
233 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-linkedin' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
234 |
-
}
|
235 |
-
if (get_option('mo_openid_reddit_share_enable')) {
|
236 |
-
$link = 'http://www.reddit.com/submit?url=' . $url . '&title=' . $title;
|
237 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-reddit' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
238 |
-
}
|
239 |
-
if (get_option('mo_openid_pinterest_share_enable')) {
|
240 |
-
if ($sharing_counts){
|
241 |
-
|
242 |
-
$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-pinterest' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
243 |
-
}
|
244 |
-
|
245 |
-
if (get_option('mo_openid_pocket_share_enable')) {
|
246 |
-
$link = 'https://getpocket.com/save?url=' . $url . '&title=' . $title;
|
247 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-get-pocket' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
248 |
-
}
|
249 |
-
if (get_option('mo_openid_digg_share_enable')) {
|
250 |
-
$link = 'http://digg.com/submit?url=' . $url . '&title=' . $title;
|
251 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-digg' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
252 |
-
}
|
253 |
-
if (get_option('mo_openid_mail_share_enable')) {
|
254 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><i class=' " . $selected_theme . " far fa-envelope' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
255 |
-
}
|
256 |
-
if (get_option('mo_openid_print_share_enable')) {
|
257 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><i class=' " . $selected_theme . " fas fa-print' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
258 |
-
}
|
259 |
-
if (get_option('mo_openid_whatsapp_share_enable')) {
|
260 |
-
if (wp_is_mobile()) {
|
261 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= '<a rel="nofollow" title="Whatsapp" href="whatsapp://send?text=' . $url . '" class="mo-openid-share-link" style="margin-left : ' . ($spaceBetweenIcons - 6) . 'px !important;border-bottom:0px !important;"><i class=" ' . $selected_theme . ' fab fa-whatsapp" style="padding-top:4px;text-align:center;color:' . $fontColor . ';font-size:' . $sharingSize . 'px !important;height:' . $sharingSize . 'px !important;width:' . $sharingSize . 'px !important;"></i></a>'; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
262 |
-
} else {
|
263 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= '<a rel="nofollow" title="Whatsapp" target ="_blank" href="https://web.whatsapp.com/send?text=' . $url . '" class="mo-openid-share-link" style="margin-left : ' . ($spaceBetweenIcons - 6) . 'px !important;border-bottom:0px !important;"><i class=" ' . $selected_theme . ' fab fa-whatsapp" style="padding-top:4px;text-align:center;color:' . $fontColor . ';font-size:' . $sharingSize . 'px !important;height:' . $sharingSize . 'px !important;width:' . $sharingSize . 'px !important;"></i></a>'; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
264 |
Â
}
|
265 |
Â
}
|
266 |
Â
if ($sharing_counts) {
|
@@ -275,91 +173,27 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
275 |
Â
$html .= "<div class='mo_openid_sharecount'><ul class='mo_openid_share_count_icon'>";
|
276 |
Â
}
|
277 |
Â
|
278 |
-
|
279 |
-
$
|
280 |
-
|
281 |
-
if(
|
282 |
-
$
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
290 |
Â
}
|
291 |
-
$html .= "<li style='line-height: 0.0px'>";
|
292 |
-
}
|
293 |
-
$html.="<a rel='nofollow' title='Facebook' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-facebook' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['facebook']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts && get_option('mo_openid_Facebook_share_count_api')!=""){$html .= "<span style='margin-left : " . ($spaceBetweenIcons) . "px !important'>$count</span></li>";} else{$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
294 |
-
|
295 |
-
}
|
296 |
-
|
297 |
-
if( get_option('mo_openid_twitter_share_enable') ) {
|
298 |
-
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
299 |
-
if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-twitter' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['twitter']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
300 |
-
|
301 |
-
}
|
302 |
-
|
303 |
-
if( get_option('mo_openid_google_share_enable') ) {
|
304 |
-
$link = 'https://plus.google.com/share?url='.$url;
|
305 |
-
if ($sharing_counts){
|
306 |
-
$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Goole' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-google' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['google']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
307 |
-
}
|
308 |
-
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
309 |
-
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
310 |
-
if ($sharing_counts){
|
311 |
-
|
312 |
-
$html .= "<li style='line-height: 0.0px'>";}$html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-vk' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['vkontakte']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
313 |
-
}
|
314 |
-
if( get_option('mo_openid_tumblr_share_enable') ) {
|
315 |
-
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
316 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";}$html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-tumblr' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['tumblr']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
317 |
-
}
|
318 |
-
if( get_option('mo_openid_stumble_share_enable') ) {
|
319 |
-
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
320 |
-
if ($sharing_counts){
|
321 |
-
|
322 |
-
$html .= "<li style='line-height: 0.0px'>";
|
323 |
-
}
|
324 |
-
$html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-stumbleupon' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['stumbleupon']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
325 |
-
}
|
326 |
-
if( get_option('mo_openid_linkedin_share_enable') ) {
|
327 |
-
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
328 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Linkedin' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-linkedin' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['linkedin']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
329 |
-
}
|
330 |
-
|
331 |
-
if( get_option('mo_openid_reddit_share_enable') ) {
|
332 |
-
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
333 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-reddit' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['reddit']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
334 |
-
}
|
335 |
-
|
336 |
-
if( get_option('mo_openid_pinterest_share_enable') ) {
|
337 |
-
if ($sharing_counts){
|
338 |
-
$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='reddit' href='javascript:pinIt();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-pinterest' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['pinterest']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
339 |
-
}
|
340 |
-
|
341 |
-
if( get_option('mo_openid_pocket_share_enable') ) {
|
342 |
-
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
343 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-get-pocket' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['pocket']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
344 |
-
}
|
345 |
-
if( get_option('mo_openid_digg_share_enable') ) {
|
346 |
-
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
347 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-digg' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['digg']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
348 |
-
}
|
349 |
-
if( get_option('mo_openid_mail_share_enable') ) {
|
350 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Envelope' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " far fa-envelope' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['email']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
351 |
-
}
|
352 |
-
if( get_option('mo_openid_print_share_enable') ) {
|
353 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Print' onclick='javascript:window.print();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fas fa-print' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['print']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
354 |
-
}
|
355 |
-
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
356 |
-
|
357 |
-
if(!wp_is_mobile()){
|
358 |
-
if ($sharing_counts){$html .= "<li>";} $html .= '<a rel="nofollow" title="Whatsapp" target ="_blank" href="https://web.whatsapp.com/send?text=' . $url .'" class="mo-openid-share-link" style="margin-left : '.($spaceBetweenIcons) . 'px !important;border-bottom:0px !important;"><i class="mo-custom-share-icon ' .$selected_theme. ' fab fa-whatsapp" style="padding-top:8px;text-align:center;color:#ffffff;font-size: '.($sharingSize-16). 'px !important;background-color:'.$default_color['whatsapp']. ';height: '.$sharingSize. 'px !important;width:' .$sharingSize. 'px !important;"></i></a>'; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
359 |
-
}
|
360 |
-
else{
|
361 |
-
if ($sharing_counts){$html .= "<li>";} $html .= '<a rel="nofollow" title="Whatsapp" href="whatsapp://send?text=' . $url .'" class="mo-openid-share-link" style="margin-left : '.($spaceBetweenIcons) . 'px !important;border-bottom:0px !important;"><i class="mo-custom-share-icon ' .$selected_theme. ' fab fa-whatsapp" style="padding-top:8px;text-align:center;color:#ffffff;font-size: '.($sharingSize-16). 'px !important;background-color:' .$default_color['whatsapp']. ';height: '.$sharingSize. 'px !important;width:' .$sharingSize. 'px !important;"></i></a>'; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
362 |
-
|
363 |
Â
}
|
364 |
Â
}
|
365 |
Â
if ($sharing_counts) {
|
@@ -394,11 +228,10 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
394 |
Â
}
|
395 |
Â
|
396 |
Â
function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
397 |
-
wp_enqueue_style( 'mo-wp-style-icon',plugins_url('includes/css/mo_openid_login_icons.css?version=
|
398 |
Â
if( get_option('mo_openid_fonawesome_load') == 1)
|
399 |
Â
wp_enqueue_style( 'mo-openid-sl-wp-font-awesome',plugins_url('includes/css/mo-font-awesome.min.css', __FILE__), false );
|
400 |
-
wp_enqueue_style( 'mo_openid_admin_settings_style', plugins_url('includes/css/mo_openid_style.css?version=
|
401 |
-
$default_color= array('facebook'=>'#1877F2','google'=>'#DB4437','vkontakte'=>'#466482','twitter'=>'#2795e9','digg'=>'#000000','yahoo'=>'#430297','yandex'=>'#2795e9','instagram'=>'#3f729b','linkedin'=>'#007bb6','pocket'=>'#ee4056','print'=>'#ee4056','whatsapp'=>'#25D366','email'=>'#787878','amazon'=>'#ff9900','paypal'=>'#0d127a','stumbleupon'=>'#f74425','salesforce'=>'#1ab7ea','windowslive'=>'#2672ec','apple'=>'#000000','steam'=>'#000000','wordpress'=>'#587ea3','pinterest'=>'#cb2027','spotify'=>'#19bf61','tumblr'=>'#2c4762','twitch'=>'#720e9e','github'=>'#000000','dribbble'=>'#ee66aa','flickr'=>'#ff0084','stackexchange'=>'0000ff','snapchat'=>'#fffc00','reddit'=>'#ff4301','odnoklassniki'=>'#f97400','foursquare'=>'#f94877','wechat'=>'#00c300','vimeo'=>'#1ab7ea','line'=>'#00c300','hubspot'=>'#fa7820','discord'=>'#7289da','meetup'=>'#e51937','stackexchange'=>'#0000FF','wiebo'=>'#df2029','kakao'=>'#ffe812','livejournal'=>'#3c1361','naver'=>'#3EAF0E','teamsnap'=>'#ff9a1a');
|
402 |
Â
|
403 |
Â
$html = '';
|
404 |
Â
$selected_theme = isset( $atts['shape'] )? esc_attr($atts['shape']) : esc_attr(get_option('mo_openid_share_theme'));
|
@@ -408,27 +241,62 @@ function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt =
|
|
408 |
Â
$custom_theme = isset( $atts['theme'] )? esc_attr($atts['theme']) : esc_attr(get_option('mo_openid_share_custom_theme'));
|
409 |
Â
$fontColor = isset( $atts['fontcolor'] )? esc_attr($atts['fontcolor']) : esc_attr(get_option('mo_sharing_icon_custom_font'));
|
410 |
Â
$spaceBetweenIcons = isset( $atts['space'] )? esc_attr($atts['space']) : '10';
|
411 |
-
|
412 |
Â
$alignment = isset( $atts['alignment'] )? esc_attr($atts['alignment']) : 'left';
|
413 |
Â
$left_offset = isset( $atts['leftoffset'] )? esc_attr($atts['leftoffset']) : '20';
|
414 |
Â
$right_offset = isset( $atts['rightoffset'] )? esc_attr($atts['rightoffset']) : '10';
|
415 |
Â
$top_offset = isset( $atts['topoffset'] )? esc_attr($atts['topoffset']) : '100';
|
416 |
-
|
417 |
-
|
418 |
Â
$twitter_username = esc_attr(get_option('mo_openid_share_twitter_username'));
|
419 |
-
$url = isset( $atts['url'])? esc_url($atts['url']) : esc_url(
|
420 |
-
|
421 |
Â
$email_subject = esc_attr(get_option('mo_openid_share_email_subject'));
|
Â
|
|
422 |
Â
$email_body = get_option('mo_openid_share_email_body');
|
423 |
Â
$email_body = str_replace('##url##', $url, $email_body);
|
424 |
Â
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
432 |
Â
|
433 |
Â
$html .= "<div class='mo_openid_vertical' style='" .(isset($alignment) && $alignment != '' ? $alignment .': '. (${$alignment.'_offset'} == '' ? 0 : ${$alignment.'_offset'} ) .'px;' : '').(isset($top_offset) ? 'top: '. ( $top_offset == '' ? 0 : $top_offset ) .'px;' : '') ."'>";
|
434 |
Â
|
@@ -438,217 +306,85 @@ function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt =
|
|
438 |
Â
$html .= "<div id='mo_floating_vertical_shortcode'>";
|
439 |
Â
if($custom_theme == 'custom'){
|
440 |
Â
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
$html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-tumblr' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
464 |
-
}
|
465 |
-
if( get_option('mo_openid_stumble_share_enable') ) {
|
466 |
-
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
467 |
-
$html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-stumbleupon' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
468 |
-
}
|
469 |
-
if( get_option('mo_openid_linkedin_share_enable') ) {
|
470 |
-
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
471 |
-
|
472 |
-
|
473 |
-
$html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-linkedin' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
474 |
-
|
475 |
-
}
|
476 |
-
|
477 |
-
if( get_option('mo_openid_reddit_share_enable') ) {
|
478 |
-
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
479 |
-
$html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-reddit' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
480 |
-
}
|
481 |
-
|
482 |
-
if( get_option('mo_openid_pinterest_share_enable') ) {
|
483 |
-
$html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-pinterest' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:3px;text-align:center;color:#ffffff;font-size:" .($sharingSize-10). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
484 |
-
|
485 |
-
}
|
486 |
-
|
487 |
-
if( get_option('mo_openid_pocket_share_enable') ) {
|
488 |
-
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
489 |
-
$html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-get-pocket' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
490 |
-
}
|
491 |
-
|
492 |
-
if( get_option('mo_openid_digg_share_enable') ) {
|
493 |
-
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
494 |
-
$html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-digg' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
495 |
-
}
|
496 |
-
if( get_option('mo_openid_mail_share_enable') ) {
|
497 |
-
$html .= "<a rel='nofollow' title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " far fa-envelope' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
498 |
-
}
|
499 |
-
if( get_option('mo_openid_print_share_enable') ) {
|
500 |
-
$html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fas fa-print' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
501 |
-
}
|
502 |
-
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
503 |
-
if(wp_is_mobile()){
|
504 |
-
$html .= '<a rel="nofollow" title="Whatsapp" href="whatsapp://send?text=' . $url ."\" class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-whatsapp' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
505 |
-
}
|
506 |
-
else{
|
507 |
-
$html .= '<a rel="nofollow" title="Whatsapp" target ="_blank" href="https://web.whatsapp.com/send?text=' . $url ."\" class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-whatsapp' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
508 |
Â
}
|
509 |
-
}
|
510 |
-
|
511 |
Â
|
512 |
Â
}
|
513 |
Â
|
514 |
Â
else if($custom_theme == 'customFont') {
|
515 |
Â
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
}
|
539 |
-
if( get_option('mo_openid_stumble_share_enable') ) {
|
540 |
-
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
541 |
-
$html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fab fa-stumbleupon' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
542 |
-
}
|
543 |
-
if( get_option('mo_openid_linkedin_share_enable') ) {
|
544 |
-
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
545 |
-
$html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='fab fa-linkedin' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
546 |
-
}
|
547 |
-
if( get_option('mo_openid_reddit_share_enable') ) {
|
548 |
-
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
549 |
-
$html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fab fa-reddit' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
550 |
-
}
|
551 |
-
if( get_option('mo_openid_pinterest_share_enable') ) {
|
552 |
-
$html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' ><i class='fab fa-pinterest' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .($sharingSize-5). "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
553 |
-
}
|
554 |
-
|
555 |
-
if( get_option('mo_openid_pocket_share_enable') ) {
|
556 |
-
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
557 |
-
$html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fab fa-get-pocket' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
558 |
-
}
|
559 |
-
if( get_option('mo_openid_digg_share_enable') ) {
|
560 |
-
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
561 |
-
$html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fab fa-digg' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
562 |
-
}
|
563 |
-
if( get_option('mo_openid_mail_share_enable') ) {
|
564 |
-
$html .= "<a rel='nofollow' title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='far fa-envelope' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
565 |
-
}
|
566 |
-
if( get_option('mo_openid_print_share_enable') ) {
|
567 |
-
$html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' ><i class='fas fa-print' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
568 |
-
}
|
569 |
-
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
570 |
-
if(wp_is_mobile()){
|
571 |
-
$html .= '<a rel="nofollow" title="Whatsapp" href="whatsapp://send?text=' . $url ."\" class='mo-openid-share-link' ><i class='fab fa-whatsapp' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
572 |
-
}
|
573 |
-
else{
|
574 |
-
$html .= '<a rel="nofollow" title="Whatsapp" target ="_blank" href="https://web.whatsapp.com/send?text=' . $url ."\" class='mo-openid-share-link' ><i class='fab fa-whatsapp' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
575 |
Â
}
|
576 |
-
}
|
577 |
-
|
578 |
Â
|
579 |
Â
}
|
580 |
Â
|
581 |
Â
else {
|
582 |
Â
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
}
|
607 |
-
if( get_option('mo_openid_stumble_share_enable') ) {
|
608 |
-
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
609 |
-
$html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-stumbleupon' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['stumbleupon']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
610 |
-
}
|
611 |
-
if( get_option('mo_openid_linkedin_share_enable') ) {
|
612 |
-
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
613 |
-
|
614 |
-
|
615 |
-
$html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-linkedin' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['linkedin']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
616 |
-
|
617 |
-
}
|
618 |
-
|
619 |
-
if( get_option('mo_openid_reddit_share_enable') ) {
|
620 |
-
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
621 |
-
$html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-reddit' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['reddit']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
622 |
-
}
|
623 |
-
|
624 |
-
if( get_option('mo_openid_pinterest_share_enable') ) {
|
625 |
-
$html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-pinterest' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:3px;text-align:center;color:#ffffff;font-size:" .($sharingSize-10). "px !important;background-color:" .$default_color['pinterest']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
626 |
-
|
627 |
-
}
|
628 |
-
|
629 |
-
if( get_option('mo_openid_pocket_share_enable') ) {
|
630 |
-
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
631 |
-
$html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-get-pocket' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['pocket']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
632 |
-
}
|
633 |
-
|
634 |
-
if( get_option('mo_openid_digg_share_enable') ) {
|
635 |
-
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
636 |
-
$html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-digg' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['digg']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
637 |
-
}
|
638 |
-
if( get_option('mo_openid_mail_share_enable') ) {
|
639 |
-
$html .= "<a rel='nofollow' title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " far fa-envelope' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['email']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
640 |
-
}
|
641 |
-
if( get_option('mo_openid_print_share_enable') ) {
|
642 |
-
$html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fas fa-print' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['print']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
643 |
-
}
|
644 |
-
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
645 |
-
if(wp_is_mobile()){
|
646 |
-
$html .= '<a rel="nofollow" title="Whatsapp" href="whatsapp://send?text=' . $url ."\" class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-whatsapp' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['whatsapp']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
647 |
-
}
|
648 |
-
else{
|
649 |
-
$html .= '<a rel="nofollow" title="Whatsapp" target ="_blank" href="https://web.whatsapp.com/send?text=' . $url ."\" class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-whatsapp' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['whatsapp']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
650 |
-
}
|
651 |
-
}
|
652 |
Â
|
653 |
Â
}
|
654 |
Â
$html .= "</div>";
|
@@ -691,5 +427,4 @@ function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt =
|
|
691 |
Â
|
692 |
Â
return $html;
|
693 |
Â
|
694 |
-
}
|
695 |
-
?>
|
16 |
Â
|
17 |
Â
//shortcode for horizontal sharing
|
18 |
Â
function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
19 |
+
wp_enqueue_style( 'mo-wp-style-icon',plugins_url('includes/css/mo_openid_login_icons.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__), false );
|
20 |
Â
if( get_option('mo_openid_fonawesome_load') == 1)
|
21 |
Â
wp_enqueue_style( 'mo-openid-sl-wp-font-awesome',plugins_url('includes/css/mo-font-awesome.min.css', __FILE__), false );
|
22 |
+
wp_enqueue_style( 'mo_openid_admin_settings_style', plugins_url('includes/css/mo_openid_style.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__));
|
Â
|
|
23 |
Â
|
24 |
Â
$html = '';
|
25 |
Â
$selected_theme = isset( $atts['shape'] )? esc_attr($atts['shape']) : esc_attr(get_option('mo_openid_share_theme'));
|
32 |
Â
$textColor = isset( $atts['color'] ) ? esc_attr($atts['color']) : '#'.esc_attr(get_option('mo_openid_share_widget_customize_text_color'));
|
33 |
Â
$text = isset( $atts['heading'] ) ? esc_attr($atts ['heading']) : esc_attr(get_option('mo_openid_share_widget_customize_text'));
|
34 |
Â
$twitter_username = get_option('mo_openid_share_twitter_username');
|
35 |
+
$url = isset( $atts['url'])? esc_url($atts['url']) : esc_url(get_site_url());
|
36 |
+
$title = esc_attr(get_the_title());
|
37 |
+
$sharing_counts = esc_attr(get_option('mo_openid_share_count'));
|
38 |
+
$email_subject = esc_html(get_option('mo_openid_share_email_subject'));
|
39 |
+
$email_body = get_option('mo_openid_share_email_body');
|
40 |
+
$email_body = str_replace('##url##', $url, $email_body);
|
41 |
Â
|
42 |
+
global $share_apps;
|
43 |
+
$share_apps = array("facebook" => array( "#1877F2" => 'https://www.facebook.com/sharer/sharer.php?u='.$url.'&src=sdkpreparse'),
|
44 |
+
"twitter" => array( "#2795e9" => empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username),
|
45 |
+
"google" => array( "#DB4437" => 'https://plus.google.com/share?url='.$url),
|
46 |
+
"vkontakte" => array( "#466482" => 'https://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt),
|
47 |
+
"linkedin" => array( "#007bb6" => 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt),
|
48 |
+
"tumblr" => array( "#34465d" => 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title.'&description='.$title),
|
49 |
+
"stumble" => array( "#eb4924" => 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title),
|
50 |
+
"reddit" => array( "#ff4301" => 'http://www.reddit.com/submit?url='.$url.'&title='.$title),
|
51 |
+
"pinterest" => array( "#cb2027" => 'javascript:pinIt();'),
|
52 |
+
"pocket" => array( "#ff5700" => 'https://getpocket.com/save?url='.$url.'&title='.$title),
|
53 |
+
"digg" => array( "#000000" => 'http://digg.com/submit?url='.$url.'&title='.$title),
|
54 |
+
"delicious" => array( "#205cc0" => 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title),
|
55 |
+
"odnoklassniki" => array( "#ed812b" => 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$title.'&st._surl='.$url),
|
56 |
+
"mail" => array( "#00acee" => "mailto:?subject=".$title."&body=".$url),
|
57 |
+
"print" => array( "#e0205a" => "javascript:window.print()"),
|
58 |
+
"whatsapp" => array( "#25D366" => "https://web.whatsapp.com/send?text=".$url),
|
59 |
+
"amazon" => array( "#ff9900" => 'http://www.amazon.com/wishlist/add?u='.$url.'&title='.$title),
|
60 |
+
"telegram" => array( "#0088cc" => 'https://telegram.me/share/?url='.$url.'&title='.$title),
|
61 |
+
"line" => array( "#329555" => 'https://social-plugins.line.me/lineit/share?u=%encoded_post_url=' .$url. '%&title='.$title),
|
62 |
+
"yahoo_mail" => array( "#430297" => '//compose.mail.yahoo.com/?subject='.$title.'&body='.$url ),
|
63 |
+
"instapaper" => array( "#000000" => 'http://www.instapaper.com/edit?u='.$url. '&title='.$title),
|
64 |
+
"livejournal" => array( "#306599" => 'http://www.livejournal.com/update.bml?subject='.$title. '&body='.$url),
|
65 |
+
"mix" => array( "#FF0000" => 'https://mix.com/mixit?url='.$url),
|
66 |
+
"aol_mail" => array( "#0060a3" => 'http://webmail.aol.com/25045/aol/en-us/Mail/compose-message.aspx?subject=' .$title. '&body='.$url),
|
67 |
+
"mewe" => array( "#409d16" => 'https://mewe.com/share?link='.$url),
|
68 |
+
"qzone" => array( "#e8ff00" => 'http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?u=%encoded_post_url='.$url),
|
69 |
+
"google_gmail" => array( "#004f9f" => 'https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&su='.$title. '&body='.$url),
|
70 |
+
"typepad_post" => array( "#04800c" => 'https://www.typepad.com/services/quickpost/post?v=2&qp_show=ac&qp_title='.$title. '&qp_href='.$url),
|
71 |
+
"fark" => array( "#654321" => 'https://www.fark.com/submit?new_url='.$url),
|
72 |
+
"google_bookmark" => array( "#3b3b38" => 'https://www.google.com/bookmarks/mark?op=edit&bkmk='.$url. '&title='.$title),
|
73 |
+
"fintel" => array( "#24a0ed" => 'https://fintel.io/submit?url=' .$url),
|
74 |
+
"mendeley" => array( "#008080" => 'https://www.mendeley.com/sign-in/'),
|
75 |
+
"slashdot" => array( "#126A70" => '//slashdot.org/submission?url='.$url),
|
76 |
+
"wanelo" => array( "#FFF700" => '//wanelo.com/p/post?bookmarklet=&images%5B%5D=&url='.$url.'&title='.$title),
|
77 |
+
"google_classroom" => array( "#F5BA14" => 'https://classroom.google.com/u/0/share?url='.$url),
|
78 |
+
"yummly" => array( "#F0780E" => 'http://www.yummly.com/urb/verify?url='.$url.' &title='.$title),
|
79 |
+
"hacker_news" => array( "#FF6600" => 'https://news.ycombinator.com/submitlink?url='.$url.' &title='.$title),
|
80 |
+
"kakao" => array( "#ffe812" => 'https://story.kakao.com/share?url='.$url),
|
81 |
+
"plurk" => array( "#f00" => '//www.plurk.com/m?content='.$url. '&qualifier='.$title),
|
82 |
+
"trello" => array( "#0079bf" => 'https://trello.com/add-card?mode=popup&url='. $url. '&name='.$title. '&desc='),
|
83 |
+
"wykop" => array( "#266F" => '//www.wykop.pl/dodaj?url='.$url.'&title='.$title),
|
84 |
+
"sina_weibo" => array( "#df2029" => '//service.weibo.com/share/share.php?url='. $url. '&title='. $title),
|
85 |
+
"renren" => array( "#2500B8" => '//www.connect.renren.com/share/sharer?url='.$url. '&title='.$title),
|
86 |
+
"buffer" => array( "#000000" => 'https://buffer.com/add?url='.$url. '&title='.$title) );
|
87 |
Â
|
88 |
Â
if($fontColor)
|
89 |
Â
{
|
93 |
Â
$fontColor;
|
94 |
Â
}
|
95 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
96 |
Â
$html .= '<div class="mo-openid-app-icons circle ">';
|
97 |
Â
|
98 |
Â
$html .= '<p style="margin-top:4% !important; margin-bottom:0px !important; color:'.$textColor.'">';
|
99 |
+
if( 1 == 1 ) {
|
100 |
Â
$html .= $text . '</p>';
|
101 |
Â
$html .= "<div class='horizontal'>";
|
102 |
Â
if($custom_theme == 'custom'){
|
103 |
Â
if($sharing_counts) {
|
104 |
Â
$html.= "<div class='mo_openid_sharecount'><ul class='mo_openid_share_count_icon'>";
|
105 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
106 |
Â
|
107 |
+
foreach($share_apps as $share_app => $share_colors){
|
108 |
+
foreach($share_colors as $share_color => $share_link){
|
109 |
+
$share_icon = "fab fa-".$share_app;
|
110 |
+
if($share_app == "vkontakte"){
|
111 |
+
$share_icon = "fab fa-vk";
|
112 |
+
}
|
113 |
+
if($share_app == "stumble"){
|
114 |
+
$share_icon = "fab fa-stumbleupon";
|
115 |
+
}
|
116 |
+
if($share_app == "pocket"){
|
117 |
+
$share_icon = "fab fa-get-pocket";
|
118 |
+
}
|
119 |
+
if($share_app == "mail"){
|
120 |
+
$share_icon = "far fa-envelope";
|
121 |
+
}
|
122 |
+
if($share_app == "print"){
|
123 |
+
$share_icon = "fas fa-print ";
|
124 |
+
}
|
125 |
+
if( get_option('mo_openid_'.$share_app.'_share_enable') ) {
|
126 |
+
if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(". '"' . $share_link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " ".$share_icon."' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
127 |
+
}
|
128 |
Â
}
|
129 |
Â
}
|
130 |
Â
if($sharing_counts){
|
137 |
Â
if ($sharing_counts) {
|
138 |
Â
$html .= "<div class='mo_openid_sharecount'><ul class='mo_openid_share_count_icon'>";
|
139 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
140 |
Â
|
141 |
+
foreach($share_apps as $share_app => $share_colors){
|
142 |
+
foreach($share_colors as $share_color => $share_link){
|
143 |
+
$share_icon = "fab fa-".$share_app;
|
144 |
+
if($share_app == "vkontakte"){
|
145 |
+
$share_icon = "fab fa-vk";
|
146 |
+
}
|
147 |
+
if($share_app == "stumble"){
|
148 |
+
$share_icon = "fab fa-stumbleupon";
|
149 |
+
}
|
150 |
+
if($share_app == "pocket"){
|
151 |
+
$share_icon = "fab fa-get-pocket";
|
152 |
+
}
|
153 |
+
if($share_app == "mail"){
|
154 |
+
$share_icon = "far fa-envelope";
|
155 |
+
}
|
156 |
+
if($share_app == "print"){
|
157 |
+
$share_icon = "fas fa-print ";
|
158 |
+
}
|
159 |
+
if( get_option('mo_openid_'.$share_app.'_share_enable') ) {
|
160 |
+
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='".$share_app."' onclick='popupCenter(" . '"' . $share_link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " ".$share_icon."' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
161 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
162 |
Â
}
|
163 |
Â
}
|
164 |
Â
if ($sharing_counts) {
|
173 |
Â
$html .= "<div class='mo_openid_sharecount'><ul class='mo_openid_share_count_icon'>";
|
174 |
Â
}
|
175 |
Â
|
176 |
+
foreach($share_apps as $share_app => $share_colors){
|
177 |
+
foreach($share_colors as $share_color => $share_link){
|
178 |
+
$share_icon = "fab fa-".$share_app;
|
179 |
+
if($share_app == "vkontakte"){
|
180 |
+
$share_icon = "fab fa-vk";
|
181 |
+
}
|
182 |
+
if($share_app == "stumble"){
|
183 |
+
$share_icon = "fab fa-stumbleupon";
|
184 |
+
}
|
185 |
+
if($share_app == "pocket"){
|
186 |
+
$share_icon = "fab fa-get-pocket";
|
187 |
+
}
|
188 |
+
if($share_app == "mail"){
|
189 |
+
$share_icon = "far fa-envelope";
|
190 |
+
}
|
191 |
+
if($share_app == "print"){
|
192 |
+
$share_icon = "fas fa-print ";
|
193 |
+
}
|
194 |
+
if( get_option('mo_openid_'.$share_app.'_share_enable') ) {
|
195 |
+
if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='".$share_app."' onclick='popupCenter(". '"' . $share_link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " ".$share_icon."' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$share_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
|
196 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
197 |
Â
}
|
198 |
Â
}
|
199 |
Â
if ($sharing_counts) {
|
228 |
Â
}
|
229 |
Â
|
230 |
Â
function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
231 |
+
wp_enqueue_style( 'mo-wp-style-icon',plugins_url('includes/css/mo_openid_login_icons.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__), false );
|
232 |
Â
if( get_option('mo_openid_fonawesome_load') == 1)
|
233 |
Â
wp_enqueue_style( 'mo-openid-sl-wp-font-awesome',plugins_url('includes/css/mo-font-awesome.min.css', __FILE__), false );
|
234 |
+
wp_enqueue_style( 'mo_openid_admin_settings_style', plugins_url('includes/css/mo_openid_style.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__));
|
Â
|
|
235 |
Â
|
236 |
Â
$html = '';
|
237 |
Â
$selected_theme = isset( $atts['shape'] )? esc_attr($atts['shape']) : esc_attr(get_option('mo_openid_share_theme'));
|
241 |
Â
$custom_theme = isset( $atts['theme'] )? esc_attr($atts['theme']) : esc_attr(get_option('mo_openid_share_custom_theme'));
|
242 |
Â
$fontColor = isset( $atts['fontcolor'] )? esc_attr($atts['fontcolor']) : esc_attr(get_option('mo_sharing_icon_custom_font'));
|
243 |
Â
$spaceBetweenIcons = isset( $atts['space'] )? esc_attr($atts['space']) : '10';
|
Â
|
|
244 |
Â
$alignment = isset( $atts['alignment'] )? esc_attr($atts['alignment']) : 'left';
|
245 |
Â
$left_offset = isset( $atts['leftoffset'] )? esc_attr($atts['leftoffset']) : '20';
|
246 |
Â
$right_offset = isset( $atts['rightoffset'] )? esc_attr($atts['rightoffset']) : '10';
|
247 |
Â
$top_offset = isset( $atts['topoffset'] )? esc_attr($atts['topoffset']) : '100';
|
Â
|
|
Â
|
|
248 |
Â
$twitter_username = esc_attr(get_option('mo_openid_share_twitter_username'));
|
249 |
+
$url = isset( $atts['url'])? esc_url($atts['url']) : esc_url(get_site_url());
|
Â
|
|
250 |
Â
$email_subject = esc_attr(get_option('mo_openid_share_email_subject'));
|
251 |
+
$title = esc_attr(get_the_title());
|
252 |
Â
$email_body = get_option('mo_openid_share_email_body');
|
253 |
Â
$email_body = str_replace('##url##', $url, $email_body);
|
254 |
Â
|
255 |
+
global $share_apps;
|
256 |
+
$share_apps = array("facebook" => array( "#1877F2" => 'https://www.facebook.com/sharer/sharer.php?u='.$url.'&src=sdkpreparse'),
|
257 |
+
"twitter" => array( "#2795e9" => empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username),
|
258 |
+
"google" => array( "#DB4437" => 'https://plus.google.com/share?url='.$url),
|
259 |
+
"vkontakte" => array( "#466482" => 'https://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt),
|
260 |
+
"linkedin" => array( "#007bb6" => 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt),
|
261 |
+
"tumblr" => array( "#34465d" => 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title.'&description='.$title),
|
262 |
+
"stumble" => array( "#eb4924" => 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title),
|
263 |
+
"reddit" => array( "#ff4301" => 'http://www.reddit.com/submit?url='.$url.'&title='.$title),
|
264 |
+
"pinterest" => array( "#cb2027" => 'javascript:pinIt();'),
|
265 |
+
"pocket" => array( "#ff5700" => 'https://getpocket.com/save?url='.$url.'&title='.$title),
|
266 |
+
"digg" => array( "#000000" => 'http://digg.com/submit?url='.$url.'&title='.$title),
|
267 |
+
"delicious" => array( "#205cc0" => 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title),
|
268 |
+
"odnoklassniki" => array( "#ed812b" => 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$title.'&st._surl='.$url),
|
269 |
+
"mail" => array( "#00acee" => "mailto:?subject=".$title."&body=".$url),
|
270 |
+
"print" => array( "#e0205a" => "javascript:window.print()"),
|
271 |
+
"whatsapp" => array( "#25D366" => "https://web.whatsapp.com/send?text=".$url),
|
272 |
+
"amazon" => array( "#ff9900" => 'http://www.amazon.com/wishlist/add?u='.$url.'&title='.$title),
|
273 |
+
"telegram" => array( "#0088cc" => 'https://telegram.me/share/?url='.$url.'&title='.$title),
|
274 |
+
"line" => array( "#329555" => 'https://social-plugins.line.me/lineit/share?u=%encoded_post_url=' .$url. '%&title='.$title),
|
275 |
+
"yahoo_mail" => array( "#430297" => '//compose.mail.yahoo.com/?subject='.$title.'&body='.$url ),
|
276 |
+
"instapaper" => array( "#000000" => 'http://www.instapaper.com/edit?u='.$url. '&title='.$title),
|
277 |
+
"livejournal" => array( "#306599" => 'http://www.livejournal.com/update.bml?subject='.$title. '&body='.$url),
|
278 |
+
"mix" => array( "#FF0000" => 'https://mix.com/mixit?url='.$url),
|
279 |
+
"aol_mail" => array( "#0060a3" => 'http://webmail.aol.com/25045/aol/en-us/Mail/compose-message.aspx?subject=' .$title. '&body='.$url),
|
280 |
+
"mewe" => array( "#409d16" => 'https://mewe.com/share?link='.$url),
|
281 |
+
"qzone" => array( "#e8ff00" => 'http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?u=%encoded_post_url='.$url),
|
282 |
+
"google_gmail" => array( "#004f9f" => 'https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&su='.$title. '&body='.$url),
|
283 |
+
"typepad_post" => array( "#04800c" => 'https://www.typepad.com/services/quickpost/post?v=2&qp_show=ac&qp_title='.$title. '&qp_href='.$url),
|
284 |
+
"fark" => array( "#654321" => 'https://www.fark.com/submit?new_url='.$url),
|
285 |
+
"google_bookmark" => array( "#3b3b38" => 'https://www.google.com/bookmarks/mark?op=edit&bkmk='.$url. '&title='.$title),
|
286 |
+
"fintel" => array( "#24a0ed" => 'https://fintel.io/submit?url=' .$url),
|
287 |
+
"mendeley" => array( "#008080" => 'https://www.mendeley.com/sign-in/'),
|
288 |
+
"slashdot" => array( "#126A70" => '//slashdot.org/submission?url='.$url),
|
289 |
+
"wanelo" => array( "#FFF700" => '//wanelo.com/p/post?bookmarklet=&images%5B%5D=&url='.$url.'&title='.$title),
|
290 |
+
"google_classroom" => array( "#F5BA14" => 'https://classroom.google.com/u/0/share?url='.$url),
|
291 |
+
"yummly" => array( "#F0780E" => 'http://www.yummly.com/urb/verify?url='.$url.' &title='.$title),
|
292 |
+
"hacker_news" => array( "#FF6600" => 'https://news.ycombinator.com/submitlink?url='.$url.' &title='.$title),
|
293 |
+
"kakao" => array( "#ffe812" => 'https://story.kakao.com/share?url='.$url),
|
294 |
+
"plurk" => array( "#f00" => '//www.plurk.com/m?content='.$url. '&qualifier='.$title),
|
295 |
+
"trello" => array( "#0079bf" => 'https://trello.com/add-card?mode=popup&url='. $url. '&name='.$title. '&desc='),
|
296 |
+
"wykop" => array( "#266F" => '//www.wykop.pl/dodaj?url='.$url.'&title='.$title),
|
297 |
+
"sina_weibo" => array( "#df2029" => '//service.weibo.com/share/share.php?url='. $url. '&title='. $title),
|
298 |
+
"renren" => array( "#2500B8" => '//www.connect.renren.com/share/sharer?url='.$url. '&title='.$title),
|
299 |
+
"buffer" => array( "#000000" => 'https://buffer.com/add?url='.$url. '&title='.$title) );
|
300 |
Â
|
301 |
Â
$html .= "<div class='mo_openid_vertical' style='" .(isset($alignment) && $alignment != '' ? $alignment .': '. (${$alignment.'_offset'} == '' ? 0 : ${$alignment.'_offset'} ) .'px;' : '').(isset($top_offset) ? 'top: '. ( $top_offset == '' ? 0 : $top_offset ) .'px;' : '') ."'>";
|
302 |
Â
|
306 |
Â
$html .= "<div id='mo_floating_vertical_shortcode'>";
|
307 |
Â
if($custom_theme == 'custom'){
|
308 |
Â
|
309 |
+
foreach($share_apps as $share_app => $share_colors){
|
310 |
+
foreach($share_colors as $share_color => $share_link){
|
311 |
+
$share_icon = "fab fa-".$share_app;
|
312 |
+
if($share_app == "vkontakte"){
|
313 |
+
$share_icon = "fab fa-vk";
|
314 |
+
}
|
315 |
+
if($share_app == "stumble"){
|
316 |
+
$share_icon = "fab fa-stumbleupon";
|
317 |
+
}
|
318 |
+
if($share_app == "pocket"){
|
319 |
+
$share_icon = "fab fa-get-pocket";
|
320 |
+
}
|
321 |
+
if($share_app == "mail"){
|
322 |
+
$share_icon = "far fa-envelope";
|
323 |
+
}
|
324 |
+
if($share_app == "print"){
|
325 |
+
$share_icon = "fas fa-print ";
|
326 |
+
}
|
327 |
+
if( get_option('mo_openid_'.$share_app.'_share_enable') ) {
|
328 |
+
$html .= "<a rel='nofollow' title='".$share_app."' onclick='popupCenter(" . '"' . $share_link . '"' .", 1000, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " ".$share_icon."' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
329 |
+
}
|
330 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
331 |
Â
}
|
Â
|
|
Â
|
|
332 |
Â
|
333 |
Â
}
|
334 |
Â
|
335 |
Â
else if($custom_theme == 'customFont') {
|
336 |
Â
|
337 |
+
foreach($share_apps as $share_app => $share_colors){
|
338 |
+
foreach($share_colors as $share_color => $share_link){
|
339 |
+
$share_icon = "fab fa-".$share_app;
|
340 |
+
if($share_app == "vkontakte"){
|
341 |
+
$share_icon = "fab fa-vk";
|
342 |
+
}
|
343 |
+
if($share_app == "stumble"){
|
344 |
+
$share_icon = "fab fa-stumbleupon";
|
345 |
+
}
|
346 |
+
if($share_app == "pocket"){
|
347 |
+
$share_icon = "fab fa-get-pocket";
|
348 |
+
}
|
349 |
+
if($share_app == "mail"){
|
350 |
+
$share_icon = "far fa-envelope";
|
351 |
+
}
|
352 |
+
if($share_app == "print"){
|
353 |
+
$share_icon = "fas fa-print ";
|
354 |
+
}
|
355 |
+
if( get_option('mo_openid_'.$share_app.'_share_enable') ) {
|
356 |
+
$html .= "<a rel='nofollow' title='".$share_app."' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='".$share_icon."' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
357 |
+
}
|
358 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
359 |
Â
}
|
Â
|
|
Â
|
|
360 |
Â
|
361 |
Â
}
|
362 |
Â
|
363 |
Â
else {
|
364 |
Â
|
365 |
+
foreach($share_apps as $share_app => $share_colors){
|
366 |
+
foreach($share_colors as $share_color => $share_link){
|
367 |
+
$share_icon = "fab fa-".$share_app;
|
368 |
+
if($share_app == "vkontakte"){
|
369 |
+
$share_icon = "fab fa-vk";
|
370 |
+
}
|
371 |
+
if($share_app == "stumble"){
|
372 |
+
$share_icon = "fab fa-stumbleupon";
|
373 |
+
}
|
374 |
+
if($share_app == "pocket"){
|
375 |
+
$share_icon = "fab fa-get-pocket";
|
376 |
+
}
|
377 |
+
if($share_app == "mail"){
|
378 |
+
$share_icon = "far fa-envelope";
|
379 |
+
}
|
380 |
+
if($share_app == "print"){
|
381 |
+
$share_icon = "fas fa-print ";
|
382 |
+
}
|
383 |
+
if( get_option('mo_openid_'.$share_app.'_share_enable') ) {
|
384 |
+
$html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $share_link . '"' .", 1000, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " ".$share_icon."' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$share_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
385 |
+
}
|
386 |
+
}
|
387 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
388 |
Â
|
389 |
Â
}
|
390 |
Â
$html .= "</div>";
|
427 |
Â
|
428 |
Â
return $html;
|
429 |
Â
|
430 |
+
}
|
Â
|
includes/css/bootstrap-social.css
CHANGED
@@ -35,6 +35,9 @@
|
|
35 |
Â
.mo_btn-facebook:active,.mo_btn-facebook.active,.open>.dropdown-toggle.mo_btn-facebook{background-image:none}
|
36 |
Â
.mo_btn-facebook.disabled,.mo_btn-facebook[disabled],fieldset[disabled] .mo_btn-facebook,.mo_btn-facebook.disabled:hover,.mo_btn-facebook[disabled]:hover,fieldset[disabled] .mo_btn-facebook:hover,.mo_btn-facebook.disabled:focus,.mo_btn-facebook[disabled]:focus,fieldset[disabled] .mo_btn-facebook:focus,.mo_btn-facebook.disabled:active,.mo_btn-facebook[disabled]:active,fieldset[disabled] .mo_btn-facebook:active,.mo_btn-facebook.disabled.active,.mo_btn-facebook[disabled].active,fieldset[disabled] .mo_btn-facebook.active{background-color:#1877F2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1877F2,#1877F2) !important;}
|
37 |
Â
.mo_btn-facebook .badge{color:#1877F2;background-color:#fff}
|
Â
|
|
Â
|
|
Â
|
|
38 |
Â
.mo_btn-flickr{color:#fff !important;background-color:#ff0084;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ff0084,#ff0084) !important;}.mo_btn-flickr:hover,.mo_btn-flickr:focus,.mo_btn-flickr:active,.mo_btn-flickr.active,.open>.dropdown-toggle.mo_btn-flickr{color:#fff;background-color:#cc006a;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#cc006a,#cc006a) !important;}
|
39 |
Â
.mo_btn-flickr:active,.mo_btn-flickr.active,.open>.dropdown-toggle.mo_btn-flickr{background-image:none}
|
40 |
Â
.mo_btn-flickr.disabled,.mo_btn-flickr[disabled],fieldset[disabled] .mo_btn-flickr,.mo_btn-flickr.disabled:hover,.mo_btn-flickr[disabled]:hover,fieldset[disabled] .mo_btn-flickr:hover,.mo_btn-flickr.disabled:focus,.mo_btn-flickr[disabled]:focus,fieldset[disabled] .mo_btn-flickr:focus,.mo_btn-flickr.disabled:active,.mo_btn-flickr[disabled]:active,fieldset[disabled] .mo_btn-flickr:active,.mo_btn-flickr.disabled.active,.mo_btn-flickr[disabled].active,fieldset[disabled] .mo_btn-flickr.active{background-color:#ff0084;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ff0084,#ff0084) !important;}
|
@@ -47,18 +50,27 @@
|
|
47 |
Â
.mo_btn-github:active,.mo_btn-github.active,.open>.dropdown-toggle.mo_btn-github{background-image:none}
|
48 |
Â
.mo_btn-github.disabled,.mo_btn-github[disabled],fieldset[disabled] .mo_btn-github,.mo_btn-github.disabled:hover,.mo_btn-github[disabled]:hover,fieldset[disabled] .mo_btn-github:hover,.mo_btn-github.disabled:focus,.mo_btn-github[disabled]:focus,fieldset[disabled] .mo_btn-github:focus,.mo_btn-github.disabled:active,.mo_btn-github[disabled]:active,fieldset[disabled] .mo_btn-github:active,.mo_btn-github.disabled.active,.mo_btn-github[disabled].active,fieldset[disabled] .mo_btn-github.active{background-color:#444;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#444,#444) !important;}
|
49 |
Â
.mo_btn-github .badge{color:#444;background-color:#fff}
|
50 |
-
.mo_btn-google{color:#fff !important;background-color:#4285F4;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#4285F4,#4285F4) !important;}.mo_btn-google:
|
51 |
Â
.mo_btn-google:active,.mo_btn-google.active,.open>.dropdown-toggle.mo_btn-google{background-image:none}
|
52 |
-
.mo_btn-google.disabled,.mo_btn-google[disabled],fieldset[disabled] .mo_btn-google,.mo_btn-google.disabled:hover,.mo_btn-google[disabled]:hover,fieldset[disabled] .mo_btn-google:hover,.mo_btn-google.disabled:focus,.mo_btn-google[disabled]:focus,fieldset[disabled] .mo_btn-google:focus,.mo_btn-google.disabled:active,.mo_btn-google[disabled]:active,fieldset[disabled] .mo_btn-google:active,.mo_btn-google.disabled.active,.mo_btn-google[disabled].active,fieldset[disabled] .mo_btn-google.active{background-color:#
|
53 |
-
.mo_btn-google .badge{color:#
|
Â
|
|
Â
|
|
Â
|
|
54 |
Â
.mo_btn-instagram{color:#fff!important;background-color:#3f729b;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#3f729b,#3f729b) !important;}.mo_btn-instagram:hover,.mo_btn-instagram:focus,.mo_btn-instagram:active,.mo_btn-instagram.active,.open>.dropdown-toggle.mo_btn-instagram{color:#fff;background-color:#305777;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#305777,#305777) !important;}
|
55 |
Â
.mo_btn-instagram:active,.mo_btn-instagram.active,.open>.dropdown-toggle.mo_btn-instagram{background-image:none}
|
56 |
Â
.mo_btn-instagram.disabled,.mo_btn-instagram[disabled],fieldset[disabled] .mo_btn-instagram,.mo_btn-instagram.disabled:hover,.mo_btn-instagram[disabled]:hover,fieldset[disabled] .mo_btn-instagram:hover,.mo_btn-instagram.disabled:focus,.mo_btn-instagram[disabled]:focus,fieldset[disabled] .mo_btn-instagram:focus,.mo_btn-instagram.disabled:active,.mo_btn-instagram[disabled]:active,fieldset[disabled] .mo_btn-instagram:active,.mo_btn-instagram.disabled.active,.mo_btn-instagram[disabled].active,fieldset[disabled] .mo_btn-instagram.active{background-color:#3f729b;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#3f729b,#3f729b) !important;}
|
57 |
Â
.mo_btn-instagram .badge{color:#3f729b;background-color:#fff}
|
Â
|
|
Â
|
|
Â
|
|
58 |
Â
.mo_btn-linkedin{color:#fff !important;background-color:#007bb6;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#007bb6,#007bb6) !important;}.mo_btn-linkedin:hover,.mo_btn-linkedin:focus,.mo_btn-linkedin:active,.mo_btn-linkedin.active,.open>.dropdown-toggle.mo_btn-linkedin{color:#fff;background-color:#005983;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#005983,#005983) !important;}
|
59 |
Â
.mo_btn-linkedin:active,.mo_btn-linkedin.active,.open>.dropdown-toggle.mo_btn-linkedin{background-image:none}
|
60 |
Â
.mo_btn-linkedin.disabled,.mo_btn-linkedin[disabled],fieldset[disabled] .mo_btn-linkedin,.mo_btn-linkedin.disabled:hover,.mo_btn-linkedin[disabled]:hover,fieldset[disabled] .mo_btn-linkedin:hover,.mo_btn-linkedin.disabled:focus,.mo_btn-linkedin[disabled]:focus,fieldset[disabled] .mo_btn-linkedin:focus,.mo_btn-linkedin.disabled:active,.mo_btn-linkedin[disabled]:active,fieldset[disabled] .mo_btn-linkedin:active,.mo_btn-linkedin.disabled.active,.mo_btn-linkedin[disabled].active,fieldset[disabled] .mo_btn-linkedin.active{background-color:#007bb6;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#007bb6,#007bb6) !important;}
|
61 |
Â
.mo_btn-linkedin .badge{color:#007bb6;background-color:#fff}
|
Â
|
|
Â
|
|
Â
|
|
62 |
Â
.mo_btn-microsoft{color:#fff !important;background-color:#2672ec;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2672ec,#2672ec) !important;}.mo_btn-microsoft:hover,.mo_btn-microsoft:focus,.mo_btn-microsoft:active,.mo_btn-microsoft.active,.open>.dropdown-toggle.mo_btn-microsoft{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#125acd,#125acd) !important;}
|
63 |
Â
.mo_btn-microsoft:active,.mo_btn-microsoft.active,.open>.dropdown-toggle.mo_btn-microsoft{background-image:none}
|
64 |
Â
.mo_btn-microsoft.disabled,.mo_btn-microsoft[disabled],fieldset[disabled] .mo_btn-microsoft,.mo_btn-microsoft.disabled:hover,.mo_btn-microsoft[disabled]:hover,fieldset[disabled] .mo_btn-microsoft:hover,.mo_btn-microsoft.disabled:focus,.mo_btn-microsoft[disabled]:focus,fieldset[disabled] .mo_btn-microsoft:focus,.mo_btn-microsoft.disabled:active,.mo_btn-microsoft[disabled]:active,fieldset[disabled] .mo_btn-microsoft:active,.mo_btn-microsoft.disabled.active,.mo_btn-microsoft[disabled].active,fieldset[disabled] .mo_btn-microsoft.active{background-color:#2672ec;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2672ec,#2672ec) !important;}
|
@@ -75,18 +87,26 @@
|
|
75 |
Â
.mo_btn-reddit:active,.mo_btn-reddit.active,.open>.dropdown-toggle.mo_btn-reddit{background-image:none}
|
76 |
Â
.mo_btn-reddit.disabled,.mo_btn-reddit[disabled],fieldset[disabled] .mo_btn-reddit,.mo_btn-reddit.disabled:hover,.mo_btn-reddit[disabled]:hover,fieldset[disabled] .mo_btn-reddit:hover,.mo_btn-reddit.disabled:focus,.mo_btn-reddit[disabled]:focus,fieldset[disabled] .mo_btn-reddit:focus,.mo_btn-reddit.disabled:active,.mo_btn-reddit[disabled]:active,fieldset[disabled] .mo_btn-reddit:active,.mo_btn-reddit.disabled.active,.mo_btn-reddit[disabled].active,fieldset[disabled] .mo_btn-reddit.active{background-color:#CEE3F8;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#CEE3F8,#CEE3F8) !important;}
|
77 |
Â
.mo_btn-reddit .badge{color:#CEE3F8;background-color:#000}
|
78 |
-
.mo_btn-
|
79 |
-
.mo_btn-
|
80 |
-
.mo_btn-
|
81 |
-
.mo_btn-
|
Â
|
|
Â
|
|
Â
|
|
82 |
Â
.mo_btn-tumblr{color:#fff;background-color:#2c4762;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2c4762,#2c4762) !important;}.mo_btn-tumblr:hover,.mo_btn-tumblr:focus,.mo_btn-tumblr:active,.mo_btn-tumblr.active,.open>.dropdown-toggle.mo_btn-tumblr{color:#fff;background-color:#1c2d3f;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1c2d3f,#1c2d3f) !important;}
|
83 |
Â
.mo_btn-tumblr:active,.mo_btn-tumblr.active,.open>.dropdown-toggle.mo_btn-tumblr{background-image:none}
|
84 |
Â
.mo_btn-tumblr.disabled,.mo_btn-tumblr[disabled],fieldset[disabled] .mo_btn-tumblr,.mo_btn-tumblr.disabled:hover,.mo_btn-tumblr[disabled]:hover,fieldset[disabled] .mo_btn-tumblr:hover,.mo_btn-tumblr.disabled:focus,.mo_btn-tumblr[disabled]:focus,fieldset[disabled] .mo_btn-tumblr:focus,.mo_btn-tumblr.disabled:active,.mo_btn-tumblr[disabled]:active,fieldset[disabled] .mo_btn-tumblr:active,.mo_btn-tumblr.disabled.active,.mo_btn-tumblr[disabled].active,fieldset[disabled] .mo_btn-tumblr.active{background-color:#2c4762;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2c4762,#2c4762) !important;}
|
85 |
Â
.mo_btn-tumblr .badge{color:#2c4762;background-color:#fff}
|
Â
|
|
86 |
Â
.mo_btn-twitter{color:#fff !important;background-color:#55acee;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#55acee,#55acee) !important;}.mo_btn-twitter:hover,.mo_btn-twitter:focus,.mo_btn-twitter:active,.mo_btn-twitter.active,.open>.dropdown-toggle.mo_btn-twitter{color:#fff;background-color:#2795e9;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2795e9,#2795e9) !important;}
|
87 |
Â
.mo_btn-twitter:active,.mo_btn-twitter.active,.open>.dropdown-toggle.mo_btn-twitter{background-image:none}
|
88 |
Â
.mo_btn-twitter.disabled,.mo_btn-twitter[disabled],fieldset[disabled] .mo_btn-twitter,.mo_btn-twitter.disabled:hover,.mo_btn-twitter[disabled]:hover,fieldset[disabled] .mo_btn-twitter:hover,.mo_btn-twitter.disabled:focus,.mo_btn-twitter[disabled]:focus,fieldset[disabled] .mo_btn-twitter:focus,.mo_btn-twitter.disabled:active,.mo_btn-twitter[disabled]:active,fieldset[disabled] .mo_btn-twitter:active,.mo_btn-twitter.disabled.active,.mo_btn-twitter[disabled].active,fieldset[disabled] .mo_btn-twitter.active{background-color:#55acee;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#55acee,#55acee) !important;}
|
89 |
Â
.mo_btn-twitter .badge{color:#55acee;background-color:#fff}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
90 |
Â
.mo_btn-vimeo{color:#fff !important;background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}.mo_btn-vimeo:hover,.mo_btn-vimeo:focus,.mo_btn-vimeo:active,.mo_btn-vimeo.active,.open>.dropdown-toggle.mo_btn-vimeo{color:#fff;background-color:#1295bf;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1295bf,#1295bf) !important;}
|
91 |
Â
.mo_btn-vimeo:active,.mo_btn-vimeo.active,.open>.dropdown-toggle.mo_btn-vimeo{background-image:none}
|
92 |
Â
.mo_btn-vimeo.disabled,.mo_btn-vimeo[disabled],fieldset[disabled] .mo_btn-vimeo,.mo_btn-vimeo.disabled:hover,.mo_btn-vimeo[disabled]:hover,fieldset[disabled] .mo_btn-vimeo:hover,.mo_btn-vimeo.disabled:focus,.mo_btn-vimeo[disabled]:focus,fieldset[disabled] .mo_btn-vimeo:focus,.mo_btn-vimeo.disabled:active,.mo_btn-vimeo[disabled]:active,fieldset[disabled] .mo_btn-vimeo:active,.mo_btn-vimeo.disabled.active,.mo_btn-vimeo[disabled].active,fieldset[disabled] .mo_btn-vimeo.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}
|
@@ -95,14 +115,23 @@
|
|
95 |
Â
.mo_btn-kakao:active,.mo_btn-kakao.active,.open>.dropdown-toggle.mo_btn-kakao{background-image:none}
|
96 |
Â
.mo_btn-kakao.disabled,.mo_btn-kakao[disabled],fieldset[disabled] .mo_btn-kakao,.mo_btn-kakao.disabled:hover,.mo_btn-kakao[disabled]:hover,fieldset[disabled] .mo_btn-kakao:hover,.mo_btn-kakao.disabled:focus,.mo_btn-kakao[disabled]:focus,fieldset[disabled] .mo_btn-kakao:focus,.mo_btn-kakao.disabled:active,.mo_btn-kakao[disabled]:active,fieldset[disabled] .mo_btn-kakao:active,.mo_btn-kakao.disabled.active,.mo_btn-kakao[disabled].active,fieldset[disabled] .mo_btn-kakao.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}
|
97 |
Â
.mo_btn-kakao .badge{color:#1ab7ea;background-color:#fff}
|
Â
|
|
98 |
Â
.mo_btn-vk{color:#fff !important;background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}.mo_btn-vk:hover,.mo_btn-vk:focus,.mo_btn-vk:active,.mo_btn-vk.active,.open>.dropdown-toggle.mo_btn-vk{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#466482,#466482) !important;}
|
99 |
Â
.mo_btn-vk:active,.mo_btn-vk.active,.open>.dropdown-toggle.mo_btn-vk{background-image:none}
|
100 |
Â
.mo_btn-vk.disabled,.mo_btn-vk[disabled],fieldset[disabled] .mo_btn-vk,.mo_btn-vk.disabled:hover,.mo_btn-vk[disabled]:hover,fieldset[disabled] .mo_btn-vk:hover,.mo_btn-vk.disabled:focus,.mo_btn-vk[disabled]:focus,fieldset[disabled] .mo_btn-vk:focus,.mo_btn-vk.disabled:active,.mo_btn-vk[disabled]:active,fieldset[disabled] .mo_btn-vk:active,.mo_btn-vk.disabled.active,.mo_btn-vk[disabled].active,fieldset[disabled] .mo_btn-vk.active{background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}
|
101 |
Â
.mo_btn-vk .badge{color:#587ea3;background-color:#fff}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
102 |
Â
.mo_btn-yahoo{color:#fff !important;background-color:#720e9e;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#720e9e,#720e9e) !important;}.mo_btn-yahoo:hover,.mo_btn-yahoo:focus,.mo_btn-yahoo:active,.mo_btn-yahoo.active,.open>.dropdown-toggle.mo_btn-yahoo{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#500a6f,#500a6f) !important;}
|
103 |
Â
.mo_btn-yahoo:active,.mo_btn-yahoo.active,.open>.dropdown-toggle.mo_btn-yahoo{background-image:none}
|
104 |
Â
.mo_btn-yahoo.disabled,.mo_btn-yahoo[disabled],fieldset[disabled] .mo_btn-yahoo,.mo_btn-yahoo.disabled:hover,.mo_btn-yahoo[disabled]:hover,fieldset[disabled] .mo_btn-yahoo:hover,.mo_btn-yahoo.disabled:focus,.mo_btn-yahoo[disabled]:focus,fieldset[disabled] .mo_btn-yahoo:focus,.mo_btn-yahoo.disabled:active,.mo_btn-yahoo[disabled]:active,fieldset[disabled] .mo_btn-yahoo:active,.mo_btn-yahoo.disabled.active,.mo_btn-yahoo[disabled].active,fieldset[disabled] .mo_btn-yahoo.active{background-color:#720e9e;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#720e9e,#720e9e) !important;}
|
105 |
Â
.mo_btn-yahoo .badge{color:#720e9e;background-color:#fff}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
106 |
Â
.mo_btn-wordpress{color:#fff !important;background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}.mo_btn-wordpress:hover,.mo_btn-wordpress:focus,.mo_btn-wordpress:active,.mo_btn-wordpress.active,.open>.dropdown-toggle.mo_btn-wordpress{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#466482,#466482) !important;}
|
107 |
Â
.mo_btn-wordpress:active,.mo_btn-wordpress.active,.open>.dropdown-toggle.mo_btn-wordpress{background-image:none}
|
108 |
Â
.mo_btn-wordpress.disabled,.mo_btn-wordpress[disabled],fieldset[disabled] .mo_btn-wordpress,.mo_btn-wordpress.disabled:hover,.mo_btn-wordpress[disabled]:hover,fieldset[disabled] .mo_btn-wordpress:hover,.mo_btn-wordpress.disabled:focus,.mo_btn-wordpress[disabled]:focus,fieldset[disabled] .mo_btn-wordpress:focus,.mo_btn-wordpress.disabled:active,.mo_btn-wordpress[disabled]:active,fieldset[disabled] .mo_btn-wordpress:active,.mo_btn-wordpress.disabled.active,.mo_btn-wordpress[disabled].active,fieldset[disabled] .mo_btn-wordpress.active{background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}
|
@@ -124,13 +153,38 @@
|
|
124 |
Â
.mo_btn-snapchat.disabled,.mo_btn-snapchat[disabled],fieldset[disabled] .mo_btn-snapchat,.mo_btn-snapchat.disabled:hover,.mo_btn-snapchat[disabled]:hover,fieldset[disabled] .mo_btn-snapchat:hover,.mo_btn-snapchat.disabled:focus,.mo_btn-snapchat[disabled]:focus,fieldset[disabled] .mo_btn-snapchat:focus,.mo_btn-snapchat.disabled:active,.mo_btn-snapchat[disabled]:active,fieldset[disabled] .mo_btn-snapchat:active,.mo_btn-snapchat.disabled.active,.mo_btn-snapchat[disabled].active,fieldset[disabled] .mo_btn-snapchat.active{background-color:#FFFC00;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#FFFC00,#FFFC00) !important;}
|
125 |
Â
.mo_btn-snapchat .badge{color:#FFFC00;background-color:#fff}
|
126 |
Â
.mo_btn-snapchat-white{color:#000000 !important;background-color:#FFFC00;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-snapchat-white:hover,.mo_btn-snapchat-white:focus,.mo_btn-snapchat-white:active,.mo_btn-snapchat-white.active,.open>.dropdown-toggle.mo_btn-snapchat-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
|
Â
|
|
Â
|
|
Â
|
|
127 |
Â
.mo_btn-dribbble{color:#fff !important;background-color:#ee66aa;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ee66aa,#ee66aa) !important;}.mo_btn-dribbble:hover,.mo_btn-dribbble:focus,.mo_btn-dribbble:active,.mo_btn-dribbble.active,.open>.dropdown-toggle.mo_btn-dribbble{color:#fff;background-color:#ee66aa;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ee66aa,#ee66aa) !important;}
|
128 |
Â
.mo_btn-dribbble:active,.mo_btn-dribbble.active,.open>.dropdown-toggle.mo_btn-dribbble{background-image:none}
|
129 |
Â
.mo_btn-dribbble.disabled,.mo_btn-dribbble[disabled],fieldset[disabled].mo_btn-dribbble,.mo_btn-dribbble.disabled:hover,.mo_btn-dribbble[disabled]:hover,fieldset[disabled] .mo_btn-dribbble:hover,.mo_btn-dribbble.disabled:focus,.mo_btn-dribbble[disabled]:focus,fieldset[disabled] .mo_btn-dribbble:focus,.mo_btn-dribbble.disabled:active,.mo_btn-dribbble[disabled]:active,fieldset[disabled] .mo_btn-dribbble:active,.mo_btn-dribbble.disabled.active,.mo_btn-dribbble[disabled].active,fieldset[disabled] .mo_btn-dribbble.active{background-color:#ee66aa;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ee66aa,#ee66aa) !important;}
|
130 |
Â
.mo_btn-dribbble .badge{color:#ee66aa;background-color:#fff}
|
131 |
Â
.mo_btn-dribbble-white{color:#000000 !important;background-color:#ee66aa;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-dribbble-white:hover,.mo_btn-dribbble-white:focus,.mo_btn-dribbble-white:active,.mo_btn-dribbble-white.active,.open>.dropdown-toggle.mo_btn-dribbble-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
132 |
Â
.mo_btn-discord{color:#fff !important;background-color:#7289da;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#7289da,#7289da) !important;}.mo_btn-discord:hover,.mo_btn-discord:focus,.mo_btn-discord:active,.mo_btn-discord.active,.open>.dropdown-toggle.mo_btn-discord{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#500a6f,#500a6f) !important;}
|
133 |
Â
.mo_btn-discord:active,.mo_btn-discord.active,.open>.dropdown-toggle.mo_btn-discord{background-image:none}
|
134 |
Â
.mo_btn-discord.disabled,.mo_btn-discord[disabled],fieldset[disabled].mo_btn-discord,.mo_btn-discord.disabled:hover,.mo_btn-discord[disabled]:hover,fieldset[disabled] .mo_btn-discord:hover,.mo_btn-discord.disabled:focus,.mo_btn-discord[disabled]:focus,fieldset[disabled] .mo_btn-discord:focus,.mo_btn-discord.disabled:active,.mo_btn-discord[disabled]:active,fieldset[disabled] .mo_btn-discord:active,.mo_btn-discord.disabled.active,.mo_btn-discord[disabled].active,fieldset[disabled] .mo_btn-discord.active{background-color:#7289da;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#7289da,#7289da) !important;}
|
135 |
Â
.mo_btn-discord .badge{color:#7289da;background-color:#fff}
|
136 |
Â
.mo_btn-discord-white{color:#000000 !important;background-color:#7289da;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-discord-white:hover,.mo_btn-discord-white:focus,.mo_btn-discord-white:active,.mo_btn-discord-white.active,.open>.dropdown-toggle.mo_btn-discord-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
35 |
Â
.mo_btn-facebook:active,.mo_btn-facebook.active,.open>.dropdown-toggle.mo_btn-facebook{background-image:none}
|
36 |
Â
.mo_btn-facebook.disabled,.mo_btn-facebook[disabled],fieldset[disabled] .mo_btn-facebook,.mo_btn-facebook.disabled:hover,.mo_btn-facebook[disabled]:hover,fieldset[disabled] .mo_btn-facebook:hover,.mo_btn-facebook.disabled:focus,.mo_btn-facebook[disabled]:focus,fieldset[disabled] .mo_btn-facebook:focus,.mo_btn-facebook.disabled:active,.mo_btn-facebook[disabled]:active,fieldset[disabled] .mo_btn-facebook:active,.mo_btn-facebook.disabled.active,.mo_btn-facebook[disabled].active,fieldset[disabled] .mo_btn-facebook.active{background-color:#1877F2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1877F2,#1877F2) !important;}
|
37 |
Â
.mo_btn-facebook .badge{color:#1877F2;background-color:#fff}
|
38 |
+
.mo_btn-facebook-white{color:#000000 !important;background-color:#1877F2;border-color:rgba(0,0,0,0);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-facebook-white:hover,.mo_btn-facebook-white:focus,.mo_btn-facebook-white:active,.mo_btn-facebook-white.active,.open>.dropdown-toggle.mo_btn-facebook-white{color:#000000;background-color:#1877F2;border-color:rgba(0,0,0,0);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
|
39 |
+
.mo_btn-facebook-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-facebook-hov:hover,.mo_btn-facebook-hov:hover i{color:#FFFFFF !important;background-color:#1877F2;border-color:#1877F2 !important;}.mo_openid_ifacebook-hov{color:#1877f2;}.mo_openid_ifacebook-hov:hover{color:#FFFFFF !important;background:#1877f2!important;border-color: #1877f2!important;}
|
40 |
+
.mo_btn-mo-facebook{color: #1877f2;background-color: #FFFFFF}.mo_btn-mo-facebook:hover{color: #FFFFFF;background-color: #1877f2}
|
41 |
Â
.mo_btn-flickr{color:#fff !important;background-color:#ff0084;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ff0084,#ff0084) !important;}.mo_btn-flickr:hover,.mo_btn-flickr:focus,.mo_btn-flickr:active,.mo_btn-flickr.active,.open>.dropdown-toggle.mo_btn-flickr{color:#fff;background-color:#cc006a;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#cc006a,#cc006a) !important;}
|
42 |
Â
.mo_btn-flickr:active,.mo_btn-flickr.active,.open>.dropdown-toggle.mo_btn-flickr{background-image:none}
|
43 |
Â
.mo_btn-flickr.disabled,.mo_btn-flickr[disabled],fieldset[disabled] .mo_btn-flickr,.mo_btn-flickr.disabled:hover,.mo_btn-flickr[disabled]:hover,fieldset[disabled] .mo_btn-flickr:hover,.mo_btn-flickr.disabled:focus,.mo_btn-flickr[disabled]:focus,fieldset[disabled] .mo_btn-flickr:focus,.mo_btn-flickr.disabled:active,.mo_btn-flickr[disabled]:active,fieldset[disabled] .mo_btn-flickr:active,.mo_btn-flickr.disabled.active,.mo_btn-flickr[disabled].active,fieldset[disabled] .mo_btn-flickr.active{background-color:#ff0084;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ff0084,#ff0084) !important;}
|
50 |
Â
.mo_btn-github:active,.mo_btn-github.active,.open>.dropdown-toggle.mo_btn-github{background-image:none}
|
51 |
Â
.mo_btn-github.disabled,.mo_btn-github[disabled],fieldset[disabled] .mo_btn-github,.mo_btn-github.disabled:hover,.mo_btn-github[disabled]:hover,fieldset[disabled] .mo_btn-github:hover,.mo_btn-github.disabled:focus,.mo_btn-github[disabled]:focus,fieldset[disabled] .mo_btn-github:focus,.mo_btn-github.disabled:active,.mo_btn-github[disabled]:active,fieldset[disabled] .mo_btn-github:active,.mo_btn-github.disabled.active,.mo_btn-github[disabled].active,fieldset[disabled] .mo_btn-github.active{background-color:#444;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#444,#444) !important;}
|
52 |
Â
.mo_btn-github .badge{color:#444;background-color:#fff}
|
53 |
+
.mo_btn-google{color:#fff !important;background-color:#4285F4;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#4285F4,#4285F4) !important;}.mo_btn-google:focus,.mo_btn-google:active,.mo_btn-google.active,>.dropdown-toggle.mo_btn-google{color:#fff;background-color:#fff;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#fff,#fff) !important;}
|
54 |
Â
.mo_btn-google:active,.mo_btn-google.active,.open>.dropdown-toggle.mo_btn-google{background-image:none}
|
55 |
+
.mo_btn-google.disabled,.mo_btn-google[disabled],fieldset[disabled] .mo_btn-google,.mo_btn-google.disabled:hover,.mo_btn-google[disabled]:hover,fieldset[disabled] .mo_btn-google:hover,.mo_btn-google.disabled:focus,.mo_btn-google[disabled]:focus,fieldset[disabled] .mo_btn-google:focus,.mo_btn-google.disabled:active,.mo_btn-google[disabled]:active,fieldset[disabled] .mo_btn-google:active,.mo_btn-google.disabled.active,.mo_btn-google[disabled].active,fieldset[disabled] .mo_btn-google.active{background-color:#ffffff;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}
|
56 |
+
.mo_btn-google .badge{color:#ffffff;background-color:#4285F4}
|
57 |
+
.mo_btn-google-white{color:#000000 !important; background-color:#ffffff;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-google-white:focus,.mo_btn-google-white:active,.mo_btn-google-white.active,>.dropdown-toggle.mo_btn-google-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
|
58 |
+
.mo_btn-google-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-google-hov:hover,.mo_btn-google-hov:hover i{color:#FFFFFF !important;background-color:#DB4437;border-color:#DB4437 !important;}.mo_openid_igoogle-hov{color:#DB4437;}.mo_openid_igoogle-hov:hover{color:#FFFFFF !important;background:#DB4437!important;border-color:#DB4437 !important }
|
59 |
+
.mo_btn-mo-google{color: #DB4437;background-color: #FFFFFF}.mo_btn-mo-google:hover{color: #FFFFFF;background-color: #DB4437}
|
60 |
Â
.mo_btn-instagram{color:#fff!important;background-color:#3f729b;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#3f729b,#3f729b) !important;}.mo_btn-instagram:hover,.mo_btn-instagram:focus,.mo_btn-instagram:active,.mo_btn-instagram.active,.open>.dropdown-toggle.mo_btn-instagram{color:#fff;background-color:#305777;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#305777,#305777) !important;}
|
61 |
Â
.mo_btn-instagram:active,.mo_btn-instagram.active,.open>.dropdown-toggle.mo_btn-instagram{background-image:none}
|
62 |
Â
.mo_btn-instagram.disabled,.mo_btn-instagram[disabled],fieldset[disabled] .mo_btn-instagram,.mo_btn-instagram.disabled:hover,.mo_btn-instagram[disabled]:hover,fieldset[disabled] .mo_btn-instagram:hover,.mo_btn-instagram.disabled:focus,.mo_btn-instagram[disabled]:focus,fieldset[disabled] .mo_btn-instagram:focus,.mo_btn-instagram.disabled:active,.mo_btn-instagram[disabled]:active,fieldset[disabled] .mo_btn-instagram:active,.mo_btn-instagram.disabled.active,.mo_btn-instagram[disabled].active,fieldset[disabled] .mo_btn-instagram.active{background-color:#3f729b;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#3f729b,#3f729b) !important;}
|
63 |
Â
.mo_btn-instagram .badge{color:#3f729b;background-color:#fff}
|
64 |
+
.mo_btn-instagram-white{color:#000000 !important;background-color:#3f729b;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-instagram-white:hover,.mo_btn-instagram-white:focus,.mo_btn-instagram-white:active,.mo_btn-instagram-white.active,.open>.dropdown-toggle.mo_btn-instagram-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
|
65 |
+
.mo_btn-instagram-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-instagram-hov:hover,.mo_btn-instagram-hov:hover i{color:#FFFFFF !important;background-color:#3f729b;border-color:#3f729b;}.mo_openid_iinstagram-hov{color:#3f729b;}.mo_openid_iinstagram-hov:hover{color:#FFFFFF !important;background:#3f729b!important;border-color:#3f729b !important}
|
66 |
+
.mo_btn-mo-instagram{color: #3f729b;background-color: #FFFFFF}.mo_btn-mo-instagram:hover{color: #FFFFFF;background-color: #3f729b}
|
67 |
Â
.mo_btn-linkedin{color:#fff !important;background-color:#007bb6;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#007bb6,#007bb6) !important;}.mo_btn-linkedin:hover,.mo_btn-linkedin:focus,.mo_btn-linkedin:active,.mo_btn-linkedin.active,.open>.dropdown-toggle.mo_btn-linkedin{color:#fff;background-color:#005983;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#005983,#005983) !important;}
|
68 |
Â
.mo_btn-linkedin:active,.mo_btn-linkedin.active,.open>.dropdown-toggle.mo_btn-linkedin{background-image:none}
|
69 |
Â
.mo_btn-linkedin.disabled,.mo_btn-linkedin[disabled],fieldset[disabled] .mo_btn-linkedin,.mo_btn-linkedin.disabled:hover,.mo_btn-linkedin[disabled]:hover,fieldset[disabled] .mo_btn-linkedin:hover,.mo_btn-linkedin.disabled:focus,.mo_btn-linkedin[disabled]:focus,fieldset[disabled] .mo_btn-linkedin:focus,.mo_btn-linkedin.disabled:active,.mo_btn-linkedin[disabled]:active,fieldset[disabled] .mo_btn-linkedin:active,.mo_btn-linkedin.disabled.active,.mo_btn-linkedin[disabled].active,fieldset[disabled] .mo_btn-linkedin.active{background-color:#007bb6;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#007bb6,#007bb6) !important;}
|
70 |
Â
.mo_btn-linkedin .badge{color:#007bb6;background-color:#fff}
|
71 |
+
.mo_btn-linkedin-white{color:#000000 !important;background-color:#007bb6;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-linkedin-white:hover,.mo_btn-linkedin-white:focus,.mo_btn-linkedin-white:active,.mo_btn-linkedin-white.active,.open>.dropdown-toggle.mo_btn-linkedin-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
|
72 |
+
.mo_btn-linkedin-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-linkedin-hov:hover,.mo_btn-linkedin-hov:hover i{color:#FFFFFF !important;background-color:#007bb6;border-color:#007bb6!important;}.mo_openid_ilinkedin-hov{color:#007bb6;}.mo_openid_ilinkedin-hov:hover{color:#FFFFFF !important;background:#007bb6!important;border-color: #007bb6!important;}
|
73 |
+
.mo_btn-mo-linkedin{color: #007bb6;background-color: #FFFFFF}.mo_btn-mo-linkedin:hover{color: #FFFFFF;background-color: #007bb6}
|
74 |
Â
.mo_btn-microsoft{color:#fff !important;background-color:#2672ec;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2672ec,#2672ec) !important;}.mo_btn-microsoft:hover,.mo_btn-microsoft:focus,.mo_btn-microsoft:active,.mo_btn-microsoft.active,.open>.dropdown-toggle.mo_btn-microsoft{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#125acd,#125acd) !important;}
|
75 |
Â
.mo_btn-microsoft:active,.mo_btn-microsoft.active,.open>.dropdown-toggle.mo_btn-microsoft{background-image:none}
|
76 |
Â
.mo_btn-microsoft.disabled,.mo_btn-microsoft[disabled],fieldset[disabled] .mo_btn-microsoft,.mo_btn-microsoft.disabled:hover,.mo_btn-microsoft[disabled]:hover,fieldset[disabled] .mo_btn-microsoft:hover,.mo_btn-microsoft.disabled:focus,.mo_btn-microsoft[disabled]:focus,fieldset[disabled] .mo_btn-microsoft:focus,.mo_btn-microsoft.disabled:active,.mo_btn-microsoft[disabled]:active,fieldset[disabled] .mo_btn-microsoft:active,.mo_btn-microsoft.disabled.active,.mo_btn-microsoft[disabled].active,fieldset[disabled] .mo_btn-microsoft.active{background-color:#2672ec;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2672ec,#2672ec) !important;}
|
87 |
Â
.mo_btn-reddit:active,.mo_btn-reddit.active,.open>.dropdown-toggle.mo_btn-reddit{background-image:none}
|
88 |
Â
.mo_btn-reddit.disabled,.mo_btn-reddit[disabled],fieldset[disabled] .mo_btn-reddit,.mo_btn-reddit.disabled:hover,.mo_btn-reddit[disabled]:hover,fieldset[disabled] .mo_btn-reddit:hover,.mo_btn-reddit.disabled:focus,.mo_btn-reddit[disabled]:focus,fieldset[disabled] .mo_btn-reddit:focus,.mo_btn-reddit.disabled:active,.mo_btn-reddit[disabled]:active,fieldset[disabled] .mo_btn-reddit:active,.mo_btn-reddit.disabled.active,.mo_btn-reddit[disabled].active,fieldset[disabled] .mo_btn-reddit.active{background-color:#CEE3F8;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#CEE3F8,#CEE3F8) !important;}
|
89 |
Â
.mo_btn-reddit .badge{color:#CEE3F8;background-color:#000}
|
90 |
+
.mo_btn-amazon{color:#fff !important;background-color:#f50;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#f50,#f50) !important;}.mo_btn-amazon:hover,.mo_btn-amazon:focus,.mo_btn-amazon:active,.mo_btn-amazon.active,.open>.dropdown-toggle.mo_btn-amazon{color:#fff;background-color:#c40;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#c40,#c40) !important;}
|
91 |
+
.mo_btn-amazon:active,.mo_btn-amazon.active,.open>.dropdown-toggle.mo_btn-amazon{background-image:none}
|
92 |
+
.mo_btn-amazon.disabled,.mo_btn-amazon[disabled],fieldset[disabled] .mo_btn-amazon,.mo_btn-amazon.disabled:hover,.mo_btn-amazon[disabled]:hover,fieldset[disabled] .mo_btn-amazon:hover,.mo_btn-amazon.disabled:focus,.mo_btn-amazon[disabled]:focus,fieldset[disabled] .mo_btn-amazon:focus,.mo_btn-amazon.disabled:active,.mo_btn-amazon[disabled]:active,fieldset[disabled] .mo_btn-amazon:active,.mo_btn-amazon.disabled.active,.mo_btn-amazon[disabled].active,fieldset[disabled] .mo_btn-amazon.active{background-color:#f50;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#f50,#f50) !important;}
|
93 |
+
.mo_btn-amazon .badge{color:#f50;background-color:#fff}
|
94 |
+
.mo_btn-amazon-white{color:#000000 !important;background-color:#FFFFFF;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-amazon-white:hover,.mo_btn-amazon-white:focus,.mo_btn-amazon-white:active,.mo_btn-amazon-white.active,.open>.dropdown-toggle.mo_btn-amazon-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
|
95 |
+
.mo_btn-amazon-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-amazon-hov:hover,.mo_btn-amazon-hov:hover i{color:#FFFFFF !important;background-color:#f50;border-color:#f50!important;}.mo_openid_iamazon-hov{color:#f50;}.mo_openid_iamazon-hov:hover{color:#FFFFFF !important;background:#f50!important;border-color: #f50!important;}
|
96 |
+
.mo_btn-mo-amazon{color: #f50;background-color: #FFFFFF}.mo_btn-mo-amazon:hover{color: #FFFFFF;background-color: #f50}
|
97 |
Â
.mo_btn-tumblr{color:#fff;background-color:#2c4762;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2c4762,#2c4762) !important;}.mo_btn-tumblr:hover,.mo_btn-tumblr:focus,.mo_btn-tumblr:active,.mo_btn-tumblr.active,.open>.dropdown-toggle.mo_btn-tumblr{color:#fff;background-color:#1c2d3f;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1c2d3f,#1c2d3f) !important;}
|
98 |
Â
.mo_btn-tumblr:active,.mo_btn-tumblr.active,.open>.dropdown-toggle.mo_btn-tumblr{background-image:none}
|
99 |
Â
.mo_btn-tumblr.disabled,.mo_btn-tumblr[disabled],fieldset[disabled] .mo_btn-tumblr,.mo_btn-tumblr.disabled:hover,.mo_btn-tumblr[disabled]:hover,fieldset[disabled] .mo_btn-tumblr:hover,.mo_btn-tumblr.disabled:focus,.mo_btn-tumblr[disabled]:focus,fieldset[disabled] .mo_btn-tumblr:focus,.mo_btn-tumblr.disabled:active,.mo_btn-tumblr[disabled]:active,fieldset[disabled] .mo_btn-tumblr:active,.mo_btn-tumblr.disabled.active,.mo_btn-tumblr[disabled].active,fieldset[disabled] .mo_btn-tumblr.active{background-color:#2c4762;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2c4762,#2c4762) !important;}
|
100 |
Â
.mo_btn-tumblr .badge{color:#2c4762;background-color:#fff}
|
101 |
+
|
102 |
Â
.mo_btn-twitter{color:#fff !important;background-color:#55acee;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#55acee,#55acee) !important;}.mo_btn-twitter:hover,.mo_btn-twitter:focus,.mo_btn-twitter:active,.mo_btn-twitter.active,.open>.dropdown-toggle.mo_btn-twitter{color:#fff;background-color:#2795e9;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2795e9,#2795e9) !important;}
|
103 |
Â
.mo_btn-twitter:active,.mo_btn-twitter.active,.open>.dropdown-toggle.mo_btn-twitter{background-image:none}
|
104 |
Â
.mo_btn-twitter.disabled,.mo_btn-twitter[disabled],fieldset[disabled] .mo_btn-twitter,.mo_btn-twitter.disabled:hover,.mo_btn-twitter[disabled]:hover,fieldset[disabled] .mo_btn-twitter:hover,.mo_btn-twitter.disabled:focus,.mo_btn-twitter[disabled]:focus,fieldset[disabled] .mo_btn-twitter:focus,.mo_btn-twitter.disabled:active,.mo_btn-twitter[disabled]:active,fieldset[disabled] .mo_btn-twitter:active,.mo_btn-twitter.disabled.active,.mo_btn-twitter[disabled].active,fieldset[disabled] .mo_btn-twitter.active{background-color:#55acee;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#55acee,#55acee) !important;}
|
105 |
Â
.mo_btn-twitter .badge{color:#55acee;background-color:#fff}
|
106 |
+
.mo_btn-twitter-white{color:#000000 !important;background-color:#ffffff;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-twitter-white:hover,.mo_btn-twitter-white:focus,.mo_btn-twitter-white:active,.mo_btn-twitter-white.active,.open>.dropdown-toggle.mo_btn-twitter-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
|
107 |
+
.mo_btn-twitter-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-twitter-hov:hover,.mo_btn-twitter-hov:hover i{color:#FFFFFF !important;background-color:#55acee;border-color:#55acee !important;}.mo_openid_itwitter-hov{color:#55acee;}.mo_openid_itwitter-hov:hover{color:#FFFFFF !important;background:#55acee!important;border-color:#55acee!important; }
|
108 |
+
.mo_btn-mo-twitter{color: #55acee;background-color: #FFFFFF}.mo_btn-mo-twitter:hover{color: #FFFFFF;background-color: #55acee}
|
109 |
+
|
110 |
Â
.mo_btn-vimeo{color:#fff !important;background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}.mo_btn-vimeo:hover,.mo_btn-vimeo:focus,.mo_btn-vimeo:active,.mo_btn-vimeo.active,.open>.dropdown-toggle.mo_btn-vimeo{color:#fff;background-color:#1295bf;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1295bf,#1295bf) !important;}
|
111 |
Â
.mo_btn-vimeo:active,.mo_btn-vimeo.active,.open>.dropdown-toggle.mo_btn-vimeo{background-image:none}
|
112 |
Â
.mo_btn-vimeo.disabled,.mo_btn-vimeo[disabled],fieldset[disabled] .mo_btn-vimeo,.mo_btn-vimeo.disabled:hover,.mo_btn-vimeo[disabled]:hover,fieldset[disabled] .mo_btn-vimeo:hover,.mo_btn-vimeo.disabled:focus,.mo_btn-vimeo[disabled]:focus,fieldset[disabled] .mo_btn-vimeo:focus,.mo_btn-vimeo.disabled:active,.mo_btn-vimeo[disabled]:active,fieldset[disabled] .mo_btn-vimeo:active,.mo_btn-vimeo.disabled.active,.mo_btn-vimeo[disabled].active,fieldset[disabled] .mo_btn-vimeo.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}
|
115 |
Â
.mo_btn-kakao:active,.mo_btn-kakao.active,.open>.dropdown-toggle.mo_btn-kakao{background-image:none}
|
116 |
Â
.mo_btn-kakao.disabled,.mo_btn-kakao[disabled],fieldset[disabled] .mo_btn-kakao,.mo_btn-kakao.disabled:hover,.mo_btn-kakao[disabled]:hover,fieldset[disabled] .mo_btn-kakao:hover,.mo_btn-kakao.disabled:focus,.mo_btn-kakao[disabled]:focus,fieldset[disabled] .mo_btn-kakao:focus,.mo_btn-kakao.disabled:active,.mo_btn-kakao[disabled]:active,fieldset[disabled] .mo_btn-kakao:active,.mo_btn-kakao.disabled.active,.mo_btn-kakao[disabled].active,fieldset[disabled] .mo_btn-kakao.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}
|
117 |
Â
.mo_btn-kakao .badge{color:#1ab7ea;background-color:#fff}
|
118 |
+
|
119 |
Â
.mo_btn-vk{color:#fff !important;background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}.mo_btn-vk:hover,.mo_btn-vk:focus,.mo_btn-vk:active,.mo_btn-vk.active,.open>.dropdown-toggle.mo_btn-vk{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#466482,#466482) !important;}
|
120 |
Â
.mo_btn-vk:active,.mo_btn-vk.active,.open>.dropdown-toggle.mo_btn-vk{background-image:none}
|
121 |
Â
.mo_btn-vk.disabled,.mo_btn-vk[disabled],fieldset[disabled] .mo_btn-vk,.mo_btn-vk.disabled:hover,.mo_btn-vk[disabled]:hover,fieldset[disabled] .mo_btn-vk:hover,.mo_btn-vk.disabled:focus,.mo_btn-vk[disabled]:focus,fieldset[disabled] .mo_btn-vk:focus,.mo_btn-vk.disabled:active,.mo_btn-vk[disabled]:active,fieldset[disabled] .mo_btn-vk:active,.mo_btn-vk.disabled.active,.mo_btn-vk[disabled].active,fieldset[disabled] .mo_btn-vk.active{background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}
|
122 |
Â
.mo_btn-vk .badge{color:#587ea3;background-color:#fff}
|
123 |
+
.mo_btn-vk-white{color:#000000 !important;background-color:#ffffff;background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-vk-white:hover,.mo_btn-vk-white:focus,.mo_btn-vk-white:active,.mo_btn-vk-white.active,.open>.dropdown-toggle.mo_btn-vk-white{color:#000000;background-color:#4267B2;background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
|
124 |
+
.mo_btn-vk-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-vk-hov:hover,.mo_btn-vk-hov:hover i{color:#FFFFFF !important;background-color:#587ea3;border-color:#587ea3 !important;}.mo_openid_ivk-hov{color:#587ea3;}.mo_openid_ivk-hov:hover{color:#FFFFFF !important;background:#587ea3!important;border-color: #587ea3!important;}
|
125 |
+
.mo_btn-mo-vk{color: #587ea3;background-color: #FFFFFF}.mo_btn-mo-vk:hover{color: #FFFFFF;background-color: #587ea3}
|
126 |
+
|
127 |
Â
.mo_btn-yahoo{color:#fff !important;background-color:#720e9e;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#720e9e,#720e9e) !important;}.mo_btn-yahoo:hover,.mo_btn-yahoo:focus,.mo_btn-yahoo:active,.mo_btn-yahoo.active,.open>.dropdown-toggle.mo_btn-yahoo{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#500a6f,#500a6f) !important;}
|
128 |
Â
.mo_btn-yahoo:active,.mo_btn-yahoo.active,.open>.dropdown-toggle.mo_btn-yahoo{background-image:none}
|
129 |
Â
.mo_btn-yahoo.disabled,.mo_btn-yahoo[disabled],fieldset[disabled] .mo_btn-yahoo,.mo_btn-yahoo.disabled:hover,.mo_btn-yahoo[disabled]:hover,fieldset[disabled] .mo_btn-yahoo:hover,.mo_btn-yahoo.disabled:focus,.mo_btn-yahoo[disabled]:focus,fieldset[disabled] .mo_btn-yahoo:focus,.mo_btn-yahoo.disabled:active,.mo_btn-yahoo[disabled]:active,fieldset[disabled] .mo_btn-yahoo:active,.mo_btn-yahoo.disabled.active,.mo_btn-yahoo[disabled].active,fieldset[disabled] .mo_btn-yahoo.active{background-color:#720e9e;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#720e9e,#720e9e) !important;}
|
130 |
Â
.mo_btn-yahoo .badge{color:#720e9e;background-color:#fff}
|
131 |
+
.mo_btn-yahoo-white{color:#000000 !important;background-color:#720e9e;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-yahoo-white:hover,.mo_btn-yahoo-white:focus,.mo_btn-yahoo-white:active,.mo_btn-yahoo-white.active,.open>.dropdown-toggle.mo_btn-yahoo-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
|
132 |
+
.mo_btn-yahoo-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-yahoo-hov:hover,.mo_btn-yahoo-hov:hover i{color:#FFFFFF !important;background-color:#720e9e;border-color:#720e9e!important;}.mo_openid_iyahoo-hov{color:#720e9e;}.mo_openid_iyahoo-hov:hover{color:#FFFFFF !important;background:#720e9e!important;border-color: #720e9e!important;}
|
133 |
+
.mo_btn-mo-yahoo{color: #720e9e;background-color: #FFFFFF}.mo_btn-mo-yahoo:hover{color: #FFFFFF;background-color: #720e9e}
|
134 |
+
|
135 |
Â
.mo_btn-wordpress{color:#fff !important;background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}.mo_btn-wordpress:hover,.mo_btn-wordpress:focus,.mo_btn-wordpress:active,.mo_btn-wordpress.active,.open>.dropdown-toggle.mo_btn-wordpress{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#466482,#466482) !important;}
|
136 |
Â
.mo_btn-wordpress:active,.mo_btn-wordpress.active,.open>.dropdown-toggle.mo_btn-wordpress{background-image:none}
|
137 |
Â
.mo_btn-wordpress.disabled,.mo_btn-wordpress[disabled],fieldset[disabled] .mo_btn-wordpress,.mo_btn-wordpress.disabled:hover,.mo_btn-wordpress[disabled]:hover,fieldset[disabled] .mo_btn-wordpress:hover,.mo_btn-wordpress.disabled:focus,.mo_btn-wordpress[disabled]:focus,fieldset[disabled] .mo_btn-wordpress:focus,.mo_btn-wordpress.disabled:active,.mo_btn-wordpress[disabled]:active,fieldset[disabled] .mo_btn-wordpress:active,.mo_btn-wordpress.disabled.active,.mo_btn-wordpress[disabled].active,fieldset[disabled] .mo_btn-wordpress.active{background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}
|
153 |
Â
.mo_btn-snapchat.disabled,.mo_btn-snapchat[disabled],fieldset[disabled] .mo_btn-snapchat,.mo_btn-snapchat.disabled:hover,.mo_btn-snapchat[disabled]:hover,fieldset[disabled] .mo_btn-snapchat:hover,.mo_btn-snapchat.disabled:focus,.mo_btn-snapchat[disabled]:focus,fieldset[disabled] .mo_btn-snapchat:focus,.mo_btn-snapchat.disabled:active,.mo_btn-snapchat[disabled]:active,fieldset[disabled] .mo_btn-snapchat:active,.mo_btn-snapchat.disabled.active,.mo_btn-snapchat[disabled].active,fieldset[disabled] .mo_btn-snapchat.active{background-color:#FFFC00;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#FFFC00,#FFFC00) !important;}
|
154 |
Â
.mo_btn-snapchat .badge{color:#FFFC00;background-color:#fff}
|
155 |
Â
.mo_btn-snapchat-white{color:#000000 !important;background-color:#FFFC00;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-snapchat-white:hover,.mo_btn-snapchat-white:focus,.mo_btn-snapchat-white:active,.mo_btn-snapchat-white.active,.open>.dropdown-toggle.mo_btn-snapchat-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
|
156 |
+
.mo_btn-snapchat-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-snapchat-hov:hover,.mo_btn-snapchat-hov:hover i{color:#FFFFFF !important;background-color:#FFFC00;border-color:#FFFC00!important;}.mo_openid_isnapchat-hov{color:#FFFC00;}.mo_openid_isnapchat-hov:hover{color:#FFFFFF !important;background:#FFFC00!important;border-color: #FFFC00!important;}
|
157 |
+
.mo_btn-mo-snapchat{color: #FFFC00;background-color: #FFFFFF}.mo_btn-mo-snapchat:hover{color: #FFFFFF;background-color: #FFFC00}
|
158 |
+
|
159 |
Â
.mo_btn-dribbble{color:#fff !important;background-color:#ee66aa;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ee66aa,#ee66aa) !important;}.mo_btn-dribbble:hover,.mo_btn-dribbble:focus,.mo_btn-dribbble:active,.mo_btn-dribbble.active,.open>.dropdown-toggle.mo_btn-dribbble{color:#fff;background-color:#ee66aa;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ee66aa,#ee66aa) !important;}
|
160 |
Â
.mo_btn-dribbble:active,.mo_btn-dribbble.active,.open>.dropdown-toggle.mo_btn-dribbble{background-image:none}
|
161 |
Â
.mo_btn-dribbble.disabled,.mo_btn-dribbble[disabled],fieldset[disabled].mo_btn-dribbble,.mo_btn-dribbble.disabled:hover,.mo_btn-dribbble[disabled]:hover,fieldset[disabled] .mo_btn-dribbble:hover,.mo_btn-dribbble.disabled:focus,.mo_btn-dribbble[disabled]:focus,fieldset[disabled] .mo_btn-dribbble:focus,.mo_btn-dribbble.disabled:active,.mo_btn-dribbble[disabled]:active,fieldset[disabled] .mo_btn-dribbble:active,.mo_btn-dribbble.disabled.active,.mo_btn-dribbble[disabled].active,fieldset[disabled] .mo_btn-dribbble.active{background-color:#ee66aa;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ee66aa,#ee66aa) !important;}
|
162 |
Â
.mo_btn-dribbble .badge{color:#ee66aa;background-color:#fff}
|
163 |
Â
.mo_btn-dribbble-white{color:#000000 !important;background-color:#ee66aa;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-dribbble-white:hover,.mo_btn-dribbble-white:focus,.mo_btn-dribbble-white:active,.mo_btn-dribbble-white.active,.open>.dropdown-toggle.mo_btn-dribbble-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
|
164 |
+
.mo_btn-dribbble-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-dribbble-hov:hover,.mo_btn-dribbble-hov:hover i{color:#FFFFFF !important;background-color:#ee66aa;border-color:#ee66aa!important;}.mo_openid_idribbble-hov{color:#ee66aa;}.mo_openid_idribbble-hov:hover{color:#FFFFFF !important;background:#ee66aa!important;border-color: #ee66aa!important;}
|
165 |
+
.mo_btn-mo-dribbble{color: #ee66aa;background-color: #FFFFFF}.mo_btn-mo-dribbble:hover{color: #FFFFFF;background-color: #ee66aa}
|
166 |
+
|
167 |
+
|
168 |
Â
.mo_btn-discord{color:#fff !important;background-color:#7289da;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#7289da,#7289da) !important;}.mo_btn-discord:hover,.mo_btn-discord:focus,.mo_btn-discord:active,.mo_btn-discord.active,.open>.dropdown-toggle.mo_btn-discord{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#500a6f,#500a6f) !important;}
|
169 |
Â
.mo_btn-discord:active,.mo_btn-discord.active,.open>.dropdown-toggle.mo_btn-discord{background-image:none}
|
170 |
Â
.mo_btn-discord.disabled,.mo_btn-discord[disabled],fieldset[disabled].mo_btn-discord,.mo_btn-discord.disabled:hover,.mo_btn-discord[disabled]:hover,fieldset[disabled] .mo_btn-discord:hover,.mo_btn-discord.disabled:focus,.mo_btn-discord[disabled]:focus,fieldset[disabled] .mo_btn-discord:focus,.mo_btn-discord.disabled:active,.mo_btn-discord[disabled]:active,fieldset[disabled] .mo_btn-discord:active,.mo_btn-discord.disabled.active,.mo_btn-discord[disabled].active,fieldset[disabled] .mo_btn-discord.active{background-color:#7289da;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#7289da,#7289da) !important;}
|
171 |
Â
.mo_btn-discord .badge{color:#7289da;background-color:#fff}
|
172 |
Â
.mo_btn-discord-white{color:#000000 !important;background-color:#7289da;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-discord-white:hover,.mo_btn-discord-white:focus,.mo_btn-discord-white:active,.mo_btn-discord-white.active,.open>.dropdown-toggle.mo_btn-discord-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
|
173 |
+
.mo_btn-discord-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-discord-hov:hover,.mo_btn-discord-hov:hover i{color:#FFFFFF !important;background-color:#7289da;border-color:#7289da!important;}.mo_openid_idiscord-hov{color:#7289da;}.mo_openid_idiscord-hov:hover{color:#FFFFFF !important;background:#7289da!important;border-color: #7289da!important;}
|
174 |
+
.mo_btn-mo-discord{color: #7289da;background-color: #FFFFFF}.mo_btn-mo-discord:hover{color: #FFFFFF;background-color: #7289da}
|
175 |
+
|
176 |
+
|
177 |
+
.mo_btn-salesforce{color:#fff !important;background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}.mo_btn-salesforce:hover,.mo_btn-salesforce:focus,.mo_btn-salesforce:active,.mo_btn-salesforce.active,.open>.dropdown-toggle.mo_btn-salesforce{color:#fff;background-color:#c40;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#c40,#c40) !important;}
|
178 |
+
.mo_btn-salesforce:active,.mo_btn-salesforce.active,.open>.dropdown-toggle.mo_btn-salesforce{background-image:none}
|
179 |
+
.mo_btn-salesforce.disabled,.mo_btn-salesforce[disabled],fieldset[disabled] .mo_btn-salesforce,.mo_btn-salesforce.disabled:hover,.mo_btn-salesforce[disabled]:hover,fieldset[disabled] .mo_btn-salesforce:hover,.mo_btn-salesforce.disabled:focus,.mo_btn-salesforce[disabled]:focus,fieldset[disabled] .mo_btn-salesforce:focus,.mo_btn-salesforce.disabled:active,.mo_btn-salesforce[disabled]:active,fieldset[disabled] .mo_btn-salesforce:active,.mo_btn-salesforce.disabled.active,.mo_btn-salesforce[disabled].active,fieldset[disabled] .mo_btn-salesforce.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}
|
180 |
+
.mo_btn-salesforce .badge{color:#1ab7ea;background-color:#fff}
|
181 |
+
.mo_btn-salesforce-white{color:#000000 !important;background-color:#FFFFFF;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-salesforce-white:hover,.mo_btn-salesforce-white:focus,.mo_btn-salesforce-white:active,.mo_btn-salesforce-white.active,.open>.dropdown-toggle.mo_btn-salesforce-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
|
182 |
+
.mo_btn-salesforce-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-salesforce-hov:hover,.mo_btn-salesforce-hov:hover i{color:#FFFFFF !important;background-color:#1ab7ea;border-color:#1ab7ea!important;}.mo_openid_isalesforce-hov{color:#1ab7ea;}.mo_openid_isalesforce-hov:hover{color:#FFFFFF !important;background:#1ab7ea!important;border-color: #1ab7ea!important;}
|
183 |
+
.mo_btn-mo-salesforce{color: #1ab7ea;background-color: #FFFFFF}.mo_btn-mo-salesforce:hover{color: #FFFFFF;background-color: #1ab7ea}
|
184 |
+
.mo_btn-windows{color:#fff !important;background-color:#2672ec;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2672ec,#2672ec) !important;}.mo_btn-windows:hover,.mo_btn-windows:focus,.mo_btn-windows:active,.mo_btn-windows.active,.open>.dropdown-toggle.mo_btn-windows{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#125acd,#125acd) !important;}
|
185 |
+
.mo_btn-windows:active,.mo_btn-windows.active,.open>.dropdown-toggle.mo_btn-windows{background-image:none}
|
186 |
+
.mo_btn-windows.disabled,.mo_btn-windows[disabled],fieldset[disabled] .mo_btn-windows,.mo_btn-windows.disabled:hover,.mo_btn-windows[disabled]:hover,fieldset[disabled] .mo_btn-windows:hover,.mo_btn-windows.disabled:focus,.mo_btn-windows[disabled]:focus,fieldset[disabled] .mo_btn-windows:focus,.mo_btn-windows.disabled:active,.mo_btn-windows[disabled]:active,fieldset[disabled] .mo_btn-windows:active,.mo_btn-windows.disabled.active,.mo_btn-windows[disabled].active,fieldset[disabled] .mo_btn-windows.active{background-color:#2672ec;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2672ec,#2672ec) !important;}
|
187 |
+
.mo_btn-windows .badge{color:#2672ec;background-color:#fff}
|
188 |
+
.mo_btn-windows-white{color:#2672ec !important;background-color:#FFFFFF;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-windows-white:hover,.mo_btn-windows-white:focus,.mo_btn-windows-white:active,.mo_btn-windows-white.active,.open>.dropdown-toggle.mo_btn-windows-white{color:#2672ec;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
|
189 |
+
.mo_btn-windows-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-windows-hov:hover,.mo_btn-windows-hov:hover i{color:#FFFFFF !important;background-color:#2672ec;border-color:#2672ec!important;}.mo_openid_iwindows-hov{color:#2672ec;}.mo_openid_iwindows-hov:hover{color:#FFFFFF !important;background:#2672ec!important; border-color: #2672ec!important; }
|
190 |
+
.mo_btn-mo-windows{color: #2672ec;background-color: #FFFFFF}.mo_btn-mo-windows:hover{color: #FFFFFF;background-color: #2672ec}
|
includes/css/bootstrap.min-preview.css
CHANGED
@@ -33,7 +33,35 @@
|
|
33 |
Â
text-decoration: none
|
34 |
Â
}
|
35 |
Â
|
36 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
37 |
Â
.mo_btn:focus,.mo_btn:active:focus,.mo_btn.active:focus,.mo_btn.focus,.mo_btn:active.focus,.mo_btn.active.focus
|
38 |
Â
{
|
39 |
Â
outline: thin dotted;
|
33 |
Â
text-decoration: none
|
34 |
Â
}
|
35 |
Â
|
36 |
+
.mo_btn_smart {
|
37 |
+
display: inline-block;
|
38 |
+
/*padding: 6px 12px;*/
|
39 |
+
margin-bottom: 0;
|
40 |
+
font-size: 14px;
|
41 |
+
font-weight: 400;
|
42 |
+
line-height: 1.42857143;
|
43 |
+
text-align: center;
|
44 |
+
white-space: nowrap;
|
45 |
+
vertical-align: middle;
|
46 |
+
-ms-touch-action: manipulation;
|
47 |
+
touch-action: manipulation;
|
48 |
+
cursor: pointer;
|
49 |
+
-webkit-user-select: none;
|
50 |
+
-moz-user-select: none;
|
51 |
+
-ms-user-select: none;
|
52 |
+
user-select: none;
|
53 |
+
background-image: none;
|
54 |
+
border-radius: 4px;
|
55 |
+
text-decoration: none;
|
56 |
+
}
|
57 |
+
.mo_btn_transform:hover{
|
58 |
+
transform: scale(1.1);
|
59 |
+
transition: 0.3s;
|
60 |
+
}
|
61 |
+
.mo_btn_transform_i:hover{
|
62 |
+
transform: scale(1.2);
|
63 |
+
transition: 0.5s;
|
64 |
+
}
|
65 |
Â
.mo_btn:focus,.mo_btn:active:focus,.mo_btn.active:focus,.mo_btn.focus,.mo_btn:active.focus,.mo_btn.active.focus
|
66 |
Â
{
|
67 |
Â
outline: thin dotted;
|
includes/css/font-awesome.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
Â
/*!
|
2 |
Â
* Font Awesome 4.6.2 by @davegandy - http://fontawesome.io - @fontawesome
|
3 |
Â
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
4 |
-
*/@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.6.2');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.6.2') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.6.2') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.6.2') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.6.2') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.6.2#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.mofa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mofa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.mofa-2x{font-size:2em}.mofa-3x{font-size:3em}.mofa-4x{font-size:4em}.mofa-5x{font-size:5em}.mofa-fw{width:1.28571429em;text-align:center}.mofa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.mofa-ul>li{position:relative}.mofa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.mofa-li.mofa-lg{left:-1.85714286em}.mofa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.mofa-pull-left{float:left}.mofa-pull-right{float:right}.mofa.mofa-pull-left{margin-right:.3em}.mofa.mofa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.mofa.pull-left{margin-right:.3em}.mofa.pull-right{margin-left:.3em}.mofa-spin{-webkit-animation:mofa-spin 2s infinite linear;animation:mofa-spin 2s infinite linear}.mofa-pulse{-webkit-animation:mofa-spin 1s infinite steps(8);animation:mofa-spin 1s infinite steps(8)}@-webkit-keyframes mofa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mofa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.mofa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mofa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mofa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mofa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.mofa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .mofa-rotate-90,:root .mofa-rotate-180,:root .mofa-rotate-270,:root .mofa-flip-horizontal,:root .mofa-flip-vertical{filter:none}.mofa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.mofa-stack-1x,.mofa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.mofa-stack-1x{line-height:inherit}.mofa-stack-2x{font-size:2em}.mofa-inverse{color:#fff}.mofa-glass:before{content:"\f000"}.mofa-music:before{content:"\f001"}.mofa-search:before{content:"\f002"}.mofa-envelope-o:before{content:"\f003"}.mofa-heart:before{content:"\f004"}.mofa-star:before{content:"\f005"}.mofa-star-o:before{content:"\f006"}.mofa-user:before{content:"\f007"}.mofa-film:before{content:"\f008"}.mofa-th-large:before{content:"\f009"}.mofa-th:before{content:"\f00a"}.mofa-th-list:before{content:"\f00b"}.mofa-check:before{content:"\f00c"}.mofa-remove:before,.mofa-close:before,.mofa-times:before{content:"\f00d"}.mofa-search-plus:before{content:"\f00e"}.mofa-search-minus:before{content:"\f010"}.mofa-power-off:before{content:"\f011"}.mofa-signal:before{content:"\f012"}.mofa-gear:before,.mofa-cog:before{content:"\f013"}.mofa-trash-o:before{content:"\f014"}.mofa-home:before{content:"\f015"}.mofa-file-o:before{content:"\f016"}.mofa-clock-o:before{content:"\f017"}.mofa-road:before{content:"\f018"}.mofa-download:before{content:"\f019"}.mofa-arrow-circle-o-down:before{content:"\f01a"}.mofa-arrow-circle-o-up:before{content:"\f01b"}.mofa-inbox:before{content:"\f01c"}.mofa-play-circle-o:before{content:"\f01d"}.mofa-rotate-right:before,.mofa-repeat:before{content:"\f01e"}.mofa-refresh:before{content:"\f021"}.mofa-list-alt:before{content:"\f022"}.mofa-lock:before{content:"\f023"}.mofa-flag:before{content:"\f024"}.mofa-headphones:before{content:"\f025"}.mofa-volume-off:before{content:"\f026"}.mofa-volume-down:before{content:"\f027"}.mofa-volume-up:before{content:"\f028"}.mofa-qrcode:before{content:"\f029"}.mofa-barcode:before{content:"\f02a"}.mofa-tag:before{content:"\f02b"}.mofa-tags:before{content:"\f02c"}.mofa-book:before{content:"\f02d"}.mofa-bookmark:before{content:"\f02e"}.mofa-print:before{content:"\f02f"}.mofa-camera:before{content:"\f030"}.mofa-font:before{content:"\f031"}.mofa-bold:before{content:"\f032"}.mofa-italic:before{content:"\f033"}.mofa-text-height:before{content:"\f034"}.mofa-text-width:before{content:"\f035"}.mofa-align-left:before{content:"\f036"}.mofa-align-center:before{content:"\f037"}.mofa-align-right:before{content:"\f038"}.mofa-align-justify:before{content:"\f039"}.mofa-list:before{content:"\f03a"}.mofa-dedent:before,.mofa-outdent:before{content:"\f03b"}.mofa-indent:before{content:"\f03c"}.mofa-video-camera:before{content:"\f03d"}.mofa-photo:before,.mofa-image:before,.mofa-picture-o:before{content:"\f03e"}.mofa-pencil:before{content:"\f040"}.mofa-map-marker:before{content:"\f041"}.mofa-adjust:before{content:"\f042"}.mofa-tint:before{content:"\f043"}.mofa-edit:before,.mofa-pencil-square-o:before{content:"\f044"}.mofa-share-square-o:before{content:"\f045"}.mofa-check-square-o:before{content:"\f046"}.mofa-arrows:before{content:"\f047"}.mofa-step-backward:before{content:"\f048"}.mofa-fast-backward:before{content:"\f049"}.mofa-backward:before{content:"\f04a"}.mofa-play:before{content:"\f04b"}.mofa-pause:before{content:"\f04c"}.mofa-stop:before{content:"\f04d"}.mofa-forward:before{content:"\f04e"}.mofa-fast-forward:before{content:"\f050"}.mofa-step-forward:before{content:"\f051"}.mofa-eject:before{content:"\f052"}.mofa-chevron-left:before{content:"\f053"}.mofa-chevron-right:before{content:"\f054"}.mofa-plus-circle:before{content:"\f055"}.mofa-minus-circle:before{content:"\f056"}.mofa-times-circle:before{content:"\f057"}.mofa-check-circle:before{content:"\f058"}.mofa-question-circle:before{content:"\f059"}.mofa-info-circle:before{content:"\f05a"}.mofa-crosshairs:before{content:"\f05b"}.mofa-times-circle-o:before{content:"\f05c"}.mofa-check-circle-o:before{content:"\f05d"}.mofa-ban:before{content:"\f05e"}.mofa-arrow-left:before{content:"\f060"}.mofa-arrow-right:before{content:"\f061"}.mofa-arrow-up:before{content:"\f062"}.mofa-arrow-down:before{content:"\f063"}.mofa-mail-forward:before,.mofa-share:before{content:"\f064"}.mofa-expand:before{content:"\f065"}.mofa-compress:before{content:"\f066"}.mofa-plus:before{content:"\f067"}.mofa-minus:before{content:"\f068"}.mofa-asterisk:before{content:"\f069"}.mofa-exclamation-circle:before{content:"\f06a"}.mofa-gift:before{content:"\f06b"}.mofa-leaf:before{content:"\f06c"}.mofa-fire:before{content:"\f06d"}.mofa-eye:before{content:"\f06e"}.mofa-eye-slash:before{content:"\f070"}.mofa-warning:before,.mofa-exclamation-triangle:before{content:"\f071"}.mofa-plane:before{content:"\f072"}.mofa-calendar:before{content:"\f073"}.mofa-random:before{content:"\f074"}.mofa-comment:before{content:"\f075"}.mofa-magnet:before{content:"\f076"}.mofa-chevron-up:before{content:"\f077"}.mofa-chevron-down:before{content:"\f078"}.mofa-retweet:before{content:"\f079"}.mofa-shopping-cart:before{content:"\f07a"}.mofa-folder:before{content:"\f07b"}.mofa-folder-open:before{content:"\f07c"}.mofa-arrows-v:before{content:"\f07d"}.mofa-arrows-h:before{content:"\f07e"}.mofa-bar-chart-o:before,.mofa-bar-chart:before{content:"\f080"}.mofa-twitter-square:before{content:"\f081"}.mofa-facebook-square:before{content:"\f082"}.mofa-camera-retro:before{content:"\f083"}.mofa-key:before{content:"\f084"}.mofa-gears:before,.mofa-cogs:before{content:"\f085"}.mofa-comments:before{content:"\f086"}.mofa-thumbs-o-up:before{content:"\f087"}.mofa-thumbs-o-down:before{content:"\f088"}.mofa-star-half:before{content:"\f089"}.mofa-heart-o:before{content:"\f08a"}.mofa-sign-out:before{content:"\f08b"}.mofa-linkedin-square:before{content:"\f08c"}.mofa-thumb-tack:before{content:"\f08d"}.mofa-external-link:before{content:"\f08e"}.mofa-sign-in:before{content:"\f090"}.mofa-trophy:before{content:"\f091"}.mofa-github-square:before{content:"\f092"}.mofa-upload:before{content:"\f093"}.mofa-lemon-o:before{content:"\f094"}.mofa-phone:before{content:"\f095"}.mofa-square-o:before{content:"\f096"}.mofa-bookmark-o:before{content:"\f097"}.mofa-phone-square:before{content:"\f098"}.mofa-twitter:before{content:"\f099"}.mofa-facebook-f:before,.mofa-facebook:before{content:"\f09a"}.mofa-github:before{content:"\f09b"}.mofa-unlock:before{content:"\f09c"}.mofa-credit-card:before{content:"\f09d"}.mofa-feed:before,.mofa-rss:before{content:"\f09e"}.mofa-hdd-o:before{content:"\f0a0"}.mofa-bullhorn:before{content:"\f0a1"}.mofa-bell:before{content:"\f0f3"}.mofa-certificate:before{content:"\f0a3"}.mofa-hand-o-right:before{content:"\f0a4"}.mofa-hand-o-left:before{content:"\f0a5"}.mofa-hand-o-up:before{content:"\f0a6"}.mofa-hand-o-down:before{content:"\f0a7"}.mofa-arrow-circle-left:before{content:"\f0a8"}.mofa-arrow-circle-right:before{content:"\f0a9"}.mofa-arrow-circle-up:before{content:"\f0aa"}.mofa-arrow-circle-down:before{content:"\f0ab"}.mofa-globe:before{content:"\f0ac"}.mofa-wrench:before{content:"\f0ad"}.mofa-tasks:before{content:"\f0ae"}.mofa-filter:before{content:"\f0b0"}.mofa-briefcase:before{content:"\f0b1"}.mofa-arrows-alt:before{content:"\f0b2"}.mofa-group:before,.mofa-users:before{content:"\f0c0"}.mofa-chain:before,.mofa-link:before{content:"\f0c1"}.mofa-cloud:before{content:"\f0c2"}.mofa-flask:before{content:"\f0c3"}.mofa-cut:before,.mofa-scissors:before{content:"\f0c4"}.mofa-copy:before,.mofa-files-o:before{content:"\f0c5"}.mofa-paperclip:before{content:"\f0c6"}.mofa-save:before,.mofa-floppy-o:before{content:"\f0c7"}.mofa-square:before{content:"\f0c8"}.mofa-navicon:before,.mofa-reorder:before,.mofa-bars:before{content:"\f0c9"}.mofa-list-ul:before{content:"\f0ca"}.mofa-list-ol:before{content:"\f0cb"}.mofa-strikethrough:before{content:"\f0cc"}.mofa-underline:before{content:"\f0cd"}.mofa-table:before{content:"\f0ce"}.mofa-magic:before{content:"\f0d0"}.mofa-truck:before{content:"\f0d1"}.mofa-pinterest:before{content:"\f0d2"}.mofa-pinterest-square:before{content:"\f0d3"}.mofa-google-plus-square:before{content:"\f0d4"}.mofa-google-plus:before{content:"\f0d5"}.mofa-money:before{content:"\f0d6"}.mofa-caret-down:before{content:"\f0d7"}.mofa-caret-up:before{content:"\f0d8"}.mofa-caret-left:before{content:"\f0d9"}.mofa-caret-right:before{content:"\f0da"}.mofa-columns:before{content:"\f0db"}.mofa-unsorted:before,.mofa-sort:before{content:"\f0dc"}.mofa-sort-down:before,.mofa-sort-desc:before{content:"\f0dd"}.mofa-sort-up:before,.mofa-sort-asc:before{content:"\f0de"}.mofa-envelope:before{content:"\f0e0"}.mofa-linkedin:before{content:"\f0e1"}.mofa-rotate-left:before,.mofa-undo:before{content:"\f0e2"}.mofa-legal:before,.mofa-gavel:before{content:"\f0e3"}.mofa-dashboard:before,.mofa-tachometer:before{content:"\f0e4"}.mofa-comment-o:before{content:"\f0e5"}.mofa-comments-o:before{content:"\f0e6"}.mofa-flash:before,.mofa-bolt:before{content:"\f0e7"}.mofa-sitemap:before{content:"\f0e8"}.mofa-umbrella:before{content:"\f0e9"}.mofa-paste:before,.mofa-clipboard:before{content:"\f0ea"}.mofa-lightbulb-o:before{content:"\f0eb"}.mofa-exchange:before{content:"\f0ec"}.mofa-cloud-download:before{content:"\f0ed"}.mofa-cloud-upload:before{content:"\f0ee"}.mofa-user-md:before{content:"\f0f0"}.mofa-stethoscope:before{content:"\f0f1"}.mofa-suitcase:before{content:"\f0f2"}.mofa-bell-o:before{content:"\f0a2"}.mofa-coffee:before{content:"\f0f4"}.mofa-cutlery:before{content:"\f0f5"}.mofa-file-text-o:before{content:"\f0f6"}.mofa-building-o:before{content:"\f0f7"}.mofa-hospital-o:before{content:"\f0f8"}.mofa-ambulance:before{content:"\f0f9"}.mofa-medkit:before{content:"\f0fa"}.mofa-fighter-jet:before{content:"\f0fb"}.mofa-beer:before{content:"\f0fc"}.mofa-h-square:before{content:"\f0fd"}.mofa-plus-square:before{content:"\f0fe"}.mofa-angle-double-left:before{content:"\f100"}.mofa-angle-double-right:before{content:"\f101"}.mofa-angle-double-up:before{content:"\f102"}.mofa-angle-double-down:before{content:"\f103"}.mofa-angle-left:before{content:"\f104"}.mofa-angle-right:before{content:"\f105"}.mofa-angle-up:before{content:"\f106"}.mofa-angle-down:before{content:"\f107"}.mofa-desktop:before{content:"\f108"}.mofa-laptop:before{content:"\f109"}.mofa-tablet:before{content:"\f10a"}.mofa-mobile-phone:before,.mofa-mobile:before{content:"\f10b"}.mofa-circle-o:before{content:"\f10c"}.mofa-quote-left:before{content:"\f10d"}.mofa-quote-right:before{content:"\f10e"}.mofa-spinner:before{content:"\f110"}.mofa-circle:before{content:"\f111"}.mofa-mail-reply:before,.mofa-reply:before{content:"\f112"}.mofa-github-alt:before{content:"\f113"}.mofa-folder-o:before{content:"\f114"}.mofa-folder-open-o:before{content:"\f115"}.mofa-smile-o:before{content:"\f118"}.mofa-frown-o:before{content:"\f119"}.mofa-meh-o:before{content:"\f11a"}.mofa-gamepad:before{content:"\f11b"}.mofa-keyboard-o:before{content:"\f11c"}.mofa-flag-o:before{content:"\f11d"}.mofa-flag-checkered:before{content:"\f11e"}.mofa-terminal:before{content:"\f120"}.mofa-code:before{content:"\f121"}.mofa-mail-reply-all:before,.mofa-reply-all:before{content:"\f122"}.mofa-star-half-empty:before,.mofa-star-half-full:before,.mofa-star-half-o:before{content:"\f123"}.mofa-location-arrow:before{content:"\f124"}.mofa-crop:before{content:"\f125"}.mofa-code-fork:before{content:"\f126"}.mofa-unlink:before,.mofa-chain-broken:before{content:"\f127"}.mofa-question:before{content:"\f128"}.mofa-info:before{content:"\f129"}.mofa-exclamation:before{content:"\f12a"}.mofa-superscript:before{content:"\f12b"}.mofa-subscript:before{content:"\f12c"}.mofa-eraser:before{content:"\f12d"}.mofa-puzzle-piece:before{content:"\f12e"}.mofa-microphone:before{content:"\f130"}.mofa-microphone-slash:before{content:"\f131"}.mofa-shield:before{content:"\f132"}.mofa-calendar-o:before{content:"\f133"}.mofa-fire-extinguisher:before{content:"\f134"}.mofa-rocket:before{content:"\f135"}.mofa-maxcdn:before{content:"\f136"}.mofa-chevron-circle-left:before{content:"\f137"}.mofa-chevron-circle-right:before{content:"\f138"}.mofa-chevron-circle-up:before{content:"\f139"}.mofa-chevron-circle-down:before{content:"\f13a"}.mofa-html5:before{content:"\f13b"}.mofa-css3:before{content:"\f13c"}.mofa-anchor:before{content:"\f13d"}.mofa-unlock-alt:before{content:"\f13e"}.mofa-bullseye:before{content:"\f140"}.mofa-ellipsis-h:before{content:"\f141"}.mofa-ellipsis-v:before{content:"\f142"}.mofa-rss-square:before{content:"\f143"}.mofa-play-circle:before{content:"\f144"}.mofa-ticket:before{content:"\f145"}.mofa-minus-square:before{content:"\f146"}.mofa-minus-square-o:before{content:"\f147"}.mofa-level-up:before{content:"\f148"}.mofa-level-down:before{content:"\f149"}.mofa-check-square:before{content:"\f14a"}.mofa-pencil-square:before{content:"\f14b"}.mofa-external-link-square:before{content:"\f14c"}.mofa-share-square:before{content:"\f14d"}.mofa-compass:before{content:"\f14e"}.mofa-toggle-down:before,.mofa-caret-square-o-down:before{content:"\f150"}.mofa-toggle-up:before,.mofa-caret-square-o-up:before{content:"\f151"}.mofa-toggle-right:before,.mofa-caret-square-o-right:before{content:"\f152"}.mofa-euro:before,.mofa-eur:before{content:"\f153"}.mofa-gbp:before{content:"\f154"}.mofa-dollar:before,.mofa-usd:before{content:"\f155"}.mofa-rupee:before,.mofa-inr:before{content:"\f156"}.mofa-cny:before,.mofa-rmb:before,.mofa-yen:before,.mofa-jpy:before{content:"\f157"}.mofa-ruble:before,.mofa-rouble:before,.mofa-rub:before{content:"\f158"}.mofa-won:before,.mofa-krw:before{content:"\f159"}.mofa-bitcoin:before,.mofa-btc:before{content:"\f15a"}.mofa-file:before{content:"\f15b"}.mofa-file-text:before{content:"\f15c"}.mofa-sort-alpha-asc:before{content:"\f15d"}.mofa-sort-alpha-desc:before{content:"\f15e"}.mofa-sort-amount-asc:before{content:"\f160"}.mofa-sort-amount-desc:before{content:"\f161"}.mofa-sort-numeric-asc:before{content:"\f162"}.mofa-sort-numeric-desc:before{content:"\f163"}.mofa-thumbs-up:before{content:"\f164"}.mofa-thumbs-down:before{content:"\f165"}.mofa-youtube-square:before{content:"\f166"}.mofa-youtube:before{content:"\f167"}.mofa-xing:before{content:"\f168"}.mofa-xing-square:before{content:"\f169"}.mofa-youtube-play:before{content:"\f16a"}.mofa-dropbox:before{content:"\f16b"}.mofa-stack-overflow:before{content:"\f16c"}.mofa-instagram:before{content:"\f16d"}.mofa-flickr:before{content:"\f16e"}.mofa-adn:before{content:"\f170"}.mofa-bitbucket:before{content:"\f171"}.mofa-bitbucket-square:before{content:"\f172"}.mofa-tumblr:before{content:"\f173"}.mofa-tumblr-square:before{content:"\f174"}.mofa-long-arrow-down:before{content:"\f175"}.mofa-long-arrow-up:before{content:"\f176"}.mofa-long-arrow-left:before{content:"\f177"}.mofa-long-arrow-right:before{content:"\f178"}.mofa-apple:before{content:"\f179"}.mofa-windows:before{content:"\f17a"}.mofa-android:before{content:"\f17b"}.mofa-linux:before{content:"\f17c"}.mofa-dribbble:before{content:"\f17d"}.mofa-skype:before{content:"\f17e"}.mofa-foursquare:before{content:"\f180"}.mofa-trello:before{content:"\f181"}.mofa-female:before{content:"\f182"}.mofa-male:before{content:"\f183"}.mofa-gittip:before,.mofa-gratipay:before{content:"\f184"}.mofa-sun-o:before{content:"\f185"}.mofa-moon-o:before{content:"\f186"}.mofa-archive:before{content:"\f187"}.mofa-bug:before{content:"\f188"}.mofa-vk:before{content:"\f189"}.mofa-weibo:before{content:"\f18a"}.mofa-renren:before{content:"\f18b"}.mofa-pagelines:before{content:"\f18c"}.mofa-stack-exchange:before{content:"\f18d"}.mofa-arrow-circle-o-right:before{content:"\f18e"}.mofa-arrow-circle-o-left:before{content:"\f190"}.mofa-toggle-left:before,.mofa-caret-square-o-left:before{content:"\f191"}.mofa-dot-circle-o:before{content:"\f192"}.mofa-wheelchair:before{content:"\f193"}.mofa-vimeo-square:before{content:"\f194"}.mofa-turkish-lira:before,.mofa-try:before{content:"\f195"}.mofa-plus-square-o:before{content:"\f196"}.mofa-space-shuttle:before{content:"\f197"}.mofa-slack:before{content:"\f198"}.mofa-envelope-square:before{content:"\f199"}.mofa-wordpress:before{content:"\f19a"}.mofa-openid:before{content:"\f19b"}.mofa-institution:before,.mofa-bank:before,.mofa-university:before{content:"\f19c"}.mofa-mortar-board:before,.mofa-graduation-cap:before{content:"\f19d"}.mofa-yahoo:before{content:"\f19e"}.mofa-google:before{content:"\f1a0"}.mofa-reddit:before{content:"\f1a1"}.mofa-reddit-square:before{content:"\f1a2"}.mofa-stumbleupon-circle:before{content:"\f1a3"}.mofa-stumbleupon:before{content:"\f1a4"}.mofa-delicious:before{content:"\f1a5"}.mofa-digg:before{content:"\f1a6"}.mofa-pied-piper-pp:before{content:"\f1a7"}.mofa-pied-piper-alt:before{content:"\f1a8"}.mofa-drupal:before{content:"\f1a9"}.mofa-joomla:before{content:"\f1aa"}.mofa-language:before{content:"\f1ab"}.mofa-fax:before{content:"\f1ac"}.mofa-building:before{content:"\f1ad"}.mofa-child:before{content:"\f1ae"}.mofa-paw:before{content:"\f1b0"}.mofa-spoon:before{content:"\f1b1"}.mofa-cube:before{content:"\f1b2"}.mofa-cubes:before{content:"\f1b3"}.mofa-behance:before{content:"\f1b4"}.mofa-behance-square:before{content:"\f1b5"}.mofa-steam:before{content:"\f1b6"}.mofa-steam-square:before{content:"\f1b7"}.mofa-recycle:before{content:"\f1b8"}.mofa-automobile:before,.mofa-car:before{content:"\f1b9"}.mofa-cab:before,.mofa-taxi:before{content:"\f1ba"}.mofa-tree:before{content:"\f1bb"}.mofa-spotify:before{content:"\f1bc"}.mofa-deviantart:before{content:"\f1bd"}.mofa-soundcloud:before{content:"\f1be"}.mofa-database:before{content:"\f1c0"}.mofa-file-pdf-o:before{content:"\f1c1"}.mofa-file-word-o:before{content:"\f1c2"}.mofa-file-excel-o:before{content:"\f1c3"}.mofa-file-powerpoint-o:before{content:"\f1c4"}.mofa-file-photo-o:before,.mofa-file-picture-o:before,.mofa-file-image-o:before{content:"\f1c5"}.mofa-file-zip-o:before,.mofa-file-archive-o:before{content:"\f1c6"}.mofa-file-sound-o:before,.mofa-file-audio-o:before{content:"\f1c7"}.mofa-file-movie-o:before,.mofa-file-video-o:before{content:"\f1c8"}.mofa-file-code-o:before{content:"\f1c9"}.mofa-vine:before{content:"\f1ca"}.mofa-codepen:before{content:"\f1cb"}.mofa-jsfiddle:before{content:"\f1cc"}.mofa-life-bouy:before,.mofa-life-buoy:before,.mofa-life-saver:before,.mofa-support:before,.mofa-life-ring:before{content:"\f1cd"}.mofa-circle-o-notch:before{content:"\f1ce"}.mofa-ra:before,.mofa-resistance:before,.mofa-rebel:before{content:"\f1d0"}.mofa-ge:before,.mofa-empire:before{content:"\f1d1"}.mofa-git-square:before{content:"\f1d2"}.mofa-git:before{content:"\f1d3"}.mofa-y-combinator-square:before,.mofa-yc-square:before,.mofa-hacker-news:before{content:"\f1d4"}.mofa-tencent-weibo:before{content:"\f1d5"}.mofa-qq:before{content:"\f1d6"}.mofa-wechat:before,.mofa-weixin:before{content:"\f1d7"}.mofa-send:before,.mofa-paper-plane:before{content:"\f1d8"}.mofa-send-o:before,.mofa-paper-plane-o:before{content:"\f1d9"}.mofa-history:before{content:"\f1da"}.mofa-circle-thin:before{content:"\f1db"}.mofa-header:before{content:"\f1dc"}.mofa-paragraph:before{content:"\f1dd"}.mofa-sliders:before{content:"\f1de"}.mofa-share-alt:before{content:"\f1e0"}.mofa-share-alt-square:before{content:"\f1e1"}.mofa-bomb:before{content:"\f1e2"}.mofa-soccer-ball-o:before,.mofa-futbol-o:before{content:"\f1e3"}.mofa-tty:before{content:"\f1e4"}.mofa-binoculars:before{content:"\f1e5"}.mofa-plug:before{content:"\f1e6"}.mofa-slideshare:before{content:"\f1e7"}.mofa-twitch:before{content:"\f1e8"}.mofa-yelp:before{content:"\f1e9"}.mofa-newspaper-o:before{content:"\f1ea"}.mofa-wifi:before{content:"\f1eb"}.mofa-calculator:before{content:"\f1ec"}.mofa-paypal:before{content:"\f1ed"}.mofa-google-wallet:before{content:"\f1ee"}.mofa-cc-visa:before{content:"\f1f0"}.mofa-cc-mastercard:before{content:"\f1f1"}.mofa-cc-discover:before{content:"\f1f2"}.mofa-cc-amex:before{content:"\f1f3"}.mofa-cc-paypal:before{content:"\f1f4"}.mofa-cc-stripe:before{content:"\f1f5"}.mofa-bell-slash:before{content:"\f1f6"}.mofa-bell-slash-o:before{content:"\f1f7"}.mofa-trash:before{content:"\f1f8"}.mofa-copyright:before{content:"\f1f9"}.mofa-at:before{content:"\f1fa"}.mofa-eyedropper:before{content:"\f1fb"}.mofa-paint-brush:before{content:"\f1fc"}.mofa-birthday-cake:before{content:"\f1fd"}.mofa-area-chart:before{content:"\f1fe"}.mofa-pie-chart:before{content:"\f200"}.mofa-line-chart:before{content:"\f201"}.mofa-lastfm:before{content:"\f202"}.mofa-lastfm-square:before{content:"\f203"}.mofa-toggle-off:before{content:"\f204"}.mofa-toggle-on:before{content:"\f205"}.mofa-bicycle:before{content:"\f206"}.mofa-bus:before{content:"\f207"}.mofa-ioxhost:before{content:"\f208"}.mofa-angellist:before{content:"\f209"}.mofa-cc:before{content:"\f20a"}.mofa-shekel:before,.mofa-sheqel:before,.mofa-ils:before{content:"\f20b"}.mofa-meanpath:before{content:"\f20c"}.mofa-buysellads:before{content:"\f20d"}.mofa-connectdevelop:before{content:"\f20e"}.mofa-dashcube:before{content:"\f210"}.mofa-forumbee:before{content:"\f211"}.mofa-leanpub:before{content:"\f212"}.mofa-sellsy:before{content:"\f213"}.mofa-shirtsinbulk:before{content:"\f214"}.mofa-simplybuilt:before{content:"\f215"}.mofa-skyatlas:before{content:"\f216"}.mofa-cart-plus:before{content:"\f217"}.mofa-cart-arrow-down:before{content:"\f218"}.mofa-diamond:before{content:"\f219"}.mofa-ship:before{content:"\f21a"}.mofa-user-secret:before{content:"\f21b"}.mofa-motorcycle:before{content:"\f21c"}.mofa-street-view:before{content:"\f21d"}.mofa-heartbeat:before{content:"\f21e"}.mofa-venus:before{content:"\f221"}.mofa-mars:before{content:"\f222"}.mofa-mercury:before{content:"\f223"}.mofa-intersex:before,.mofa-transgender:before{content:"\f224"}.mofa-transgender-alt:before{content:"\f225"}.mofa-venus-double:before{content:"\f226"}.mofa-mars-double:before{content:"\f227"}.mofa-venus-mars:before{content:"\f228"}.mofa-mars-stroke:before{content:"\f229"}.mofa-mars-stroke-v:before{content:"\f22a"}.mofa-mars-stroke-h:before{content:"\f22b"}.mofa-neuter:before{content:"\f22c"}.mofa-genderless:before{content:"\f22d"}.mofa-facebook-official:before{content:"\f230"}.mofa-pinterest-p:before{content:"\f231"}.mofa-whatsapp:before{content:"\f232"}.mofa-server:before{content:"\f233"}.mofa-user-plus:before{content:"\f234"}.mofa-user-times:before{content:"\f235"}.mofa-hotel:before,.mofa-bed:before{content:"\f236"}.mofa-viacoin:before{content:"\f237"}.mofa-train:before{content:"\f238"}.mofa-subway:before{content:"\f239"}.mofa-medium:before{content:"\f23a"}.mofa-yc:before,.mofa-y-combinator:before{content:"\f23b"}.mofa-optin-monster:before{content:"\f23c"}.mofa-opencart:before{content:"\f23d"}.mofa-expeditedssl:before{content:"\f23e"}.mofa-battery-4:before,.mofa-battery-full:before{content:"\f240"}.mofa-battery-3:before,.mofa-battery-three-quarters:before{content:"\f241"}.mofa-battery-2:before,.mofa-battery-half:before{content:"\f242"}.mofa-battery-1:before,.mofa-battery-quarter:before{content:"\f243"}.mofa-battery-0:before,.mofa-battery-empty:before{content:"\f244"}.mofa-mouse-pointer:before{content:"\f245"}.mofa-i-cursor:before{content:"\f246"}.mofa-object-group:before{content:"\f247"}.mofa-object-ungroup:before{content:"\f248"}.mofa-sticky-note:before{content:"\f249"}.mofa-sticky-note-o:before{content:"\f24a"}.mofa-cc-jcb:before{content:"\f24b"}.mofa-cc-diners-club:before{content:"\f24c"}.mofa-clone:before{content:"\f24d"}.mofa-balance-scale:before{content:"\f24e"}.mofa-hourglass-o:before{content:"\f250"}.mofa-hourglass-1:before,.mofa-hourglass-start:before{content:"\f251"}.mofa-hourglass-2:before,.mofa-hourglass-half:before{content:"\f252"}.mofa-hourglass-3:before,.mofa-hourglass-end:before{content:"\f253"}.mofa-hourglass:before{content:"\f254"}.mofa-hand-grab-o:before,.mofa-hand-rock-o:before{content:"\f255"}.mofa-hand-stop-o:before,.mofa-hand-paper-o:before{content:"\f256"}.mofa-hand-scissors-o:before{content:"\f257"}.mofa-hand-lizard-o:before{content:"\f258"}.mofa-hand-spock-o:before{content:"\f259"}.mofa-hand-pointer-o:before{content:"\f25a"}.mofa-hand-peace-o:before{content:"\f25b"}.mofa-trademark:before{content:"\f25c"}.mofa-registered:before{content:"\f25d"}.mofa-creative-commons:before{content:"\f25e"}.mofa-gg:before{content:"\f260"}.mofa-gg-circle:before{content:"\f261"}.mofa-tripadvisor:before{content:"\f262"}.mofa-odnoklassniki:before{content:"\f263"}.mofa-odnoklassniki-square:before{content:"\f264"}.mofa-get-pocket:before{content:"\f265"}.mofa-wikipedia-w:before{content:"\f266"}.mofa-safari:before{content:"\f267"}.mofa-chrome:before{content:"\f268"}.mofa-firefox:before{content:"\f269"}.mofa-opera:before{content:"\f26a"}.mofa-internet-explorer:before{content:"\f26b"}.mofa-tv:before,.mofa-television:before{content:"\f26c"}.mofa-contao:before{content:"\f26d"}.mofa-500px:before{content:"\f26e"}.mofa-amazon:before{content:"\f270"}.mofa-calendar-plus-o:before{content:"\f271"}.mofa-calendar-minus-o:before{content:"\f272"}.mofa-calendar-times-o:before{content:"\f273"}.mofa-calendar-check-o:before{content:"\f274"}.mofa-industry:before{content:"\f275"}.mofa-map-pin:before{content:"\f276"}.mofa-map-signs:before{content:"\f277"}.mofa-map-o:before{content:"\f278"}.mofa-map:before{content:"\f279"}.mofa-commenting:before{content:"\f27a"}.mofa-commenting-o:before{content:"\f27b"}.mofa-houzz:before{content:"\f27c"}.mofa-vimeo:before{content:"\f27d"}.mofa-black-tie:before{content:"\f27e"}.mofa-fonticons:before{content:"\f280"}.mofa-reddit-alien:before{content:"\f281"}.mofa-edge:before{content:"\f282"}.mofa-credit-card-alt:before{content:"\f283"}.mofa-codiepie:before{content:"\f284"}.mofa-modx:before{content:"\f285"}.mofa-fort-awesome:before{content:"\f286"}.mofa-usb:before{content:"\f287"}.mofa-product-hunt:before{content:"\f288"}.mofa-mixcloud:before{content:"\f289"}.mofa-scribd:before{content:"\f28a"}.mofa-pause-circle:before{content:"\f28b"}.mofa-pause-circle-o:before{content:"\f28c"}.mofa-stop-circle:before{content:"\f28d"}.mofa-stop-circle-o:before{content:"\f28e"}.mofa-shopping-bag:before{content:"\f290"}.mofa-shopping-basket:before{content:"\f291"}.mofa-hashtag:before{content:"\f292"}.mofa-bluetooth:before{content:"\f293"}.mofa-bluetooth-b:before{content:"\f294"}.mofa-percent:before{content:"\f295"}.mofa-gitlab:before{content:"\f296"}.mofa-wpbeginner:before{content:"\f297"}.mofa-wpforms:before{content:"\f298"}.mofa-envira:before{content:"\f299"}.mofa-universal-access:before{content:"\f29a"}.mofa-wheelchair-alt:before{content:"\f29b"}.mofa-question-circle-o:before{content:"\f29c"}.mofa-blind:before{content:"\f29d"}.mofa-audio-description:before{content:"\f29e"}.mofa-volume-control-phone:before{content:"\f2a0"}.mofa-braille:before{content:"\f2a1"}.mofa-assistive-listening-systems:before{content:"\f2a2"}.mofa-asl-interpreting:before,.mofa-american-sign-language-interpreting:before{content:"\f2a3"}.mofa-deafness:before,.mofa-hard-of-hearing:before,.mofa-deaf:before{content:"\f2a4"}.mofa-glide:before{content:"\f2a5"}.mofa-glide-g:before{content:"\f2a6"}.mofa-signing:before,.mofa-sign-language:before{content:"\f2a7"}.mofa-low-vision:before{content:"\f2a8"}.mofa-viadeo:before{content:"\f2a9"}.mofa-viadeo-square:before{content:"\f2aa"}.mofa-snapchat:before{content:"\f2ab"}.mofa-snapchat-ghost:before{content:"\f2ac"}.mofa-snapchat-square:before{content:"\f2ad"}.mofa-pied-piper:before{content:"\f2ae"}.mofa-first-order:before{content:"\f2b0"}.mofa-yoast:before{content:"\f2b1"}.mofa-themeisle:before{content:"\f2b2"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}
|
1 |
Â
/*!
|
2 |
Â
* Font Awesome 4.6.2 by @davegandy - http://fontawesome.io - @fontawesome
|
3 |
Â
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
4 |
+
*/@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.6.2');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.6.2') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.6.2') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.6.2') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.6.2') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.6.2#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.mofab{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mofab-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.mofab-2x{font-size:2em}.mofab-3x{font-size:3em}.mofab-4x{font-size:4em}.mofab-5x{font-size:5em}.mofab-fw{width:1.28571429em;text-align:center}.mofab-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.mofab-ul>li{position:relative}.mofab-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.mofab-li.mofab-lg{left:-1.85714286em}.mofab-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.mofab-pull-left{float:left}.mofab-pull-right{float:right}.mofab.mofab-pull-left{margin-right:.3em}.mofab.mofab-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.mofab.pull-left{margin-right:.3em}.mofab.pull-right{margin-left:.3em}.mofab-spin{-webkit-animation:mofab-spin 2s infinite linear;animation:mofab-spin 2s infinite linear}.mofab-pulse{-webkit-animation:mofab-spin 1s infinite steps(8);animation:mofab-spin 1s infinite steps(8)}@-webkit-keyframes mofab-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mofab-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.mofab-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mofab-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mofab-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mofab-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.mofab-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .mofab-rotate-90,:root .mofab-rotate-180,:root .mofab-rotate-270,:root .mofab-flip-horizontal,:root .mofab-flip-vertical{filter:none}.mofab-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.mofab-stack-1x,.mofab-stack-2x{position:absolute;left:0;width:100%;text-align:center}.mofab-stack-1x{line-height:inherit}.mofab-stack-2x{font-size:2em}.mofab-inverse{color:#fff}.mofab-glass:before{content:"\f000"}.mofab-music:before{content:"\f001"}.mofab-search:before{content:"\f002"}.mofab-envelope-o:before{content:"\f003"}.mofab-heart:before{content:"\f004"}.mofab-star:before{content:"\f005"}.mofab-star-o:before{content:"\f006"}.mofab-user:before{content:"\f007"}.mofab-film:before{content:"\f008"}.mofab-th-large:before{content:"\f009"}.mofab-th:before{content:"\f00a"}.mofab-th-list:before{content:"\f00b"}.mofab-check:before{content:"\f00c"}.mofab-remove:before,.mofab-close:before,.mofab-times:before{content:"\f00d"}.mofab-search-plus:before{content:"\f00e"}.mofab-search-minus:before{content:"\f010"}.mofab-power-off:before{content:"\f011"}.mofab-signal:before{content:"\f012"}.mofab-gear:before,.mofab-cog:before{content:"\f013"}.mofab-trash-o:before{content:"\f014"}.mofab-home:before{content:"\f015"}.mofab-file-o:before{content:"\f016"}.mofab-clock-o:before{content:"\f017"}.mofab-road:before{content:"\f018"}.mofab-download:before{content:"\f019"}.mofab-arrow-circle-o-down:before{content:"\f01a"}.mofab-arrow-circle-o-up:before{content:"\f01b"}.mofab-inbox:before{content:"\f01c"}.mofab-play-circle-o:before{content:"\f01d"}.mofab-rotate-right:before,.mofab-repeat:before{content:"\f01e"}.mofab-refresh:before{content:"\f021"}.mofab-list-alt:before{content:"\f022"}.mofab-lock:before{content:"\f023"}.mofab-flag:before{content:"\f024"}.mofab-headphones:before{content:"\f025"}.mofab-volume-off:before{content:"\f026"}.mofab-volume-down:before{content:"\f027"}.mofab-volume-up:before{content:"\f028"}.mofab-qrcode:before{content:"\f029"}.mofab-barcode:before{content:"\f02a"}.mofab-tag:before{content:"\f02b"}.mofab-tags:before{content:"\f02c"}.mofab-book:before{content:"\f02d"}.mofab-bookmark:before{content:"\f02e"}.mofab-print:before{content:"\f02f"}.mofab-camera:before{content:"\f030"}.mofab-font:before{content:"\f031"}.mofab-bold:before{content:"\f032"}.mofab-italic:before{content:"\f033"}.mofab-text-height:before{content:"\f034"}.mofab-text-width:before{content:"\f035"}.mofab-align-left:before{content:"\f036"}.mofab-align-center:before{content:"\f037"}.mofab-align-right:before{content:"\f038"}.mofab-align-justify:before{content:"\f039"}.mofab-list:before{content:"\f03a"}.mofab-dedent:before,.mofab-outdent:before{content:"\f03b"}.mofab-indent:before{content:"\f03c"}.mofab-video-camera:before{content:"\f03d"}.mofab-photo:before,.mofab-image:before,.mofab-picture-o:before{content:"\f03e"}.mofab-pencil:before{content:"\f040"}.mofab-map-marker:before{content:"\f041"}.mofab-adjust:before{content:"\f042"}.mofab-tint:before{content:"\f043"}.mofab-edit:before,.mofab-pencil-square-o:before{content:"\f044"}.mofab-share-square-o:before{content:"\f045"}.mofab-check-square-o:before{content:"\f046"}.mofab-arrows:before{content:"\f047"}.mofab-step-backward:before{content:"\f048"}.mofab-fast-backward:before{content:"\f049"}.mofab-backward:before{content:"\f04a"}.mofab-play:before{content:"\f04b"}.mofab-pause:before{content:"\f04c"}.mofab-stop:before{content:"\f04d"}.mofab-forward:before{content:"\f04e"}.mofab-fast-forward:before{content:"\f050"}.mofab-step-forward:before{content:"\f051"}.mofab-eject:before{content:"\f052"}.mofab-chevron-left:before{content:"\f053"}.mofab-chevron-right:before{content:"\f054"}.mofab-plus-circle:before{content:"\f055"}.mofab-minus-circle:before{content:"\f056"}.mofab-times-circle:before{content:"\f057"}.mofab-check-circle:before{content:"\f058"}.mofab-question-circle:before{content:"\f059"}.mofab-info-circle:before{content:"\f05a"}.mofab-crosshairs:before{content:"\f05b"}.mofab-times-circle-o:before{content:"\f05c"}.mofab-check-circle-o:before{content:"\f05d"}.mofab-ban:before{content:"\f05e"}.mofab-arrow-left:before{content:"\f060"}.mofab-arrow-right:before{content:"\f061"}.mofab-arrow-up:before{content:"\f062"}.mofab-arrow-down:before{content:"\f063"}.mofab-mail-forward:before,.mofab-share:before{content:"\f064"}.mofab-expand:before{content:"\f065"}.mofab-compress:before{content:"\f066"}.mofab-plus:before{content:"\f067"}.mofab-minus:before{content:"\f068"}.mofab-asterisk:before{content:"\f069"}.mofab-exclamation-circle:before{content:"\f06a"}.mofab-gift:before{content:"\f06b"}.mofab-leaf:before{content:"\f06c"}.mofab-fire:before{content:"\f06d"}.mofab-eye:before{content:"\f06e"}.mofab-eye-slash:before{content:"\f070"}.mofab-warning:before,.mofab-exclamation-triangle:before{content:"\f071"}.mofab-plane:before{content:"\f072"}.mofab-calendar:before{content:"\f073"}.mofab-random:before{content:"\f074"}.mofab-comment:before{content:"\f075"}.mofab-magnet:before{content:"\f076"}.mofab-chevron-up:before{content:"\f077"}.mofab-chevron-down:before{content:"\f078"}.mofab-retweet:before{content:"\f079"}.mofab-shopping-cart:before{content:"\f07a"}.mofab-folder:before{content:"\f07b"}.mofab-folder-open:before{content:"\f07c"}.mofab-arrows-v:before{content:"\f07d"}.mofab-arrows-h:before{content:"\f07e"}.mofab-bar-chart-o:before,.mofab-bar-chart:before{content:"\f080"}.mofab-twitter-square:before{content:"\f081"}.mofab-facebook-square:before{content:"\f082"}.mofab-camera-retro:before{content:"\f083"}.mofab-key:before{content:"\f084"}.mofab-gears:before,.mofab-cogs:before{content:"\f085"}.mofab-comments:before{content:"\f086"}.mofab-thumbs-o-up:before{content:"\f087"}.mofab-thumbs-o-down:before{content:"\f088"}.mofab-star-half:before{content:"\f089"}.mofab-heart-o:before{content:"\f08a"}.mofab-sign-out:before{content:"\f08b"}.mofab-linkedin-square:before{content:"\f08c"}.mofab-thumb-tack:before{content:"\f08d"}.mofab-external-link:before{content:"\f08e"}.mofab-sign-in:before{content:"\f090"}.mofab-trophy:before{content:"\f091"}.mofab-github-square:before{content:"\f092"}.mofab-upload:before{content:"\f093"}.mofab-lemon-o:before{content:"\f094"}.mofab-phone:before{content:"\f095"}.mofab-square-o:before{content:"\f096"}.mofab-bookmark-o:before{content:"\f097"}.mofab-phone-square:before{content:"\f098"}.mofab-twitter:before{content:"\f099"}.mofab-facebook-f:before,.mofab-facebook:before{content:"\f09a"}.mofab-github:before{content:"\f09b"}.mofab-unlock:before{content:"\f09c"}.mofab-credit-card:before{content:"\f09d"}.mofab-feed:before,.mofab-rss:before{content:"\f09e"}.mofab-hdd-o:before{content:"\f0a0"}.mofab-bullhorn:before{content:"\f0a1"}.mofab-bell:before{content:"\f0f3"}.mofab-certificate:before{content:"\f0a3"}.mofab-hand-o-right:before{content:"\f0a4"}.mofab-hand-o-left:before{content:"\f0a5"}.mofab-hand-o-up:before{content:"\f0a6"}.mofab-hand-o-down:before{content:"\f0a7"}.mofab-arrow-circle-left:before{content:"\f0a8"}.mofab-arrow-circle-right:before{content:"\f0a9"}.mofab-arrow-circle-up:before{content:"\f0aa"}.mofab-arrow-circle-down:before{content:"\f0ab"}.mofab-globe:before{content:"\f0ac"}.mofab-wrench:before{content:"\f0ad"}.mofab-tasks:before{content:"\f0ae"}.mofab-filter:before{content:"\f0b0"}.mofab-briefcase:before{content:"\f0b1"}.mofab-arrows-alt:before{content:"\f0b2"}.mofab-group:before,.mofab-users:before{content:"\f0c0"}.mofab-chain:before,.mofab-link:before{content:"\f0c1"}.mofab-cloud:before{content:"\f0c2"}.mofab-flask:before{content:"\f0c3"}.mofab-cut:before,.mofab-scissors:before{content:"\f0c4"}.mofab-copy:before,.mofab-files-o:before{content:"\f0c5"}.mofab-paperclip:before{content:"\f0c6"}.mofab-save:before,.mofab-floppy-o:before{content:"\f0c7"}.mofab-square:before{content:"\f0c8"}.mofab-navicon:before,.mofab-reorder:before,.mofab-bars:before{content:"\f0c9"}.mofab-list-ul:before{content:"\f0ca"}.mofab-list-ol:before{content:"\f0cb"}.mofab-strikethrough:before{content:"\f0cc"}.mofab-underline:before{content:"\f0cd"}.mofab-table:before{content:"\f0ce"}.mofab-magic:before{content:"\f0d0"}.mofab-truck:before{content:"\f0d1"}.mofab-pinterest:before{content:"\f0d2"}.mofab-pinterest-square:before{content:"\f0d3"}.mofab-google-plus-square:before{content:"\f0d4"}.mofab-google-plus:before{content:"\f0d5"}.mofab-money:before{content:"\f0d6"}.mofab-caret-down:before{content:"\f0d7"}.mofab-caret-up:before{content:"\f0d8"}.mofab-caret-left:before{content:"\f0d9"}.mofab-caret-right:before{content:"\f0da"}.mofab-columns:before{content:"\f0db"}.mofab-unsorted:before,.mofab-sort:before{content:"\f0dc"}.mofab-sort-down:before,.mofab-sort-desc:before{content:"\f0dd"}.mofab-sort-up:before,.mofab-sort-asc:before{content:"\f0de"}.mofab-envelope:before{content:"\f0e0"}.mofab-linkedin:before{content:"\f0e1"}.mofab-rotate-left:before,.mofab-undo:before{content:"\f0e2"}.mofab-legal:before,.mofab-gavel:before{content:"\f0e3"}.mofab-dashboard:before,.mofab-tachometer:before{content:"\f0e4"}.mofab-comment-o:before{content:"\f0e5"}.mofab-comments-o:before{content:"\f0e6"}.mofab-flash:before,.mofab-bolt:before{content:"\f0e7"}.mofab-sitemap:before{content:"\f0e8"}.mofab-umbrella:before{content:"\f0e9"}.mofab-paste:before,.mofab-clipboard:before{content:"\f0ea"}.mofab-lightbulb-o:before{content:"\f0eb"}.mofab-exchange:before{content:"\f0ec"}.mofab-cloud-download:before{content:"\f0ed"}.mofab-cloud-upload:before{content:"\f0ee"}.mofab-user-md:before{content:"\f0f0"}.mofab-stethoscope:before{content:"\f0f1"}.mofab-suitcase:before{content:"\f0f2"}.mofab-bell-o:before{content:"\f0a2"}.mofab-coffee:before{content:"\f0f4"}.mofab-cutlery:before{content:"\f0f5"}.mofab-file-text-o:before{content:"\f0f6"}.mofab-building-o:before{content:"\f0f7"}.mofab-hospital-o:before{content:"\f0f8"}.mofab-ambulance:before{content:"\f0f9"}.mofab-medkit:before{content:"\f0fa"}.mofab-fighter-jet:before{content:"\f0fb"}.mofab-beer:before{content:"\f0fc"}.mofab-h-square:before{content:"\f0fd"}.mofab-plus-square:before{content:"\f0fe"}.mofab-angle-double-left:before{content:"\f100"}.mofab-angle-double-right:before{content:"\f101"}.mofab-angle-double-up:before{content:"\f102"}.mofab-angle-double-down:before{content:"\f103"}.mofab-angle-left:before{content:"\f104"}.mofab-angle-right:before{content:"\f105"}.mofab-angle-up:before{content:"\f106"}.mofab-angle-down:before{content:"\f107"}.mofab-desktop:before{content:"\f108"}.mofab-laptop:before{content:"\f109"}.mofab-tablet:before{content:"\f10a"}.mofab-mobile-phone:before,.mofab-mobile:before{content:"\f10b"}.mofab-circle-o:before{content:"\f10c"}.mofab-quote-left:before{content:"\f10d"}.mofab-quote-right:before{content:"\f10e"}.mofab-spinner:before{content:"\f110"}.mofab-circle:before{content:"\f111"}.mofab-mail-reply:before,.mofab-reply:before{content:"\f112"}.mofab-github-alt:before{content:"\f113"}.mofab-folder-o:before{content:"\f114"}.mofab-folder-open-o:before{content:"\f115"}.mofab-smile-o:before{content:"\f118"}.mofab-frown-o:before{content:"\f119"}.mofab-meh-o:before{content:"\f11a"}.mofab-gamepad:before{content:"\f11b"}.mofab-keyboard-o:before{content:"\f11c"}.mofab-flag-o:before{content:"\f11d"}.mofab-flag-checkered:before{content:"\f11e"}.mofab-terminal:before{content:"\f120"}.mofab-code:before{content:"\f121"}.mofab-mail-reply-all:before,.mofab-reply-all:before{content:"\f122"}.mofab-star-half-empty:before,.mofab-star-half-full:before,.mofab-star-half-o:before{content:"\f123"}.mofab-location-arrow:before{content:"\f124"}.mofab-crop:before{content:"\f125"}.mofab-code-fork:before{content:"\f126"}.mofab-unlink:before,.mofab-chain-broken:before{content:"\f127"}.mofab-question:before{content:"\f128"}.mofab-info:before{content:"\f129"}.mofab-exclamation:before{content:"\f12a"}.mofab-superscript:before{content:"\f12b"}.mofab-subscript:before{content:"\f12c"}.mofab-eraser:before{content:"\f12d"}.mofab-puzzle-piece:before{content:"\f12e"}.mofab-microphone:before{content:"\f130"}.mofab-microphone-slash:before{content:"\f131"}.mofab-shield:before{content:"\f132"}.mofab-calendar-o:before{content:"\f133"}.mofab-fire-extinguisher:before{content:"\f134"}.mofab-rocket:before{content:"\f135"}.mofab-maxcdn:before{content:"\f136"}.mofab-chevron-circle-left:before{content:"\f137"}.mofab-chevron-circle-right:before{content:"\f138"}.mofab-chevron-circle-up:before{content:"\f139"}.mofab-chevron-circle-down:before{content:"\f13a"}.mofab-html5:before{content:"\f13b"}.mofab-css3:before{content:"\f13c"}.mofab-anchor:before{content:"\f13d"}.mofab-unlock-alt:before{content:"\f13e"}.mofab-bullseye:before{content:"\f140"}.mofab-ellipsis-h:before{content:"\f141"}.mofab-ellipsis-v:before{content:"\f142"}.mofab-rss-square:before{content:"\f143"}.mofab-play-circle:before{content:"\f144"}.mofab-ticket:before{content:"\f145"}.mofab-minus-square:before{content:"\f146"}.mofab-minus-square-o:before{content:"\f147"}.mofab-level-up:before{content:"\f148"}.mofab-level-down:before{content:"\f149"}.mofab-check-square:before{content:"\f14a"}.mofab-pencil-square:before{content:"\f14b"}.mofab-external-link-square:before{content:"\f14c"}.mofab-share-square:before{content:"\f14d"}.mofab-compass:before{content:"\f14e"}.mofab-toggle-down:before,.mofab-caret-square-o-down:before{content:"\f150"}.mofab-toggle-up:before,.mofab-caret-square-o-up:before{content:"\f151"}.mofab-toggle-right:before,.mofab-caret-square-o-right:before{content:"\f152"}.mofab-euro:before,.mofab-eur:before{content:"\f153"}.mofab-gbp:before{content:"\f154"}.mofab-dollar:before,.mofab-usd:before{content:"\f155"}.mofab-rupee:before,.mofab-inr:before{content:"\f156"}.mofab-cny:before,.mofab-rmb:before,.mofab-yen:before,.mofab-jpy:before{content:"\f157"}.mofab-ruble:before,.mofab-rouble:before,.mofab-rub:before{content:"\f158"}.mofab-won:before,.mofab-krw:before{content:"\f159"}.mofab-bitcoin:before,.mofab-btc:before{content:"\f15a"}.mofab-file:before{content:"\f15b"}.mofab-file-text:before{content:"\f15c"}.mofab-sort-alpha-asc:before{content:"\f15d"}.mofab-sort-alpha-desc:before{content:"\f15e"}.mofab-sort-amount-asc:before{content:"\f160"}.mofab-sort-amount-desc:before{content:"\f161"}.mofab-sort-numeric-asc:before{content:"\f162"}.mofab-sort-numeric-desc:before{content:"\f163"}.mofab-thumbs-up:before{content:"\f164"}.mofab-thumbs-down:before{content:"\f165"}.mofab-youtube-square:before{content:"\f166"}.mofab-youtube:before{content:"\f167"}.mofab-xing:before{content:"\f168"}.mofab-xing-square:before{content:"\f169"}.mofab-youtube-play:before{content:"\f16a"}.mofab-dropbox:before{content:"\f16b"}.mofab-stack-overflow:before{content:"\f16c"}.mofab-instagram:before{content:"\f16d"}.mofab-flickr:before{content:"\f16e"}.mofab-adn:before{content:"\f170"}.mofab-bitbucket:before{content:"\f171"}.mofab-bitbucket-square:before{content:"\f172"}.mofab-tumblr:before{content:"\f173"}.mofab-tumblr-square:before{content:"\f174"}.mofab-long-arrow-down:before{content:"\f175"}.mofab-long-arrow-up:before{content:"\f176"}.mofab-long-arrow-left:before{content:"\f177"}.mofab-long-arrow-right:before{content:"\f178"}.mofab-apple:before{content:"\f179"}.mofab-windows:before{content:"\f17a"}.mofab-android:before{content:"\f17b"}.mofab-linux:before{content:"\f17c"}.mofab-dribbble:before{content:"\f17d"}.mofab-skype:before{content:"\f17e"}.mofab-foursquare:before{content:"\f180"}.mofab-trello:before{content:"\f181"}.mofab-female:before{content:"\f182"}.mofab-male:before{content:"\f183"}.mofab-gittip:before,.mofab-gratipay:before{content:"\f184"}.mofab-sun-o:before{content:"\f185"}.mofab-moon-o:before{content:"\f186"}.mofab-archive:before{content:"\f187"}.mofab-bug:before{content:"\f188"}.mofab-vk:before{content:"\f189"}.mofab-weibo:before{content:"\f18a"}.mofab-renren:before{content:"\f18b"}.mofab-pagelines:before{content:"\f18c"}.mofab-stack-exchange:before{content:"\f18d"}.mofab-arrow-circle-o-right:before{content:"\f18e"}.mofab-arrow-circle-o-left:before{content:"\f190"}.mofab-toggle-left:before,.mofab-caret-square-o-left:before{content:"\f191"}.mofab-dot-circle-o:before{content:"\f192"}.mofab-wheelchair:before{content:"\f193"}.mofab-vimeo-square:before{content:"\f194"}.mofab-turkish-lira:before,.mofab-try:before{content:"\f195"}.mofab-plus-square-o:before{content:"\f196"}.mofab-space-shuttle:before{content:"\f197"}.mofab-slack:before{content:"\f198"}.mofab-envelope-square:before{content:"\f199"}.mofab-wordpress:before{content:"\f19a"}.mofab-openid:before{content:"\f19b"}.mofab-institution:before,.mofab-bank:before,.mofab-university:before{content:"\f19c"}.mofab-mortar-board:before,.mofab-graduation-cap:before{content:"\f19d"}.mofab-yahoo:before{content:"\f19e"}.mofab-google:before{content:"\f1a0"}.mofab-reddit:before{content:"\f1a1"}.mofab-reddit-square:before{content:"\f1a2"}.mofab-stumbleupon-circle:before{content:"\f1a3"}.mofab-stumbleupon:before{content:"\f1a4"}.mofab-delicious:before{content:"\f1a5"}.mofab-digg:before{content:"\f1a6"}.mofab-pied-piper-pp:before{content:"\f1a7"}.mofab-pied-piper-alt:before{content:"\f1a8"}.mofab-drupal:before{content:"\f1a9"}.mofab-joomla:before{content:"\f1aa"}.mofab-language:before{content:"\f1ab"}.mofab-fax:before{content:"\f1ac"}.mofab-building:before{content:"\f1ad"}.mofab-child:before{content:"\f1ae"}.mofab-paw:before{content:"\f1b0"}.mofab-spoon:before{content:"\f1b1"}.mofab-cube:before{content:"\f1b2"}.mofab-cubes:before{content:"\f1b3"}.mofab-behance:before{content:"\f1b4"}.mofab-behance-square:before{content:"\f1b5"}.mofab-steam:before{content:"\f1b6"}.mofab-steam-square:before{content:"\f1b7"}.mofab-recycle:before{content:"\f1b8"}.mofab-automobile:before,.mofab-car:before{content:"\f1b9"}.mofab-cab:before,.mofab-taxi:before{content:"\f1ba"}.mofab-tree:before{content:"\f1bb"}.mofab-spotify:before{content:"\f1bc"}.mofab-deviantart:before{content:"\f1bd"}.mofab-soundcloud:before{content:"\f1be"}.mofab-database:before{content:"\f1c0"}.mofab-file-pdf-o:before{content:"\f1c1"}.mofab-file-word-o:before{content:"\f1c2"}.mofab-file-excel-o:before{content:"\f1c3"}.mofab-file-powerpoint-o:before{content:"\f1c4"}.mofab-file-photo-o:before,.mofab-file-picture-o:before,.mofab-file-image-o:before{content:"\f1c5"}.mofab-file-zip-o:before,.mofab-file-archive-o:before{content:"\f1c6"}.mofab-file-sound-o:before,.mofab-file-audio-o:before{content:"\f1c7"}.mofab-file-movie-o:before,.mofab-file-video-o:before{content:"\f1c8"}.mofab-file-code-o:before{content:"\f1c9"}.mofab-vine:before{content:"\f1ca"}.mofab-codepen:before{content:"\f1cb"}.mofab-jsfiddle:before{content:"\f1cc"}.mofab-life-bouy:before,.mofab-life-buoy:before,.mofab-life-saver:before,.mofab-support:before,.mofab-life-ring:before{content:"\f1cd"}.mofab-circle-o-notch:before{content:"\f1ce"}.mofab-ra:before,.mofab-resistance:before,.mofab-rebel:before{content:"\f1d0"}.mofab-ge:before,.mofab-empire:before{content:"\f1d1"}.mofab-git-square:before{content:"\f1d2"}.mofab-git:before{content:"\f1d3"}.mofab-y-combinator-square:before,.mofab-yc-square:before,.mofab-hacker-news:before{content:"\f1d4"}.mofab-tencent-weibo:before{content:"\f1d5"}.mofab-qq:before{content:"\f1d6"}.mofab-wechat:before,.mofab-weixin:before{content:"\f1d7"}.mofab-send:before,.mofab-paper-plane:before{content:"\f1d8"}.mofab-send-o:before,.mofab-paper-plane-o:before{content:"\f1d9"}.mofab-history:before{content:"\f1da"}.mofab-circle-thin:before{content:"\f1db"}.mofab-header:before{content:"\f1dc"}.mofab-paragraph:before{content:"\f1dd"}.mofab-sliders:before{content:"\f1de"}.mofab-share-alt:before{content:"\f1e0"}.mofab-share-alt-square:before{content:"\f1e1"}.mofab-bomb:before{content:"\f1e2"}.mofab-soccer-ball-o:before,.mofab-futbol-o:before{content:"\f1e3"}.mofab-tty:before{content:"\f1e4"}.mofab-binoculars:before{content:"\f1e5"}.mofab-plug:before{content:"\f1e6"}.mofab-slideshare:before{content:"\f1e7"}.mofab-twitch:before{content:"\f1e8"}.mofab-yelp:before{content:"\f1e9"}.mofab-newspaper-o:before{content:"\f1ea"}.mofab-wifi:before{content:"\f1eb"}.mofab-calculator:before{content:"\f1ec"}.mofab-paypal:before{content:"\f1ed"}.mofab-google-wallet:before{content:"\f1ee"}.mofab-cc-visa:before{content:"\f1f0"}.mofab-cc-mastercard:before{content:"\f1f1"}.mofab-cc-discover:before{content:"\f1f2"}.mofab-cc-amex:before{content:"\f1f3"}.mofab-cc-paypal:before{content:"\f1f4"}.mofab-cc-stripe:before{content:"\f1f5"}.mofab-bell-slash:before{content:"\f1f6"}.mofab-bell-slash-o:before{content:"\f1f7"}.mofab-trash:before{content:"\f1f8"}.mofab-copyright:before{content:"\f1f9"}.mofab-at:before{content:"\f1fa"}.mofab-eyedropper:before{content:"\f1fb"}.mofab-paint-brush:before{content:"\f1fc"}.mofab-birthday-cake:before{content:"\f1fd"}.mofab-area-chart:before{content:"\f1fe"}.mofab-pie-chart:before{content:"\f200"}.mofab-line-chart:before{content:"\f201"}.mofab-lastfm:before{content:"\f202"}.mofab-lastfm-square:before{content:"\f203"}.mofab-toggle-off:before{content:"\f204"}.mofab-toggle-on:before{content:"\f205"}.mofab-bicycle:before{content:"\f206"}.mofab-bus:before{content:"\f207"}.mofab-ioxhost:before{content:"\f208"}.mofab-angellist:before{content:"\f209"}.mofab-cc:before{content:"\f20a"}.mofab-shekel:before,.mofab-sheqel:before,.mofab-ils:before{content:"\f20b"}.mofab-meanpath:before{content:"\f20c"}.mofab-buysellads:before{content:"\f20d"}.mofab-connectdevelop:before{content:"\f20e"}.mofab-dashcube:before{content:"\f210"}.mofab-forumbee:before{content:"\f211"}.mofab-leanpub:before{content:"\f212"}.mofab-sellsy:before{content:"\f213"}.mofab-shirtsinbulk:before{content:"\f214"}.mofab-simplybuilt:before{content:"\f215"}.mofab-skyatlas:before{content:"\f216"}.mofab-cart-plus:before{content:"\f217"}.mofab-cart-arrow-down:before{content:"\f218"}.mofab-diamond:before{content:"\f219"}.mofab-ship:before{content:"\f21a"}.mofab-user-secret:before{content:"\f21b"}.mofab-motorcycle:before{content:"\f21c"}.mofab-street-view:before{content:"\f21d"}.mofab-heartbeat:before{content:"\f21e"}.mofab-venus:before{content:"\f221"}.mofab-mars:before{content:"\f222"}.mofab-mercury:before{content:"\f223"}.mofab-intersex:before,.mofab-transgender:before{content:"\f224"}.mofab-transgender-alt:before{content:"\f225"}.mofab-venus-double:before{content:"\f226"}.mofab-mars-double:before{content:"\f227"}.mofab-venus-mars:before{content:"\f228"}.mofab-mars-stroke:before{content:"\f229"}.mofab-mars-stroke-v:before{content:"\f22a"}.mofab-mars-stroke-h:before{content:"\f22b"}.mofab-neuter:before{content:"\f22c"}.mofab-genderless:before{content:"\f22d"}.mofab-facebook-official:before{content:"\f230"}.mofab-pinterest-p:before{content:"\f231"}.mofab-whatsapp:before{content:"\f232"}.mofab-server:before{content:"\f233"}.mofab-user-plus:before{content:"\f234"}.mofab-user-times:before{content:"\f235"}.mofab-hotel:before,.mofab-bed:before{content:"\f236"}.mofab-viacoin:before{content:"\f237"}.mofab-train:before{content:"\f238"}.mofab-subway:before{content:"\f239"}.mofab-medium:before{content:"\f23a"}.mofab-yc:before,.mofab-y-combinator:before{content:"\f23b"}.mofab-optin-monster:before{content:"\f23c"}.mofab-opencart:before{content:"\f23d"}.mofab-expeditedssl:before{content:"\f23e"}.mofab-battery-4:before,.mofab-battery-full:before{content:"\f240"}.mofab-battery-3:before,.mofab-battery-three-quarters:before{content:"\f241"}.mofab-battery-2:before,.mofab-battery-half:before{content:"\f242"}.mofab-battery-1:before,.mofab-battery-quarter:before{content:"\f243"}.mofab-battery-0:before,.mofab-battery-empty:before{content:"\f244"}.mofab-mouse-pointer:before{content:"\f245"}.mofab-i-cursor:before{content:"\f246"}.mofab-object-group:before{content:"\f247"}.mofab-object-ungroup:before{content:"\f248"}.mofab-sticky-note:before{content:"\f249"}.mofab-sticky-note-o:before{content:"\f24a"}.mofab-cc-jcb:before{content:"\f24b"}.mofab-cc-diners-club:before{content:"\f24c"}.mofab-clone:before{content:"\f24d"}.mofab-balance-scale:before{content:"\f24e"}.mofab-hourglass-o:before{content:"\f250"}.mofab-hourglass-1:before,.mofab-hourglass-start:before{content:"\f251"}.mofab-hourglass-2:before,.mofab-hourglass-half:before{content:"\f252"}.mofab-hourglass-3:before,.mofab-hourglass-end:before{content:"\f253"}.mofab-hourglass:before{content:"\f254"}.mofab-hand-grab-o:before,.mofab-hand-rock-o:before{content:"\f255"}.mofab-hand-stop-o:before,.mofab-hand-paper-o:before{content:"\f256"}.mofab-hand-scissors-o:before{content:"\f257"}.mofab-hand-lizard-o:before{content:"\f258"}.mofab-hand-spock-o:before{content:"\f259"}.mofab-hand-pointer-o:before{content:"\f25a"}.mofab-hand-peace-o:before{content:"\f25b"}.mofab-trademark:before{content:"\f25c"}.mofab-registered:before{content:"\f25d"}.mofab-creative-commons:before{content:"\f25e"}.mofab-gg:before{content:"\f260"}.mofab-gg-circle:before{content:"\f261"}.mofab-tripadvisor:before{content:"\f262"}.mofab-odnoklassniki:before{content:"\f263"}.mofab-odnoklassniki-square:before{content:"\f264"}.mofab-get-pocket:before{content:"\f265"}.mofab-wikipedia-w:before{content:"\f266"}.mofab-safari:before{content:"\f267"}.mofab-chrome:before{content:"\f268"}.mofab-firefox:before{content:"\f269"}.mofab-opera:before{content:"\f26a"}.mofab-internet-explorer:before{content:"\f26b"}.mofab-tv:before,.mofab-television:before{content:"\f26c"}.mofab-contao:before{content:"\f26d"}.mofab-500px:before{content:"\f26e"}.mofab-amazon:before{content:"\f270"}.mofab-calendar-plus-o:before{content:"\f271"}.mofab-calendar-minus-o:before{content:"\f272"}.mofab-calendar-times-o:before{content:"\f273"}.mofab-calendar-check-o:before{content:"\f274"}.mofab-industry:before{content:"\f275"}.mofab-map-pin:before{content:"\f276"}.mofab-map-signs:before{content:"\f277"}.mofab-map-o:before{content:"\f278"}.mofab-map:before{content:"\f279"}.mofab-commenting:before{content:"\f27a"}.mofab-commenting-o:before{content:"\f27b"}.mofab-houzz:before{content:"\f27c"}.mofab-vimeo:before{content:"\f27d"}.mofab-black-tie:before{content:"\f27e"}.mofab-fonticons:before{content:"\f280"}.mofab-reddit-alien:before{content:"\f281"}.mofab-edge:before{content:"\f282"}.mofab-credit-card-alt:before{content:"\f283"}.mofab-codiepie:before{content:"\f284"}.mofab-modx:before{content:"\f285"}.mofab-fort-awesome:before{content:"\f286"}.mofab-usb:before{content:"\f287"}.mofab-product-hunt:before{content:"\f288"}.mofab-mixcloud:before{content:"\f289"}.mofab-scribd:before{content:"\f28a"}.mofab-pause-circle:before{content:"\f28b"}.mofab-pause-circle-o:before{content:"\f28c"}.mofab-stop-circle:before{content:"\f28d"}.mofab-stop-circle-o:before{content:"\f28e"}.mofab-shopping-bag:before{content:"\f290"}.mofab-shopping-basket:before{content:"\f291"}.mofab-hashtag:before{content:"\f292"}.mofab-bluetooth:before{content:"\f293"}.mofab-bluetooth-b:before{content:"\f294"}.mofab-percent:before{content:"\f295"}.mofab-gitlab:before{content:"\f296"}.mofab-wpbeginner:before{content:"\f297"}.mofab-wpforms:before{content:"\f298"}.mofab-envira:before{content:"\f299"}.mofab-universal-access:before{content:"\f29a"}.mofab-wheelchair-alt:before{content:"\f29b"}.mofab-question-circle-o:before{content:"\f29c"}.mofab-blind:before{content:"\f29d"}.mofab-audio-description:before{content:"\f29e"}.mofab-volume-control-phone:before{content:"\f2a0"}.mofab-braille:before{content:"\f2a1"}.mofab-assistive-listening-systems:before{content:"\f2a2"}.mofab-asl-interpreting:before,.mofab-american-sign-language-interpreting:before{content:"\f2a3"}.mofab-deafness:before,.mofab-hard-of-hearing:before,.mofab-deaf:before{content:"\f2a4"}.mofab-glide:before{content:"\f2a5"}.mofab-glide-g:before{content:"\f2a6"}.mofab-signing:before,.mofab-sign-language:before{content:"\f2a7"}.mofab-low-vision:before{content:"\f2a8"}.mofab-viadeo:before{content:"\f2a9"}.mofab-viadeo-square:before{content:"\f2aa"}.mofab-snapchat:before{content:"\f2ab"}.mofab-snapchat-ghost:before{content:"\f2ac"}.mofab-snapchat-square:before{content:"\f2ad"}.mofab-pied-piper:before{content:"\f2ae"}.mofab-first-order:before{content:"\f2b0"}.mofab-yoast:before{content:"\f2b1"}.mofab-themeisle:before{content:"\f2b2"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:
|
includes/css/mo_openid_style.css
CHANGED
@@ -1620,3 +1620,17 @@ input:checked + .slider:before {
|
|
1620 |
Â
.slider.round:before {
|
1621 |
Â
border-radius: 50%;
|
1622 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1620 |
Â
.slider.round:before {
|
1621 |
Â
border-radius: 50%;
|
1622 |
Â
}
|
1623 |
+
/* added for tlwp by Roshan*/
|
1624 |
+
|
1625 |
+
.mo_succ_notice {
|
1626 |
+
background: #e7fcd0;
|
1627 |
+
border: 1px solid #f6f3f4;
|
1628 |
+
border-left-color: rgb(195, 182, 182);
|
1629 |
+
|
1630 |
+
border-left-width: 6px;
|
1631 |
+
box-shadow: 0 1px 1px rgba(0,0,0,.04);
|
1632 |
+
margin: 5px 15px 2px;
|
1633 |
+
padding: 1px 12px;
|
1634 |
+
border-left-color: #427e05;
|
1635 |
+
|
1636 |
+
}
|
includes/css/mo_sl_banner.css
ADDED
@@ -0,0 +1,4 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
/*eoss start*/
|
2 |
+
.mo_sl_notice{background-image:url(../images/mo-sl-xmas.jpg)!important;color:#fff}
|
3 |
+
.mo_sl_notice_url{color:#ff0!important}
|
4 |
+
/*eoss end*/
|
includes/images/eosssale.gif
ADDED
Binary file
|
includes/images/icons/fitbit.png
ADDED
Binary file
|
includes/images/miniOrange_logo.png
CHANGED
Binary file
|
includes/images/mo-sl-xmas.jpg
ADDED
Binary file
|
includes/js/mo_openid_settings.js
CHANGED
@@ -94,4 +94,17 @@ jQuery(document).ready(function () {
|
|
94 |
Â
jQuery("#openid_question_plugin").click(function () {
|
95 |
Â
jQuery("#openid_question_plugin_desc").slideToggle(400);
|
96 |
Â
});
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
97 |
Â
});
|
94 |
Â
jQuery("#openid_question_plugin").click(function () {
|
95 |
Â
jQuery("#openid_question_plugin_desc").slideToggle(400);
|
96 |
Â
});
|
97 |
+
jQuery(document.body).on("click",".mo_sl_notice .notice-dismiss",function(o){
|
98 |
+
jQuery.ajax({
|
99 |
+
url:"admin-ajax.php",
|
100 |
+
type:"POST",
|
101 |
+
data:{
|
102 |
+
action:"mo_sl_dismiss_notice"
|
103 |
+
},
|
104 |
+
crossDomain:!0,
|
105 |
+
dataType:"json",
|
106 |
+
success:function(){return!0},
|
107 |
+
error:function(){return!1}
|
108 |
+
})
|
109 |
+
});
|
110 |
Â
});
|
miniorange_openid_sso_settings.php
CHANGED
@@ -4,14 +4,15 @@
|
|
4 |
Â
* Plugin Name: Social Login, Social Sharing by miniOrange
|
5 |
Â
* Plugin URI: https://www.miniorange.com
|
6 |
Â
* Description: Allow your users to login, comment and share with Facebook, Google, Apple, Twitter, LinkedIn etc using customizable buttons.
|
7 |
-
* Version: 7.5.
|
8 |
Â
* Author: miniOrange
|
9 |
Â
* License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
|
10 |
Â
*/
|
11 |
Â
|
12 |
-
define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.5.
|
13 |
Â
define('plugin_url', plugin_dir_url(__FILE__) . "includes/images/icons/");
|
14 |
Â
define('MOSL_PLUGIN_DIR',str_replace('/','\\',plugin_dir_path(__FILE__)));
|
Â
|
|
15 |
Â
require('miniorange_openid_sso_settings_page.php');
|
16 |
Â
require('view/config_apps/mo_openid_config_apps_funct.php');
|
17 |
Â
require('view/profile_completion/mo_openid_prof_comp_funct.php');
|
@@ -38,6 +39,7 @@ class miniorange_openid_sso_settings
|
|
38 |
Â
add_action('admin_menu', array($this, 'new_miniorange_openid_menu'));
|
39 |
Â
add_action( 'admin_init', array( $this, 'miniorange_openid_save_settings' ) );
|
40 |
Â
add_action('init', 'mo_openid_login_validate' );
|
Â
|
|
41 |
Â
add_action( 'plugins_loaded', 'mo_openid_plugin_update' ,1 );
|
42 |
Â
add_action( 'admin_enqueue_scripts', array( $this, 'mo_openid_plugin_settings_script' ) );
|
43 |
Â
add_action( 'admin_enqueue_scripts', array( $this, 'mo_openid_plugin_settings_admin_style' ) );
|
@@ -62,6 +64,10 @@ class miniorange_openid_sso_settings
|
|
62 |
Â
add_action( 'admin_footer', array( $this,'mo_openid_feedback_request' ));
|
63 |
Â
add_action( 'wp_enqueue_scripts', array( $this, 'mo_openid_plugin_script' ) ,5);
|
64 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
65 |
Â
//for addon
|
66 |
Â
add_action('wp_ajax_verify_addon_licience', 'mo_openid_show_verify_addon_license_page');
|
67 |
Â
|
@@ -91,18 +97,22 @@ class miniorange_openid_sso_settings
|
|
91 |
Â
delete_option('app_pos');
|
92 |
Â
add_option('app_pos','facebook#google#discord#twitter#vkontakte#instagram#linkedin#amazon#salesforce#windowslive#yahoo#snapchat#dribbble');
|
93 |
Â
}
|
94 |
-
update_option('app_pos_premium','apple#paypal#wordpress#github#hubspot#mailru#gitlab#steam#slack#trello#disqus#pinterest#yandex#spotify#reddit#tumblr#twitch#vimeo#kakao#flickr#line#meetup#dropbox#stackexchange#livejournal#foursquare#teamsnap#naver#odnoklassniki#wiebo#wechat#baidu#renren#qq');
|
95 |
Â
add_option('mo_openid_default_login_enable',1);
|
96 |
Â
add_option('mo_openid_default_register_enable',1);
|
97 |
Â
add_option( 'mo_openid_login_theme', 'longbutton' );
|
98 |
Â
add_option( 'mo_openid_register_email_message', 'Hello,<br><br>##User Name## has registered to your site successfully.<br><br>Thanks,<br>miniOrange' );
|
99 |
Â
|
100 |
Â
|
101 |
-
add_option( 'mo_login_icon_space','
|
102 |
Â
add_option( 'mo_login_icon_custom_width','200' );
|
103 |
Â
add_option( 'mo_login_icon_custom_height','35' );
|
104 |
-
add_option( 'mo_login_icon_custom_size','
|
105 |
Â
add_option( 'mo_login_icon_custom_color', '2B41FF' );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
106 |
Â
add_option( 'mo_openid_login_custom_theme', 'default' );
|
107 |
Â
add_option( 'mo_openid_login_button_customize_text', mo_sl('Login with' ));
|
108 |
Â
add_option('mo_login_icon_custom_boundary','4');
|
@@ -259,6 +269,7 @@ Thank you.';
|
|
259 |
Â
|
260 |
Â
function mo_openid_plugin_settings_script() {
|
261 |
Â
if(strpos(get_current_screen()->id, 'miniorange-social-login-sharing_page') === false) return;
|
Â
|
|
262 |
Â
wp_enqueue_script( 'mo_openid_admin_settings_jquery1_script', plugins_url('includes/js/mo-openid-config-jquery-ui.js', __FILE__ ));
|
263 |
Â
wp_enqueue_script( 'mo_openid_admin_settings_phone_script', plugins_url('includes/js/mo_openid_phone.js', __FILE__ ));
|
264 |
Â
wp_enqueue_script( 'mo_openid_admin_settings_color_script', plugins_url('includes/jscolor/jscolor.js', __FILE__ ));
|
@@ -273,13 +284,13 @@ Thank you.';
|
|
273 |
Â
wp_enqueue_style( 'mo-wp-bootstrap-social',plugins_url('includes/css/bootstrap-social.css', __FILE__), false );
|
274 |
Â
if( get_option('mo_openid_bootstrap_load') == 1)
|
275 |
Â
wp_enqueue_style( 'mo-wp-bootstrap-main',plugins_url('includes/css/bootstrap.min-preview.css', __FILE__), false );
|
276 |
-
wp_enqueue_style( 'mo-wp-style-icon',plugins_url('includes/css/mo_openid_login_icons.css?version=
|
277 |
Â
if( get_option('mo_openid_fonawesome_load') == 1) {
|
278 |
Â
wp_enqueue_style('mo-openid-sl-wp-font-awesome', plugins_url('includes/css/mo-font-awesome.min.css', __FILE__), false);
|
279 |
Â
wp_enqueue_style('mo-openid-sl-wp-font-awesome', plugins_url('includes/css/mo-font-awesome.css', __FILE__), false);
|
280 |
Â
}
|
281 |
-
wp_enqueue_style( 'mo_openid_admin_settings_style', plugins_url('includes/css/mo_openid_style.css?version=
|
282 |
-
wp_enqueue_style( 'bootstrap_style_ass', plugins_url( 'includes/css/mo_openid_bootstrap-tour-standalone.css?version=
|
283 |
Â
wp_enqueue_style( 'mo_openid_admin_settings_phone_style', plugins_url('includes/css/phone.css', __FILE__));
|
284 |
Â
}
|
285 |
Â
|
@@ -298,6 +309,38 @@ Thank you.';
|
|
298 |
Â
add_option('mo_openid_amazon_enable','1');
|
299 |
Â
}
|
300 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
301 |
Â
function new_miniorange_openid_menu() {
|
302 |
Â
//Add miniOrange plugin to the menu
|
303 |
Â
$page = add_menu_page( 'MO OpenID Settings ' . __( 'Configure OpenID', 'mo_openid_settings' ), 'miniOrange Social Login, Sharing', 'administrator',
|
@@ -357,16 +400,20 @@ Thank you.';
|
|
357 |
Â
switch( $value )
|
358 |
Â
{
|
359 |
Â
case 'mo_openid_customise_social_icons':
|
360 |
-
$nonce =
|
361 |
Â
if (!wp_verify_nonce($nonce, 'mo-openid-customise-social-icons-nonce')) {
|
362 |
-
wp_die('<strong>ERROR</strong>:
|
363 |
Â
}
|
364 |
Â
else{
|
365 |
Â
update_option('mo_openid_fonawesome_load', isset($_POST['mo_openid_fonawesome_load']) ? sanitize_text_field($_POST['mo_openid_fonawesome_load']) : 0);
|
366 |
Â
update_option('mo_openid_bootstrap_load', isset($_POST['mo_openid_bootstrap_load']) ? sanitize_text_field($_POST['mo_openid_bootstrap_load']) : 0);
|
367 |
Â
update_option('mo_openid_login_theme',isset($_POST['mo_openid_login_theme'])? sanitize_text_field($_POST['mo_openid_login_theme']):"");
|
Â
|
|
368 |
Â
update_option('mo_openid_login_custom_theme',isset($_POST['mo_openid_login_custom_theme'])? sanitize_text_field($_POST['mo_openid_login_custom_theme']):"");
|
369 |
Â
update_option('mo_login_icon_custom_color',isset($_POST['mo_login_icon_custom_color'])? sanitize_text_field($_POST['mo_login_icon_custom_color']):"");
|
Â
|
|
Â
|
|
Â
|
|
370 |
Â
update_option('mo_login_icon_space',isset($_POST['mo_login_icon_space'])? sanitize_text_field($_POST['mo_login_icon_space']):"");
|
371 |
Â
update_option('mo_login_icon_custom_width', isset($_POST['mo_login_icon_custom_width'])?sanitize_text_field($_POST['mo_login_icon_custom_width']):"");
|
372 |
Â
update_option('mo_login_icon_custom_height',isset($_POST['mo_login_icon_custom_height'])? sanitize_text_field($_POST['mo_login_icon_custom_height']):"");
|
@@ -377,8 +424,9 @@ Thank you.';
|
|
377 |
Â
update_option('mo_openid_login_button_customize_text',isset($_POST['mo_openid_login_button_customize_text'])? sanitize_text_field($_POST['mo_openid_login_button_customize_text']):"");
|
378 |
Â
update_option('mo_openid_login_widget_customize_logout_name_text',isset($_POST['mo_openid_login_widget_customize_logout_name_text'])? sanitize_text_field($_POST['mo_openid_login_widget_customize_logout_name_text']):"");
|
379 |
Â
update_option('mo_openid_login_widget_customize_logout_text', isset($_POST['mo_openid_login_widget_customize_logout_text'])?sanitize_text_field($_POST['mo_openid_login_widget_customize_logout_text']):"");
|
Â
|
|
380 |
Â
update_option('mo_openid_message', 'Your settings are saved successfully.');
|
381 |
-
|
382 |
Â
}
|
383 |
Â
break;
|
384 |
Â
case 'mo_openid_enable_gdpr':
|
4 |
Â
* Plugin Name: Social Login, Social Sharing by miniOrange
|
5 |
Â
* Plugin URI: https://www.miniorange.com
|
6 |
Â
* Description: Allow your users to login, comment and share with Facebook, Google, Apple, Twitter, LinkedIn etc using customizable buttons.
|
7 |
+
* Version: 7.5.6
|
8 |
Â
* Author: miniOrange
|
9 |
Â
* License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
|
10 |
Â
*/
|
11 |
Â
|
12 |
+
define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.5.6');
|
13 |
Â
define('plugin_url', plugin_dir_url(__FILE__) . "includes/images/icons/");
|
14 |
Â
define('MOSL_PLUGIN_DIR',str_replace('/','\\',plugin_dir_path(__FILE__)));
|
15 |
+
define('MO_SL_CSS_URL', plugin_dir_url(__FILE__) . 'includes/css/mo_sl_banner.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION);
|
16 |
Â
require('miniorange_openid_sso_settings_page.php');
|
17 |
Â
require('view/config_apps/mo_openid_config_apps_funct.php');
|
18 |
Â
require('view/profile_completion/mo_openid_prof_comp_funct.php');
|
39 |
Â
add_action('admin_menu', array($this, 'new_miniorange_openid_menu'));
|
40 |
Â
add_action( 'admin_init', array( $this, 'miniorange_openid_save_settings' ) );
|
41 |
Â
add_action('init', 'mo_openid_login_validate' );
|
42 |
+
add_action( 'init','init_wtlwp');
|
43 |
Â
add_action( 'plugins_loaded', 'mo_openid_plugin_update' ,1 );
|
44 |
Â
add_action( 'admin_enqueue_scripts', array( $this, 'mo_openid_plugin_settings_script' ) );
|
45 |
Â
add_action( 'admin_enqueue_scripts', array( $this, 'mo_openid_plugin_settings_admin_style' ) );
|
64 |
Â
add_action( 'admin_footer', array( $this,'mo_openid_feedback_request' ));
|
65 |
Â
add_action( 'wp_enqueue_scripts', array( $this, 'mo_openid_plugin_script' ) ,5);
|
66 |
Â
|
67 |
+
//eoss
|
68 |
+
add_action( 'admin_notices', array( $this, 'mo_social_showNotice' ) );
|
69 |
+
add_action( 'wp_ajax_mo_sl_dismiss_notice', array( $this, 'mo_sl_dismiss_notice' ) );
|
70 |
+
|
71 |
Â
//for addon
|
72 |
Â
add_action('wp_ajax_verify_addon_licience', 'mo_openid_show_verify_addon_license_page');
|
73 |
Â
|
97 |
Â
delete_option('app_pos');
|
98 |
Â
add_option('app_pos','facebook#google#discord#twitter#vkontakte#instagram#linkedin#amazon#salesforce#windowslive#yahoo#snapchat#dribbble');
|
99 |
Â
}
|
100 |
+
update_option('app_pos_premium','apple#paypal#wordpress#github#hubspot#mailru#gitlab#steam#slack#trello#disqus#pinterest#yandex#spotify#reddit#tumblr#twitch#vimeo#kakao#flickr#line#meetup#dropbox#stackexchange#livejournal#foursquare#teamsnap#naver#odnoklassniki#wiebo#wechat#baidu#renren#qq#fitbit#stackoverflow');
|
101 |
Â
add_option('mo_openid_default_login_enable',1);
|
102 |
Â
add_option('mo_openid_default_register_enable',1);
|
103 |
Â
add_option( 'mo_openid_login_theme', 'longbutton' );
|
104 |
Â
add_option( 'mo_openid_register_email_message', 'Hello,<br><br>##User Name## has registered to your site successfully.<br><br>Thanks,<br>miniOrange' );
|
105 |
Â
|
106 |
Â
|
107 |
+
add_option( 'mo_login_icon_space','8' );
|
108 |
Â
add_option( 'mo_login_icon_custom_width','200' );
|
109 |
Â
add_option( 'mo_login_icon_custom_height','35' );
|
110 |
+
add_option( 'mo_login_icon_custom_size','45' );
|
111 |
Â
add_option( 'mo_login_icon_custom_color', '2B41FF' );
|
112 |
+
add_option( 'mo_login_icon_custom_hover_color', '4AB8D4' );
|
113 |
+
add_option( 'mo_login_icon_custom_smart_color1', 'FF1F4B' );
|
114 |
+
add_option( 'mo_login_icon_custom_smart_color2', '2008FF' );
|
115 |
+
add_option( 'mo_openid_button_theme_effect', 'transform' );
|
116 |
Â
add_option( 'mo_openid_login_custom_theme', 'default' );
|
117 |
Â
add_option( 'mo_openid_login_button_customize_text', mo_sl('Login with' ));
|
118 |
Â
add_option('mo_login_icon_custom_boundary','4');
|
269 |
Â
|
270 |
Â
function mo_openid_plugin_settings_script() {
|
271 |
Â
if(strpos(get_current_screen()->id, 'miniorange-social-login-sharing_page') === false) return;
|
272 |
+
wp_enqueue_style( 'mo_openid_banner_admin_settings_style' , MO_SL_CSS_URL);
|
273 |
Â
wp_enqueue_script( 'mo_openid_admin_settings_jquery1_script', plugins_url('includes/js/mo-openid-config-jquery-ui.js', __FILE__ ));
|
274 |
Â
wp_enqueue_script( 'mo_openid_admin_settings_phone_script', plugins_url('includes/js/mo_openid_phone.js', __FILE__ ));
|
275 |
Â
wp_enqueue_script( 'mo_openid_admin_settings_color_script', plugins_url('includes/jscolor/jscolor.js', __FILE__ ));
|
284 |
Â
wp_enqueue_style( 'mo-wp-bootstrap-social',plugins_url('includes/css/bootstrap-social.css', __FILE__), false );
|
285 |
Â
if( get_option('mo_openid_bootstrap_load') == 1)
|
286 |
Â
wp_enqueue_style( 'mo-wp-bootstrap-main',plugins_url('includes/css/bootstrap.min-preview.css', __FILE__), false );
|
287 |
+
wp_enqueue_style( 'mo-wp-style-icon',plugins_url('includes/css/mo_openid_login_icons.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__), false );
|
288 |
Â
if( get_option('mo_openid_fonawesome_load') == 1) {
|
289 |
Â
wp_enqueue_style('mo-openid-sl-wp-font-awesome', plugins_url('includes/css/mo-font-awesome.min.css', __FILE__), false);
|
290 |
Â
wp_enqueue_style('mo-openid-sl-wp-font-awesome', plugins_url('includes/css/mo-font-awesome.css', __FILE__), false);
|
291 |
Â
}
|
292 |
+
wp_enqueue_style( 'mo_openid_admin_settings_style', plugins_url('includes/css/mo_openid_style.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__));
|
293 |
+
wp_enqueue_style( 'bootstrap_style_ass', plugins_url( 'includes/css/mo_openid_bootstrap-tour-standalone.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__ ) );
|
294 |
Â
wp_enqueue_style( 'mo_openid_admin_settings_phone_style', plugins_url('includes/css/phone.css', __FILE__));
|
295 |
Â
}
|
296 |
Â
|
309 |
Â
add_option('mo_openid_amazon_enable','1');
|
310 |
Â
}
|
311 |
Â
|
312 |
+
function mo_social_showNotice(){
|
313 |
+
wp_enqueue_style( 'mo_openid_banner_admin_settings_style' , MO_SL_CSS_URL);
|
314 |
+
$licensePageUrl = admin_url().'admin.php?page=mo_openid_general_settings&tab=licensing_plans';
|
315 |
+
$current_url = admin_url().'admin.php?'.$_SERVER['QUERY_STRING'];
|
316 |
+
$isNoticeClosed = get_option("mo_social_hide_notice");
|
317 |
+
$rest_url=admin_url().'admin.php?page=mo_openid_general_settings&tab=rest_api_page';
|
318 |
+
if($isNoticeClosed == "mo_social_hide_notice"){
|
319 |
+
$time=time();
|
320 |
+
$date=get_option('eoss_banner_time');
|
321 |
+
if(date("Y-m-d",$time)>$date) {
|
322 |
+
update_option('mo_social_hide_notice', '');
|
323 |
+
}
|
324 |
+
}
|
325 |
+
$isNoticeClosed = get_option("mo_social_hide_notice");
|
326 |
+
if($isNoticeClosed !== "mo_social_hide_notice"){
|
327 |
+
if($current_url !== $licensePageUrl){
|
328 |
+
echo '<div class="mo_sl_notice updated notice is-dismissible" style="padding-bottom: 7px;background-color:#e0eeee99;">
|
329 |
+
<p style ="font-size:18px;"><img src="'.plugin_dir_url(__FILE__).'includes/images/miniOrange_logo.png'.'" class="show_mo_icon_form" style="width: 3%;margin-bottom: -1%;"> <b>Thank you for choosing miniOrange Social Login.<br><br> END OF YEAR SALE!<br>GET UPTO 70% OFF ON ALL PREMIUM PLANS & ADDON\'S. <a class="mo_sl_notice_url" href='.$licensePageUrl.'>CHECK OUR SALE OFFERS HERE</a></b></p>
|
330 |
+
<p style="font-size: initial"><b>Rest API / Mobile SSO:</b> Are you looking for rest API solution to authorize your users for your <i style="font-size: larger" class="fab fa-android"><b> Android</b></i> or <i style="font-size: larger" class="fab fa-apple"><b> iOS</b></i> app? <a class="mo_sl_notice_url" style="cursor: pointer" href="https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_social_login_rest_api_plan" target="_blank">Click here</a> to upgrade or <a class="mo_sl_notice_url" style="cursor: pointer" href='.$rest_url.'>Click here</a> for more details.</p>
|
331 |
+
<p style="font-size: initial"><b>Discord WordPress Integration:</b> Check out our <a class="mo_sl_notice_url" style="cursor: pointer" href="https://plugins.miniorange.com/discord-wordpress-add-on" target="_blank">Discord Add-on</a> if you\'re using Discord to manage your users for Membership, Role Mapping, Avatar Mapping, and more.</p>
|
332 |
+
</div>';
|
333 |
+
}
|
334 |
+
}
|
335 |
+
}
|
336 |
+
|
337 |
+
function mo_sl_dismiss_notice(){
|
338 |
+
update_option("mo_social_hide_notice","mo_social_hide_notice");
|
339 |
+
$time=time();
|
340 |
+
update_option('eoss_banner_time',date("Y-m-d",$time));
|
341 |
+
|
342 |
+
}
|
343 |
+
|
344 |
Â
function new_miniorange_openid_menu() {
|
345 |
Â
//Add miniOrange plugin to the menu
|
346 |
Â
$page = add_menu_page( 'MO OpenID Settings ' . __( 'Configure OpenID', 'mo_openid_settings' ), 'miniOrange Social Login, Sharing', 'administrator',
|
400 |
Â
switch( $value )
|
401 |
Â
{
|
402 |
Â
case 'mo_openid_customise_social_icons':
|
403 |
+
$nonce = $_POST['mo_openid_customise_social_icons_nonce'];
|
404 |
Â
if (!wp_verify_nonce($nonce, 'mo-openid-customise-social-icons-nonce')) {
|
405 |
+
wp_die('<strong>ERROR</strong>: Invalid Request.');
|
406 |
Â
}
|
407 |
Â
else{
|
408 |
Â
update_option('mo_openid_fonawesome_load', isset($_POST['mo_openid_fonawesome_load']) ? sanitize_text_field($_POST['mo_openid_fonawesome_load']) : 0);
|
409 |
Â
update_option('mo_openid_bootstrap_load', isset($_POST['mo_openid_bootstrap_load']) ? sanitize_text_field($_POST['mo_openid_bootstrap_load']) : 0);
|
410 |
Â
update_option('mo_openid_login_theme',isset($_POST['mo_openid_login_theme'])? sanitize_text_field($_POST['mo_openid_login_theme']):"");
|
411 |
+
update_option('mo_openid_button_theme_effect',isset($_POST['mo_openid_button_theme_effect'])? sanitize_text_field($_POST['mo_openid_button_theme_effect']):"");
|
412 |
Â
update_option('mo_openid_login_custom_theme',isset($_POST['mo_openid_login_custom_theme'])? sanitize_text_field($_POST['mo_openid_login_custom_theme']):"");
|
413 |
Â
update_option('mo_login_icon_custom_color',isset($_POST['mo_login_icon_custom_color'])? sanitize_text_field($_POST['mo_login_icon_custom_color']):"");
|
414 |
+
update_option('mo_login_icon_custom_hover_color',isset($_POST['mo_login_icon_custom_hover_color'])? sanitize_text_field($_POST['mo_login_icon_custom_hover_color']):"");
|
415 |
+
update_option('mo_login_icon_custom_smart_color1',isset($_POST['mo_login_icon_custom_smart_color1'])? sanitize_text_field($_POST['mo_login_icon_custom_smart_color1']):"");
|
416 |
+
update_option('mo_login_icon_custom_smart_color2',isset($_POST['mo_login_icon_custom_smart_color2'])? sanitize_text_field($_POST['mo_login_icon_custom_smart_color2']):"");
|
417 |
Â
update_option('mo_login_icon_space',isset($_POST['mo_login_icon_space'])? sanitize_text_field($_POST['mo_login_icon_space']):"");
|
418 |
Â
update_option('mo_login_icon_custom_width', isset($_POST['mo_login_icon_custom_width'])?sanitize_text_field($_POST['mo_login_icon_custom_width']):"");
|
419 |
Â
update_option('mo_login_icon_custom_height',isset($_POST['mo_login_icon_custom_height'])? sanitize_text_field($_POST['mo_login_icon_custom_height']):"");
|
424 |
Â
update_option('mo_openid_login_button_customize_text',isset($_POST['mo_openid_login_button_customize_text'])? sanitize_text_field($_POST['mo_openid_login_button_customize_text']):"");
|
425 |
Â
update_option('mo_openid_login_widget_customize_logout_name_text',isset($_POST['mo_openid_login_widget_customize_logout_name_text'])? sanitize_text_field($_POST['mo_openid_login_widget_customize_logout_name_text']):"");
|
426 |
Â
update_option('mo_openid_login_widget_customize_logout_text', isset($_POST['mo_openid_login_widget_customize_logout_text'])?sanitize_text_field($_POST['mo_openid_login_widget_customize_logout_text']):"");
|
427 |
+
update_option('mo_openid_custom_css',isset($_POST['mo_openid_custom_css'])? sanitize_text_field($_POST['mo_openid_custom_css']):"");
|
428 |
Â
update_option('mo_openid_message', 'Your settings are saved successfully.');
|
429 |
+
mo_openid_show_success_message();
|
430 |
Â
}
|
431 |
Â
break;
|
432 |
Â
case 'mo_openid_enable_gdpr':
|
miniorange_openid_sso_settings_page.php
CHANGED
@@ -40,18 +40,9 @@ require('view/add_on/mo_discord_add_on.php');
|
|
40 |
Â
require('view/soc_sha/soc_med_cust/mo_openid_social_media_cust.php');
|
41 |
Â
require ('view/soc_sha/twitter_btn/mo_twitter_btn.php');
|
42 |
Â
require('view/soc_sha/soc_med_ser/mo_openid_social_media_services.php');
|
Â
|
|
43 |
Â
|
44 |
Â
function mo_register_openid() {
|
45 |
-
if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_plans")) {
|
46 |
-
?>
|
47 |
-
<div id="upgrade_notice" class="mo_openid_notice mo_openid_notice-warning" >
|
48 |
-
<p style="font-size: larger"><b>Rest API / Mobile SSO:</b> Are you looking for rest API solution to authorize your users for your <i style="font-size: larger" class="fab fa-android"><b> Android</b></i> or <i style="font-size: larger" class="fab fa-apple"><b> iOS</b></i> app? <a style="cursor: pointer" href="https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_social_login_rest_api_plan" target="_blank">Click here</a> to upgrade or <a style="cursor: pointer" href=<?php echo site_url()."/wp-admin/admin.php?page=mo_openid_general_settings&tab=rest_api_page"; ?>>Click here</a> for more details.
|
49 |
-
</p>
|
50 |
-
<p style="font-size: larger"><b>Discord WordPress Integration:</b> Check out our <a style="cursor: pointer" href="https://plugins.miniorange.com/discord-wordpress-add-on" target="_blank">Discord Add-on</a> if you're using Discord to manage your users for Membership, Role Mapping, Avatar Mapping, and more.
|
51 |
-
</p>
|
52 |
-
</div>
|
53 |
-
<?php
|
54 |
-
}
|
55 |
Â
if (isset($_GET['tab']) && $_GET['tab'] !== 'register') {
|
56 |
Â
$active_tab = $_GET['tab'];
|
57 |
Â
} else {
|
@@ -147,6 +138,12 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
|
|
147 |
Â
<a id="disp_opt" class="tablinks<?php if($active_tab=="disp_opt") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'disp_opt'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Display Options');?></a>
|
148 |
Â
<a id="redirect_opt" class="tablinks<?php if($active_tab=="redirect_opt") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'redirect_opt'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Redirect Options');?></a>
|
149 |
Â
<a id="registration" class="tablinks<?php if($active_tab=="registration") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'registration'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Registration');?></a>
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
150 |
Â
<a id="integration" style="color: lightgreen" class="tablinks<?php if($active_tab=="integration") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'integration'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Popular Integrations');?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
|
151 |
Â
<a id="profile_completion" class="tablinks<?php if($active_tab=="profile_completion") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'profile_completion'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Profile Completion');?></a>
|
152 |
Â
<a id="email_settings" class="tablinks<?php if($active_tab=="email_settings") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'email_settings'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Email Notification');?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
|
@@ -186,6 +183,9 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
|
|
186 |
Â
case 'redirect_opt':
|
187 |
Â
mo_openid_redirect_opt();
|
188 |
Â
break;
|
Â
|
|
Â
|
|
Â
|
|
189 |
Â
case 'registration':
|
190 |
Â
mo_openid_registration();
|
191 |
Â
break;
|
@@ -251,7 +251,7 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
|
|
251 |
Â
<script>
|
252 |
Â
jQuery("#contact_us_phone").intlTelInput();
|
253 |
Â
function mo_openid_support_form(abc) {
|
254 |
-
|
255 |
Â
var def = "It seems that you have shown interest. Please elaborate more on your requirements.";
|
256 |
Â
if (abc == '' || abc == "undefined")
|
257 |
Â
def = "Write your query here";
|
@@ -262,6 +262,7 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
|
|
262 |
Â
var mo_btn = document.getElementById("mymo_btn");
|
263 |
Â
mo_btn.style.display = "none";
|
264 |
Â
var span = document.getElementsByClassName("mo_support_close")[0];
|
Â
|
|
265 |
Â
|
266 |
Â
document.getElementById('mo_openid_support_msg').placeholder = def;
|
267 |
Â
document.getElementById("feature_plan").value= abc;
|
@@ -272,6 +273,7 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
|
|
272 |
Â
window.onclick = function (event) {
|
273 |
Â
if (event.target == modal) {
|
274 |
Â
modal.style.display = "none";
|
Â
|
|
275 |
Â
mo_btn.style.display = "block";
|
276 |
Â
}
|
277 |
Â
}
|
@@ -755,7 +757,6 @@ function mo_register_sharing_openid()
|
|
755 |
Â
}
|
756 |
Â
</script>
|
757 |
Â
<?php
|
758 |
-
|
759 |
Â
}
|
760 |
Â
|
761 |
Â
function mo_comment_openid() {
|
@@ -999,7 +1000,7 @@ function mo_comment_openid() {
|
|
999 |
Â
}
|
1000 |
Â
|
1001 |
Â
function mo_openid_addon_desc_page() {
|
1002 |
-
|
1003 |
Â
if( isset( $_GET[ 'tab' ]) && $_GET[ 'tab' ] !== 'register' ) {
|
1004 |
Â
$active_tab = $_GET[ 'tab' ];
|
1005 |
Â
}
|
@@ -1258,5 +1259,4 @@ else
|
|
1258 |
Â
}
|
1259 |
Â
</script>
|
1260 |
Â
<?php
|
1261 |
-
|
1262 |
Â
}
|
40 |
Â
require('view/soc_sha/soc_med_cust/mo_openid_social_media_cust.php');
|
41 |
Â
require ('view/soc_sha/twitter_btn/mo_twitter_btn.php');
|
42 |
Â
require('view/soc_sha/soc_med_ser/mo_openid_social_media_services.php');
|
43 |
+
require('view/tlwp/mo_openid_tlwp.php');
|
44 |
Â
|
45 |
Â
function mo_register_openid() {
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
46 |
Â
if (isset($_GET['tab']) && $_GET['tab'] !== 'register') {
|
47 |
Â
$active_tab = $_GET['tab'];
|
48 |
Â
} else {
|
138 |
Â
<a id="disp_opt" class="tablinks<?php if($active_tab=="disp_opt") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'disp_opt'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Display Options');?></a>
|
139 |
Â
<a id="redirect_opt" class="tablinks<?php if($active_tab=="redirect_opt") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'redirect_opt'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Redirect Options');?></a>
|
140 |
Â
<a id="registration" class="tablinks<?php if($active_tab=="registration") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'registration'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Registration');?></a>
|
141 |
+
<?php $i=get_current_user_id();
|
142 |
+
$temp_user=get_user_meta($i, 'temporary_url', true);
|
143 |
+
if( !$temp_user) {
|
144 |
+
?>
|
145 |
+
<a id="tlwp" class="tablinks<?php if($active_tab=="tlwp") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'tlwp'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Create Temporaray Login');?></a>
|
146 |
+
<?php } ?>
|
147 |
Â
<a id="integration" style="color: lightgreen" class="tablinks<?php if($active_tab=="integration") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'integration'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Popular Integrations');?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
|
148 |
Â
<a id="profile_completion" class="tablinks<?php if($active_tab=="profile_completion") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'profile_completion'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Profile Completion');?></a>
|
149 |
Â
<a id="email_settings" class="tablinks<?php if($active_tab=="email_settings") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'email_settings'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Email Notification');?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
|
183 |
Â
case 'redirect_opt':
|
184 |
Â
mo_openid_redirect_opt();
|
185 |
Â
break;
|
186 |
+
case 'tlwp':
|
187 |
+
mo_openid_tlwp();
|
188 |
+
break;
|
189 |
Â
case 'registration':
|
190 |
Â
mo_openid_registration();
|
191 |
Â
break;
|
251 |
Â
<script>
|
252 |
Â
jQuery("#contact_us_phone").intlTelInput();
|
253 |
Â
function mo_openid_support_form(abc) {
|
254 |
+
|
255 |
Â
var def = "It seems that you have shown interest. Please elaborate more on your requirements.";
|
256 |
Â
if (abc == '' || abc == "undefined")
|
257 |
Â
def = "Write your query here";
|
262 |
Â
var mo_btn = document.getElementById("mymo_btn");
|
263 |
Â
mo_btn.style.display = "none";
|
264 |
Â
var span = document.getElementsByClassName("mo_support_close")[0];
|
265 |
+
var modales = document.getElementById("myModalsss");
|
266 |
Â
|
267 |
Â
document.getElementById('mo_openid_support_msg').placeholder = def;
|
268 |
Â
document.getElementById("feature_plan").value= abc;
|
273 |
Â
window.onclick = function (event) {
|
274 |
Â
if (event.target == modal) {
|
275 |
Â
modal.style.display = "none";
|
276 |
+
modales.style.display = "none";
|
277 |
Â
mo_btn.style.display = "block";
|
278 |
Â
}
|
279 |
Â
}
|
757 |
Â
}
|
758 |
Â
</script>
|
759 |
Â
<?php
|
Â
|
|
760 |
Â
}
|
761 |
Â
|
762 |
Â
function mo_comment_openid() {
|
1000 |
Â
}
|
1001 |
Â
|
1002 |
Â
function mo_openid_addon_desc_page() {
|
1003 |
+
|
1004 |
Â
if( isset( $_GET[ 'tab' ]) && $_GET[ 'tab' ] !== 'register' ) {
|
1005 |
Â
$active_tab = $_GET[ 'tab' ];
|
1006 |
Â
}
|
1259 |
Â
}
|
1260 |
Â
</script>
|
1261 |
Â
<?php
|
Â
|
|
1262 |
Â
}
|
mo-openid-social-login-functions.php
CHANGED
@@ -338,7 +338,7 @@ function mo_create_new_user($user_val){
|
|
338 |
Â
);
|
339 |
Â
$user_id = wp_insert_user( $userdata);
|
340 |
Â
|
341 |
-
|
342 |
Â
|
343 |
Â
if(is_wp_error( $user_id )) {
|
344 |
Â
print_r($user_id);
|
@@ -638,12 +638,12 @@ function mo_openid_is_mailc_license_key_verified() {
|
|
638 |
Â
return 1;
|
639 |
Â
}
|
640 |
Â
}
|
641 |
-
function mo_openid_show_addon_message_page()
|
642 |
Â
{
|
643 |
Â
?>
|
644 |
Â
<div class="mo_openid_table_layout">
|
645 |
Â
<?php
|
646 |
-
echo "<div style='text-align: center'><p>It seems <b>
|
647 |
Â
?>
|
648 |
Â
<h2 align="center">How do I download or activate the Social Integration Registration Form Addon ?</h2>
|
649 |
Â
<p><b>Download:</b> Download addon and license key from xecurify Console
|
@@ -988,18 +988,11 @@ function mo_openid_registeration_modal(){
|
|
988 |
Â
</div>
|
989 |
Â
</form>
|
990 |
Â
<form method="post">
|
991 |
-
|
992 |
Â
<input id="pop_next" name="show_login" value="Existing Account" class="button button-primary button-large" style="margin-left: 35%;margin-top: -7.7%;" type="submit">
|
993 |
-
|
994 |
Â
</form>
|
995 |
-
|
996 |
-
|
997 |
-
|
998 |
Â
</div>
|
999 |
Â
</div>
|
1000 |
-
|
1001 |
Â
</div>
|
1002 |
-
|
1003 |
Â
<?php
|
1004 |
Â
}
|
1005 |
Â
|
@@ -1010,7 +1003,7 @@ function create_customer(){
|
|
1010 |
Â
get_current_customer();
|
1011 |
Â
}
|
1012 |
Â
else if((strcasecmp( $customerKey['status'], 'INVALID_EMAIL_QUICK_EMAIL' ) == 0) && (strcasecmp( $customerKey['message'], 'This is not a valid email. please enter a valid email.' ) == 0) ){
|
1013 |
-
if($_POST['action']=='mo_register_new_user')
|
1014 |
Â
wp_send_json(["error" => 'There was an error creating an account for you. You may have entered an invalid Email-Id. (We discourage the use of disposable emails) Please try again with a valid email.']);
|
1015 |
Â
else {
|
1016 |
Â
update_option('mo_openid_message', 'There was an error creating an account for you. You may have entered an invalid Email-Id. <b> (We discourage the use of disposable emails) </b> Please try again with a valid email.');
|
@@ -1023,7 +1016,7 @@ function create_customer(){
|
|
1023 |
Â
}
|
1024 |
Â
}
|
1025 |
Â
else if((strcasecmp( $customerKey['status'], 'FAILED' ) == 0) && (strcasecmp( $customerKey['message'], 'Email is not enterprise email.' ) == 0) ){
|
1026 |
-
if($_POST['action']=='mo_register_new_user')
|
1027 |
Â
wp_send_json(["error" => 'There was an error creating an account for you. You may have entered an invalid Email-Id. (We discourage the use of disposable emails) Please try again with a valid email.']);
|
1028 |
Â
else {
|
1029 |
Â
update_option('mo_openid_message', 'There was an error creating an account for you. You may have entered an invalid Email-Id. <b> (We discourage the use of disposable emails) </b> Please try again with a valid email.');
|
@@ -1045,7 +1038,7 @@ function create_customer(){
|
|
1045 |
Â
update_option('mo_openid_registration_status','MO_OPENID_REGISTRATION_COMPLETE');
|
1046 |
Â
delete_option('mo_openid_verify_customer');
|
1047 |
Â
delete_option('mo_openid_new_registration');
|
1048 |
-
if($_POST['action']=='mo_register_new_user')
|
1049 |
Â
wp_send_json(["success" => 'Registration complete!']);
|
1050 |
Â
else {
|
1051 |
Â
mo_openid_show_success_message();
|
@@ -1165,7 +1158,7 @@ function mo_register_old_user(){
|
|
1165 |
Â
update_option('mo_openid_admin_customer_key', $customerKey['id']);
|
1166 |
Â
update_option('mo_openid_admin_api_key', $customerKey['apiKey']);
|
1167 |
Â
update_option('mo_openid_customer_token', $customerKey['token']);
|
1168 |
-
update_option('mo_openid_admin_phone', $customerKey['phone']);
|
1169 |
Â
update_option('mo_openid_admin_password', '');
|
1170 |
Â
update_option('mo_openid_message', 'Your account has been retrieved successfully.');
|
1171 |
Â
delete_option('mo_openid_verify_customer');
|
338 |
Â
);
|
339 |
Â
$user_id = wp_insert_user( $userdata);
|
340 |
Â
|
341 |
+
|
342 |
Â
|
343 |
Â
if(is_wp_error( $user_id )) {
|
344 |
Â
print_r($user_id);
|
638 |
Â
return 1;
|
639 |
Â
}
|
640 |
Â
}
|
641 |
+
function mo_openid_show_addon_message_page($add)
|
642 |
Â
{
|
643 |
Â
?>
|
644 |
Â
<div class="mo_openid_table_layout">
|
645 |
Â
<?php
|
646 |
+
echo "<div style='text-align: center'><p>It seems <b>".$add."</b> is not installed or activated. Please download or activate the addon.</p></div>";
|
647 |
Â
?>
|
648 |
Â
<h2 align="center">How do I download or activate the Social Integration Registration Form Addon ?</h2>
|
649 |
Â
<p><b>Download:</b> Download addon and license key from xecurify Console
|
988 |
Â
</div>
|
989 |
Â
</form>
|
990 |
Â
<form method="post">
|
Â
|
|
991 |
Â
<input id="pop_next" name="show_login" value="Existing Account" class="button button-primary button-large" style="margin-left: 35%;margin-top: -7.7%;" type="submit">
|
Â
|
|
992 |
Â
</form>
|
Â
|
|
Â
|
|
Â
|
|
993 |
Â
</div>
|
994 |
Â
</div>
|
Â
|
|
995 |
Â
</div>
|
Â
|
|
996 |
Â
<?php
|
997 |
Â
}
|
998 |
Â
|
1003 |
Â
get_current_customer();
|
1004 |
Â
}
|
1005 |
Â
else if((strcasecmp( $customerKey['status'], 'INVALID_EMAIL_QUICK_EMAIL' ) == 0) && (strcasecmp( $customerKey['message'], 'This is not a valid email. please enter a valid email.' ) == 0) ){
|
1006 |
+
if(isset($_POST['action'])?$_POST['action']=='mo_register_new_user':0)
|
1007 |
Â
wp_send_json(["error" => 'There was an error creating an account for you. You may have entered an invalid Email-Id. (We discourage the use of disposable emails) Please try again with a valid email.']);
|
1008 |
Â
else {
|
1009 |
Â
update_option('mo_openid_message', 'There was an error creating an account for you. You may have entered an invalid Email-Id. <b> (We discourage the use of disposable emails) </b> Please try again with a valid email.');
|
1016 |
Â
}
|
1017 |
Â
}
|
1018 |
Â
else if((strcasecmp( $customerKey['status'], 'FAILED' ) == 0) && (strcasecmp( $customerKey['message'], 'Email is not enterprise email.' ) == 0) ){
|
1019 |
+
if(isset($_POST['action'])?$_POST['action']=='mo_register_new_user':0)
|
1020 |
Â
wp_send_json(["error" => 'There was an error creating an account for you. You may have entered an invalid Email-Id. (We discourage the use of disposable emails) Please try again with a valid email.']);
|
1021 |
Â
else {
|
1022 |
Â
update_option('mo_openid_message', 'There was an error creating an account for you. You may have entered an invalid Email-Id. <b> (We discourage the use of disposable emails) </b> Please try again with a valid email.');
|
1038 |
Â
update_option('mo_openid_registration_status','MO_OPENID_REGISTRATION_COMPLETE');
|
1039 |
Â
delete_option('mo_openid_verify_customer');
|
1040 |
Â
delete_option('mo_openid_new_registration');
|
1041 |
+
if(isset($_POST['action'])?$_POST['action']=='mo_register_new_user':0)
|
1042 |
Â
wp_send_json(["success" => 'Registration complete!']);
|
1043 |
Â
else {
|
1044 |
Â
mo_openid_show_success_message();
|
1158 |
Â
update_option('mo_openid_admin_customer_key', $customerKey['id']);
|
1159 |
Â
update_option('mo_openid_admin_api_key', $customerKey['apiKey']);
|
1160 |
Â
update_option('mo_openid_customer_token', $customerKey['token']);
|
1161 |
+
update_option('mo_openid_admin_phone', isset($customerKey['phone'])?$customerKey['phone']:'');
|
1162 |
Â
update_option('mo_openid_admin_password', '');
|
1163 |
Â
update_option('mo_openid_message', 'Your account has been retrieved successfully.');
|
1164 |
Â
delete_option('mo_openid_verify_customer');
|
mo_openid_feedback_form.php
CHANGED
@@ -185,6 +185,4 @@ function mo_openid_display_feedback_form(){
|
|
185 |
Â
return false;
|
186 |
Â
});
|
187 |
Â
</script><?php
|
188 |
-
|
189 |
-
}
|
190 |
-
?>
|
185 |
Â
return false;
|
186 |
Â
});
|
187 |
Â
</script><?php
|
188 |
+
}
|
Â
|
|
Â
|
mo_openid_sso_encryption.php
CHANGED
@@ -54,5 +54,4 @@ class MOAESEncryption {
|
|
54 |
Â
}
|
55 |
Â
return substr($text, 0, -1 * $pad);
|
56 |
Â
}
|
57 |
-
}
|
58 |
-
?>
|
54 |
Â
}
|
55 |
Â
return substr($text, 0, -1 * $pad);
|
56 |
Â
}
|
57 |
+
}
|
Â
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.miniorange.com
|
|
4 |
Â
Tags: social login, facebook login, google login, social sharing, twitter login, linkedIn, user login, vkontakte login, social comments, social commenting, woocommerce login, facebook, twitter, google, social connect, social network login, social plugin, windows, microsoft, discord login.
|
5 |
Â
Requires at least: 2.0.2
|
6 |
Â
Tested up to: 5.8
|
7 |
-
Stable tag: 7.5.
|
8 |
Â
License: GPLv2 or later
|
9 |
Â
License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
|
10 |
Â
|
@@ -263,15 +263,29 @@ Please email us at info@miniorange.com. You can also submit your query from the
|
|
263 |
Â
3. Social Login display Options.
|
264 |
Â
4. Social Login redirection options.
|
265 |
Â
5. Advanced options for Social Login.
|
266 |
-
6.
|
267 |
-
7.
|
268 |
-
8.
|
269 |
-
9. Social Login with
|
270 |
-
10. Social Login with
|
271 |
-
11.
|
272 |
-
12. Social
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
273 |
Â
|
274 |
Â
==Changelog==
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
275 |
Â
= 7.5.5 =
|
276 |
Â
* Added meeting scheduler in support section.
|
277 |
Â
* Fix the discord profile picture mapping issue.
|
@@ -955,6 +969,16 @@ SECURITY FIXES
|
|
955 |
Â
* First version of Social Login, Social Sharing plugin.
|
956 |
Â
|
957 |
Â
== Upgrade Notice ==
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
958 |
Â
= 7.5.5 =
|
959 |
Â
* Added meeting scheduler in support section.
|
960 |
Â
* Fix the discord profile picture mapping issue.
|
4 |
Â
Tags: social login, facebook login, google login, social sharing, twitter login, linkedIn, user login, vkontakte login, social comments, social commenting, woocommerce login, facebook, twitter, google, social connect, social network login, social plugin, windows, microsoft, discord login.
|
5 |
Â
Requires at least: 2.0.2
|
6 |
Â
Tested up to: 5.8
|
7 |
+
Stable tag: 7.5.6
|
8 |
Â
License: GPLv2 or later
|
9 |
Â
License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
|
10 |
Â
|
263 |
Â
3. Social Login display Options.
|
264 |
Â
4. Social Login redirection options.
|
265 |
Â
5. Advanced options for Social Login.
|
266 |
+
6. Temporary user for wp-login.
|
267 |
+
7. Profile Completion option for Social Login.
|
268 |
+
8. Icon preview for Social Sharing.
|
269 |
+
9. Social Login with square images.
|
270 |
+
10. Social Login with icon with default theme and long buttons.
|
271 |
+
11. Social Login with icon with white background and long buttons.
|
272 |
+
12. Social Login with icon with Hover theme, Transform effect and long buttons.
|
273 |
+
13. Social Login with icon with smart theme, Transform effect and long buttons.
|
274 |
+
14. Social Login with icon with Custom Hover theme, Transform effect and circle buttons.
|
275 |
+
15. Square Social share buttons - horizontal and vertical.
|
276 |
+
16. Social Sharing icons without background.
|
277 |
Â
|
278 |
Â
==Changelog==
|
279 |
+
= 7.5.6 =
|
280 |
+
* Added Temporary login feature.
|
281 |
+
* Added Hover, Custom hover, and Smart Theme for social login Icons.
|
282 |
+
* Fixed Yahoo attribute mapping.
|
283 |
+
* Updated Facebook setup instructions.
|
284 |
+
* Updated Facebook and Google setup videos.
|
285 |
+
* Published Christmas and EOSS.
|
286 |
+
* Added Fitbit and Stackoverflow apps in Premium and all-inclusive app.
|
287 |
+
* Added connect with messenger feature in Premium and all-inclusive app.
|
288 |
+
|
289 |
Â
= 7.5.5 =
|
290 |
Â
* Added meeting scheduler in support section.
|
291 |
Â
* Fix the discord profile picture mapping issue.
|
969 |
Â
* First version of Social Login, Social Sharing plugin.
|
970 |
Â
|
971 |
Â
== Upgrade Notice ==
|
972 |
+
= 7.5.6 =
|
973 |
+
* Added Temporary login feature.
|
974 |
+
* Added Hover, Custom hover, and Smart Theme for social login Icons.
|
975 |
+
* Fixed Yahoo attribute mapping.
|
976 |
+
* Updated Facebook setup instructions.
|
977 |
+
* Updated Facebook and Google setup videos.
|
978 |
+
* Published Christmas and EOSS.
|
979 |
+
* Added Fitbit, Trello and Stackoverflow apps in Premium and all-inclusive app.
|
980 |
+
* Added connect with messenger feature in Premium and all-inclusive app.
|
981 |
+
|
982 |
Â
= 7.5.5 =
|
983 |
Â
* Added meeting scheduler in support section.
|
984 |
Â
* Fix the discord profile picture mapping issue.
|
social_apps/facebook.php
CHANGED
@@ -4,7 +4,7 @@ class mo_facebook
|
|
4 |
Â
{
|
5 |
Â
public $color="#1877F2";
|
6 |
Â
public $scope="email, public_profile";
|
7 |
-
public $video_url="https://www.youtube.com/embed/
|
8 |
Â
public $instructions;
|
9 |
Â
public function __construct() {
|
10 |
Â
$this->site_url = get_option( 'siteurl' );
|
@@ -19,13 +19,14 @@ class mo_facebook
|
|
19 |
Â
##Under <b>User Data Deletion</b> click on the drop down, Select <b>Data Deletion Instruction URl</b> (Enter the URL of your page with the instructions on how users can delete their accounts on your site).
|
20 |
Â
##Select <b>Category</b> of your website. Then click on <b>Save Changes</b>.
|
21 |
Â
##On the Left side panel, Click on <b>Facebook Login</b> and select <b>Settings</b> option.
|
22 |
-
##Scroll down and add the following URL to the <b>Valid OAuth redirect URIs</b> field <b><code id='222'>".mo_get_permalink('facebook')."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"far fa-fw fa-lg fa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#
|
23 |
Â
##Click on the App review tab from the left hand side menu and click on Permissions and Request.
|
24 |
Â
##Now click on Request Advance Access for public_profile and email. If you want any extra data to be returned you can request permission for those scopes.
|
25 |
Â
##In the toolbar Change your app status from <b>In Development</b> to <b>Live</b> by clicking on the toggle button and further Click on <b>Switch Mode</b>.
|
26 |
Â
##Go to <b>Settings > Basic</b>. Copy your <b>App ID</b> and <b>App Secret</b> provided by Facebook and paste them into the fields above.
|
27 |
Â
##Input <b> email, public_profile </b>as scope.
|
28 |
Â
##Click on the <b>Save settings</b> button.
|
Â
|
|
29 |
Â
##<b>[Optional: Extra attributes]</b> If you want to access the <b>user_birthday, user_hometown, user_location</b> of a Facebook user, you need to send your app for review to Facebook. For submitting an app for review, click <a target=\"_blank\" href=\"https://developers.facebook.com/docs/facebook-login/review/how-to-submit \">here</a>. After your app is reviewed, you can add the scopes you have sent for review in the scope above. If your app is not approved or is in the process of getting approved, let the scope be <b>email, public_profile</b>
|
30 |
Â
##Go to Social Login tab to configure the display as well as other login settings.
|
31 |
Â
##If you are facing any problem drop a mail on socialloginsupport@xecurify.com.";
|
4 |
Â
{
|
5 |
Â
public $color="#1877F2";
|
6 |
Â
public $scope="email, public_profile";
|
7 |
+
public $video_url="https://www.youtube.com/embed/ju21twD0uB0";
|
8 |
Â
public $instructions;
|
9 |
Â
public function __construct() {
|
10 |
Â
$this->site_url = get_option( 'siteurl' );
|
19 |
Â
##Under <b>User Data Deletion</b> click on the drop down, Select <b>Data Deletion Instruction URl</b> (Enter the URL of your page with the instructions on how users can delete their accounts on your site).
|
20 |
Â
##Select <b>Category</b> of your website. Then click on <b>Save Changes</b>.
|
21 |
Â
##On the Left side panel, Click on <b>Facebook Login</b> and select <b>Settings</b> option.
|
22 |
+
##Scroll down and add the following URL to the <b>Valid OAuth redirect URIs</b> field <b><code id='222'>".mo_get_permalink('facebook')."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"far fa-fw fa-lg fa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#222', '#shortcode_url_copy3')\"><span id=\"shortcode_url_copy3\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> and click on <b>Save Changes</b> button.
|
23 |
Â
##Click on the App review tab from the left hand side menu and click on Permissions and Request.
|
24 |
Â
##Now click on Request Advance Access for public_profile and email. If you want any extra data to be returned you can request permission for those scopes.
|
25 |
Â
##In the toolbar Change your app status from <b>In Development</b> to <b>Live</b> by clicking on the toggle button and further Click on <b>Switch Mode</b>.
|
26 |
Â
##Go to <b>Settings > Basic</b>. Copy your <b>App ID</b> and <b>App Secret</b> provided by Facebook and paste them into the fields above.
|
27 |
Â
##Input <b> email, public_profile </b>as scope.
|
28 |
Â
##Click on the <b>Save settings</b> button.
|
29 |
+
##<b>NOTE:</b> If you are asked to Complete Data Use Checkup. Click on the Start Checkup button. Certify Data Use for public_profile and email. Provide consent to Facebook Developer’s Policy and click on submit.
|
30 |
Â
##<b>[Optional: Extra attributes]</b> If you want to access the <b>user_birthday, user_hometown, user_location</b> of a Facebook user, you need to send your app for review to Facebook. For submitting an app for review, click <a target=\"_blank\" href=\"https://developers.facebook.com/docs/facebook-login/review/how-to-submit \">here</a>. After your app is reviewed, you can add the scopes you have sent for review in the scope above. If your app is not approved or is in the process of getting approved, let the scope be <b>email, public_profile</b>
|
31 |
Â
##Go to Social Login tab to configure the display as well as other login settings.
|
32 |
Â
##If you are facing any problem drop a mail on socialloginsupport@xecurify.com.";
|
social_apps/fitbit.php
ADDED
@@ -0,0 +1,8 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class mo_fitbit
|
5 |
+
{
|
6 |
+
public $color="#373B41";
|
7 |
+
|
8 |
+
}
|
social_apps/stackoverflow.php
ADDED
@@ -0,0 +1,8 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class mo_stackoverflow
|
5 |
+
{
|
6 |
+
public $color="#D93E06";
|
7 |
+
|
8 |
+
}
|
social_apps/yahoo.php
CHANGED
@@ -55,9 +55,11 @@ class mo_yahoo
|
|
55 |
Â
|
56 |
Â
if(isset($profile_json_output['name'])){
|
57 |
Â
$user_name = isset( $profile_json_output['name']) ? $profile_json_output['name'] : '';
|
58 |
-
$
|
59 |
-
$
|
60 |
-
$
|
Â
|
|
Â
|
|
61 |
Â
}
|
62 |
Â
$email = isset( $profile_json_output['email']) ? $profile_json_output['email'] : '';
|
63 |
Â
$social_user_id = isset( $profile_json_output['sub']) ? $profile_json_output['sub'] : '';
|
55 |
Â
|
56 |
Â
if(isset($profile_json_output['name'])){
|
57 |
Â
$user_name = isset( $profile_json_output['name']) ? $profile_json_output['name'] : '';
|
58 |
+
$first_name = isset( $profile_json_output['given_name']) ? $profile_json_output['given_name'] : '';
|
59 |
+
$last_name = isset( $profile_json_output['family_name']) ? $profile_json_output['family_name'] : '';
|
60 |
+
$email = isset( $profile_json_output['email']) ? $profile_json_output['email'] : '';
|
61 |
+
$user_picture = isset( $profile_json_output['picture']) ? $profile_json_output['picture'] : '';
|
62 |
+
$gender = isset( $profile_json_output['gender']) ? $profile_json_output['gender'] : '';
|
63 |
Â
}
|
64 |
Â
$email = isset( $profile_json_output['email']) ? $profile_json_output['email'] : '';
|
65 |
Â
$social_user_id = isset( $profile_json_output['sub']) ? $profile_json_output['sub'] : '';
|
social_apps/yandex.php
CHANGED
@@ -4,83 +4,4 @@
|
|
4 |
Â
class mo_yandex
|
5 |
Â
{
|
6 |
Â
public $color="#E52620";
|
7 |
-
public $scope="";
|
8 |
-
public $video_url="";
|
9 |
-
public $instructions;
|
10 |
-
public function __construct() {
|
11 |
-
$this->site_url = get_option( 'siteurl' );
|
12 |
-
$this->instructions="Go to Facebook developers console <a href=\"https://developers.facebook.com/apps/\" target=\"_blank\">https://developers.facebook.com/apps/</a>. Login with your facebook developer account.##Click on Create a New App/Add new App button.##Enter <b>Display Name</b> and click on Create App ID.##Click on <b>Products</b> from left pane of the page and select <b>Facebook Login</b> and click on <b>Set Up</b> button.##Click on <b>Web</b>. Enter <b><code id='9'>".get_option("siteurl")."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"far fa-fw fa-lg fa-copy mo_copy mo_openid_copytooltip\" onclick=\"copyToClipboard(this, '#9', '#shortcode_url9_copy')\"><span id=\"shortcode_url9_copy\" class=\"mo_openid_copytooltiptext\">Copy to Clipboard</span></i></b> into <b>Site URL</b> than click on <b> Save</b>.##Goto <b>Settings -> Basic</b> from left pane of the page, Enter <b><code id='10'>".$_SERVER['HTTP_HOST']."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"far fa-fw fa-lg fa-copy mo_copy mo_openid_copytooltip\" onclick=\"copyToClipboard(this, '#10', '#shortcode_url10_copy')\"><span id=\"shortcode_url10_copy\" class=\"mo_openid_copytooltiptext\">Copy to Clipboard</span></i></b> in <b>App Domain</b>, your privacy policy URL in <b>Privacy Policy URL</b> and select <b>Category</b> of your website. Then click on <b>Save Changes</b>.##From the left pane, select <b>Facebook Login -> Settings</b>.##Under Client OAuth Settings section, Enter <b><code id='11'>".mo_get_permalink('facebook')."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"far fa-fw fa-lg fa-copy mo_copy mo_openid_copytooltip\" onclick=\"copyToClipboard(this, '#11', '#shortcode_url11_copy')\"><span id=\"shortcode_url11_copy\" class=\"mo_openid_copytooltiptext\">Copy to Clipboard</span></i></b> in <b>Valid OAuth Redirect URIs</b> and click on <b>Save Changes</b> button.##Change your app status from In Development to Live by clicking on OFF (sliding button) beside Status option of the top right corner. Then, click on Confirm button.##Go to Settings > Basic. Paste your <b>App ID</b> and <b>App Secret</b> provided by Facebook into the fields above.##Input <b> email, public_profile </b>as scope.##If you want to access the <b>user_birthday, user_hometown, user_location</b> of a Facebook user, you need to send your app for review to Facebook. For submitting an app for review, click <a target=\"_blank\" href=\"https://developers.facebook.com/docs/facebook-login/review/how-to-submit \">here</a>. After your app is reviewed, you can add the scopes you have sent for review in the scope above. If your app is not approved or is in the process of getting approved, let the scope be <b>email, public_profile</b>##Click on the <b>Save settings</b> button.##Go to Social Login tab to configure the display as well as other login settings.";
|
13 |
-
}
|
14 |
-
|
15 |
-
function mo_openid_get_app_code()
|
16 |
-
{
|
17 |
-
$appslist = maybe_unserialize(get_option('mo_openid_apps_list'));
|
18 |
-
mo_openid_start_session();
|
19 |
-
$_SESSION["appname"] = 'yandex';
|
20 |
-
$client_id = $appslist['yandex']['clientid'];
|
21 |
-
$scope = $appslist['yandex']['scope'];
|
22 |
-
$login_dialog_url = "https://oauth.yandex.com/authorize?response_type=code&client_id=".$client_id. '&scope='.$scope;
|
23 |
-
header('Location:'. $login_dialog_url);
|
24 |
-
exit;
|
25 |
-
}
|
26 |
-
|
27 |
-
function mo_openid_get_access_token()
|
28 |
-
{
|
29 |
-
$code=mo_openid_validate_code();
|
30 |
-
$social_app_redirect_uri = get_social_app_redirect_uri('yandex');
|
31 |
-
$appslist = maybe_unserialize(get_option('mo_openid_apps_list'));
|
32 |
-
$client_id = $appslist['yandex']['clientid'];
|
33 |
-
$client_secret = $appslist['yandex']['clientsecret'];
|
34 |
-
$access_token_uri = 'https://oauth.yandex.com/token';
|
35 |
-
$postData = 'grant_type=authorization_code&code=' . $code .'&client_id=' . $client_id . '&client_secret=' . $client_secret;
|
36 |
-
$access_token_json_output=mo_openid_get_access_token($postData,$access_token_uri,'yandex');
|
37 |
-
$access_token = isset( $access_token_json_output['access_token']) ? $access_token_json_output['access_token'] : '';
|
38 |
-
mo_openid_start_session();
|
39 |
-
// $profile_url ='https://graph.facebook.com/me/?fields=age_range,birthday,about,cover,currency,devices,education,email,favorite_athletes,favorite_teams,first_name,gender,hometown,inspirational_people,interested_in,is_verified,languages,last_name,link,locale,location,meeting_for,middle_name,name,name_format,political,public_key,quotes,relationship_status,religion,sports,timezone,updated_time,verified,website,work,friends,picture.height('.$px.')&access_token=' .$access_token;
|
40 |
-
$profile_url ='https://login.yandex.ru/info?&oauth_token=' .$access_token. '&with_openid_identity=1';
|
41 |
-
$profile_json_output = mo_openid_get_social_app_data($access_token,$profile_url,'yandex');
|
42 |
-
|
43 |
-
//Test Configuration
|
44 |
-
if( is_user_logged_in() && get_option('mo_openid_test_configuration') == 1 )
|
45 |
-
{
|
46 |
-
mo_openid_app_test_config($profile_json_output);
|
47 |
-
}
|
48 |
-
//set all profile details
|
49 |
-
//Set User current app
|
50 |
-
$first_name = $last_name = $email = $user_name = $user_url = $user_picture = $social_user_id = '';
|
51 |
-
$location_city = $location_country = $about_me = $company_name = $age = $gender = $friend_nos = '';
|
52 |
-
|
53 |
-
$first_name = isset( $profile_json_output['first_name']) ? $profile_json_output['first_name'] : '';
|
54 |
-
$last_name = isset( $profile_json_output['last_name']) ? $profile_json_output['last_name'] : '';
|
55 |
-
$email = isset( $profile_json_output['email']) ? $profile_json_output['email'] : '';
|
56 |
-
$user_name = isset( $profile_json_output['name']) ? $profile_json_output['name'] : '';
|
57 |
-
$user_url = isset( $profile_json_output['link']) ? $profile_json_output['link'] : '';
|
58 |
-
$user_picture = isset( $profile_json_output['picture']['data']['url']) ? $profile_json_output['picture']['data']['url'] : '';
|
59 |
-
$social_user_id = isset( $profile_json_output['id']) ? $profile_json_output['id'] : '';
|
60 |
-
$location_city = isset( $profile_json_output['location']['name']) ? $profile_json_output['location']['name'] : '';
|
61 |
-
$location_country = isset( $profile_json_output['location']['country']['code']) ? $profile_json_output['location']['country']['code'] : '';
|
62 |
-
$about_me = isset( $profile_json_output['summary']) ? $profile_json_output['summary'] : '';
|
63 |
-
$company_name = isset( $profile_json_output['positions']['values']['0']['company']['name']) ? $profile_json_output['positions']['values']['0']['company']['name'] : '';
|
64 |
-
$friend_nos= isset( $profile_json_output['friends']['summary']['total_count']) ? $profile_json_output['friends']['summary']['total_count'] : '';
|
65 |
-
$gender = isset( $profile_json_output['gender']) ? $profile_json_output['gender'] : '';
|
66 |
-
$age= isset( $profile_json_output['age_range']['min']) ? $profile_json_output['age_range']['min'] : '';
|
67 |
-
|
68 |
-
$appuserdetails = array(
|
69 |
-
'first_name' => $first_name,
|
70 |
-
'last_name' => $last_name,
|
71 |
-
'email' => $email,
|
72 |
-
'user_name' => $user_name,
|
73 |
-
'user_url' => $user_url,
|
74 |
-
'user_picture' => $user_picture,
|
75 |
-
'social_user_id' => $social_user_id,
|
76 |
-
'location_city' => $location_city,
|
77 |
-
'location_country' => $location_country,
|
78 |
-
'about_me' => $about_me,
|
79 |
-
'company_name' => $company_name,
|
80 |
-
'friend_nos' => $friend_nos,
|
81 |
-
'gender' => $gender,
|
82 |
-
'age' => $age,
|
83 |
-
);
|
84 |
-
return $appuserdetails;
|
85 |
-
}
|
86 |
Â
}
|
4 |
Â
class mo_yandex
|
5 |
Â
{
|
6 |
Â
public $color="#E52620";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
7 |
Â
}
|
uninstall.php
CHANGED
@@ -197,5 +197,4 @@ delete_option('mo_openid_register_email_message');
|
|
197 |
Â
|
198 |
Â
|
199 |
Â
delete_option('mo_openid_bootstrap_load');
|
200 |
-
delete_option('mo_openid_fonawesome_load');
|
201 |
-
?>
|
197 |
Â
|
198 |
Â
|
199 |
Â
delete_option('mo_openid_bootstrap_load');
|
200 |
+
delete_option('mo_openid_fonawesome_load');
|
Â
|
view/add_on/mo_discord_add_on.php
CHANGED
@@ -15,7 +15,7 @@ function mo_openid_discord_add_on_display()
|
|
15 |
Â
<input type="button" value="<?php echo mo_sl('Verify Key');?>"
|
16 |
Â
id="mosocial_purchase_dis_verify"
|
17 |
Â
class="button button-primary button-large"
|
18 |
-
style="float: right;">
|
19 |
Â
</h3>
|
20 |
Â
<br>
|
21 |
Â
<b><?php echo mo_sl('Discord Integration add-on allows you to restrict the login/registration of user based on whether the user is present in the Discord server');?></b>
|
@@ -26,6 +26,19 @@ function mo_openid_discord_add_on_display()
|
|
26 |
Â
|
27 |
Â
</div>
|
28 |
Â
<br>
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
29 |
Â
<div class="mo_openid_highlight">
|
30 |
Â
<h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('Discord Integration');?></h3>
|
31 |
Â
</div>
|
@@ -45,24 +58,24 @@ function mo_openid_discord_add_on_display()
|
|
45 |
Â
</div>
|
46 |
Â
|
47 |
Â
<form>
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
Â
</div>
|
67 |
Â
<td>
|
68 |
Â
<form style="display:none;" id="mosocial_loginform" action="<?php echo get_option( 'mo_openid_host_name' ) . '/moas/login'; ?>"
|
@@ -85,23 +98,7 @@ function mo_openid_discord_add_on_display()
|
|
85 |
Â
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Discord Add On'); ?>');
|
86 |
Â
jQuery(document).ready(function($){
|
87 |
Â
jQuery("#mosocial_purchase_dis_verify").on("click",function(){
|
88 |
-
|
89 |
-
url: "<?php echo admin_url("admin-ajax.php");?>", //the page containing php script
|
90 |
-
method: "POST", //request type,
|
91 |
-
dataType: 'json',
|
92 |
-
data: {
|
93 |
-
action: 'mo_register_customer_toggle_update',
|
94 |
-
},
|
95 |
-
success: function (result){
|
96 |
-
if (result.status){
|
97 |
-
mo_verify_add_on_license_key();
|
98 |
-
}
|
99 |
-
else{
|
100 |
-
alert("Please register/login with miniOrange to verify key and use the Custom Registration Form Add on");
|
101 |
-
window.location.href="<?php echo site_url()?>".concat("/wp-admin/admin.php?page=mo_openid_general_settings&tab=profile");
|
102 |
-
}
|
103 |
-
}
|
104 |
-
});
|
105 |
Â
});
|
106 |
Â
});
|
107 |
Â
|
15 |
Â
<input type="button" value="<?php echo mo_sl('Verify Key');?>"
|
16 |
Â
id="mosocial_purchase_dis_verify"
|
17 |
Â
class="button button-primary button-large"
|
18 |
+
style="float: right;display: none">
|
19 |
Â
</h3>
|
20 |
Â
<br>
|
21 |
Â
<b><?php echo mo_sl('Discord Integration add-on allows you to restrict the login/registration of user based on whether the user is present in the Discord server');?></b>
|
26 |
Â
|
27 |
Â
</div>
|
28 |
Â
<br>
|
29 |
+
<hr>
|
30 |
+
<h2 style="font-style: italic;font-size: 1.8em; text-align: center;">Customization Available With Discord Integration</h2>
|
31 |
+
|
32 |
+
<div class="mo_openid_note_style " style="border-left: 6px solid #2196F3;border-radius: 5px" >
|
33 |
+
<ul style="list-style: initial;margin-left: 2%; font-weight: bold;" >
|
34 |
+
<li>We provide <b>DISCORD ROLE MAPPING</b> based on WordPress role and membership/subscription of the end user. </li>
|
35 |
+
<li>Automate the process of adding user to the discord server when user register to website.</li>
|
36 |
+
<li>Kick the user from the discord server when user deleted from WordPress website.</li>
|
37 |
+
<li>Kick the user when the subscription/membership ended.</li>
|
38 |
+
<li> Other Use Case as per customers requirment. For more details <a style="cursor: pointer" onclick="mo_openid_support_form()">Contact Us</a></li>
|
39 |
+
</ul>
|
40 |
+
</div>
|
41 |
+
<br>
|
42 |
Â
<div class="mo_openid_highlight">
|
43 |
Â
<h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('Discord Integration');?></h3>
|
44 |
Â
</div>
|
58 |
Â
</div>
|
59 |
Â
|
60 |
Â
<form>
|
61 |
+
|
62 |
+
<input name="option" type="hidden" value="discord_role_creation_settings">
|
63 |
+
<table class="form-table" role="presentation">
|
64 |
+
<tbody>
|
65 |
+
<tr class="form-field form-required">
|
66 |
+
<th scope="row"><label for="">Guild ID\'s <span class="description">(required)</span></label></th>
|
67 |
+
<td><input disabled type="text" placeholder="717473765117323473"><br><br>
|
68 |
+
</td>
|
69 |
+
</tr>
|
70 |
+
<tr class="form-field form-required">
|
71 |
+
<th scope="row"><label for="">Bot Token Key <span class="description">(required)</span></label></th>
|
72 |
+
<td><input disabled type="text" placeholder="717473765117323473"/>
|
73 |
+
</td>
|
74 |
+
</tr>
|
75 |
+
</tbody></table>
|
76 |
+
|
77 |
+
<p class="submit"><input type="submit" name="discord_role_creation_submit" id="discord_role_creation_submit" class="button button-primary" disabled value="Save"></p>
|
78 |
+
</form>
|
79 |
Â
</div>
|
80 |
Â
<td>
|
81 |
Â
<form style="display:none;" id="mosocial_loginform" action="<?php echo get_option( 'mo_openid_host_name' ) . '/moas/login'; ?>"
|
98 |
Â
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Discord Add On'); ?>');
|
99 |
Â
jQuery(document).ready(function($){
|
100 |
Â
jQuery("#mosocial_purchase_dis_verify").on("click",function(){
|
101 |
+
mo_verify_add_on_license_key();
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
102 |
Â
});
|
103 |
Â
});
|
104 |
Â
|
view/config_apps/mo_openid_config_apps.php
CHANGED
@@ -2,6 +2,80 @@
|
|
2 |
Â
//configure apps menu page
|
3 |
Â
function mo_openid_show_apps()
|
4 |
Â
{
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
5 |
Â
if (isset($_POST['update_tour_status'])){
|
6 |
Â
update_option('mo_openid_tour_new','1');
|
7 |
Â
}
|
@@ -98,6 +172,9 @@ function mo_openid_show_apps()
|
|
98 |
Â
}elseif ($apps=='mailru'){
|
99 |
Â
$icons='at';
|
100 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
101 |
Â
$dir=dirname(dirname(dirname( __FILE__ )));
|
102 |
Â
include_once($dir.'/social_apps/'.$apps.'.php');
|
103 |
Â
$mo_appname='mo_'.$apps;
|
@@ -106,7 +183,7 @@ function mo_openid_show_apps()
|
|
106 |
Â
?>
|
107 |
Â
<div class="mo-openid-sort-apps-div mo-openid-hover-div-sett">
|
108 |
Â
<div class="mo-openid-sort-apps-i-div" style="background-color:<?php echo $blcolor?>;">
|
109 |
-
<?php if($apps=='naver'||$apps=='disqus'||$apps=='teamsnap'||$apps=='livejournal'||$apps=='kakao'||$apps=='baidu'||$apps=='mailru'){ ?>
|
110 |
Â
<img style="float: right" src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/icons/<?php echo $apps?>.png" height="60px" width="60px"
|
111 |
Â
alt="<?php echo $apps?>"/>
|
112 |
Â
<?php }
|
@@ -115,7 +192,7 @@ function mo_openid_show_apps()
|
|
115 |
Â
<?php } ?>
|
116 |
Â
</div>
|
117 |
Â
<div id="mo-openid-hover-app-sett-show" style="display: block">
|
118 |
-
<div style="display: inline-block; text-align: center;width: 100%;position: absolute;font-size: 13px;"><span style="color:black"><?php if($apps == 'mailru') $apps='mail.ru'; echo strtoupper($apps)?></span></div>
|
119 |
Â
</div>
|
120 |
Â
</div>
|
121 |
Â
<?php
|
2 |
Â
//configure apps menu page
|
3 |
Â
function mo_openid_show_apps()
|
4 |
Â
{
|
5 |
+
$time=get_option('sale_banner_time');
|
6 |
+
if (! $time) {
|
7 |
+
update_option('sale_banner_time',time());
|
8 |
+
$time=time();
|
9 |
+
}
|
10 |
+
|
11 |
+
if ($time+3600 < time() ) {
|
12 |
+
echo '<style>
|
13 |
+
.modal {
|
14 |
+
display: block; /* Hidden by default */
|
15 |
+
position: fixed; /* Stay in place */
|
16 |
+
z-index: 1; /* Sit on top */
|
17 |
+
padding-top: 100px; /* Location of the box */
|
18 |
+
left: 0;
|
19 |
+
top: 0;
|
20 |
+
width: 100%; /* Full width */
|
21 |
+
height: 100%; /* Full height */
|
22 |
+
overflow: auto; /* Enable scroll if needed */
|
23 |
+
background-color: rgb(0,0,0); /* Fallback color */
|
24 |
+
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
|
25 |
+
}
|
26 |
+
|
27 |
+
/* Modal Content */
|
28 |
+
.modal-content {
|
29 |
+
background-color: transparent;
|
30 |
+
margin: auto;
|
31 |
+
padding: 0px;
|
32 |
+
height: 420px;
|
33 |
+
width: 380px;
|
34 |
+
}
|
35 |
+
|
36 |
+
/* The Close Button */
|
37 |
+
.close {
|
38 |
+
color: #7a7a7a;
|
39 |
+
float: right;
|
40 |
+
font-size: 28px;
|
41 |
+
font-weight: bold;
|
42 |
+
margin-left: 432px;
|
43 |
+
position: absolute;
|
44 |
+
}
|
45 |
+
|
46 |
+
.close:hover,
|
47 |
+
.close:focus {
|
48 |
+
color: #f6f4f4;
|
49 |
+
text-decoration: none;
|
50 |
+
cursor: pointer;
|
51 |
+
}
|
52 |
+
|
53 |
+
</style>
|
54 |
+
<div id="myModalsss" class="modal">
|
55 |
+
|
56 |
+
<div class="modal-content">
|
57 |
+
<span class="close">×</span>
|
58 |
+
<img height="500px" width="450px" src="' . plugin_dir_url(dirname(dirname(__FILE__))) . '/includes/images/eosssale.gif">
|
59 |
+
|
60 |
+
</div>
|
61 |
+
|
62 |
+
</div>
|
63 |
+
<script>
|
64 |
+
var modales = document.getElementById("myModalsss");
|
65 |
+
|
66 |
+
// Get the button that opens the modal
|
67 |
+
|
68 |
+
// Get the <span> element that closes the modal
|
69 |
+
var sp = document.getElementsByClassName("close")[0];
|
70 |
+
// When the user clicks on <span> (x), close the modal
|
71 |
+
sp.onclick = function() {
|
72 |
+
modales.style.display = "none";
|
73 |
+
}
|
74 |
+
|
75 |
+
</script>';
|
76 |
+
update_option('sale_banner_time',time());
|
77 |
+
}
|
78 |
+
|
79 |
Â
if (isset($_POST['update_tour_status'])){
|
80 |
Â
update_option('mo_openid_tour_new','1');
|
81 |
Â
}
|
172 |
Â
}elseif ($apps=='mailru'){
|
173 |
Â
$icons='at';
|
174 |
Â
}
|
175 |
+
elseif ($apps=='stackoverflow'){
|
176 |
+
$icons='stack-overflow';
|
177 |
+
}
|
178 |
Â
$dir=dirname(dirname(dirname( __FILE__ )));
|
179 |
Â
include_once($dir.'/social_apps/'.$apps.'.php');
|
180 |
Â
$mo_appname='mo_'.$apps;
|
183 |
Â
?>
|
184 |
Â
<div class="mo-openid-sort-apps-div mo-openid-hover-div-sett">
|
185 |
Â
<div class="mo-openid-sort-apps-i-div" style="background-color:<?php echo $blcolor?>;">
|
186 |
+
<?php if($apps=='naver'||$apps=='disqus'||$apps=='teamsnap'||$apps=='livejournal'||$apps=='kakao'||$apps=='baidu'||$apps=='mailru'||$apps=='fitbit'){ ?>
|
187 |
Â
<img style="float: right" src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/icons/<?php echo $apps?>.png" height="60px" width="60px"
|
188 |
Â
alt="<?php echo $apps?>"/>
|
189 |
Â
<?php }
|
192 |
Â
<?php } ?>
|
193 |
Â
</div>
|
194 |
Â
<div id="mo-openid-hover-app-sett-show" style="display: block">
|
195 |
+
<div style="display: inline-block; text-align: center;width: 100%;position: absolute;font-size: 13px;"><span style="color:black"><?php if($apps == 'mailru') $apps='mail.ru'; if($apps == 'wiebo') $apps='weibo'; echo strtoupper($apps)?></span></div>
|
196 |
Â
</div>
|
197 |
Â
</div>
|
198 |
Â
<?php
|
view/customise_social_icons/mo_openid_cust_icons.php
CHANGED
@@ -12,45 +12,73 @@ function mo_openid_customise_social_icons(){
|
|
12 |
Â
<div style="float:left;width:50%;">
|
13 |
Â
<label style="font-size: 1.2em;"><b><?php echo mo_sl('Shape');?></b><br></label>
|
14 |
Â
<label class="mo-openid-radio-container"><?php echo mo_sl('Round');?>
|
15 |
-
<input type="radio" id="mo_openid_login_shape_round" name="mo_openid_login_theme" value="circle" onclick="shape_change();checkLoginButton();moLoginPreview(document.getElementById('mo_login_icon_size').value ,'circle',setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value)" <?php checked( get_option('mo_openid_login_theme') == 'circle' );?> /><br>
|
16 |
Â
<span class="mo-openid-radio-checkmark"></span></label>
|
17 |
Â
<label class="mo-openid-radio-container"><?php echo mo_sl('Rounded Edges');?>
|
18 |
-
<input type="radio" id="mo_openid_login_shape_rounded_edges" name="mo_openid_login_theme" value="oval" onclick="shape_change();checkLoginButton();moLoginPreview(document.getElementById('mo_login_icon_size').value ,'oval',setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value)" <?php checked( get_option('mo_openid_login_theme') == 'oval' );?> /><br>
|
19 |
Â
<span class="mo-openid-radio-checkmark"></span></label>
|
20 |
Â
|
21 |
Â
<label class="mo-openid-radio-container"><?php echo mo_sl('Square');?>
|
22 |
-
<input type="radio" id="mo_openid_login_shape_square" name="mo_openid_login_theme" value="square" onclick="shape_change();checkLoginButton();moLoginPreview(document.getElementById('mo_login_icon_size').value ,'square',setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value)" <?php checked( get_option('mo_openid_login_theme') == 'square' );?> /><br>
|
23 |
Â
<span class="mo-openid-radio-checkmark"></span></label>
|
24 |
Â
<label class="mo-openid-radio-container"><?php echo mo_sl('Long Button');?>
|
25 |
-
<input type="radio" id="mo_openid_login_shape_longbutton" name="mo_openid_login_theme" value="longbutton" onclick="shape_change();checkLoginButton();moLoginPreview(document.getElementById('mo_login_icon_width').value ,'longbutton',setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value)" <?php checked( get_option('mo_openid_login_theme') == 'longbutton' );?> /><br>
|
26 |
Â
<span class="mo-openid-radio-checkmark"></span></label>
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
27 |
Â
</div>
|
28 |
Â
<div style="float: right; width: 50%;">
|
29 |
Â
<label style="font-size: 1.2em;"><b><?php echo mo_sl('Theme');?></b><br></label>
|
30 |
Â
<label class="mo-openid-radio-container"><?php echo mo_sl('Default');?>
|
31 |
Â
<input type="radio" id="mo_openid_default_background_radio" name="mo_openid_login_custom_theme"
|
32 |
-
value="default" onclick="
|
33 |
Â
<?php checked( get_option('mo_openid_login_custom_theme') == 'default' );?> /><br>
|
34 |
Â
<span class="mo-openid-radio-checkmark"></span></label>
|
35 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
36 |
Â
<label class="mo-openid-radio-container"><?php echo mo_sl('Custom background*');?>
|
37 |
-
<input type="radio" id="mo_openid_custom_background_radio" name="mo_openid_login_custom_theme" value="custom" onclick="
|
38 |
Â
<?php checked( get_option('mo_openid_login_custom_theme') == 'custom' );?> /><br>
|
39 |
Â
<span class="mo-openid-radio-checkmark"></span></label>
|
40 |
Â
|
41 |
-
<input id="mo_login_icon_custom_color" style="width:135px;
|
Â
|
|
42 |
Â
|
43 |
-
<label
|
44 |
-
<input type="radio"
|
Â
|
|
Â
|
|
45 |
Â
<span class="mo-openid-radio-checkmark"></span></label>
|
46 |
Â
|
47 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
48 |
Â
|
49 |
-
</div>
|
50 |
-
<div id="white_theme_ad">
|
51 |
Â
|
52 |
-
<
|
53 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
54 |
Â
|
55 |
Â
</div>
|
56 |
Â
</div>
|
@@ -72,15 +100,15 @@ function mo_openid_customise_social_icons(){
|
|
72 |
Â
</div>
|
73 |
Â
<div id="other_button_size">
|
74 |
Â
<input style="width:50px" id="mo_login_icon_size" onkeyup="moLoginSizeValidate(this)" name="mo_login_icon_custom_size" type="text" value="<?php echo esc_attr(get_option('mo_login_icon_custom_size'))?>">
|
75 |
-
<input id="mo_login_size_plus" type="button" value="+" onmouseup="moLoginPreview(document.getElementById('mo_login_icon_size').value ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value)" />
|
76 |
-
<input id="mo_login_size_minus" type="button" value="-" onmouseup="moLoginPreview(document.getElementById('mo_login_icon_size').value ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value)" />
|
77 |
Â
</div>
|
78 |
Â
</div>
|
79 |
Â
<div style="width: 50%;float: right;margin-top: 5%">
|
80 |
Â
<label style="font-size: 1.2em;"><b><?php echo mo_sl('Space between Icons');?></b></label><br/>
|
81 |
Â
<input class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;width: 16%;margin-bottom: 3px" onkeyup="moLoginSpaceValidate(this)" id="mo_login_icon_space" name="mo_login_icon_space" type="text" value="<?php echo esc_attr(get_option('mo_login_icon_space'))?>"/>
|
82 |
-
<input id="mo_login_space_plus" type="button" value="+" onmouseup="moLoginPreview(setSizeOfIcons() ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value)" />
|
83 |
-
<input id="mo_login_space_minus" type="button" value="-" onmouseup="moLoginPreview(setSizeOfIcons() ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value)" />
|
84 |
Â
</div>
|
85 |
Â
|
86 |
Â
|
@@ -148,7 +176,7 @@ function mo_openid_customise_social_icons(){
|
|
148 |
Â
<b>Preview : </b><br/>
|
149 |
Â
<div style="padding-bottom: 1%; padding-top: 3%">
|
150 |
Â
<?php
|
151 |
-
$default_color= array('facebook'=>'#1877F2','google'=>'#DB4437','vkontakte'=>'#466482','twitter'=>'#2795e9','yahoo'=>'#430297','yandex'=>'#2795e9','instagram'=>'#3f729b','linkedin'=>'#007bb6','amazon'=>'#ff9900','paypal'=>'#0d127a','salesforce'=>'#1ab7ea','windowslive'=>'#2672ec','apple'=>'#000000','steam'=>'#000000','wordpress'=>'#587ea3','pinterest'=>'#cb2027','spotify'=>'#19bf61','tumblr'=>'#2c4762','twitch'=>'#720e9e','github'=>'#000000','dribbble'=>'#ee66aa','flickr'=>'#ff0084','stackexchange'=>'0000ff','snapchat'=>'#fffc00','reddit'=>'#ff4301','odnoklassniki'=>'#f97400','foursquare'=>'#f94877','wechat'=>'#00c300','vimeo'=>'#1ab7ea','line'=>'#00c300','hubspot'=>'#fa7820','discord'=>'#7289da','meetup'=>'#e51937','stackexchange'=>'#0000FF','wiebo'=>'#df2029');
|
152 |
Â
|
153 |
Â
$app_pos=get_option('app_pos');
|
154 |
Â
$app_pos=explode('#',$app_pos);
|
@@ -166,9 +194,6 @@ function mo_openid_customise_social_icons(){
|
|
166 |
Â
$class_app = 'vimeo';
|
167 |
Â
$icon = 'salesforce';
|
168 |
Â
}
|
169 |
-
elseif ($active_app=='amazon') {
|
170 |
-
$class_app = 'soundcloud';
|
171 |
-
}
|
172 |
Â
elseif ($active_app=='windowslive'){
|
173 |
Â
$class_app='microsoft';
|
174 |
Â
$icon='windows';
|
@@ -177,32 +202,67 @@ function mo_openid_customise_social_icons(){
|
|
177 |
Â
$count_app++;
|
178 |
Â
?>
|
179 |
Â
<i class="mo_login_icon_preview <?php echo $extra;?> fab fa-<?php echo $active_app;?>" id="mo_login_icon_preview_facebook" style="background:<?php echo $default_color[$active_app];?> !important;text-align:center;margin-top:5px;color: white" ></i>
|
180 |
-
<a style="background: rgb(255,255,255)!important; background:linear-gradient(90deg, rgba(255,255,255,1) 38px, rgb(79, 113, 232) 5%) !important;border-color: rgba(79, 113, 232, 1);border-bottom-width: thin;" id="mo_login_button_preview_google" class="mo_btn mo_btn-block mo_btn-defaulttheme mo_btn-social mo_btn-google mo_btn-custom-size"> <img class="fa" src="<?php echo plugin_url.'/g.png'?>"><?php
|
181 |
-
?> <span
|
182 |
-
|
183 |
-
<
|
Â
|
|
184 |
Â
echo esc_html(get_option('mo_openid_login_button_customize_text'));?> Google</a>
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
192 |
Â
echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
|
193 |
-
|
194 |
-
|
195 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
196 |
Â
<?php
|
197 |
Â
}
|
198 |
Â
else{
|
199 |
Â
$count_app++;
|
200 |
Â
?>
|
201 |
-
<i class="mo_login_icon_preview
|
202 |
-
<a id="mo_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_btn-defaulttheme mo_btn-social mo_btn-<?php echo $
|
203 |
Â
echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app?></a>
|
204 |
-
|
205 |
-
<
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
206 |
Â
echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
|
207 |
Â
<?php
|
208 |
Â
}
|
@@ -240,25 +300,80 @@ function mo_openid_customise_social_icons(){
|
|
240 |
Â
</form>
|
241 |
Â
<script>
|
242 |
Â
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
247 |
Â
}
|
248 |
-
|
249 |
-
|
250 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
251 |
Â
}
|
252 |
-
|
253 |
-
|
254 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
255 |
Â
}
|
Â
|
|
256 |
Â
}
|
257 |
Â
|
258 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
259 |
Â
|
260 |
-
//to set heading name
|
261 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl("Customize Login Icons"); ?>');
|
262 |
Â
window.onload=shape_change();
|
263 |
Â
function shape_change() {
|
264 |
Â
var y = document.getElementById('mo_openid_login_shape_longbutton').checked;
|
@@ -281,6 +396,10 @@ function mo_openid_customise_social_icons(){
|
|
281 |
Â
var tempHorSpace = '<?php echo esc_attr(get_option('mo_login_icon_space'))?>';
|
282 |
Â
var tempHorHeight = '<?php echo esc_attr(get_option('mo_login_icon_custom_height')) ?>';
|
283 |
Â
var tempHorBoundary='<?php echo esc_attr(get_option('mo_login_icon_custom_boundary'))?>';
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
284 |
Â
|
285 |
Â
function moLoginSpaceValidate(e){
|
286 |
Â
var t=parseInt(e.value.trim());t>60?e.value=60:0>t&&(e.value=0)
|
@@ -331,6 +450,7 @@ function mo_openid_customise_social_icons(){
|
|
331 |
Â
moLoginBoundaryIncrement(document.getElementById('mo_login_boundary_minus'), "subtract", document.getElementById('mo_login_icon_custom_boundary'), 300, 0.7);
|
332 |
Â
|
333 |
Â
function setLoginTheme(){return jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val();}
|
Â
|
|
334 |
Â
function setLoginCustomTheme(){return jQuery('input[name=mo_openid_login_custom_theme]:checked', '#form-apps').val();}
|
335 |
Â
function setSizeOfIcons(){
|
336 |
Â
if((jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val()) == 'longbutton'){
|
@@ -339,9 +459,10 @@ function mo_openid_customise_social_icons(){
|
|
339 |
Â
return document.getElementById('mo_login_icon_size').value;
|
340 |
Â
}
|
341 |
Â
}
|
342 |
-
moLoginPreview(setSizeOfIcons(),tempHorTheme,tempHorCustomTheme,tempHorCustomColor,tempHorSpace,tempHorHeight,tempHorBoundary);
|
343 |
Â
|
344 |
-
function moLoginPreview(t,r,l,p,n,h,k){
|
Â
|
|
345 |
Â
if(l == 'default'){
|
346 |
Â
if(r == 'longbutton'){
|
347 |
Â
var a = "mo_btn-defaulttheme";
|
@@ -353,14 +474,124 @@ function mo_openid_customise_social_icons(){
|
|
353 |
Â
jQuery(this).css("margin-bottom",(n-5)+"px");
|
354 |
Â
jQuery(this).css("border-radius",k+"px");
|
355 |
Â
});
|
356 |
-
jQuery(".
|
357 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
358 |
Â
}else{
|
359 |
Â
var a="mo_login_icon_preview";
|
360 |
-
jQuery("."+a).css("margin-left",(n-4)+"px");
|
361 |
Â
jQuery("."+a).css("cursor","pointer");
|
362 |
Â
jQuery("."+a).css({height:t-8,width:t});
|
363 |
Â
jQuery("."+a).css("padding-top","8px");
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
364 |
Â
if(r=="circle"){
|
365 |
Â
jQuery("."+a).css("borderRadius","999px");
|
366 |
Â
}else if(r=="oval"){
|
@@ -368,13 +599,111 @@ function mo_openid_customise_social_icons(){
|
|
368 |
Â
}else if(r=="square"){
|
369 |
Â
jQuery("."+a).css("borderRadius","0px");
|
370 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
371 |
Â
jQuery("."+a).css("font-size",(t-16)+"px");
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
372 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
373 |
Â
}
|
374 |
Â
}
|
Â
|
|
375 |
Â
else if(l == 'custom'){
|
376 |
Â
if(r == 'longbutton'){
|
377 |
-
var a = "
|
378 |
Â
jQuery("."+a).css("margin-top", "5px");
|
379 |
Â
jQuery("."+a).css("width",(t)+"px");
|
380 |
Â
jQuery("."+a).css("padding-top",(h-29)+"px");
|
@@ -383,8 +712,14 @@ function mo_openid_customise_social_icons(){
|
|
383 |
Â
jQuery("."+a).css("margin-bottom",(n-5)+"px");
|
384 |
Â
jQuery("."+a).css("background","#"+p);
|
385 |
Â
jQuery("."+a).css("border-radius",k+"px");
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
386 |
Â
}else{
|
387 |
Â
var a="mo_custom_login_icon_preview";
|
Â
|
|
388 |
Â
jQuery("."+a).css({height:t-8,width:t});
|
389 |
Â
jQuery("."+a).css("padding-top","8px");
|
390 |
Â
jQuery("."+a).css("margin-left",(n-4)+"px");
|
@@ -400,6 +735,21 @@ function mo_openid_customise_social_icons(){
|
|
400 |
Â
jQuery("."+a).css("font-size",(t-16)+"px");
|
401 |
Â
jQuery("#disq").css({height:t-21});
|
402 |
Â
jQuery("#kaka").css({height:t-21});
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
403 |
Â
}
|
404 |
Â
}
|
405 |
Â
previewLoginIcons();
|
@@ -410,26 +760,190 @@ function mo_openid_customise_social_icons(){
|
|
410 |
Â
if(setLoginCustomTheme() == 'default'){
|
411 |
Â
jQuery(".mo_login_icon_preview").hide();
|
412 |
Â
jQuery(".mo_custom_login_icon_preview").hide();
|
413 |
-
jQuery(".
|
414 |
Â
jQuery(".mo_btn-defaulttheme").show();
|
415 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
416 |
Â
jQuery(".mo_login_icon_preview").hide();
|
417 |
Â
jQuery(".mo_custom_login_icon_preview").hide();
|
418 |
Â
jQuery(".mo_btn-defaulttheme").hide();
|
419 |
-
jQuery(".
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
420 |
Â
}
|
421 |
Â
}
|
422 |
Â
else {
|
423 |
Â
if(setLoginCustomTheme() == 'default'){
|
424 |
Â
jQuery(".mo_login_icon_preview").show();
|
425 |
Â
jQuery(".mo_btn-defaulttheme").hide();
|
426 |
-
jQuery(".
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
427 |
Â
jQuery(".mo_custom_login_icon_preview").hide();
|
428 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
429 |
Â
jQuery(".mo_login_icon_preview").hide();
|
430 |
Â
jQuery(".mo_custom_login_icon_preview").show();
|
431 |
Â
jQuery(".mo_btn-defaulttheme").hide();
|
432 |
-
jQuery(".
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
433 |
Â
}
|
434 |
Â
}
|
435 |
Â
previewLoginIcons();
|
@@ -447,6 +961,34 @@ function mo_openid_customise_social_icons(){
|
|
447 |
Â
else
|
448 |
Â
jQuery("#mo_login_icon_preview_"+apps[i]).show();
|
449 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
450 |
Â
else if(jQuery('input[name=mo_openid_login_custom_theme]:checked', '#form-apps').val() == 'custom')
|
451 |
Â
{
|
452 |
Â
if(jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val() == 'longbutton')
|
12 |
Â
<div style="float:left;width:50%;">
|
13 |
Â
<label style="font-size: 1.2em;"><b><?php echo mo_sl('Shape');?></b><br></label>
|
14 |
Â
<label class="mo-openid-radio-container"><?php echo mo_sl('Round');?>
|
15 |
+
<input type="radio" id="mo_openid_login_shape_round" name="mo_openid_login_theme" value="circle" onclick="shape_change();checkLoginButton();moLoginPreview(document.getElementById('mo_login_icon_size').value ,'circle',setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" <?php checked( get_option('mo_openid_login_theme') == 'circle' );?> /><br>
|
16 |
Â
<span class="mo-openid-radio-checkmark"></span></label>
|
17 |
Â
<label class="mo-openid-radio-container"><?php echo mo_sl('Rounded Edges');?>
|
18 |
+
<input type="radio" id="mo_openid_login_shape_rounded_edges" name="mo_openid_login_theme" value="oval" onclick="shape_change();checkLoginButton();moLoginPreview(document.getElementById('mo_login_icon_size').value ,'oval',setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" <?php checked( get_option('mo_openid_login_theme') == 'oval' );?> /><br>
|
19 |
Â
<span class="mo-openid-radio-checkmark"></span></label>
|
20 |
Â
|
21 |
Â
<label class="mo-openid-radio-container"><?php echo mo_sl('Square');?>
|
22 |
+
<input type="radio" id="mo_openid_login_shape_square" name="mo_openid_login_theme" value="square" onclick="shape_change();checkLoginButton();moLoginPreview(document.getElementById('mo_login_icon_size').value ,'square',setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" <?php checked( get_option('mo_openid_login_theme') == 'square' );?> /><br>
|
23 |
Â
<span class="mo-openid-radio-checkmark"></span></label>
|
24 |
Â
<label class="mo-openid-radio-container"><?php echo mo_sl('Long Button');?>
|
25 |
+
<input type="radio" id="mo_openid_login_shape_longbutton" name="mo_openid_login_theme" value="longbutton" onclick="shape_change();checkLoginButton();moLoginPreview(document.getElementById('mo_login_icon_width').value ,'longbutton',setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" <?php checked( get_option('mo_openid_login_theme') == 'longbutton' );?> /><br>
|
26 |
Â
<span class="mo-openid-radio-checkmark"></span></label>
|
27 |
+
<hr>
|
28 |
+
<label style="font-size: 1.2em;"><b><?php echo mo_sl('Effects');?></b><br></label>
|
29 |
+
<label class="mo-openid-radio-container"><?php echo mo_sl('No Effect');?>
|
30 |
+
<input type="radio" id="mo_openid_button_theme_effect_no" name="mo_openid_button_theme_effect" value="noeffect" onclick="shape_change();checkLoginButton();moLoginPreview(setSizeOfIcons() ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,'noeffect')" <?php checked( get_option('mo_openid_button_theme_effect') == 'noeffect' );?>/><br>
|
31 |
+
<span class="mo-openid-radio-checkmark"></span></label>
|
32 |
+
<label class="mo-openid-radio-container"><?php echo mo_sl('Transform Effect');?>
|
33 |
+
<input type="radio" id="mo_openid_button_theme_effect_transform" name="mo_openid_button_theme_effect" value="transform" onclick="shape_change();checkLoginButton();moLoginPreview(setSizeOfIcons(), setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,'transform')" <?php checked( get_option('mo_openid_button_theme_effect') == 'transform' );?>/><br>
|
34 |
+
<span class="mo-openid-radio-checkmark" ></span></label>
|
35 |
+
|
36 |
Â
</div>
|
37 |
Â
<div style="float: right; width: 50%;">
|
38 |
Â
<label style="font-size: 1.2em;"><b><?php echo mo_sl('Theme');?></b><br></label>
|
39 |
Â
<label class="mo-openid-radio-container"><?php echo mo_sl('Default');?>
|
40 |
Â
<input type="radio" id="mo_openid_default_background_radio" name="mo_openid_login_custom_theme"
|
41 |
+
value="default" onclick="checkLoginButton();moLoginPreview(setSizeOfIcons(), setLoginTheme(),'default',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())"
|
42 |
Â
<?php checked( get_option('mo_openid_login_custom_theme') == 'default' );?> /><br>
|
43 |
Â
<span class="mo-openid-radio-checkmark"></span></label>
|
44 |
Â
|
45 |
+
|
46 |
+
<label for="mo_openid_white_background_radio" class="mo-openid-radio-container"><?php echo mo_sl('White Background');?>
|
47 |
+
<input type="radio" id="mo_openid_white_background_radio" name="mo_openid_login_custom_theme"
|
48 |
+
value="white" onclick="checkLoginButton();moLoginPreview(setSizeOfIcons(), setLoginTheme(),'white',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())"
|
49 |
+
<?php checked( get_option('mo_openid_login_custom_theme') == 'white' );?> /><br>
|
50 |
+
<span class="mo-openid-radio-checkmark"></span></label>
|
51 |
+
|
52 |
Â
<label class="mo-openid-radio-container"><?php echo mo_sl('Custom background*');?>
|
53 |
+
<input type="radio" id="mo_openid_custom_background_radio" name="mo_openid_login_custom_theme" value="custom" onclick="checkLoginButton();moLoginPreview(setSizeOfIcons(), setLoginTheme(),'custom',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())"
|
54 |
Â
<?php checked( get_option('mo_openid_login_custom_theme') == 'custom' );?> /><br>
|
55 |
Â
<span class="mo-openid-radio-checkmark"></span></label>
|
56 |
Â
|
57 |
+
<input id="mo_login_icon_custom_color" style="width:135px;margin-bottom: 5px;" name="mo_login_icon_custom_color" class="color" value="<?php echo esc_attr(get_option('mo_login_icon_custom_color'))?>" onchange="moLoginPreview(setSizeOfIcons(), setLoginTheme(),'custom',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value,'',document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" >
|
58 |
+
|
59 |
Â
|
60 |
+
<label for="mo_openid_hover_radio" class="mo-openid-radio-container"><?php echo mo_sl('Hover');?>
|
61 |
+
<input type="radio" id="mo_openid_hover_radio" name="mo_openid_login_custom_theme"
|
62 |
+
value="hover" onclick="checkLoginButton();moLoginPreview(setSizeOfIcons(), setLoginTheme(),'hover',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())"
|
63 |
+
<?php checked( get_option('mo_openid_login_custom_theme') == 'hover' );?> /><br>
|
64 |
Â
<span class="mo-openid-radio-checkmark"></span></label>
|
65 |
Â
|
66 |
Â
|
67 |
+
<label for="mo_openid_custom_hover_radio" class="mo-openid-radio-container"><?php echo mo_sl('Custom Hover');?>
|
68 |
+
<input type="radio" id="mo_openid_custom_hover_radio" name="mo_openid_login_custom_theme"
|
69 |
+
value="custom_hover" onclick="checkLoginButton();moLoginPreview(setSizeOfIcons(), setLoginTheme(),'custom_hover',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())"
|
70 |
+
<?php checked( get_option('mo_openid_login_custom_theme') == 'custom_hover' );?> /><br>
|
71 |
+
<span class="mo-openid-radio-checkmark"></span></label>
|
72 |
+
<input id="mo_login_icon_custom_hover_color" style="width:135px;margin-bottom: 5px;" name="mo_login_icon_custom_hover_color" class="color" value="<?php echo esc_attr(get_option('mo_login_icon_custom_hover_color'))?>" onchange="moLoginPreview(setSizeOfIcons(), setLoginTheme(),'custom_hover',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value,'',document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" />
|
73 |
Â
|
Â
|
|
Â
|
|
74 |
Â
|
75 |
+
<label for="mo_openid_custom_smart_radio" class="mo-openid-radio-container"><?php echo mo_sl('Smart');?>
|
76 |
+
<input type="radio" id="mo_openid_custom_smart_radio" name="mo_openid_login_custom_theme"
|
77 |
+
value="smart" onclick="checkLoginButton();moLoginPreview(setSizeOfIcons(), setLoginTheme(),'smart',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())"
|
78 |
+
<?php checked( get_option('mo_openid_login_custom_theme') == 'smart' );?> /><br>
|
79 |
+
<span class="mo-openid-radio-checkmark"></span></label>
|
80 |
+
<input id="mo_login_icon_custom_smart_color1" style="width:66px;margin-bottom: 5px;display: inline-block;" name="mo_login_icon_custom_smart_color1" class="color" value="<?php echo esc_attr(get_option('mo_login_icon_custom_smart_color1'))?>" onchange="moLoginPreview(setSizeOfIcons(), setLoginTheme(),'smart',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value,'',document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" />
|
81 |
+
<input id="mo_login_icon_custom_smart_color2" style="width:66px;margin-bottom: 5px;" name="mo_login_icon_custom_smart_color2" class="color" value="<?php echo esc_attr(get_option('mo_login_icon_custom_smart_color2'))?>" onchange="moLoginPreview(setSizeOfIcons(), setLoginTheme(),'smart',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value,'',document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" />
|
82 |
Â
|
83 |
Â
</div>
|
84 |
Â
</div>
|
100 |
Â
</div>
|
101 |
Â
<div id="other_button_size">
|
102 |
Â
<input style="width:50px" id="mo_login_icon_size" onkeyup="moLoginSizeValidate(this)" name="mo_login_icon_custom_size" type="text" value="<?php echo esc_attr(get_option('mo_login_icon_custom_size'))?>">
|
103 |
+
<input id="mo_login_size_plus" type="button" value="+" onmouseup="moLoginPreview(document.getElementById('mo_login_icon_size').value ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value,'',document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" />
|
104 |
+
<input id="mo_login_size_minus" type="button" value="-" onmouseup="moLoginPreview(document.getElementById('mo_login_icon_size').value ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value,'',document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" />
|
105 |
Â
</div>
|
106 |
Â
</div>
|
107 |
Â
<div style="width: 50%;float: right;margin-top: 5%">
|
108 |
Â
<label style="font-size: 1.2em;"><b><?php echo mo_sl('Space between Icons');?></b></label><br/>
|
109 |
Â
<input class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;width: 16%;margin-bottom: 3px" onkeyup="moLoginSpaceValidate(this)" id="mo_login_icon_space" name="mo_login_icon_space" type="text" value="<?php echo esc_attr(get_option('mo_login_icon_space'))?>"/>
|
110 |
+
<input id="mo_login_space_plus" type="button" value="+" onmouseup="moLoginPreview(setSizeOfIcons() ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value,'',document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" />
|
111 |
+
<input id="mo_login_space_minus" type="button" value="-" onmouseup="moLoginPreview(setSizeOfIcons() ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value,'',document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" />
|
112 |
Â
</div>
|
113 |
Â
|
114 |
Â
|
176 |
Â
<b>Preview : </b><br/>
|
177 |
Â
<div style="padding-bottom: 1%; padding-top: 3%">
|
178 |
Â
<?php
|
179 |
+
$default_color= array('facebook'=>'#1877F2','google'=>'#DB4437','vkontakte'=>'#466482','twitter'=>'#2795e9','yahoo'=>'#430297','yandex'=>'#2795e9','instagram'=>'#3f729b','linkedin'=>'#007bb6','amazon'=>'#ff9900','paypal'=>'#0d127a','salesforce'=>'#1ab7ea','windowslive'=>'#2672ec','apple'=>'#000000','steam'=>'#000000','wordpress'=>'#587ea3','pinterest'=>'#cb2027','spotify'=>'#19bf61','tumblr'=>'#2c4762','twitch'=>'#720e9e','github'=>'#000000','dribbble'=>'#ee66aa','flickr'=>'#ff0084','stackexchange'=>'0000ff','snapchat'=>'#fffc00','reddit'=>'#ff4301','odnoklassniki'=>'#f97400','foursquare'=>'#f94877','wechat'=>'#00c300','vimeo'=>'#1ab7ea','line'=>'#00c300','hubspot'=>'#fa7820','trello'=>'#0079bf','discord'=>'#7289da','meetup'=>'#e51937','stackexchange'=>'#0000FF','wiebo'=>'#df2029','gitlab'=>'#30353e','slack'=>'#4c154d','dropbox'=>'#0061ff','mailru'=>'#0000FF','kakao'=>'#ffe812');
|
180 |
Â
|
181 |
Â
$app_pos=get_option('app_pos');
|
182 |
Â
$app_pos=explode('#',$app_pos);
|
194 |
Â
$class_app = 'vimeo';
|
195 |
Â
$icon = 'salesforce';
|
196 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
197 |
Â
elseif ($active_app=='windowslive'){
|
198 |
Â
$class_app='microsoft';
|
199 |
Â
$icon='windows';
|
202 |
Â
$count_app++;
|
203 |
Â
?>
|
204 |
Â
<i class="mo_login_icon_preview <?php echo $extra;?> fab fa-<?php echo $active_app;?>" id="mo_login_icon_preview_facebook" style="background:<?php echo $default_color[$active_app];?> !important;text-align:center;margin-top:5px;color: white" ></i>
|
205 |
+
<a style="background: rgb(255,255,255)!important; background:linear-gradient(90deg, rgba(255,255,255,1) 38px, rgb(79, 113, 232) 5%) !important;border-color: rgba(79, 113, 232, 1);border-bottom-width: thin;" id="mo_login_button_preview_google" class="mo_btn mo_btn-block mo_btn-defaulttheme mo_btn-social mo_btn-google mo_btn-custom-size mo_login_button mo_btn-<?php echo $active_app ?> <?php echo $extra;?>"> <img class="fa" src="<?php echo plugin_url.'/g.png'?>"><?php
|
206 |
+
?> <span><?php echo esc_html(get_option('mo_openid_login_button_customize_text'));?> Google</span></a>
|
207 |
+
|
208 |
+
<i class="mo_white_login_icon_preview fab fa-google" id="mo_white_login_icon_preview_google" style="color:<?php echo $default_color[$active_app];?>;text-align:center;margin-top:5px;"></i>
|
209 |
+
<a id="mo_white_login_button_preview_google" class="mo_btn mo_btn-block mo_openid_mo_btn-whitetheme mo_btn-social mo_btn-custom-size "> <img class="fa" src="<?php echo plugin_url.'/g.png'?>"><?php
|
210 |
Â
echo esc_html(get_option('mo_openid_login_button_customize_text'));?> Google</a>
|
211 |
+
|
212 |
+
<div style="display: inline-block" id="mo_hover_div_google" class="mo_hover_div" onmouseover="mo_hover_on(this,'<?php echo $default_color[$active_app]?>','<?php echo $active_app; ?>')" onmouseout="mo_hover_off(this,'<?php echo $default_color[$active_app]?>','<?php echo $active_app; ?>')">
|
213 |
+
<i class="mo_hover_login_icon_preview fab fa-<?php echo $icon ?> " id="mo_hover_login_icon_preview_<?php echo $active_app ?>" style="color:<?php echo $default_color[$active_app];?>;text-align:center;margin-top:5px;"></i>
|
214 |
+
<a id="mo_hover_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_openid_mo_btn-hovertheme mo_btn-social mo_btn-custom-size "> <i id="mo_hover_long_button_<?php echo $active_app ?>" style="color:<?php echo $default_color[$active_app];?>;" class="fab fa-<?php echo $icon ?> mofab"></i><?php
|
215 |
+
echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
|
216 |
+
</div>
|
217 |
+
|
218 |
+
<div style="display: inline-block" id="mo_customhover_div_google" class="mo_customhover_div" onmouseover="mo_custom_hover_on(this,'<?php echo $active_app; ?>')" onmouseout="mo_custom_hover_off(this,'<?php echo $active_app; ?>')" >
|
219 |
+
<i class="mo_custom_hover_login_icon_preview fab fa-<?php echo $icon ?> " id="mo_custom_hover_login_icon_preview_<?php echo $active_app ?>" style="color:<?php echo get_option('mo_login_icon_custom_hover_color');?>;text-align:center;"></i>
|
220 |
+
<a id="mo_custom_hover_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_openid_mo_btn-customhovertheme mo_btn-social mo_btn-custom-size " style="color:#<?php echo get_option('mo_login_icon_custom_hover_color');?>;border-color:#<?php echo get_option('mo_login_icon_custom_hover_color');?>;"> <i id="mo_hover_long_button_<?php echo $active_app ?>" style="color:<?php echo get_option('mo_login_icon_custom_hover_color');?>;text-align:center;" class="fab mofab fa-<?php echo $icon ?>"></i><?php
|
221 |
+
echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
|
222 |
+
</div>
|
223 |
+
|
224 |
+
<i class="mo_custom_smart_login_icon_preview fab fa-google mo_button_smart_i " id="mo_custom_smart_login_icon_preview_google" style="background:linear-gradient(90deg,#<?php echo get_option('mo_login_icon_custom_smart_color1');?>,#<?php echo get_option('mo_login_icon_custom_smart_color2');?>);text-align:center;margin-top:5px;color:#FFFFFF"></i>
|
225 |
+
<a id="mo_custom_smart_login_button_preview_google" class="mo_btn_smart mo_btn-block mo_btn-social mo_btn-custom-size mo_openid_mo_btn-smarttheme mo_btn-social mo_btn-custom-size " style="background:linear-gradient(90deg,#<?php echo get_option('mo_login_icon_custom_smart_color1');?>,#<?php echo get_option('mo_login_icon_custom_smart_color2');?>);text-align:center;margin-top:5px;"> <i style="color:#FFFFFF" class="fab fa-google mofab"></i><?php
|
226 |
Â
echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
|
227 |
+
|
228 |
+
|
229 |
+
<i class="mo_custom_login_icon_preview fab fa-google" id="mo_custom_login_icon_preview_google" style="color:#ffffff;text-align:center;margin-top:5px;"></i>
|
230 |
+
<a id="mo_custom_login_button_preview_google" class="mo_btn mo_btn-block mo_openid_mo_btn-customtheme mo_btn-social mo_btn-custom-size " style="color: #FFFFFF"> <i class="fab fa-google mofab"></i><?php
|
231 |
+
echo esc_html(get_option('mo_openid_login_button_customize_text'));?> Google</a>
|
232 |
+
|
233 |
+
|
234 |
Â
<?php
|
235 |
Â
}
|
236 |
Â
else{
|
237 |
Â
$count_app++;
|
238 |
Â
?>
|
239 |
+
<i class="mo_login_icon_preview <?php echo $extra;?> fab fa-<?php echo $icon;?>" id="mo_login_icon_preview_facebook" style="background:<?php echo $default_color[$active_app];?>;text-align:center;margin-top:5px;color: #FFFFFF" ></i>
|
240 |
+
<a id="mo_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_btn-defaulttheme mo_btn-social mo_btn-custom-size mo_login_button mo_btn-<?php echo $icon ?> <?php echo $extra;?>"> <i class="fab fa-<?php echo $icon ?> mo_login_button mofab"></i><?php
|
241 |
Â
echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app?></a>
|
242 |
+
|
243 |
+
<i class="mo_white_login_icon_preview fab fa-<?php echo $icon ?> " id="mo_white_login_icon_preview_<?php echo $active_app ?>" style="color:<?php echo $default_color[$active_app];?>;text-align:center;margin-top:5px;"></i>
|
244 |
+
<a id="mo_white_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_openid_mo_btn-whitetheme mo_btn-social mo_btn-custom-size "> <i style="color:<?php echo $default_color[$active_app];?>;" class="fab fa-<?php echo $icon ?> mofab"></i><?php
|
245 |
+
echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
|
246 |
+
|
247 |
+
<div style="display: inline-block" class="mo_hover_div" id="mo_hover_div" onmouseover="mo_hover_on(this,'<?php echo $default_color[$active_app]?>','<?php echo $active_app; ?>')" onmouseout="mo_hover_off(this,'<?php echo $default_color[$active_app]?>','<?php echo $active_app; ?>')">
|
248 |
+
<i class="mo_hover_login_icon_preview fab fa-<?php echo $icon ?> " id="mo_hover_login_icon_preview_<?php echo $active_app ?>" style="color:<?php echo $default_color[$active_app];?>;text-align:center;margin-top:5px;"></i>
|
249 |
+
<a id="mo_hover_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_openid_mo_btn-hovertheme mo_btn-social mo_btn-custom-size "> <i id="mo_hover_long_button_<?php echo $active_app ?>" style="color:<?php echo $default_color[$active_app];?>;" class="fab fa-<?php echo $icon ?> mofab"></i><?php
|
250 |
+
echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
|
251 |
+
</div>
|
252 |
+
|
253 |
+
<div style="display: inline-block" class="mo_customhover_div" id="mo_customhover_div_<?php echo $active_app ?>" onmouseover="mo_custom_hover_on(this,'<?php echo $active_app; ?>')" onmouseout="mo_custom_hover_off(this,'<?php echo $active_app; ?>')" >
|
254 |
+
<i class="mo_custom_hover_login_icon_preview fab fa-<?php echo $icon ?> " id="mo_custom_hover_login_icon_preview_<?php echo $active_app ?>" style="color:#<?php echo get_option('mo_login_icon_custom_hover_color');?>;text-align:center;"></i>
|
255 |
+
<a id="mo_custom_hover_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_openid_mo_btn-customhovertheme mo_btn-social mo_btn-custom-size " style="color:#<?php echo get_option('mo_login_icon_custom_hover_color');?>;border-color:#<?php echo get_option('mo_login_icon_custom_hover_color');?>;"> <i id="mo_hover_long_button_<?php echo $active_app ?>" style="text-align:center;" class="fab fa-<?php echo $icon ?> mofab"></i><?php
|
256 |
+
echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
|
257 |
+
</div>
|
258 |
+
|
259 |
+
<i class="mo_custom_smart_login_icon_preview fab fa-<?php echo $icon ?> " id="mo_custom_smart_login_icon_preview_<?php echo $active_app ?>" style="background:linear-gradient(90deg,#<?php echo get_option('mo_login_icon_custom_smart_color1');?>,#<?php echo get_option('mo_login_icon_custom_smart_color2');?>);text-align:center;margin-top:5px;color:#FFFFFF"></i>
|
260 |
+
<a id="mo_custom_smart_login_button_preview_<?php echo $active_app ?>" class=" mo_btn-block mo_btn-social mo_btn-custom-size mo_openid_mo_btn-smarttheme mo_btn-social mo_btn-custom-size " style="background:linear-gradient(90deg,#<?php echo get_option('mo_login_icon_custom_smart_color1');?>,#<?php echo get_option('mo_login_icon_custom_smart_color2');?>);text-align:center;margin-top:5px;"> <i style="color:#FFFFFF" class="fab fa-<?php echo $icon ?> mofab"></i><?php
|
261 |
+
echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
|
262 |
+
|
263 |
+
|
264 |
+
<i class="mo_custom_login_icon_preview fab fa-<?php echo $icon ?> " id="mo_custom_login_icon_preview_<?php echo $active_app ?>" style="color:#ffffff;text-align:center;margin-top:5px;"></i>
|
265 |
+
<a id="mo_custom_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_openid_mo_btn-customtheme mo_btn-social mo_btn-custom-size " style="color: #FFFFFF"> <i class="fab fa-<?php echo $icon ?> mofab"></i><?php
|
266 |
Â
echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
|
267 |
Â
<?php
|
268 |
Â
}
|
300 |
Â
</form>
|
301 |
Â
<script>
|
302 |
Â
|
303 |
+
//to set heading name
|
304 |
+
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl("Customize Login Icons"); ?>');
|
305 |
+
|
306 |
+
function mo_hover_on(x,y,z){
|
307 |
+
var check=jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val();
|
308 |
+
if(check == 'longbutton'){
|
309 |
+
var q = "mo_hover_login_button_preview_".concat(z);
|
310 |
+
var r = "mo_hover_long_button_".concat(z);
|
311 |
+
document.getElementById(q).style.borderColor= y;
|
312 |
+
document.getElementById(q).style.background = y;
|
313 |
+
document.getElementById(q).style.color= 'white';
|
314 |
+
document.getElementById(r).style.color= 'white';
|
315 |
+
} else {
|
316 |
+
var p = "mo_hover_login_icon_preview_".concat(z);
|
317 |
+
document.getElementById(p).style.background = y;
|
318 |
+
document.getElementById(p).style.color = 'white';
|
319 |
+
document.getElementById(p).style.borderColor = y;
|
320 |
Â
}
|
321 |
+
|
322 |
+
}
|
323 |
+
|
324 |
+
function mo_hover_off(x,y,z){
|
325 |
+
var check=jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val();
|
326 |
+
if(check == 'longbutton'){
|
327 |
+
var q = "mo_hover_login_button_preview_".concat(z);
|
328 |
+
var r = "mo_hover_long_button_".concat(z);
|
329 |
+
document.getElementById(q).style.borderColor= 'black';
|
330 |
+
document.getElementById(q).style.background = 'white';
|
331 |
+
document.getElementById(q).style.color= 'black';
|
332 |
+
document.getElementById(r).style.color= y;
|
333 |
+
}else {
|
334 |
+
var p = "mo_hover_login_icon_preview_".concat(z);
|
335 |
+
document.getElementById(p).style.background = 'white';
|
336 |
+
document.getElementById(p).style.color = y;
|
337 |
+
document.getElementById(p).style.borderColor = 'black';
|
338 |
Â
}
|
339 |
+
}
|
340 |
+
function mo_custom_hover_on(x,z) {
|
341 |
+
var check=jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val();
|
342 |
+
var color = document.getElementById('mo_login_icon_custom_hover_color').value;
|
343 |
+
if(check == 'longbutton') {
|
344 |
+
var ch_q = "mo_custom_hover_login_button_preview_".concat(z);
|
345 |
+
var ch_r = "mo__custom_hover_long_button_".concat(z);
|
346 |
+
document.getElementById(ch_q).style.borderColor= '#'+color;
|
347 |
+
document.getElementById(ch_q).style.background = '#'+color;
|
348 |
+
document.getElementById(ch_q).style.color= 'white';
|
349 |
+
document.getElementById(ch_r).style.color= 'white';
|
350 |
+
}else{
|
351 |
+
var ch_p = "mo_custom_hover_login_icon_preview_".concat(z);
|
352 |
+
document.getElementById(ch_p).style.background = '#'+ color;
|
353 |
+
document.getElementById(ch_p).style.color= 'white';
|
354 |
+
document.getElementById(ch_p).style.borderColor= '#'+color;
|
355 |
Â
}
|
356 |
+
|
357 |
Â
}
|
358 |
Â
|
359 |
+
function mo_custom_hover_off(x,z) {
|
360 |
+
var check=jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val();
|
361 |
+
var color = document.getElementById('mo_login_icon_custom_hover_color').value;
|
362 |
+
if(check == 'longbutton') {
|
363 |
+
var ch_q = "mo_custom_hover_login_button_preview_".concat(z);
|
364 |
+
var ch_r = "mo__custom_hover_long_button_".concat(z);
|
365 |
+
document.getElementById(ch_q).style.borderColor= '#'+color;
|
366 |
+
document.getElementById(ch_q).style.background = 'white';
|
367 |
+
document.getElementById(ch_q).style.color= '#'+color;
|
368 |
+
document.getElementById(ch_r).style.color= '#'+color;
|
369 |
+
}else{
|
370 |
+
var ch_p = "mo_custom_hover_login_icon_preview_".concat(z);
|
371 |
+
document.getElementById(ch_p).style.background = 'white';
|
372 |
+
document.getElementById(ch_p).style.color='#'+color;
|
373 |
+
document.getElementById(ch_p).style.borderColor= '#'+color;
|
374 |
+
}
|
375 |
+
}
|
376 |
Â
|
Â
|
|
Â
|
|
377 |
Â
window.onload=shape_change();
|
378 |
Â
function shape_change() {
|
379 |
Â
var y = document.getElementById('mo_openid_login_shape_longbutton').checked;
|
396 |
Â
var tempHorSpace = '<?php echo esc_attr(get_option('mo_login_icon_space'))?>';
|
397 |
Â
var tempHorHeight = '<?php echo esc_attr(get_option('mo_login_icon_custom_height')) ?>';
|
398 |
Â
var tempHorBoundary='<?php echo esc_attr(get_option('mo_login_icon_custom_boundary'))?>';
|
399 |
+
var tempcustomhovercolor= '<?php echo esc_attr(get_option('mo_login_icon_custom_hover_color'))?>';
|
400 |
+
var tempcustomSmartcolor1= '<?php echo esc_attr(get_option('mo_login_icon_custom_smart_color1'))?>';
|
401 |
+
var tempcustomSmartcolor2= '<?php echo esc_attr(get_option('mo_login_icon_custom_smart_color2'))?>';
|
402 |
+
var tempAllEffect= '<?php echo esc_attr(get_option('mo_openid_button_theme_effect'))?>';
|
403 |
Â
|
404 |
Â
function moLoginSpaceValidate(e){
|
405 |
Â
var t=parseInt(e.value.trim());t>60?e.value=60:0>t&&(e.value=0)
|
450 |
Â
moLoginBoundaryIncrement(document.getElementById('mo_login_boundary_minus'), "subtract", document.getElementById('mo_login_icon_custom_boundary'), 300, 0.7);
|
451 |
Â
|
452 |
Â
function setLoginTheme(){return jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val();}
|
453 |
+
function setLoginEffect(){return jQuery('input[name=mo_openid_button_theme_effect]:checked', '#form-apps').val();}
|
454 |
Â
function setLoginCustomTheme(){return jQuery('input[name=mo_openid_login_custom_theme]:checked', '#form-apps').val();}
|
455 |
Â
function setSizeOfIcons(){
|
456 |
Â
if((jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val()) == 'longbutton'){
|
459 |
Â
return document.getElementById('mo_login_icon_size').value;
|
460 |
Â
}
|
461 |
Â
}
|
462 |
+
moLoginPreview(setSizeOfIcons(),tempHorTheme,tempHorCustomTheme,tempHorCustomColor,tempHorSpace,tempHorHeight,tempHorBoundary,tempcustomhovercolor,tempcustomSmartcolor1,tempcustomSmartcolor2,tempAllEffect);
|
463 |
Â
|
464 |
+
function moLoginPreview(t,r,l,p,n,h,k,x,y,z,b){
|
465 |
+
// alert('t='+t+', r='+r+', l='+l+', p='+p+', n='+n+', h='+h+', k='+k+', x='+x+', y='+y+', z='+z+', b='+b);
|
466 |
Â
if(l == 'default'){
|
467 |
Â
if(r == 'longbutton'){
|
468 |
Â
var a = "mo_btn-defaulttheme";
|
474 |
Â
jQuery(this).css("margin-bottom",(n-5)+"px");
|
475 |
Â
jQuery(this).css("border-radius",k+"px");
|
476 |
Â
});
|
477 |
+
jQuery(".mofab").css("padding-top",(h-35)+"px");
|
478 |
+
if(b == "transform"){
|
479 |
+
jQuery("."+a).addClass("mo_btn_transform");
|
480 |
+
}else {
|
481 |
+
jQuery("."+a).removeClass("mo_btn_transform");
|
482 |
+
}
|
483 |
Â
}else{
|
484 |
Â
var a="mo_login_icon_preview";
|
Â
|
|
485 |
Â
jQuery("."+a).css("cursor","pointer");
|
486 |
Â
jQuery("."+a).css({height:t-8,width:t});
|
487 |
Â
jQuery("."+a).css("padding-top","8px");
|
488 |
+
jQuery("."+a).css("margin-left",(n-4)+"px");
|
489 |
+
|
490 |
+
if(r=="circle"){
|
491 |
+
jQuery("."+a).css("borderRadius","999px");
|
492 |
+
}else if(r=="oval"){
|
493 |
+
jQuery("."+a).css("borderRadius","5px");
|
494 |
+
}else if(r=="square"){
|
495 |
+
jQuery("."+a).css("borderRadius","0px");
|
496 |
+
}
|
497 |
+
jQuery("."+a).css("font-size",(t-16)+"px");
|
498 |
+
jQuery("#disq").css({height:t-21});
|
499 |
+
jQuery("#kaka").css({height:t-21});
|
500 |
+
jQuery("#lines").css({height:t-22});
|
501 |
+
jQuery("#meetups").css({height:t-21});
|
502 |
+
jQuery("#navers").css({height:t-21});
|
503 |
+
jQuery("#teamsnaps").css({height:t-21});
|
504 |
+
jQuery("#livejournals").css({height:t-21});
|
505 |
+
jQuery("#wiebos").css({height:t-21});
|
506 |
+
jQuery("#hubs3").css({height:t-21});
|
507 |
+
jQuery("#mailrus").css({height:t-17});
|
508 |
+
if(b == 'transform'){
|
509 |
+
jQuery("."+a).addClass("mo_btn_transform_i");
|
510 |
+
}else{
|
511 |
+
jQuery("."+a).removeClass("mo_btn_transform_i");
|
512 |
+
}
|
513 |
+
|
514 |
+
}
|
515 |
+
}
|
516 |
+
else if(l == 'white'){
|
517 |
+
p = 'ffffff';
|
518 |
+
if(r == 'longbutton'){
|
519 |
+
var a = "mo_openid_mo_btn-whitetheme";
|
520 |
+
jQuery("."+a).css("margin-top", "5px");
|
521 |
+
jQuery("."+a).css("width",(t)+"px");
|
522 |
+
jQuery("."+a).css("padding-top",(h-29)+"px");
|
523 |
+
jQuery("."+a).css("padding-bottom",(h-29)+"px");
|
524 |
+
jQuery("."+a).css("border-color", "#000000");
|
525 |
+
jQuery("."+a).css("color", "#000000");
|
526 |
+
jQuery(".fa").css("padding-top",(h-35)+"px");
|
527 |
+
jQuery("."+a).css("margin-bottom",(n-5)+"px");
|
528 |
+
jQuery("."+a).css("background","#"+p);
|
529 |
+
jQuery("."+a).css("border-radius",k+"px");
|
530 |
+
if(b == "transform"){
|
531 |
+
jQuery("."+a).addClass("mo_btn_transform");
|
532 |
+
}else {
|
533 |
+
jQuery("."+a).removeClass("mo_btn_transform");
|
534 |
+
}
|
535 |
+
}else{
|
536 |
+
var a = "mo_white_login_icon_preview";
|
537 |
+
jQuery("."+a).css("cursor","pointer");
|
538 |
+
jQuery("."+a).css({"height":t-8,width:t});
|
539 |
+
jQuery("."+a).css("padding-top","8px");
|
540 |
+
jQuery("."+a).css("font-size",(t-14)+"px");
|
541 |
+
jQuery("."+a).css("border-color","black");
|
542 |
+
jQuery("."+a).css("border-style","solid");
|
543 |
+
jQuery("."+a).css("border-width","1px");
|
544 |
+
jQuery("."+a).css("margin-left",(n-4)+"px");
|
545 |
+
|
546 |
+
if(r=="circle"){
|
547 |
+
jQuery("."+a).css("borderRadius","999px");
|
548 |
+
}else if(r=="oval"){
|
549 |
+
jQuery("."+a).css("borderRadius","5px");
|
550 |
+
}else if(r=="square"){
|
551 |
+
jQuery("."+a).css("borderRadius","0px");
|
552 |
+
}
|
553 |
+
if(b == 'transform'){
|
554 |
+
jQuery("."+a).addClass("mo_btn_transform_i");
|
555 |
+
}else{
|
556 |
+
jQuery("."+a).removeClass("mo_btn_transform_i");
|
557 |
+
}
|
558 |
+
}
|
559 |
+
}
|
560 |
+
|
561 |
+
else if(l == 'hover'){
|
562 |
+
p = 'ffffff';
|
563 |
+
if(r == 'longbutton'){
|
564 |
+
var a = "mo_openid_mo_btn-hovertheme";
|
565 |
+
jQuery("."+a).css("margin-top", "5px");
|
566 |
+
jQuery("."+a).css("width",(t)+"px");
|
567 |
+
jQuery("."+a).css("padding-top",(h-29)+"px");
|
568 |
+
jQuery("."+a).css("padding-bottom",(h-29)+"px");
|
569 |
+
jQuery("."+a).css("border-color", "#000000");
|
570 |
+
jQuery("."+a).css("color", "#000000");
|
571 |
+
jQuery(".fa").css("padding-top",(h-35)+"px");
|
572 |
+
jQuery("."+a).css("margin-bottom",(n-5)+"px");
|
573 |
+
jQuery("."+a).css("background","#"+p);
|
574 |
+
jQuery("."+a).css("border-radius",k+"px");
|
575 |
+
// jQuery(".mo_hover_div").css("display","block");
|
576 |
+
jQuery(".mofab").css("padding-top",(h-35)+"px");
|
577 |
+
if(b == "transform"){
|
578 |
+
jQuery("."+a).addClass("mo_btn_transform");
|
579 |
+
}else {
|
580 |
+
jQuery("."+a).removeClass("mo_btn_transform");
|
581 |
+
}
|
582 |
+
|
583 |
+
}else{
|
584 |
+
var a = "mo_hover_login_icon_preview";
|
585 |
+
jQuery("."+a).css("cursor","pointer");
|
586 |
+
jQuery("."+a).css({"height":t-8,width:t});
|
587 |
+
jQuery("."+a).css("padding-top","8px");
|
588 |
+
jQuery("."+a).css("font-size",(t-14)+"px");
|
589 |
+
jQuery("."+a).css("border-color","black");
|
590 |
+
jQuery("."+a).css("border-style","solid");
|
591 |
+
jQuery("."+a).css("border-width","1px");
|
592 |
+
jQuery("."+a).css("margin-left",(n-4)+"px");
|
593 |
+
// jQuery(".mo_hover_div").css("display","inline-block");
|
594 |
+
|
595 |
Â
if(r=="circle"){
|
596 |
Â
jQuery("."+a).css("borderRadius","999px");
|
597 |
Â
}else if(r=="oval"){
|
599 |
Â
}else if(r=="square"){
|
600 |
Â
jQuery("."+a).css("borderRadius","0px");
|
601 |
Â
}
|
602 |
+
if(b == 'transform'){
|
603 |
+
jQuery("."+a).addClass("mo_btn_transform_i");
|
604 |
+
}else{
|
605 |
+
jQuery("."+a).removeClass("mo_btn_transform_i");
|
606 |
+
}
|
607 |
+
}
|
608 |
+
}
|
609 |
+
|
610 |
+
else if(l == 'custom_hover'){
|
611 |
+
if(r == 'longbutton'){
|
612 |
+
var a = "mo_openid_mo_btn-customhovertheme";
|
613 |
+
jQuery("."+a).css("margin-top", "5px");
|
614 |
+
jQuery("."+a).css("width",(t)+"px");
|
615 |
+
jQuery("."+a).css("padding-top",(h-29)+"px");
|
616 |
+
jQuery("."+a).css("padding-bottom",(h-29)+"px");
|
617 |
+
jQuery("."+a).css("border-color", "#"+x);
|
618 |
+
// jQuery("."+a).css("color", "#000000");
|
619 |
+
jQuery(".fa").css("padding-top",(h-35)+"px");
|
620 |
+
jQuery("."+a).css("margin-bottom",(n-5)+"px");
|
621 |
+
jQuery("."+a).css("color","#"+x);
|
622 |
+
jQuery("."+a).css("border-radius",k+"px");
|
623 |
+
// jQuery(".mo_customhover_div").css("display","block");
|
624 |
+
jQuery(".mofab").css("padding-top",(h-35)+"px");
|
625 |
+
if(b == "transform"){
|
626 |
+
jQuery("."+a).addClass("mo_btn_transform");
|
627 |
+
}else {
|
628 |
+
jQuery("."+a).removeClass("mo_btn_transform");
|
629 |
+
}
|
630 |
+
|
631 |
+
}else{
|
632 |
+
var a = "mo_custom_hover_login_icon_preview";
|
633 |
+
jQuery("."+a).css("margin-top", "5px");
|
634 |
+
jQuery("."+a).css("cursor","pointer");
|
635 |
+
jQuery("."+a).css({"height":t-8,width:t});
|
636 |
+
jQuery("."+a).css("padding-top","8px");
|
637 |
Â
jQuery("."+a).css("font-size",(t-16)+"px");
|
638 |
+
jQuery("."+a).css("border-color","#"+x);
|
639 |
+
jQuery("."+a).css("border-style","solid");
|
640 |
+
jQuery("."+a).css("border-width","1px");
|
641 |
+
jQuery("."+a).css("margin-left",(n-4)+"px");
|
642 |
+
jQuery("."+a).css("color","#"+x);
|
643 |
+
// jQuery(".mo_customhover_div").css("display","inline-block");
|
644 |
+
|
645 |
+
if(r=="circle"){
|
646 |
+
jQuery("."+a).css("borderRadius","999px");
|
647 |
+
}else if(r=="oval"){
|
648 |
+
jQuery("."+a).css("borderRadius","5px");
|
649 |
+
}else if(r=="square"){
|
650 |
+
jQuery("."+a).css("borderRadius","0px");
|
651 |
+
}
|
652 |
+
if(b == 'transform'){
|
653 |
+
jQuery("."+a).addClass("mo_btn_transform_i");
|
654 |
+
}else{
|
655 |
+
jQuery("."+a).removeClass("mo_btn_transform_i");
|
656 |
+
}
|
657 |
+
}
|
658 |
+
}
|
659 |
+
|
660 |
+
else if(l == 'smart'){
|
661 |
+
if(r == 'longbutton'){
|
662 |
+
var a = "mo_openid_mo_btn-smarttheme";
|
663 |
+
jQuery("."+a).css("margin-top", "5px");
|
664 |
+
jQuery("."+a).css("width",(t)+"px");
|
665 |
+
jQuery("."+a).css("padding-top",(h-29)+"px");
|
666 |
+
jQuery("."+a).css("padding-bottom",(h-29)+"px");
|
667 |
+
jQuery("."+a).css("color", "#ffffff");
|
668 |
+
jQuery(".fa").css("padding-top",(h-35)+"px");
|
669 |
+
jQuery("."+a).css("margin-bottom",(n-5)+"px");
|
670 |
+
jQuery("."+a).css("background", "linear-gradient(45deg,#"+y+",#"+z+")");
|
671 |
+
jQuery("."+a).css("border-radius",k+"px");
|
672 |
+
jQuery(".mofab").css("padding-top",(h-35)+"px");
|
673 |
+
if(b == "transform"){
|
674 |
+
jQuery("."+a).addClass("mo_btn_transform");
|
675 |
+
}else {
|
676 |
+
jQuery("."+a).removeClass("mo_btn_transform");
|
677 |
+
}
|
678 |
+
}else{
|
679 |
+
var a = "mo_custom_smart_login_icon_preview";
|
680 |
+
jQuery("."+a).css("cursor","pointer");
|
681 |
+
jQuery("."+a).css({"height":t-8,width:t});
|
682 |
+
jQuery("."+a).css("padding-top","8px");
|
683 |
+
jQuery("."+a).css("font-size",(t-14)+"px");
|
684 |
+
jQuery("."+a).css("border-style","solid");
|
685 |
+
jQuery("."+a).css("border-width","1px");
|
686 |
+
jQuery("."+a).css("background", "linear-gradient(90deg,#"+y+",#"+z+")");
|
687 |
+
jQuery("."+a).css("margin-left",(n-4)+"px");
|
688 |
Â
|
689 |
+
if(r=="circle"){
|
690 |
+
jQuery("."+a).css("borderRadius","999px");
|
691 |
+
}else if(r=="oval"){
|
692 |
+
jQuery("."+a).css("borderRadius","5px");
|
693 |
+
}else if(r=="square"){
|
694 |
+
jQuery("."+a).css("borderRadius","0px");
|
695 |
+
}
|
696 |
+
if(b == 'transform'){
|
697 |
+
jQuery("."+a).addClass("mo_btn_transform_i");
|
698 |
+
}else{
|
699 |
+
jQuery("."+a).removeClass("mo_btn_transform_i");
|
700 |
+
}
|
701 |
Â
}
|
702 |
Â
}
|
703 |
+
|
704 |
Â
else if(l == 'custom'){
|
705 |
Â
if(r == 'longbutton'){
|
706 |
+
var a = "mo_openid_mo_btn-customtheme";
|
707 |
Â
jQuery("."+a).css("margin-top", "5px");
|
708 |
Â
jQuery("."+a).css("width",(t)+"px");
|
709 |
Â
jQuery("."+a).css("padding-top",(h-29)+"px");
|
712 |
Â
jQuery("."+a).css("margin-bottom",(n-5)+"px");
|
713 |
Â
jQuery("."+a).css("background","#"+p);
|
714 |
Â
jQuery("."+a).css("border-radius",k+"px");
|
715 |
+
if(b == "transform"){
|
716 |
+
jQuery("."+a).addClass("mo_btn_transform");
|
717 |
+
}else {
|
718 |
+
jQuery("."+a).removeClass("mo_btn_transform");
|
719 |
+
}
|
720 |
Â
}else{
|
721 |
Â
var a="mo_custom_login_icon_preview";
|
722 |
+
jQuery("."+a).css("cursor","pointer");
|
723 |
Â
jQuery("."+a).css({height:t-8,width:t});
|
724 |
Â
jQuery("."+a).css("padding-top","8px");
|
725 |
Â
jQuery("."+a).css("margin-left",(n-4)+"px");
|
735 |
Â
jQuery("."+a).css("font-size",(t-16)+"px");
|
736 |
Â
jQuery("#disq").css({height:t-21});
|
737 |
Â
jQuery("#kaka").css({height:t-21});
|
738 |
+
jQuery("#lines").css({height:t-22});
|
739 |
+
jQuery("#meetups").css({height:t-21});
|
740 |
+
jQuery("#yandexs").css({height:t-21});
|
741 |
+
jQuery("#discords").css({height:t-21});
|
742 |
+
jQuery("#navers").css({height:t-21});
|
743 |
+
jQuery("#teamsnaps").css({height:t-21});
|
744 |
+
jQuery("#livejournals").css({height:t-21});
|
745 |
+
jQuery("#wiebos").css({height:t-21});
|
746 |
+
jQuery("#hubs3").css({height:t-21});
|
747 |
+
jQuery("#mailrus").css({height:t-21});
|
748 |
+
if(b == 'transform'){
|
749 |
+
jQuery("."+a).addClass("mo_btn_transform_i");
|
750 |
+
}else{
|
751 |
+
jQuery("."+a).removeClass("mo_btn_transform_i");
|
752 |
+
}
|
753 |
Â
}
|
754 |
Â
}
|
755 |
Â
previewLoginIcons();
|
760 |
Â
if(setLoginCustomTheme() == 'default'){
|
761 |
Â
jQuery(".mo_login_icon_preview").hide();
|
762 |
Â
jQuery(".mo_custom_login_icon_preview").hide();
|
763 |
+
jQuery(".mo_openid_mo_btn-customtheme").hide();
|
764 |
Â
jQuery(".mo_btn-defaulttheme").show();
|
765 |
+
jQuery(".mo_white_login_icon_preview").hide();
|
766 |
+
jQuery(".mo_openid_mo_btn-whitetheme").hide();
|
767 |
+
jQuery(".mo_hover_login_icon_preview").hide();
|
768 |
+
jQuery(".mo_openid_mo_btn-hovertheme").hide();
|
769 |
+
jQuery(".mo_custom_hover_login_icon_preview").hide();
|
770 |
+
jQuery(".mo_openid_mo_btn-customhovertheme").hide();
|
771 |
+
jQuery(".mo_custom_smart_login_icon_preview").hide();
|
772 |
+
jQuery(".mo_openid_mo_btn-smarttheme").hide();
|
773 |
+
}
|
774 |
+
|
775 |
+
else if(setLoginCustomTheme() == 'white'){
|
776 |
+
jQuery(".mo_login_icon_preview").hide();
|
777 |
+
jQuery(".mo_custom_login_icon_preview").hide();
|
778 |
+
jQuery(".mo_btn-defaulttheme").hide();
|
779 |
+
jQuery(".mo_openid_mo_btn-customtheme").hide();
|
780 |
+
jQuery(".mo_white_login_icon_preview").hide();
|
781 |
+
jQuery(".mo_openid_mo_btn-whitetheme").show();
|
782 |
+
jQuery(".mo_hover_login_icon_preview").hide();
|
783 |
+
jQuery(".mo_openid_mo_btn-hovertheme").hide();
|
784 |
+
jQuery(".mo_custom_hover_login_icon_preview").hide();
|
785 |
+
jQuery(".mo_openid_mo_btn-customhovertheme").hide();
|
786 |
+
jQuery(".mo_custom_smart_login_icon_preview").hide();
|
787 |
+
jQuery(".mo_openid_mo_btn-smarttheme").hide();
|
788 |
+
}
|
789 |
+
|
790 |
+
else if(setLoginCustomTheme() == 'hover'){
|
791 |
+
jQuery(".mo_login_icon_preview").hide();
|
792 |
+
jQuery(".mo_custom_login_icon_preview").hide();
|
793 |
+
jQuery(".mo_btn-defaulttheme").hide();
|
794 |
+
jQuery(".mo_openid_mo_btn-customtheme").hide();
|
795 |
+
jQuery(".mo_white_login_icon_preview").hide();
|
796 |
+
jQuery(".mo_openid_mo_btn-whitetheme").hide();
|
797 |
+
jQuery(".mo_hover_login_icon_preview").hide();
|
798 |
+
jQuery(".mo_openid_mo_btn-hovertheme").show();
|
799 |
+
jQuery(".mo_custom_hover_login_icon_preview").hide();
|
800 |
+
jQuery(".mo_openid_mo_btn-customhovertheme").hide();
|
801 |
+
jQuery(".mo_custom_smart_login_icon_preview").hide();
|
802 |
+
jQuery(".mo_openid_mo_btn-smarttheme").hide();
|
803 |
+
}
|
804 |
+
|
805 |
+
else if(setLoginCustomTheme() == 'custom_hover'){
|
806 |
+
jQuery(".mo_login_icon_preview").hide();
|
807 |
+
jQuery(".mo_custom_login_icon_preview").hide();
|
808 |
+
jQuery(".mo_btn-defaulttheme").hide();
|
809 |
+
jQuery(".mo_openid_mo_btn-customtheme").hide();
|
810 |
+
jQuery(".mo_white_login_icon_preview").hide();
|
811 |
+
jQuery(".mo_openid_mo_btn-whitetheme").hide();
|
812 |
+
jQuery(".mo_hover_login_icon_preview").hide();
|
813 |
+
jQuery(".mo_openid_mo_btn-hovertheme").hide();
|
814 |
+
jQuery(".mo_custom_hover_login_icon_preview").hide();
|
815 |
+
jQuery(".mo_openid_mo_btn-customhovertheme").show();
|
816 |
+
jQuery(".mo_custom_smart_login_icon_preview").hide();
|
817 |
+
jQuery(".mo_openid_mo_btn-smarttheme").hide();
|
818 |
+
}
|
819 |
+
|
820 |
+
else if(setLoginCustomTheme() == 'smart'){
|
821 |
Â
jQuery(".mo_login_icon_preview").hide();
|
822 |
Â
jQuery(".mo_custom_login_icon_preview").hide();
|
823 |
Â
jQuery(".mo_btn-defaulttheme").hide();
|
824 |
+
jQuery(".mo_openid_mo_btn-customtheme").hide();
|
825 |
+
jQuery(".mo_white_login_icon_preview").hide();
|
826 |
+
jQuery(".mo_openid_mo_btn-whitetheme").hide();
|
827 |
+
jQuery(".mo_hover_login_icon_preview").hide();
|
828 |
+
jQuery(".mo_openid_mo_btn-hovertheme").hide();
|
829 |
+
jQuery(".mo_custom_hover_login_icon_preview").hide();
|
830 |
+
jQuery(".mo_openid_mo_btn-customhovertheme").hide();
|
831 |
+
jQuery(".mo_custom_smart_login_icon_preview").hide();
|
832 |
+
jQuery(".mo_openid_mo_btn-smarttheme").show();
|
833 |
+
}
|
834 |
+
|
835 |
+
else if(setLoginCustomTheme() == 'custom'){
|
836 |
+
jQuery(".mo_login_icon_preview").hide();
|
837 |
+
jQuery(".mo_custom_login_icon_preview").hide();
|
838 |
+
jQuery(".mo_btn-defaulttheme").hide();
|
839 |
+
jQuery(".mo_openid_mo_btn-customtheme").show();
|
840 |
+
jQuery(".mo_white_login_icon_preview").hide();
|
841 |
+
jQuery(".mo_openid_mo_btn-whitetheme").hide();
|
842 |
+
jQuery(".mo_hover_login_icon_preview").hide();
|
843 |
+
jQuery(".mo_openid_mo_btn-hovertheme").hide();
|
844 |
+
jQuery(".mo_custom_hover_login_icon_preview").hide();
|
845 |
+
jQuery(".mo_openid_mo_btn-customhovertheme").hide();
|
846 |
+
jQuery(".mo_custom_smart_login_icon_preview").hide();
|
847 |
+
jQuery(".mo_openid_mo_btn-smarttheme").hide();
|
848 |
Â
}
|
849 |
Â
}
|
850 |
Â
else {
|
851 |
Â
if(setLoginCustomTheme() == 'default'){
|
852 |
Â
jQuery(".mo_login_icon_preview").show();
|
853 |
Â
jQuery(".mo_btn-defaulttheme").hide();
|
854 |
+
jQuery(".mo_openid_mo_btn-customtheme").hide();
|
855 |
+
jQuery(".mo_custom_login_icon_preview").hide();
|
856 |
+
jQuery(".mo_white_login_icon_preview").hide();
|
857 |
+
jQuery(".mo_openid_mo_btn-whitetheme").hide();
|
858 |
+
jQuery(".mo_hover_login_icon_preview").hide();
|
859 |
+
jQuery(".mo_openid_mo_btn-hovertheme").hide();
|
860 |
+
jQuery(".mo_custom_hover_login_icon_preview").hide();
|
861 |
+
jQuery(".mo_openid_mo_btn-customhovertheme").hide();
|
862 |
+
jQuery(".mo_custom_smart_login_icon_preview").hide();
|
863 |
+
jQuery(".mo_openid_mo_btn-smarttheme").hide();
|
864 |
+
}
|
865 |
+
|
866 |
+
else if(setLoginCustomTheme() == 'white'){
|
867 |
+
jQuery(".mo_login_icon_preview").hide();
|
868 |
+
jQuery(".mo_custom_login_icon_preview").hide();
|
869 |
+
jQuery(".mo_btn-defaulttheme").hide();
|
870 |
+
jQuery(".mo_openid_mo_btn-customtheme").hide();
|
871 |
+
jQuery(".mo_white_login_icon_preview").hide();
|
872 |
+
jQuery(".mo_openid_mo_btn-whitetheme").hide();
|
873 |
+
jQuery(".mo_white_login_icon_preview").show();
|
874 |
+
jQuery(".mo_hover_login_icon_preview").hide();
|
875 |
+
jQuery(".mo_openid_mo_btn-hovertheme").hide();
|
876 |
+
jQuery(".mo_custom_hover_login_icon_preview").hide();
|
877 |
+
jQuery(".mo_openid_mo_btn-customhovertheme").hide();
|
878 |
+
jQuery(".mo_custom_smart_login_icon_preview").hide();
|
879 |
+
jQuery(".mo_openid_mo_btn-smarttheme").hide();
|
880 |
+
|
881 |
+
}
|
882 |
+
|
883 |
+
else if(setLoginCustomTheme() == 'hover'){
|
884 |
+
jQuery(".mo_login_icon_preview").hide();
|
885 |
+
jQuery(".mo_custom_login_icon_preview").hide();
|
886 |
+
jQuery(".mo_btn-defaulttheme").hide();
|
887 |
+
jQuery(".mo_openid_mo_btn-customtheme").hide();
|
888 |
+
jQuery(".mo_white_login_icon_preview").hide();
|
889 |
+
jQuery(".mo_openid_mo_btn-whitetheme").hide();
|
890 |
+
jQuery(".mo_white_login_icon_preview").hide();
|
891 |
+
jQuery(".mo_hover_login_icon_preview").show();
|
892 |
+
jQuery(".mo_openid_mo_btn-hovertheme").hide();
|
893 |
+
jQuery(".mo_custom_hover_login_icon_preview").hide();
|
894 |
+
jQuery(".mo_openid_mo_btn-customhovertheme").hide();
|
895 |
+
jQuery(".mo_custom_smart_login_icon_preview").hide();
|
896 |
+
jQuery(".mo_openid_mo_btn-smarttheme").hide();
|
897 |
+
|
898 |
+
}
|
899 |
+
|
900 |
+
else if(setLoginCustomTheme() == 'custom_hover'){
|
901 |
+
jQuery(".mo_login_icon_preview").hide();
|
902 |
+
jQuery(".mo_custom_login_icon_preview").hide();
|
903 |
+
jQuery(".mo_btn-defaulttheme").hide();
|
904 |
+
jQuery(".mo_openid_mo_btn-customtheme").hide();
|
905 |
+
jQuery(".mo_white_login_icon_preview").hide();
|
906 |
+
jQuery(".mo_openid_mo_btn-whitetheme").hide();
|
907 |
+
jQuery(".mo_white_login_icon_preview").hide();
|
908 |
+
jQuery(".mo_hover_login_icon_preview").hide();
|
909 |
+
jQuery(".mo_openid_mo_btn-hovertheme").hide();
|
910 |
+
jQuery(".mo_custom_hover_login_icon_preview").show();
|
911 |
+
jQuery(".mo_openid_mo_btn-customhovertheme").hide();
|
912 |
+
jQuery(".mo_custom_smart_login_icon_preview").hide();
|
913 |
+
jQuery(".mo_openid_mo_btn-smarttheme").hide();
|
914 |
+
|
915 |
+
}
|
916 |
+
|
917 |
+
else if(setLoginCustomTheme() == 'smart'){
|
918 |
+
jQuery(".mo_login_icon_preview").hide();
|
919 |
Â
jQuery(".mo_custom_login_icon_preview").hide();
|
920 |
+
jQuery(".mo_btn-defaulttheme").hide();
|
921 |
+
jQuery(".mo_openid_mo_btn-customtheme").hide();
|
922 |
+
jQuery(".mo_white_login_icon_preview").hide();
|
923 |
+
jQuery(".mo_openid_mo_btn-whitetheme").hide();
|
924 |
+
jQuery(".mo_white_login_icon_preview").hide();
|
925 |
+
jQuery(".mo_hover_login_icon_preview").hide();
|
926 |
+
jQuery(".mo_openid_mo_btn-hovertheme").hide();
|
927 |
+
jQuery(".mo_custom_hover_login_icon_preview").hide();
|
928 |
+
jQuery(".mo_openid_mo_btn-customhovertheme").hide();
|
929 |
+
jQuery(".mo_custom_smart_login_icon_preview").show();
|
930 |
+
jQuery(".mo_openid_mo_btn-smarttheme").hide();
|
931 |
+
|
932 |
+
}
|
933 |
+
|
934 |
+
else if(setLoginCustomTheme() == 'custom'){
|
935 |
Â
jQuery(".mo_login_icon_preview").hide();
|
936 |
Â
jQuery(".mo_custom_login_icon_preview").show();
|
937 |
Â
jQuery(".mo_btn-defaulttheme").hide();
|
938 |
+
jQuery(".mo_openid_mo_btn-customtheme").hide();
|
939 |
+
jQuery(".mo_white_login_icon_preview").hide();
|
940 |
+
jQuery(".mo_openid_mo_btn-whitetheme").hide();
|
941 |
+
jQuery(".mo_hover_login_icon_preview").hide();
|
942 |
+
jQuery(".mo_openid_mo_btn-hovertheme").hide();
|
943 |
+
jQuery(".mo_custom_hover_login_icon_preview").hide();
|
944 |
+
jQuery(".mo_openid_mo_btn-customhovertheme").hide();
|
945 |
+
jQuery(".mo_custom_smart_login_icon_preview").hide();
|
946 |
+
jQuery(".mo_openid_mo_btn-smarttheme").hide();
|
947 |
Â
}
|
948 |
Â
}
|
949 |
Â
previewLoginIcons();
|
961 |
Â
else
|
962 |
Â
jQuery("#mo_login_icon_preview_"+apps[i]).show();
|
963 |
Â
}
|
964 |
+
|
965 |
+
else if(jQuery('input[name=mo_openid_login_custom_theme]:checked', '#form-apps').val() == 'white')
|
966 |
+
{
|
967 |
+
if(jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val() == 'longbutton')
|
968 |
+
jQuery("#mo_white_login_button_preview_"+apps[i]).show();
|
969 |
+
else
|
970 |
+
jQuery("#mo_white_login_icon_preview_"+apps[i]).show();
|
971 |
+
}
|
972 |
+
|
973 |
+
|
974 |
+
else if(jQuery('input[name=mo_openid_login_custom_theme]:checked', '#form-apps').val() == 'hover')
|
975 |
+
{
|
976 |
+
if(jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val() == 'longbutton')
|
977 |
+
jQuery("#mo_hover_login_button_preview_"+apps[i]).show();
|
978 |
+
else
|
979 |
+
jQuery("#mo_hover_login_icon_preview_"+apps[i]).show();
|
980 |
+
}
|
981 |
+
|
982 |
+
|
983 |
+
|
984 |
+
else if(jQuery('input[name=mo_openid_login_custom_theme]:checked', '#form-apps').val() == 'custom_hover')
|
985 |
+
{
|
986 |
+
if(jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val() == 'longbutton')
|
987 |
+
jQuery("#mo_custom_hover_login_button_preview_"+apps[i]).show();
|
988 |
+
else
|
989 |
+
jQuery("#mo_custom_hover_login_icon_preview_"+apps[i]).show();
|
990 |
+
}
|
991 |
+
|
992 |
Â
else if(jQuery('input[name=mo_openid_login_custom_theme]:checked', '#form-apps').val() == 'custom')
|
993 |
Â
{
|
994 |
Â
if(jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val() == 'longbutton')
|
view/licensing_plans/mo_openid_lic_plans.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Â
|
3 |
Â
function mo_openid_licensing_plans()
|
4 |
Â
{
|
5 |
-
wp_enqueue_style( 'mo_openid_plugins_page_style', plugin_dir_url(dirname(dirname(__FILE__))).'includes/css/mo_openid_licensing_plan.css?version=
|
6 |
Â
?>
|
7 |
Â
|
8 |
Â
<div style="text-align: center; font-size: 14px; background: forestgreen; color: white; padding-top: 4px; padding-bottom: 4px; border-radius: 16px;"></div>
|
@@ -55,9 +55,9 @@ function mo_openid_licensing_plans()
|
|
55 |
Â
|
56 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
57 |
Â
<span class="mo-openid-cd-currency">$</span>
|
58 |
-
<span id="mo_openid_ap1" class="mo-openid-cd-value">
|
59 |
Â
<span class="mo-openid-cd-currency">$</span>
|
60 |
-
<span id="mo_openid_ap2" class="mo-openid-cd-value"><s>
|
61 |
Â
</div>
|
62 |
Â
</header> <!-- .mo-openid-cd-pricing-header -->
|
63 |
Â
<footer class="mo-openid-cd-pricing-footer">
|
@@ -69,7 +69,7 @@ function mo_openid_licensing_plans()
|
|
69 |
Â
<li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
|
70 |
Â
<li class="mo-openid-lic-bold-cl" style="color: red">X</li>
|
71 |
Â
<li>
|
72 |
-
<div class="mo_openid_tooltip" style="padding-left: 40px;">
|
73 |
Â
<li>
|
74 |
Â
<div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Apple, Twitch, Discord, Facebook, Google, Twitter Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo, Instagram.</span></div></li>
|
75 |
Â
<li>Apple, Twitch, & Discord Login</li>
|
@@ -179,7 +179,7 @@ function mo_openid_licensing_plans()
|
|
179 |
Â
<li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
|
180 |
Â
<li class="mo-openid-lic-bold-cl" style="color: red">X</li>
|
181 |
Â
<li>
|
182 |
-
<div class="mo_openid_tooltip" style="padding-left: 40px;">
|
183 |
Â
<li>
|
184 |
Â
<div class="mo_openid_tooltip" style="padding-left: 40px;">10 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo.</span></div></li>
|
185 |
Â
<li>
|
@@ -254,9 +254,9 @@ function mo_openid_licensing_plans()
|
|
254 |
Â
|
255 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
256 |
Â
<span class="mo-openid-cd-currency">$</span>
|
257 |
-
<span id="mo_openid_cra1" class="mo-openid-cd-value">
|
258 |
Â
<span class="mo-openid-cd-currency">$</span>
|
259 |
-
<span id="mo_openid_cra2" class="mo-openid-cd-value"><s>
|
260 |
Â
|
261 |
Â
</div>
|
262 |
Â
</header>
|
@@ -285,9 +285,9 @@ function mo_openid_licensing_plans()
|
|
285 |
Â
|
286 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
287 |
Â
<span class="mo-openid-cd-currency">$</span>
|
288 |
-
<span id="mo_openid_mca1" class="mo-openid-cd-value">
|
289 |
Â
<span class="mo-openid-cd-currency">$</span>
|
290 |
-
<span id="mo_openid_mca2" class="mo-openid-cd-value"><s>
|
291 |
Â
</div>
|
292 |
Â
</header> <!-- .mo-openid-cd-pricing-header -->
|
293 |
Â
<footer class="mo-openid-cd-pricing-footer">
|
@@ -319,9 +319,9 @@ function mo_openid_licensing_plans()
|
|
319 |
Â
|
320 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
321 |
Â
<span class="mo-openid-cd-currency">$</span>
|
322 |
-
<span id="mo_openid_std1" class="mo-openid-cd-value">
|
323 |
Â
<span class="mo-openid-cd-currency">$</span>
|
324 |
-
<span id="mo_openid_std2" class="mo-openid-cd-value"><s>
|
325 |
Â
</div>
|
326 |
Â
</header> <!-- .mo-openid-cd-pricing-header -->
|
327 |
Â
<footer class="mo-openid-cd-pricing-footer">
|
@@ -332,7 +332,7 @@ function mo_openid_licensing_plans()
|
|
332 |
Â
<li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
|
333 |
Â
<li class="mo-openid-lic-bold-cl" style="color: red">X</li>
|
334 |
Â
<li>
|
335 |
-
<div class="mo_openid_tooltip" style="padding-left: 40px;">
|
336 |
Â
<li>
|
337 |
Â
<div class="mo_openid_tooltip" style="padding-left: 40px;">35 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, <span id="mo_openid_dots4">...</span><span id="mo_openid_more4" style="display:none" >Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Line, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots4','mo_openid_more4','mo_openid_myBtn4')" id="mo_openid_myBtn4">Read more</button>
|
338 |
Â
</div>
|
@@ -440,7 +440,7 @@ function mo_openid_licensing_plans()
|
|
440 |
Â
<li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
|
441 |
Â
<li class="mo-openid-lic-bold-cl" style="color: red">X</li>
|
442 |
Â
<li>
|
443 |
-
<div class="mo_openid_tooltip" style="padding-left: 40px;">
|
444 |
Â
<li>
|
445 |
Â
<div class="mo_openid_tooltip" style="padding-left: 40px;">35 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, <span id="mo_openid_dots4">...</span><span id="mo_openid_more4" style="display:none" >Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Line, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots4','mo_openid_more4','mo_openid_myBtn4')" id="mo_openid_myBtn4">Read more</button>
|
446 |
Â
</div>
|
@@ -510,9 +510,9 @@ function mo_openid_licensing_plans()
|
|
510 |
Â
|
511 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
512 |
Â
<span class="mo-openid-cd-currency">$</span>
|
513 |
-
<span id="mo_openid_wca_in1" class="mo-openid-cd-value">
|
514 |
Â
<span class="mo-openid-cd-currency">$</span>
|
515 |
-
<span id="mo_openid_wca_in2" class="mo-openid-cd-value"><s>
|
516 |
Â
</div>
|
517 |
Â
</header> <!-- .mo-openid-cd-pricing-header -->
|
518 |
Â
<footer class="mo-openid-cd-pricing-footer">
|
@@ -540,9 +540,9 @@ function mo_openid_licensing_plans()
|
|
540 |
Â
|
541 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
542 |
Â
<span class="mo-openid-cd-currency">$</span>
|
543 |
-
<span id="mo_openid_dis1" class="mo-openid-cd-value">
|
544 |
Â
<span class="mo-openid-cd-currency">$</span>
|
545 |
-
<span id="mo_openid_dis2" class="mo-openid-cd-value"><s>
|
546 |
Â
</div>
|
547 |
Â
</header> <!-- .mo-openid-cd-pricing-header -->
|
548 |
Â
<footer class="mo-openid-cd-pricing-footer">
|
@@ -572,9 +572,9 @@ function mo_openid_licensing_plans()
|
|
572 |
Â
|
573 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
574 |
Â
<span class="mo-openid-cd-currency">$</span>
|
575 |
-
<span id="mo_openid_pre1" class="mo-openid-cd-value">
|
576 |
Â
<span class="mo-openid-cd-currency">$</span>
|
577 |
-
<span id="mo_openid_pre2" class="mo-openid-cd-value"><s>
|
578 |
Â
</div>
|
579 |
Â
</header> <!-- .mo-openid-cd-pricing-header -->
|
580 |
Â
<footer class="mo-openid-cd-pricing-footer">
|
@@ -585,7 +585,7 @@ function mo_openid_licensing_plans()
|
|
585 |
Â
<li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
|
586 |
Â
<li class="mo-openid-lic-bold-cl" style="color: red">X</li>
|
587 |
Â
<li>
|
588 |
-
<div class="mo_openid_tooltip" style="padding-left: 40px;">
|
589 |
Â
<li>
|
590 |
Â
<div class="mo_openid_tooltip" style="padding-left: 40px;">42 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;">Apple, Discord, Twitch, Line, Hubspot, Paypal, Github, Dropbox, Wechat, Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo,<span id="mo_openid_dots6">...</span><span id="mo_openid_more6" style="display:none" > Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots6','mo_openid_more6','mo_openid_myBtn6')" id="mo_openid_myBtn6">Read more</button>
|
591 |
Â
</div>
|
@@ -692,7 +692,7 @@ function mo_openid_licensing_plans()
|
|
692 |
Â
<li class="mo-openid-lic-bold-cl" style="color: red">X</li>
|
693 |
Â
|
694 |
Â
<li>
|
695 |
-
<div class="mo_openid_tooltip" style="padding-left: 40px;">
|
696 |
Â
<li>
|
697 |
Â
<div class="mo_openid_tooltip" style="padding-left: 40px;">42 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;">Apple, Discord, Twitch, Line, Hubspot, Paypal, Github, Dropbox, Wechat, Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo,<span id="mo_openid_dots6">...</span><span id="mo_openid_more6" style="display:none" > Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots6','mo_openid_more6','mo_openid_myBtn6')" id="mo_openid_myBtn6">Read more</button>
|
698 |
Â
</div>
|
@@ -764,9 +764,9 @@ function mo_openid_licensing_plans()
|
|
764 |
Â
|
765 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
766 |
Â
<span class="mo-openid-cd-currency">$</span>
|
767 |
-
<span id="mo_openid_bpa1" class="mo-openid-cd-value">
|
768 |
Â
<span class="mo-openid-cd-currency">$</span>
|
769 |
-
<span id="mo_openid_bpa2" class="mo-openid-cd-value"><s>
|
770 |
Â
</div>
|
771 |
Â
</header> <!-- .mo-openid-cd-pricing-header -->
|
772 |
Â
</a>
|
@@ -797,9 +797,9 @@ function mo_openid_licensing_plans()
|
|
797 |
Â
|
798 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
799 |
Â
<span class="mo-openid-cd-currency">$</span>
|
800 |
-
<span id="mo_openid_ai1" class="mo-openid-cd-value">
|
801 |
Â
<span class="mo-openid-cd-currency">$</span>
|
802 |
-
<span id="mo_openid_ai2" class="mo-openid-cd-value"><s>
|
803 |
Â
</div>
|
804 |
Â
</header> <!-- .mo-openid-cd-pricing-header -->
|
805 |
Â
<footer class="mo-openid-cd-pricing-footer">
|
@@ -985,9 +985,9 @@ function mo_openid_licensing_plans()
|
|
985 |
Â
</select>
|
986 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
987 |
Â
<span class="mo-openid-cd-currency">$</span>
|
988 |
-
<span id="mo_openid_hub1" class="mo-openid-cd-value">
|
989 |
Â
<span class="mo-openid-cd-currency">$</span>
|
990 |
-
<span id="mo_openid_hub2" class="mo-openid-cd-value"><s>
|
991 |
Â
</div>
|
992 |
Â
</header>
|
993 |
Â
<footer class="mo-openid-cd-pricing-footer">
|
@@ -1033,45 +1033,45 @@ function mo_openid_licensing_plans()
|
|
1033 |
Â
//hubspot addon
|
1034 |
Â
jQuery('#mo_openid_hub').on('change', function () {
|
1035 |
Â
if (this.value === "1") {
|
1036 |
-
jQuery('#mo_openid_hub1').html("
|
1037 |
-
jQuery('#mo_openid_hub2').html("<s>
|
1038 |
Â
} else if (this.value === "5") {
|
1039 |
Â
jQuery('#mo_openid_hub1').html("149");
|
1040 |
-
jQuery('#mo_openid_hub2').html("<s>
|
1041 |
Â
}
|
1042 |
Â
else if (this.value === "10") {
|
1043 |
Â
jQuery('#mo_openid_hub1').html("249");
|
1044 |
-
jQuery('#mo_openid_hub2').html("<s>
|
1045 |
Â
}
|
1046 |
Â
});
|
1047 |
Â
|
1048 |
Â
//custom registration add on
|
1049 |
Â
jQuery('#mo_openid_cra').on('change', function () {
|
1050 |
Â
if (this.value === "1") {
|
1051 |
-
jQuery('#mo_openid_cra1').html("
|
1052 |
-
jQuery('#mo_openid_cra2').html("<s>
|
1053 |
Â
} else if (this.value === "5") {
|
1054 |
Â
jQuery('#mo_openid_cra1').html("119");
|
1055 |
-
jQuery('#mo_openid_cra2').html("<s>
|
1056 |
Â
}
|
1057 |
Â
else if (this.value === "10") {
|
1058 |
Â
jQuery('#mo_openid_cra1').html("179");
|
1059 |
-
jQuery('#mo_openid_cra2').html("<s>
|
1060 |
Â
}
|
1061 |
Â
});
|
1062 |
Â
|
1063 |
Â
//standard plan
|
1064 |
Â
jQuery('#mo_openid_std').on('change', function () {
|
1065 |
Â
if (this.value === "1") {
|
1066 |
-
jQuery('#mo_openid_std1').html("
|
1067 |
-
jQuery('#mo_openid_std2').html("<s>
|
1068 |
Â
} else if (this.value === "5") {
|
1069 |
Â
jQuery('#mo_openid_std1').html("99");
|
1070 |
-
jQuery('#mo_openid_std2').html("<s>
|
1071 |
Â
}
|
1072 |
Â
else if (this.value === "10") {
|
1073 |
Â
jQuery('#mo_openid_std1').html("169");
|
1074 |
-
jQuery('#mo_openid_std2').html("<s>
|
1075 |
Â
}
|
1076 |
Â
});
|
1077 |
Â
|
@@ -1210,30 +1210,30 @@ function mo_openid_licensing_plans()
|
|
1210 |
Â
//woocommerce addon/plan
|
1211 |
Â
jQuery('#mo_openid_wca_in').on('change', function () {
|
1212 |
Â
if (this.value === "1") {
|
1213 |
-
jQuery('#mo_openid_wca_in1').html("
|
1214 |
-
jQuery('#mo_openid_wca_in2').html("<s>
|
1215 |
Â
} else if (this.value === "5") {
|
1216 |
Â
jQuery('#mo_openid_wca_in1').html("89");
|
1217 |
-
jQuery('#mo_openid_wca_in2').html("<s>
|
1218 |
Â
}
|
1219 |
Â
else if (this.value === "10") {
|
1220 |
Â
jQuery('#mo_openid_wca_in1').html("149");
|
1221 |
-
jQuery('#mo_openid_wca_in2').html("<s>
|
1222 |
Â
}
|
1223 |
Â
});
|
1224 |
Â
|
1225 |
Â
//premium plugin
|
1226 |
Â
jQuery('#mo_openid_pre').on('change', function () {
|
1227 |
Â
if (this.value === "1") {
|
1228 |
-
jQuery('#mo_openid_pre1').html("
|
1229 |
-
jQuery('#mo_openid_pre2').html("<s>
|
1230 |
Â
} else if (this.value === "5") {
|
1231 |
Â
jQuery('#mo_openid_pre1').html("149");
|
1232 |
-
jQuery('#mo_openid_pre2').html("<s>
|
1233 |
Â
}
|
1234 |
Â
else if (this.value === "10") {
|
1235 |
Â
jQuery('#mo_openid_pre1').html("199");
|
1236 |
-
jQuery('#mo_openid_pre2').html("<s>
|
1237 |
Â
}
|
1238 |
Â
});
|
1239 |
Â
|
@@ -1306,30 +1306,30 @@ function mo_openid_licensing_plans()
|
|
1306 |
Â
//buddypress addon/plan
|
1307 |
Â
jQuery('#mo_openid_bpa').on('change', function () {
|
1308 |
Â
if (this.value === "1") {
|
1309 |
-
jQuery('#mo_openid_bpa1').html("
|
1310 |
-
jQuery('#mo_openid_bpa2').html("<s>
|
1311 |
Â
} else if (this.value === "5") {
|
1312 |
Â
jQuery('#mo_openid_bpa1').html("89");
|
1313 |
-
jQuery('#mo_openid_bpa2').html("<s>
|
1314 |
Â
}
|
1315 |
Â
else if (this.value === "10") {
|
1316 |
Â
jQuery('#mo_openid_bpa1').html("149");
|
1317 |
-
jQuery('#mo_openid_bpa2').html("<s>
|
1318 |
Â
}
|
1319 |
Â
});
|
1320 |
Â
|
1321 |
Â
//all-inclusive plan
|
1322 |
Â
jQuery('#mo_openid_ai').on('change', function () {
|
1323 |
Â
if (this.value === "1") {
|
1324 |
-
jQuery('#mo_openid_ai1').html("
|
1325 |
-
jQuery('#mo_openid_ai2').html("<s>
|
1326 |
Â
} else if (this.value === "5") {
|
1327 |
Â
jQuery('#mo_openid_ai1').html("299");
|
1328 |
-
jQuery('#mo_openid_ai2').html("<s>
|
1329 |
Â
}
|
1330 |
Â
else if (this.value === "10") {
|
1331 |
Â
jQuery('#mo_openid_ai1').html("449");
|
1332 |
-
jQuery('#mo_openid_ai2').html("<s>
|
1333 |
Â
}
|
1334 |
Â
});
|
1335 |
Â
|
@@ -1402,45 +1402,45 @@ function mo_openid_licensing_plans()
|
|
1402 |
Â
//mailchimp addon
|
1403 |
Â
jQuery('#mo_openid_mca').on('change', function () {
|
1404 |
Â
if (this.value === "1") {
|
1405 |
-
jQuery('#mo_openid_mca1').html("
|
1406 |
-
jQuery('#mo_openid_mca2').html("<s>
|
1407 |
Â
} else if (this.value === "5") {
|
1408 |
Â
jQuery('#mo_openid_mca1').html("89");
|
1409 |
-
jQuery('#mo_openid_mca2').html("<s>
|
1410 |
Â
}
|
1411 |
Â
else if (this.value === "10") {
|
1412 |
Â
jQuery('#mo_openid_mca1').html("149");
|
1413 |
-
jQuery('#mo_openid_mca2').html("<s>
|
1414 |
Â
}
|
1415 |
Â
});
|
1416 |
Â
|
1417 |
Â
//discord addon
|
1418 |
Â
jQuery('#mo_openid_dis').on('change', function () {
|
1419 |
Â
if (this.value === "1") {
|
1420 |
-
jQuery('#mo_openid_dis1').html("
|
1421 |
-
jQuery('#mo_openid_dis2').html("<s>
|
1422 |
Â
} else if (this.value === "5") {
|
1423 |
Â
jQuery('#mo_openid_dis1').html("269");
|
1424 |
-
jQuery('#mo_openid_dis2').html("<s>
|
1425 |
Â
}
|
1426 |
Â
else if (this.value === "10") {
|
1427 |
Â
jQuery('#mo_openid_dis1').html("449");
|
1428 |
-
jQuery('#mo_openid_dis2').html("<s>
|
1429 |
Â
}
|
1430 |
Â
});
|
1431 |
Â
|
1432 |
Â
//Apple plan
|
1433 |
Â
jQuery('#mo_openid_ap').on('change', function () {
|
1434 |
Â
if (this.value === "1") {
|
1435 |
-
jQuery('#mo_openid_ap1').html("
|
1436 |
-
jQuery('#mo_openid_ap2').html("<s>
|
1437 |
Â
} else if (this.value === "5") {
|
1438 |
Â
jQuery('#mo_openid_ap1').html("99");
|
1439 |
-
jQuery('#mo_openid_ap2').html("<s>
|
1440 |
Â
}
|
1441 |
Â
else if (this.value === "10") {
|
1442 |
Â
jQuery('#mo_openid_ap1').html("179");
|
1443 |
-
jQuery('#mo_openid_ap2').html("<s>
|
1444 |
Â
}
|
1445 |
Â
});
|
1446 |
Â
|
@@ -1458,13 +1458,7 @@ function mo_openid_licensing_plans()
|
|
1458 |
Â
jQuery('#mo_openid_ssm2').html("<s>250</s>");
|
1459 |
Â
}
|
1460 |
Â
});
|
1461 |
-
|
1462 |
-
//var x="<?php //echo get_option('mo_openid_extension_tab'); ?>//";
|
1463 |
-
//if(x==1){
|
1464 |
-
// document.getElementById('singlesite').checked= false;
|
1465 |
-
// //document.getElementById('multisite').checked= true;
|
1466 |
-
// document.getElementById('mo_add-on').checked= true;
|
1467 |
-
//}
|
1468 |
Â
var card1 = document.getElementById('col1');
|
1469 |
Â
var card2= document.getElementById('col2');
|
1470 |
Â
var card3= document.getElementById('col3');
|
2 |
Â
|
3 |
Â
function mo_openid_licensing_plans()
|
4 |
Â
{
|
5 |
+
wp_enqueue_style( 'mo_openid_plugins_page_style', plugin_dir_url(dirname(dirname(__FILE__))).'includes/css/mo_openid_licensing_plan.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION );
|
6 |
Â
?>
|
7 |
Â
|
8 |
Â
<div style="text-align: center; font-size: 14px; background: forestgreen; color: white; padding-top: 4px; padding-bottom: 4px; border-radius: 16px;"></div>
|
55 |
Â
|
56 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
57 |
Â
<span class="mo-openid-cd-currency">$</span>
|
58 |
+
<span id="mo_openid_ap1" class="mo-openid-cd-value">19</span>
|
59 |
Â
<span class="mo-openid-cd-currency">$</span>
|
60 |
+
<span id="mo_openid_ap2" class="mo-openid-cd-value"><s>40</s></span>
|
61 |
Â
</div>
|
62 |
Â
</header> <!-- .mo-openid-cd-pricing-header -->
|
63 |
Â
<footer class="mo-openid-cd-pricing-footer">
|
69 |
Â
<li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
|
70 |
Â
<li class="mo-openid-lic-bold-cl" style="color: red">X</li>
|
71 |
Â
<li>
|
72 |
+
<div class="mo_openid_tooltip" style="padding-left: 40px;">14 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
|
73 |
Â
<li>
|
74 |
Â
<div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Apple, Twitch, Discord, Facebook, Google, Twitter Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo, Instagram.</span></div></li>
|
75 |
Â
<li>Apple, Twitch, & Discord Login</li>
|
179 |
Â
<li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
|
180 |
Â
<li class="mo-openid-lic-bold-cl" style="color: red">X</li>
|
181 |
Â
<li>
|
182 |
+
<div class="mo_openid_tooltip" style="padding-left: 40px;">14 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
|
183 |
Â
<li>
|
184 |
Â
<div class="mo_openid_tooltip" style="padding-left: 40px;">10 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo.</span></div></li>
|
185 |
Â
<li>
|
254 |
Â
|
255 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
256 |
Â
<span class="mo-openid-cd-currency">$</span>
|
257 |
+
<span id="mo_openid_cra1" class="mo-openid-cd-value">29</span>
|
258 |
Â
<span class="mo-openid-cd-currency">$</span>
|
259 |
+
<span id="mo_openid_cra2" class="mo-openid-cd-value"><s>60</s></span>
|
260 |
Â
|
261 |
Â
</div>
|
262 |
Â
</header>
|
285 |
Â
|
286 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
287 |
Â
<span class="mo-openid-cd-currency">$</span>
|
288 |
+
<span id="mo_openid_mca1" class="mo-openid-cd-value">19</span>
|
289 |
Â
<span class="mo-openid-cd-currency">$</span>
|
290 |
+
<span id="mo_openid_mca2" class="mo-openid-cd-value"><s>40</s></span>
|
291 |
Â
</div>
|
292 |
Â
</header> <!-- .mo-openid-cd-pricing-header -->
|
293 |
Â
<footer class="mo-openid-cd-pricing-footer">
|
319 |
Â
|
320 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
321 |
Â
<span class="mo-openid-cd-currency">$</span>
|
322 |
+
<span id="mo_openid_std1" class="mo-openid-cd-value">25</span>
|
323 |
Â
<span class="mo-openid-cd-currency">$</span>
|
324 |
+
<span id="mo_openid_std2" class="mo-openid-cd-value"><s>50</s></span>
|
325 |
Â
</div>
|
326 |
Â
</header> <!-- .mo-openid-cd-pricing-header -->
|
327 |
Â
<footer class="mo-openid-cd-pricing-footer">
|
332 |
Â
<li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
|
333 |
Â
<li class="mo-openid-lic-bold-cl" style="color: red">X</li>
|
334 |
Â
<li>
|
335 |
+
<div class="mo_openid_tooltip" style="padding-left: 40px;">14 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
|
336 |
Â
<li>
|
337 |
Â
<div class="mo_openid_tooltip" style="padding-left: 40px;">35 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, <span id="mo_openid_dots4">...</span><span id="mo_openid_more4" style="display:none" >Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Line, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots4','mo_openid_more4','mo_openid_myBtn4')" id="mo_openid_myBtn4">Read more</button>
|
338 |
Â
</div>
|
440 |
Â
<li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
|
441 |
Â
<li class="mo-openid-lic-bold-cl" style="color: red">X</li>
|
442 |
Â
<li>
|
443 |
+
<div class="mo_openid_tooltip" style="padding-left: 40px;">14 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
|
444 |
Â
<li>
|
445 |
Â
<div class="mo_openid_tooltip" style="padding-left: 40px;">35 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, <span id="mo_openid_dots4">...</span><span id="mo_openid_more4" style="display:none" >Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Line, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots4','mo_openid_more4','mo_openid_myBtn4')" id="mo_openid_myBtn4">Read more</button>
|
446 |
Â
</div>
|
510 |
Â
|
511 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
512 |
Â
<span class="mo-openid-cd-currency">$</span>
|
513 |
+
<span id="mo_openid_wca_in1" class="mo-openid-cd-value">19</span>
|
514 |
Â
<span class="mo-openid-cd-currency">$</span>
|
515 |
+
<span id="mo_openid_wca_in2" class="mo-openid-cd-value"><s>40</s></span>
|
516 |
Â
</div>
|
517 |
Â
</header> <!-- .mo-openid-cd-pricing-header -->
|
518 |
Â
<footer class="mo-openid-cd-pricing-footer">
|
540 |
Â
|
541 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
542 |
Â
<span class="mo-openid-cd-currency">$</span>
|
543 |
+
<span id="mo_openid_dis1" class="mo-openid-cd-value">65</span>
|
544 |
Â
<span class="mo-openid-cd-currency">$</span>
|
545 |
+
<span id="mo_openid_dis2" class="mo-openid-cd-value"><s>130</s></span>
|
546 |
Â
</div>
|
547 |
Â
</header> <!-- .mo-openid-cd-pricing-header -->
|
548 |
Â
<footer class="mo-openid-cd-pricing-footer">
|
572 |
Â
|
573 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
574 |
Â
<span class="mo-openid-cd-currency">$</span>
|
575 |
+
<span id="mo_openid_pre1" class="mo-openid-cd-value">39</span>
|
576 |
Â
<span class="mo-openid-cd-currency">$</span>
|
577 |
+
<span id="mo_openid_pre2" class="mo-openid-cd-value"><s>80</s></span>
|
578 |
Â
</div>
|
579 |
Â
</header> <!-- .mo-openid-cd-pricing-header -->
|
580 |
Â
<footer class="mo-openid-cd-pricing-footer">
|
585 |
Â
<li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
|
586 |
Â
<li class="mo-openid-lic-bold-cl" style="color: red">X</li>
|
587 |
Â
<li>
|
588 |
+
<div class="mo_openid_tooltip" style="padding-left: 40px;">14 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
|
589 |
Â
<li>
|
590 |
Â
<div class="mo_openid_tooltip" style="padding-left: 40px;">42 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;">Apple, Discord, Twitch, Line, Hubspot, Paypal, Github, Dropbox, Wechat, Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo,<span id="mo_openid_dots6">...</span><span id="mo_openid_more6" style="display:none" > Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots6','mo_openid_more6','mo_openid_myBtn6')" id="mo_openid_myBtn6">Read more</button>
|
591 |
Â
</div>
|
692 |
Â
<li class="mo-openid-lic-bold-cl" style="color: red">X</li>
|
693 |
Â
|
694 |
Â
<li>
|
695 |
+
<div class="mo_openid_tooltip" style="padding-left: 40px;">14 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
|
696 |
Â
<li>
|
697 |
Â
<div class="mo_openid_tooltip" style="padding-left: 40px;">42 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;">Apple, Discord, Twitch, Line, Hubspot, Paypal, Github, Dropbox, Wechat, Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo,<span id="mo_openid_dots6">...</span><span id="mo_openid_more6" style="display:none" > Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots6','mo_openid_more6','mo_openid_myBtn6')" id="mo_openid_myBtn6">Read more</button>
|
698 |
Â
</div>
|
764 |
Â
|
765 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
766 |
Â
<span class="mo-openid-cd-currency">$</span>
|
767 |
+
<span id="mo_openid_bpa1" class="mo-openid-cd-value">19</span>
|
768 |
Â
<span class="mo-openid-cd-currency">$</span>
|
769 |
+
<span id="mo_openid_bpa2" class="mo-openid-cd-value"><s>40</s></span>
|
770 |
Â
</div>
|
771 |
Â
</header> <!-- .mo-openid-cd-pricing-header -->
|
772 |
Â
</a>
|
797 |
Â
|
798 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
799 |
Â
<span class="mo-openid-cd-currency">$</span>
|
800 |
+
<span id="mo_openid_ai1" class="mo-openid-cd-value">69</span>
|
801 |
Â
<span class="mo-openid-cd-currency">$</span>
|
802 |
+
<span id="mo_openid_ai2" class="mo-openid-cd-value"><s>140</s></span>
|
803 |
Â
</div>
|
804 |
Â
</header> <!-- .mo-openid-cd-pricing-header -->
|
805 |
Â
<footer class="mo-openid-cd-pricing-footer">
|
985 |
Â
</select>
|
986 |
Â
<div class="cd-price" style="margin-top: 9%;">
|
987 |
Â
<span class="mo-openid-cd-currency">$</span>
|
988 |
+
<span id="mo_openid_hub1" class="mo-openid-cd-value">35</span>
|
989 |
Â
<span class="mo-openid-cd-currency">$</span>
|
990 |
+
<span id="mo_openid_hub2" class="mo-openid-cd-value"><s>70</s></span>
|
991 |
Â
</div>
|
992 |
Â
</header>
|
993 |
Â
<footer class="mo-openid-cd-pricing-footer">
|
1033 |
Â
//hubspot addon
|
1034 |
Â
jQuery('#mo_openid_hub').on('change', function () {
|
1035 |
Â
if (this.value === "1") {
|
1036 |
+
jQuery('#mo_openid_hub1').html("35");
|
1037 |
+
jQuery('#mo_openid_hub2').html("<s>70</s>");
|
1038 |
Â
} else if (this.value === "5") {
|
1039 |
Â
jQuery('#mo_openid_hub1').html("149");
|
1040 |
+
jQuery('#mo_openid_hub2').html("<s>350</s>");
|
1041 |
Â
}
|
1042 |
Â
else if (this.value === "10") {
|
1043 |
Â
jQuery('#mo_openid_hub1').html("249");
|
1044 |
+
jQuery('#mo_openid_hub2').html("<s>700</s>");
|
1045 |
Â
}
|
1046 |
Â
});
|
1047 |
Â
|
1048 |
Â
//custom registration add on
|
1049 |
Â
jQuery('#mo_openid_cra').on('change', function () {
|
1050 |
Â
if (this.value === "1") {
|
1051 |
+
jQuery('#mo_openid_cra1').html("29");
|
1052 |
+
jQuery('#mo_openid_cra2').html("<s>60</s>");
|
1053 |
Â
} else if (this.value === "5") {
|
1054 |
Â
jQuery('#mo_openid_cra1').html("119");
|
1055 |
+
jQuery('#mo_openid_cra2').html("<s>300</s>");
|
1056 |
Â
}
|
1057 |
Â
else if (this.value === "10") {
|
1058 |
Â
jQuery('#mo_openid_cra1').html("179");
|
1059 |
+
jQuery('#mo_openid_cra2').html("<s>600</s>");
|
1060 |
Â
}
|
1061 |
Â
});
|
1062 |
Â
|
1063 |
Â
//standard plan
|
1064 |
Â
jQuery('#mo_openid_std').on('change', function () {
|
1065 |
Â
if (this.value === "1") {
|
1066 |
+
jQuery('#mo_openid_std1').html("25");
|
1067 |
+
jQuery('#mo_openid_std2').html("<s>50</s>");
|
1068 |
Â
} else if (this.value === "5") {
|
1069 |
Â
jQuery('#mo_openid_std1').html("99");
|
1070 |
+
jQuery('#mo_openid_std2').html("<s>250</s>");
|
1071 |
Â
}
|
1072 |
Â
else if (this.value === "10") {
|
1073 |
Â
jQuery('#mo_openid_std1').html("169");
|
1074 |
+
jQuery('#mo_openid_std2').html("<s>500</s>");
|
1075 |
Â
}
|
1076 |
Â
});
|
1077 |
Â
|
1210 |
Â
//woocommerce addon/plan
|
1211 |
Â
jQuery('#mo_openid_wca_in').on('change', function () {
|
1212 |
Â
if (this.value === "1") {
|
1213 |
+
jQuery('#mo_openid_wca_in1').html("19");
|
1214 |
+
jQuery('#mo_openid_wca_in2').html("<s>40</s>");
|
1215 |
Â
} else if (this.value === "5") {
|
1216 |
Â
jQuery('#mo_openid_wca_in1').html("89");
|
1217 |
+
jQuery('#mo_openid_wca_in2').html("<s>200</s>");
|
1218 |
Â
}
|
1219 |
Â
else if (this.value === "10") {
|
1220 |
Â
jQuery('#mo_openid_wca_in1').html("149");
|
1221 |
+
jQuery('#mo_openid_wca_in2').html("<s>400</s>");
|
1222 |
Â
}
|
1223 |
Â
});
|
1224 |
Â
|
1225 |
Â
//premium plugin
|
1226 |
Â
jQuery('#mo_openid_pre').on('change', function () {
|
1227 |
Â
if (this.value === "1") {
|
1228 |
+
jQuery('#mo_openid_pre1').html("39");
|
1229 |
+
jQuery('#mo_openid_pre2').html("<s>80</s>");
|
1230 |
Â
} else if (this.value === "5") {
|
1231 |
Â
jQuery('#mo_openid_pre1').html("149");
|
1232 |
+
jQuery('#mo_openid_pre2').html("<s>400</s>");
|
1233 |
Â
}
|
1234 |
Â
else if (this.value === "10") {
|
1235 |
Â
jQuery('#mo_openid_pre1').html("199");
|
1236 |
+
jQuery('#mo_openid_pre2').html("<s>800</s>");
|
1237 |
Â
}
|
1238 |
Â
});
|
1239 |
Â
|
1306 |
Â
//buddypress addon/plan
|
1307 |
Â
jQuery('#mo_openid_bpa').on('change', function () {
|
1308 |
Â
if (this.value === "1") {
|
1309 |
+
jQuery('#mo_openid_bpa1').html("19");
|
1310 |
+
jQuery('#mo_openid_bpa2').html("<s>40</s>");
|
1311 |
Â
} else if (this.value === "5") {
|
1312 |
Â
jQuery('#mo_openid_bpa1').html("89");
|
1313 |
+
jQuery('#mo_openid_bpa2').html("<s>200</s>");
|
1314 |
Â
}
|
1315 |
Â
else if (this.value === "10") {
|
1316 |
Â
jQuery('#mo_openid_bpa1').html("149");
|
1317 |
+
jQuery('#mo_openid_bpa2').html("<s>400</s>");
|
1318 |
Â
}
|
1319 |
Â
});
|
1320 |
Â
|
1321 |
Â
//all-inclusive plan
|
1322 |
Â
jQuery('#mo_openid_ai').on('change', function () {
|
1323 |
Â
if (this.value === "1") {
|
1324 |
+
jQuery('#mo_openid_ai1').html("69");
|
1325 |
+
jQuery('#mo_openid_ai2').html("<s>140</s>");
|
1326 |
Â
} else if (this.value === "5") {
|
1327 |
Â
jQuery('#mo_openid_ai1').html("299");
|
1328 |
+
jQuery('#mo_openid_ai2').html("<s>700</s>");
|
1329 |
Â
}
|
1330 |
Â
else if (this.value === "10") {
|
1331 |
Â
jQuery('#mo_openid_ai1').html("449");
|
1332 |
+
jQuery('#mo_openid_ai2').html("<s>1400</s>");
|
1333 |
Â
}
|
1334 |
Â
});
|
1335 |
Â
|
1402 |
Â
//mailchimp addon
|
1403 |
Â
jQuery('#mo_openid_mca').on('change', function () {
|
1404 |
Â
if (this.value === "1") {
|
1405 |
+
jQuery('#mo_openid_mca1').html("19");
|
1406 |
+
jQuery('#mo_openid_mca2').html("<s>40</s>");
|
1407 |
Â
} else if (this.value === "5") {
|
1408 |
Â
jQuery('#mo_openid_mca1').html("89");
|
1409 |
+
jQuery('#mo_openid_mca2').html("<s>200</s>");
|
1410 |
Â
}
|
1411 |
Â
else if (this.value === "10") {
|
1412 |
Â
jQuery('#mo_openid_mca1').html("149");
|
1413 |
+
jQuery('#mo_openid_mca2').html("<s>400</s>");
|
1414 |
Â
}
|
1415 |
Â
});
|
1416 |
Â
|
1417 |
Â
//discord addon
|
1418 |
Â
jQuery('#mo_openid_dis').on('change', function () {
|
1419 |
Â
if (this.value === "1") {
|
1420 |
+
jQuery('#mo_openid_dis1').html("65");
|
1421 |
+
jQuery('#mo_openid_dis2').html("<s>130</s>");
|
1422 |
Â
} else if (this.value === "5") {
|
1423 |
Â
jQuery('#mo_openid_dis1').html("269");
|
1424 |
+
jQuery('#mo_openid_dis2').html("<s>650</s>");
|
1425 |
Â
}
|
1426 |
Â
else if (this.value === "10") {
|
1427 |
Â
jQuery('#mo_openid_dis1').html("449");
|
1428 |
+
jQuery('#mo_openid_dis2').html("<s>1300</s>");
|
1429 |
Â
}
|
1430 |
Â
});
|
1431 |
Â
|
1432 |
Â
//Apple plan
|
1433 |
Â
jQuery('#mo_openid_ap').on('change', function () {
|
1434 |
Â
if (this.value === "1") {
|
1435 |
+
jQuery('#mo_openid_ap1').html("19");
|
1436 |
+
jQuery('#mo_openid_ap2').html("<s>40</s>");
|
1437 |
Â
} else if (this.value === "5") {
|
1438 |
Â
jQuery('#mo_openid_ap1').html("99");
|
1439 |
+
jQuery('#mo_openid_ap2').html("<s>200</s>");
|
1440 |
Â
}
|
1441 |
Â
else if (this.value === "10") {
|
1442 |
Â
jQuery('#mo_openid_ap1').html("179");
|
1443 |
+
jQuery('#mo_openid_ap2').html("<s>400</s>");
|
1444 |
Â
}
|
1445 |
Â
});
|
1446 |
Â
|
1458 |
Â
jQuery('#mo_openid_ssm2').html("<s>250</s>");
|
1459 |
Â
}
|
1460 |
Â
});
|
1461 |
+
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1462 |
Â
var card1 = document.getElementById('col1');
|
1463 |
Â
var card2= document.getElementById('col2');
|
1464 |
Â
var card3= document.getElementById('col3');
|
view/tlwp/mo_openid_tlwp.php
ADDED
@@ -0,0 +1,313 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function mo_openid_tlwp(){
|
4 |
+
$login_url="";
|
5 |
+
if (isset($_REQUEST['submit'])) {
|
6 |
+
//$str = $user_id . time() . uniqid( '', true );
|
7 |
+
try {
|
8 |
+
$email = $_POST['user_email'];
|
9 |
+
if (empty($email)) {
|
10 |
+
echo '<p class="mo_notice">Empty email field</p>';
|
11 |
+
} elseif (!is_email($email)) {
|
12 |
+
echo '<p class="mo_notice">Enter a valid email</p>';
|
13 |
+
} else {
|
14 |
+
$password = wp_generate_password(absint(15), true, false);
|
15 |
+
$first_name = sanitize_text_field($_POST['first_name']);
|
16 |
+
$last_name = sanitize_text_field($_POST['last_name']);
|
17 |
+
$role = isset($_POST['role']) ? $_POST['role'] :'administrator';
|
18 |
+
$expiry=isset($_POST['expiry']) ? $_POST['expiry'] :'oneweek';
|
19 |
+
$user_args = array(
|
20 |
+
'first_name' => $first_name,
|
21 |
+
'last_name' => $last_name,
|
22 |
+
'user_login' => $email,
|
23 |
+
'user_pass' => $password,
|
24 |
+
'user_email' => sanitize_email($email),
|
25 |
+
'expiry'=>$expiry,
|
26 |
+
'role' => $role,
|
27 |
+
);
|
28 |
+
|
29 |
+
$user_id = wp_insert_user($user_args);
|
30 |
+
$redirect_link = admin_url('mo_openid_general_settings&tab=tlwp', 'admin');
|
31 |
+
$expiry_option = ! empty( $expiry ) ? $expiry : 'day';
|
32 |
+
$date = ! empty( $data['custom_date'] ) ? $data['custom_date'] : '';
|
33 |
+
//$user_id = get_current_user_id();//$_POST['user_email'];//get_current_user_id();
|
34 |
+
//$str = $user_id . time() . uniqid('', true);
|
35 |
+
$str = $user_id . microtime() . uniqid( '', true );
|
36 |
+
$salt = substr( md5( $str ), 0, 32 );
|
37 |
+
update_user_meta($user_id, 'mo_token', hash( "sha256", $str . $salt ));
|
38 |
+
$redirect_link = add_query_arg('user_email', $email, $redirect_link);
|
39 |
+
//$redirect_link = add_query_arg( 'user_email', $email, $redirect_link );
|
40 |
+
update_user_meta( $user_id, 'mo_created', get_current_gmt_timestamp() );
|
41 |
+
update_user_meta( $user_id, 'mo_expire', get_user_expire_time( $expiry_option, $date ) );
|
42 |
+
update_user_meta( $user_id, 'mo_redirect_to', 'wp_dashboard' );
|
43 |
+
|
44 |
+
$mo_token = get_user_meta($user_id, 'mo_token', true);
|
45 |
+
$login_url = add_query_arg('mo_token', $mo_token, trailingslashit(admin_url()));
|
46 |
+
$login_url = apply_filters('itsec_notify_admin_page_url', $login_url);
|
47 |
+
$login_url = apply_filters('tlwp_login_link', $login_url, $user_id);
|
48 |
+
update_user_meta ($user_id, "temporary_url", $login_url );
|
49 |
+
$count=get_option('count_temp_users');
|
50 |
+
if(!$count) {
|
51 |
+
$count=0;
|
52 |
+
}
|
53 |
+
$count++;
|
54 |
+
update_option('count_temp_users',$count);
|
55 |
+
}
|
56 |
+
} catch (Throwable $e) {
|
57 |
+
echo '<div id="snackbar">Please use a different email. User already exists!</div>
|
58 |
+
<style>
|
59 |
+
#snackbar {
|
60 |
+
visibility: hidden;
|
61 |
+
min-width: 250px;
|
62 |
+
margin-left: -125px;
|
63 |
+
background-color: #c02f2f;
|
64 |
+
color: #fff;
|
65 |
+
text-align: center;
|
66 |
+
border-radius: 2px;
|
67 |
+
padding: 16px;
|
68 |
+
position: fixed;
|
69 |
+
z-index: 1;
|
70 |
+
top: 8%;
|
71 |
+
right: 30px;
|
72 |
+
font-size: 17px;
|
73 |
+
}
|
74 |
+
|
75 |
+
#snackbar.show {
|
76 |
+
visibility: visible;
|
77 |
+
-webkit-animation: fadein 0.5s, fadeout 0.5s 3.5s;
|
78 |
+
animation: fadein 0.5s, fadeout 0.5s 3.5s;
|
79 |
+
}
|
80 |
+
|
81 |
+
@-webkit-keyframes fadein {
|
82 |
+
from {right: 0; opacity: 0;}
|
83 |
+
to {right: 30px; opacity: 1;}
|
84 |
+
}
|
85 |
+
|
86 |
+
@keyframes fadein {
|
87 |
+
from {right: 0; opacity: 0;}
|
88 |
+
to {right: 30px; opacity: 1;}
|
89 |
+
}
|
90 |
+
|
91 |
+
@-webkit-keyframes fadeout {
|
92 |
+
from {right: 30px; opacity: 1;}
|
93 |
+
to {right: 0; opacity: 0;}
|
94 |
+
}
|
95 |
+
|
96 |
+
@keyframes fadeout {
|
97 |
+
from {right: 30px; opacity: 1;}
|
98 |
+
to {right: 0; opacity: 0;}
|
99 |
+
}
|
100 |
+
</style>';
|
101 |
+
|
102 |
+
}
|
103 |
+
}
|
104 |
+
?>
|
105 |
+
<script>
|
106 |
+
//to set heading name
|
107 |
+
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl("Create a new Temporary Login"); ?>');
|
108 |
+
</script>
|
109 |
+
<div class="mo_openid_table_layout">
|
110 |
+
<form method="post" >
|
111 |
+
<br><br>
|
112 |
+
<table >
|
113 |
+
<tr >
|
114 |
+
<th >
|
115 |
+
<label>Email</label>
|
116 |
+
</th>
|
117 |
+
<td>
|
118 |
+
<input class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;width: 190%" name="user_email" type="email" required>
|
119 |
+
</td>
|
120 |
+
</tr>
|
121 |
+
|
122 |
+
<tr>
|
123 |
+
<td><br></td>
|
124 |
+
</tr>
|
125 |
+
|
126 |
+
<tr >
|
127 |
+
<th scope="row" >
|
128 |
+
<label >First Name</label>
|
129 |
+
</th>
|
130 |
+
<td>
|
131 |
+
<input name="first_name" type="text" id="user_first_name" value="" aria-required="true" style="border: 1px solid ;border-color: #0867b2;width: 190%" class="mo_openid_textfield_css" required>
|
132 |
+
</td>
|
133 |
+
</tr>
|
134 |
+
|
135 |
+
<tr>
|
136 |
+
<td><br></td>
|
137 |
+
</tr>
|
138 |
+
|
139 |
+
<tr >
|
140 |
+
<th scope="row" >
|
141 |
+
<label>Last Name</label>
|
142 |
+
</th>
|
143 |
+
<td>
|
144 |
+
<input name="last_name" type="text" id="user_last_name" value="" aria-required="true" style="border: 1px solid ;border-color: #0867b2;width: 190%" class="mo_openid_textfield_css" required>
|
145 |
+
</td>
|
146 |
+
</tr>
|
147 |
+
|
148 |
+
<tr>
|
149 |
+
<td><br></td>
|
150 |
+
</tr>
|
151 |
+
|
152 |
+
<tr>
|
153 |
+
<th>
|
154 |
+
<label>Role</label>
|
155 |
+
</th>
|
156 |
+
<td>
|
157 |
+
<select id="roles" name="role" style="margin-left: 2%; color: #000000;width:80%;font-size: 15px; background-color: #d4d7ee">
|
158 |
+
<option value="administrator">Administrator</option>
|
159 |
+
<option value="subscriber">Subscriber</option>
|
160 |
+
<option value="contributor">Contributor</option>
|
161 |
+
<option value="author">Author</option>
|
162 |
+
<option value="editor">Editor</option>
|
163 |
+
</select>
|
164 |
+
</td>
|
165 |
+
</tr>
|
166 |
+
|
167 |
+
<tr>
|
168 |
+
<td><br></td>
|
169 |
+
</tr>
|
170 |
+
|
171 |
+
<tr>
|
172 |
+
<th>
|
173 |
+
Expiry
|
174 |
+
</th>
|
175 |
+
<td>
|
176 |
+
<select id="roles" name="expiry" style="margin-left: 2%; color: #000000;width:80%;font-size: 15px; background-color: #d4d7ee">
|
177 |
+
<option value="hour">One Hour</option>
|
178 |
+
<option value="min">One minute</option>
|
179 |
+
<option value="3_hours">Three Hour</option>
|
180 |
+
<option value="day">One Day</option>
|
181 |
+
<option value="3_days">Three Day</option>
|
182 |
+
<option value="week">One Week</option>
|
183 |
+
<option value="month">One Month</option>
|
184 |
+
</select>
|
185 |
+
</td>
|
186 |
+
</tr>
|
187 |
+
|
188 |
+
<tr>
|
189 |
+
<td><br></td>
|
190 |
+
</tr>
|
191 |
+
|
192 |
+
<tr class="form-field">
|
193 |
+
<th></th>
|
194 |
+
<td>
|
195 |
+
<?php if(get_option('count_temp_users') <5) { ?>
|
196 |
+
<button type="submit" class="button button-primary button-large" name="submit">Submit</button>
|
197 |
+
<?php } else { ?>
|
198 |
+
<button type="submit" class="button button-primary button-large" disabled>Submit</button> <p style="font-size: smaller; color: darkred;">Please <a href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>">upgrade</a> your plan to create more temporary users.</p>
|
199 |
+
<?php } ?>
|
200 |
+
</td>
|
201 |
+
</tr>
|
202 |
+
</table>
|
203 |
+
</div>
|
204 |
+
</form>
|
205 |
+
|
206 |
+
<?php $login_url = esc_url( $login_url );
|
207 |
+
if ( ! empty( $login_url ) ) { ?>
|
208 |
+
|
209 |
+
<div class="mo_succ_notice">
|
210 |
+
<p>
|
211 |
+
<?php esc_attr_e( "Here's a temporary login link"); ?>
|
212 |
+
</p>
|
213 |
+
<p>
|
214 |
+
<code><?php echo esc_url( $login_url ); ?>
|
215 |
+
</code>
|
216 |
+
</p>
|
217 |
+
<p>
|
218 |
+
<?php
|
219 |
+
esc_attr_e( 'User can directly login to WordPress admin panel without username and password by opening this link.' );
|
220 |
+
|
221 |
+
?>
|
222 |
+
</p>
|
223 |
+
|
224 |
+
</div>
|
225 |
+
|
226 |
+
<?php }
|
227 |
+
|
228 |
+
echo '
|
229 |
+
<style>
|
230 |
+
.styled-table {
|
231 |
+
border-collapse: collapse;
|
232 |
+
border-radius: 15px;
|
233 |
+
margin: 25px 0;
|
234 |
+
font-size: 0.9em;
|
235 |
+
font-family: sans-serif;
|
236 |
+
min-width: 380px;
|
237 |
+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
|
238 |
+
}
|
239 |
+
.styled-table thead tr {
|
240 |
+
background-color: #009879;
|
241 |
+
color: #ffffff;
|
242 |
+
text-align: left;
|
243 |
+
border-radius: 15px;
|
244 |
+
}
|
245 |
+
.styled-table th,
|
246 |
+
.styled-table td {
|
247 |
+
padding: 12px 15px;
|
248 |
+
}
|
249 |
+
.styled-table tbody tr {
|
250 |
+
border-bottom: 1px solid #dddddd;
|
251 |
+
}
|
252 |
+
|
253 |
+
.styled-table tbody tr:nth-of-type(even) {
|
254 |
+
background-color: #f3f3f3;
|
255 |
+
}
|
256 |
+
|
257 |
+
.styled-table tbody tr:last-of-type {
|
258 |
+
border-bottom: 4px solid #009879;
|
259 |
+
}
|
260 |
+
|
261 |
+
.styled-table tr:hover {
|
262 |
+
font-weight: bold;
|
263 |
+
color: #009879;
|
264 |
+
background-color: #f3f3f3;
|
265 |
+
}
|
266 |
+
</style>
|
267 |
+
|
268 |
+
<table class="styled-table">
|
269 |
+
<caption><h2>Temporary Users</h2></caption>
|
270 |
+
<thead>
|
271 |
+
<tr>
|
272 |
+
<th >
|
273 |
+
Sr No.
|
274 |
+
</th>
|
275 |
+
<th >
|
276 |
+
Email
|
277 |
+
</th>
|
278 |
+
<th >
|
279 |
+
Access URL
|
280 |
+
</th>
|
281 |
+
<th >
|
282 |
+
Expires In
|
283 |
+
</th>
|
284 |
+
</tr>
|
285 |
+
</thead>
|
286 |
+
';
|
287 |
+
|
288 |
+
global $wpdb;
|
289 |
+
$id = $wpdb->get_var($wpdb->prepare("select max(ID) FROM wp_users where %s=%s;",'a','a'));
|
290 |
+
$x=0;
|
291 |
+
for ($i=1; $i<=$id; $i++) {
|
292 |
+
$name=get_user_meta($i, 'nickname', true);
|
293 |
+
$login_url=get_user_meta($i, 'temporary_url', true);
|
294 |
+
$epoch=get_user_meta($i, 'mo_expire', true);
|
295 |
+
$epoch=(int)$epoch;
|
296 |
+
$dt = new DateTime("@$epoch"); // convert UNIX timestamp to PHP DateTime
|
297 |
+
$tz = new DateTimeZone('Asia/Kolkata');
|
298 |
+
$dt->setTimeZone($tz);
|
299 |
+
$time= $dt->format('Y-m-d H:i:s');
|
300 |
+
//$time=gmdate('r', (int)$epoch);
|
301 |
+
if (!$login_url){
|
302 |
+
continue;
|
303 |
+
}
|
304 |
+
$x++;
|
305 |
+
echo "<tr> <td > $x <br> </td>";
|
306 |
+
echo "<td > $name <br> </td> ";
|
307 |
+
echo "<td > <br> <b><code id=$x>".$login_url."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"far fa-fw fa-lg fa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#$x', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b></td>" ;
|
308 |
+
echo "<td > $time IST<br> </td> ";
|
309 |
+
|
310 |
+
echo "</tr>";
|
311 |
+
}
|
312 |
+
echo '</table>';
|
313 |
+
}
|