Version Description
- Linkedin username return issue solved.
- On load class creation issue resolved.
- Facebook share API update
- Major UI changes.
- Added translation.
- Added setup plugin video button
- Added Wechat, Baidu, Renren & QQ app in premium section.
- Added top-up plans
Download this release
Release Info
Developer | cyberlord92 |
Plugin | Social Login |
Version | 7.3.0 |
Comparing to | |
See all releases |
Code changes from version 7.2.7 to 7.3.0
- CustomerOpenID.php +493 -0
- class-mo-openid-login-widget.php +1891 -2486
- class-mo-openid-social-comment.php +87 -93
- class-mo-openid-social-login-functions.php +0 -1643
- class-mo-openid-social-share.php +185 -181
- class-mo-openid-sso-customer.php +0 -450
- class-mo-openid-sso-shortcode-buttons.php +102 -95
- class-mo-openid-twitter-oauth.php +0 -183
- includes/css/bootstrap-social.css +18 -2
- includes/css/bootstrap-tour-standalone.css +0 -762
- includes/css/bootstrap.min-preview.css +5 -2
- includes/css/bootstrap.min.css +1 -0
- includes/css/font-awesome.min.css +1 -1
- includes/css/mo-font-awesome.css +2191 -0
- includes/css/mo-font-awesome.min.css +4 -0
- includes/css/mo_openid_bootstrap-tour-standalone.css +762 -0
- includes/css/mo_openid_style.css +1087 -246
- includes/css/phone.css +1 -1
- includes/images/active.png +0 -0
- includes/images/csv_download.png +0 -0
- includes/images/custom_app.png +0 -0
- includes/images/dollar.png +0 -0
- includes/images/icons/apple.png +0 -0
- includes/images/icons/baidu.png +0 -0
- includes/images/icons/discord.png +0 -0
- includes/images/icons/disq.png +0 -0
- includes/images/icons/disqus.png +0 -0
- includes/images/icons/dribbble.png +0 -0
- includes/images/icons/flickr.png +0 -0
- includes/images/icons/google.png +0 -0
- includes/images/icons/kaka.png +0 -0
- includes/images/icons/kakao.png +0 -0
- includes/images/icons/kakao2.png +0 -0
- includes/images/icons/line.png +0 -0
- includes/images/icons/mail.png +0 -0
- includes/images/icons/meetup.png +0 -0
- includes/images/icons/odnoklassniki.png +0 -0
- includes/images/icons/pinterest.png +0 -0
- includes/images/icons/print.png +0 -0
- includes/images/icons/qq.png +0 -0
- includes/images/icons/renren.png +0 -0
- includes/images/icons/salesforce.png +0 -0
- includes/images/icons/salesforce2.png +0 -0
- includes/images/icons/spotify.png +0 -0
- includes/images/icons/stackexchange.png +0 -0
- includes/images/icons/twitch.png +0 -0
- includes/images/icons/vimeo.png +0 -0
- includes/images/icons/vkontakte.png +0 -0
- includes/images/icons/vkontakte_d.png +0 -0
- includes/images/icons/wechat.png +0 -0
- includes/images/icons/whatsapp.png +0 -0
- includes/images/icons/wiebo.png +0 -0
- includes/images/icons/wordpress.png +0 -0
- includes/images/icons/wordpress2.png +0 -0
- includes/images/icons/yahoo.png +0 -0
- includes/images/icons/yahoo1.png +0 -0
- includes/images/lock1.png +0 -0
- includes/images/mailchimp.png +0 -0
- includes/images/move.png +0 -0
- includes/images/settings_icon.JPG +0 -0
- includes/images/wait.gif +0 -0
- includes/js/jquery.cookie.min.js +1 -0
- includes/js/jquery.min.js +5 -0
CustomerOpenID.php
ADDED
@@ -0,0 +1,493 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/** miniOrange enables user to log in through OpenID to apps such as Google, Salesforce etc.
|
3 |
+
Copyright (C) 2015 miniOrange
|
4 |
+
|
5 |
+
This program is free software: you can redistribute it and/or modify
|
6 |
+
it under the terms of the GNU General Public License as published by
|
7 |
+
the Free Software Foundation, either version 3 of the License, or
|
8 |
+
(at your option) any later version.
|
9 |
+
|
10 |
+
This program is distributed in the hope that it will be useful,
|
11 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
+
GNU General Public License for more details.
|
14 |
+
|
15 |
+
You should have received a copy of the GNU General Public License
|
16 |
+
along with this program. If not, see <http://www.gnu.org/licenses/>
|
17 |
+
* @package miniOrange OAuth
|
18 |
+
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
|
19 |
+
*/
|
20 |
+
/**
|
21 |
+
This library is miniOrange Authentication Service.
|
22 |
+
Contains Request Calls to Customer service.
|
23 |
+
|
24 |
+
**/
|
25 |
+
class CustomerOpenID {
|
26 |
+
|
27 |
+
public $email;
|
28 |
+
public $phone;
|
29 |
+
|
30 |
+
private $defaultCustomerKey = "16555";
|
31 |
+
private $defaultApiKey = "fFd2XcvTGDemZvbw1bcUesNJWEqKbbUq";
|
32 |
+
|
33 |
+
function create_customer(){
|
34 |
+
$url = get_option('mo_openid_host_name') . '/moas/rest/customer/add';
|
35 |
+
$current_user = wp_get_current_user();
|
36 |
+
$this->email = get_option('mo_openid_admin_email');
|
37 |
+
$password = get_option('mo_openid_admin_password');
|
38 |
+
|
39 |
+
$fields = array(
|
40 |
+
'areaOfInterest' => 'WP OpenID Connect Login Plugin',
|
41 |
+
'email' => $this->email,
|
42 |
+
'password' => $password
|
43 |
+
);
|
44 |
+
$field_string = json_encode($fields);
|
45 |
+
$headers = array("Content-Type"=>"application/json","charset"=>"UTF-8","Authorization"=>"Basic");
|
46 |
+
$args = array(
|
47 |
+
'method' => 'POST',
|
48 |
+
'body' => $field_string,
|
49 |
+
'timeout' => '5',
|
50 |
+
'redirection' => '5',
|
51 |
+
'httpversion' => '1.0',
|
52 |
+
'blocking' => true,
|
53 |
+
'headers' => $headers
|
54 |
+
);
|
55 |
+
$response = self::mo_openid_wp_remote_post($url, $args);
|
56 |
+
return $response['body'];
|
57 |
+
}
|
58 |
+
|
59 |
+
function get_customer_key() {
|
60 |
+
$url = get_option('mo_openid_host_name') . "/moas/rest/customer/key";
|
61 |
+
$email = get_option("mo_openid_admin_email");
|
62 |
+
|
63 |
+
$password = get_option("mo_openid_admin_password");
|
64 |
+
|
65 |
+
$fields = array(
|
66 |
+
'email' => $email,
|
67 |
+
'password' => $password
|
68 |
+
);
|
69 |
+
$field_string = json_encode( $fields );
|
70 |
+
$headers = array("Content-Type"=>"application/json","charset"=>"UTF-8","Authorization"=>"Basic");
|
71 |
+
$args = array(
|
72 |
+
'method' => 'POST',
|
73 |
+
'body' => $field_string,
|
74 |
+
'timeout' => '5',
|
75 |
+
'redirection' => '5',
|
76 |
+
'httpversion' => '1.0',
|
77 |
+
'blocking' => true,
|
78 |
+
'headers' => $headers
|
79 |
+
);
|
80 |
+
$response = self::mo_openid_wp_remote_post($url, $args);
|
81 |
+
return $response['body'];
|
82 |
+
}
|
83 |
+
|
84 |
+
function check_customer() {
|
85 |
+
$url = get_option('mo_openid_host_name') . "/moas/rest/customer/check-if-exists";
|
86 |
+
$email = get_option("mo_openid_admin_email");
|
87 |
+
|
88 |
+
$fields = array(
|
89 |
+
'email' => $email,
|
90 |
+
);
|
91 |
+
$field_string = json_encode( $fields );
|
92 |
+
|
93 |
+
$headers = array("Content-Type"=>"application/json","charset"=>"UTF-8","Authorization"=>"Basic");
|
94 |
+
$args = array(
|
95 |
+
'method' => 'POST',
|
96 |
+
'body' => $field_string,
|
97 |
+
'timeout' => '5',
|
98 |
+
'redirection' => '5',
|
99 |
+
'httpversion' => '1.0',
|
100 |
+
'blocking' => true,
|
101 |
+
'headers' => $headers
|
102 |
+
);
|
103 |
+
$response = self::mo_openid_wp_remote_post($url, $args);
|
104 |
+
return $response['body'];
|
105 |
+
}
|
106 |
+
|
107 |
+
function check_customer_valid(){
|
108 |
+
$url = get_option('mo_openid_host_name') . '/moas/api/customer/license';
|
109 |
+
$customerKey = get_option('mo_openid_admin_customer_key');
|
110 |
+
$apiKey = get_option('mo_openid_admin_api_key');
|
111 |
+
|
112 |
+
/* Current time in milliseconds since midnight, January 1, 1970 UTC. */
|
113 |
+
$currentTimeInMillis = self::get_timestamp();
|
114 |
+
$stringToHash = $customerKey . $currentTimeInMillis . $apiKey;
|
115 |
+
/* Creating the Hash using SHA-512 algorithm */
|
116 |
+
$hashValue = hash("sha512", $stringToHash);
|
117 |
+
$fields = array(
|
118 |
+
'customerId' => $customerKey,
|
119 |
+
'applicationName' => 'wp_social_login_standard_plan'
|
120 |
+
);
|
121 |
+
$field_string = json_encode($fields);
|
122 |
+
|
123 |
+
$headers = array(
|
124 |
+
"Content-Type" => "application/json",
|
125 |
+
"Customer-Key" => $customerKey,
|
126 |
+
"Timestamp" => $currentTimeInMillis,
|
127 |
+
"Authorization" => $hashValue
|
128 |
+
);
|
129 |
+
$args = array(
|
130 |
+
'method' => 'POST',
|
131 |
+
'body' => $field_string,
|
132 |
+
'timeout' => '5',
|
133 |
+
'redirection' => '5',
|
134 |
+
'httpversion' => '1.0',
|
135 |
+
'blocking' => true,
|
136 |
+
'headers' => $headers
|
137 |
+
);
|
138 |
+
$response = self::mo_openid_wp_remote_post($url, $args);
|
139 |
+
return $response['body'];
|
140 |
+
}
|
141 |
+
|
142 |
+
function get_timestamp()
|
143 |
+
{
|
144 |
+
$url = get_option('mo_openid_host_name') . '/moas/rest/mobile/get-timestamp';
|
145 |
+
$response = self::mo_openid_wp_remote_post($url);
|
146 |
+
return $response['body'];
|
147 |
+
}
|
148 |
+
function mo_openid_send_email_alert($email,$phone,$message){
|
149 |
+
|
150 |
+
// $hostname = Utilities::getHostname();
|
151 |
+
$hostname = get_site_option('mo_openid_host_name') ;
|
152 |
+
$url = $hostname.'/moas/api/notify/send';
|
153 |
+
// $customer_details = Utilities::getCustomerDetails();
|
154 |
+
$customerKey = $this->defaultCustomerKey;
|
155 |
+
$apiKey = $this->defaultApiKey;
|
156 |
+
|
157 |
+
$currentTimeInMillis = self::get_timestamp();
|
158 |
+
$stringToHash = $customerKey . $currentTimeInMillis . $apiKey;
|
159 |
+
$hashValue = hash("sha512", $stringToHash);
|
160 |
+
$fromEmail = $email;
|
161 |
+
$subject = "MiniOrange Social Login Plugin Feedback : ".$email;
|
162 |
+
$site_url=site_url();
|
163 |
+
$activation_date=get_option('mo_openid_user_activation_date1');
|
164 |
+
$deactivationdate = date("Y-m-d");
|
165 |
+
|
166 |
+
$store_activation= strtotime($activation_date);
|
167 |
+
$store_deactivation= strtotime($deactivationdate);
|
168 |
+
$diff = $store_deactivation-$store_activation;
|
169 |
+
$total_activation_days= abs(round($diff / 86400));
|
170 |
+
|
171 |
+
global $user;
|
172 |
+
$user= wp_get_current_user();
|
173 |
+
|
174 |
+
|
175 |
+
$query =" MiniOrange Social Login [Free] ";
|
176 |
+
$content='<div >Hello, <br><br>First Name :<br><br>Last Name :
|
177 |
+
<br><br>Company :
|
178 |
+
<br><br>Phone Number : '.$phone.'
|
179 |
+
<br><br>Email : <a href="mailto:'.$fromEmail.'" target="_blank">'.$fromEmail.'</a>
|
180 |
+
<br><br>Activation time : '.$activation_date.' - '.$deactivationdate.' ['.$total_activation_days.']
|
181 |
+
<br><br>Plugin Deactivated: '.$query.'
|
182 |
+
<br><br>Reason: <b>'.$message.'</b></div>';
|
183 |
+
|
184 |
+
|
185 |
+
$fields = array(
|
186 |
+
'customerKey' => $customerKey,
|
187 |
+
'sendEmail' => true,
|
188 |
+
'email' => array(
|
189 |
+
'customerKey' => $customerKey,
|
190 |
+
'fromEmail' => $fromEmail,
|
191 |
+
'bccEmail' => 'socialloginsupport@xecurify.com',
|
192 |
+
'fromName' => 'miniOrange',
|
193 |
+
'toEmail' => 'socialloginsupport@xecurify.com',
|
194 |
+
'toName' => 'socialloginsupport@xecurify.com',
|
195 |
+
'subject' => $subject,
|
196 |
+
'content' => $content
|
197 |
+
),
|
198 |
+
);
|
199 |
+
$field_string = json_encode($fields);
|
200 |
+
|
201 |
+
|
202 |
+
$headers = array(
|
203 |
+
"Content-Type" => "application/json",
|
204 |
+
"Customer-Key" => $customerKey,
|
205 |
+
"Timestamp" => $currentTimeInMillis,
|
206 |
+
"Authorization" => $hashValue
|
207 |
+
);
|
208 |
+
$args = array(
|
209 |
+
'method' => 'POST',
|
210 |
+
'body' => $field_string,
|
211 |
+
'timeout' => '5',
|
212 |
+
'redirection' => '5',
|
213 |
+
'httpversion' => '1.0',
|
214 |
+
'blocking' => true,
|
215 |
+
'headers' => $headers
|
216 |
+
);
|
217 |
+
$response = self::mo_openid_wp_remote_post($url, $args);
|
218 |
+
return $response['body'];
|
219 |
+
|
220 |
+
}
|
221 |
+
function submit_rate_us($email,$query){
|
222 |
+
|
223 |
+
$query = 'Star Rating:'.get_option('mo_openid_rating_given').' '.$query;
|
224 |
+
// $hostname = Utilities::getHostname();
|
225 |
+
$hostname = get_site_option('mo_openid_host_name') ;
|
226 |
+
$url = $hostname.'/moas/api/notify/send';
|
227 |
+
|
228 |
+
// $customer_details = Utilities::getCustomerDetails();
|
229 |
+
$customerKey = $this->defaultCustomerKey;
|
230 |
+
$apiKey = $this->defaultApiKey;
|
231 |
+
|
232 |
+
$currentTimeInMillis = self::get_timestamp();
|
233 |
+
$stringToHash = $customerKey . $currentTimeInMillis . $apiKey;
|
234 |
+
$hashValue = hash("sha512", $stringToHash);
|
235 |
+
$fromEmail = $email;
|
236 |
+
$subject = "MiniOrange Social Login Plugin Rate us Feedback: ".$email;
|
237 |
+
$site_url=site_url();
|
238 |
+
|
239 |
+
global $user;
|
240 |
+
$user= wp_get_current_user();
|
241 |
+
|
242 |
+
$content='<div >Hello, <br><br>First Name :
|
243 |
+
<br><br>Last Name :
|
244 |
+
<br><br>Company :
|
245 |
+
<br><br><b>Email :<a href="mailto:'.$fromEmail.'" target="_blank">'.$fromEmail.'</a></b>
|
246 |
+
<br><br><b>Reason: '.$query.'</b></div>';
|
247 |
+
|
248 |
+
|
249 |
+
$fields = array(
|
250 |
+
'customerKey' => $customerKey,
|
251 |
+
'sendEmail' => true,
|
252 |
+
'email' => array(
|
253 |
+
'customerKey' => $customerKey,
|
254 |
+
'fromEmail' => $fromEmail,
|
255 |
+
'bccEmail' => 'socialloginsupport@xecurify.com',
|
256 |
+
'fromName' => 'miniOrange',
|
257 |
+
'toEmail' => 'socialloginsupport@xecurify.com',
|
258 |
+
'toName' => 'socialloginsupport@xecurify.com',
|
259 |
+
'subject' => $subject,
|
260 |
+
'content' => $content
|
261 |
+
),
|
262 |
+
);
|
263 |
+
$field_string = json_encode($fields);
|
264 |
+
|
265 |
+
|
266 |
+
$headers = array(
|
267 |
+
"Content-Type" => "application/json",
|
268 |
+
"Customer-Key" => $customerKey,
|
269 |
+
"Timestamp" => $currentTimeInMillis,
|
270 |
+
"Authorization" => $hashValue
|
271 |
+
);
|
272 |
+
$args = array(
|
273 |
+
'method' => 'POST',
|
274 |
+
'body' => $field_string,
|
275 |
+
'timeout' => '5',
|
276 |
+
'redirection' => '5',
|
277 |
+
'httpversion' => '1.0',
|
278 |
+
'blocking' => true,
|
279 |
+
'headers' => $headers
|
280 |
+
);
|
281 |
+
$response = self::mo_openid_wp_remote_post($url, $args);
|
282 |
+
return $response['body'];
|
283 |
+
}
|
284 |
+
function submit_contact_us( $email, $phone, $query, $feature_plan ) {
|
285 |
+
$url = get_option('mo_openid_host_name') . '/moas/rest/customer/contact-us';
|
286 |
+
$current_user = wp_get_current_user();
|
287 |
+
$company = get_option('mo_openid_admin_company_name') ? get_option('mo_openid_admin_company_name') : $_SERVER ['SERVER_NAME'];
|
288 |
+
$first_name = get_option('mo_openid_admin_first_name') ? get_option('mo_openid_admin_first_name') : $current_user->user_firstname;
|
289 |
+
$last_name = get_option('mo_openid_admin_last_name') ? get_option('mo_openid_admin_last_name') : $current_user->user_lastname;
|
290 |
+
$query = '[WP OpenID Connect Login Free Plugin Version: '.get_option('mo_openid_social_login_version').'] ' .$feature_plan.":".$query;
|
291 |
+
$fields = array(
|
292 |
+
'firstName' => $first_name,
|
293 |
+
'lastName' => $last_name,
|
294 |
+
'company' => $company,
|
295 |
+
'email' => $email,
|
296 |
+
'ccEmail' => 'socialloginsupport@xecurify.com',
|
297 |
+
'phone' => $phone,
|
298 |
+
'query' => $query
|
299 |
+
);
|
300 |
+
$field_string = json_encode( $fields );
|
301 |
+
$headers = array("Content-Type"=>"application/json","charset"=>"UTF-8","Authorization"=>"Basic");
|
302 |
+
$args = array(
|
303 |
+
'method' => 'POST',
|
304 |
+
'body' => $field_string,
|
305 |
+
'timeout' => '5',
|
306 |
+
'redirection' => '5',
|
307 |
+
'httpversion' => '1.0',
|
308 |
+
'blocking' => true,
|
309 |
+
'headers' => $headers
|
310 |
+
);
|
311 |
+
$response = self::mo_openid_wp_remote_post($url, $args);
|
312 |
+
return $response['body'];
|
313 |
+
}
|
314 |
+
|
315 |
+
function forgot_password($email){
|
316 |
+
|
317 |
+
$url = get_option('mo_openid_host_name') . '/moas/rest/customer/password-reset';
|
318 |
+
/* The customer Key provided to you */
|
319 |
+
$customerKey = get_option('mo_openid_admin_customer_key');
|
320 |
+
|
321 |
+
/* The customer API Key provided to you */
|
322 |
+
$apiKey = get_option('mo_openid_admin_api_key');
|
323 |
+
|
324 |
+
/* Current time in milliseconds since midnight, January 1, 1970 UTC. */
|
325 |
+
$currentTimeInMillis = round ( microtime ( true ) * 1000 );
|
326 |
+
$stringToHash = $customerKey . number_format ( $currentTimeInMillis, 0, '', '' ) . $apiKey;
|
327 |
+
$hashValue = hash("sha512", $stringToHash);
|
328 |
+
|
329 |
+
$fields = '';
|
330 |
+
|
331 |
+
//*check for otp over sms/email
|
332 |
+
$fields = array(
|
333 |
+
'email' => $email
|
334 |
+
);
|
335 |
+
|
336 |
+
$field_string = json_encode($fields);
|
337 |
+
|
338 |
+
$headers = array(
|
339 |
+
"Content-Type" => "application/json",
|
340 |
+
"Customer-Key" => $customerKey,
|
341 |
+
"Timestamp" => $currentTimeInMillis,
|
342 |
+
"Authorization" => $hashValue
|
343 |
+
);
|
344 |
+
$args = array(
|
345 |
+
'method' => 'POST',
|
346 |
+
'body' => $field_string,
|
347 |
+
'timeout' => '5',
|
348 |
+
'redirection' => '5',
|
349 |
+
'httpversion' => '1.0',
|
350 |
+
'blocking' => true,
|
351 |
+
'headers' => $headers
|
352 |
+
);
|
353 |
+
$response = self::mo_openid_wp_remote_post($url, $args);
|
354 |
+
return $response['body'];
|
355 |
+
}
|
356 |
+
|
357 |
+
function check_customer_ln($licience_type){
|
358 |
+
$url = get_option('mo_openid_host_name') . '/moas/rest/customer/license';
|
359 |
+
$customerKey = get_option ( 'mo_openid_admin_customer_key' );
|
360 |
+
$apiKey = get_option ( 'mo_openid_admin_api_key' );
|
361 |
+
$currentTimeInMillis = self::get_timestamp();
|
362 |
+
$stringToHash = $customerKey . $currentTimeInMillis . $apiKey;
|
363 |
+
$hashValue = hash("sha512", $stringToHash);
|
364 |
+
if($licience_type=="general") {
|
365 |
+
$fields = array(
|
366 |
+
'customerId' => $customerKey,
|
367 |
+
'applicationName' => 'wp_social_login_premium'
|
368 |
+
);
|
369 |
+
}
|
370 |
+
else if($licience_type=="extra_attributes_addon") {
|
371 |
+
$fields = array(
|
372 |
+
'customerId' => $customerKey,
|
373 |
+
'applicationName' => 'wp_social_login_extra_attributes_addon'
|
374 |
+
);
|
375 |
+
}
|
376 |
+
$field_string = json_encode($fields);
|
377 |
+
$headers = array(
|
378 |
+
"Content-Type" => "application/json",
|
379 |
+
"Customer-Key" => $customerKey,
|
380 |
+
"Timestamp" => $currentTimeInMillis,
|
381 |
+
"Authorization" => $hashValue
|
382 |
+
);
|
383 |
+
$args = array(
|
384 |
+
'method' => 'POST',
|
385 |
+
'body' => $field_string,
|
386 |
+
'timeout' => '5',
|
387 |
+
'redirection' => '5',
|
388 |
+
'httpversion' => '1.0',
|
389 |
+
'blocking' => true,
|
390 |
+
'headers' => $headers
|
391 |
+
);
|
392 |
+
$response = self::mo_openid_wp_remote_post($url, $args);
|
393 |
+
return $response['body'];
|
394 |
+
}
|
395 |
+
|
396 |
+
function mo_openid_vl($code,$active) {
|
397 |
+
if($active)
|
398 |
+
$url = get_option ( 'mo_openid_host_name' ) . '/moas/api/backupcode/check';
|
399 |
+
else
|
400 |
+
$url = get_option ( 'mo_openid_host_name' ) . '/moas/api/backupcode/verify';
|
401 |
+
|
402 |
+
|
403 |
+
/* The customer Key provided to you */
|
404 |
+
$customerKey = get_option ( 'mo_openid_admin_customer_key' );
|
405 |
+
|
406 |
+
/* The customer API Key provided to you */
|
407 |
+
$apiKey = get_option ( 'mo_openid_admin_api_key' );
|
408 |
+
|
409 |
+
$currentTimeInMillis = self::get_timestamp();
|
410 |
+
$stringToHash = $customerKey . $currentTimeInMillis . $apiKey;
|
411 |
+
$hashValue = hash ( "sha512", $stringToHash );
|
412 |
+
|
413 |
+
// *check for otp over sms/email
|
414 |
+
|
415 |
+
$fields = array (
|
416 |
+
'code' => $code ,
|
417 |
+
'customerKey' => $customerKey,
|
418 |
+
'additionalFields' => array(
|
419 |
+
'field1' => home_url()
|
420 |
+
)
|
421 |
+
|
422 |
+
);
|
423 |
+
|
424 |
+
$field_string = json_encode ( $fields );
|
425 |
+
|
426 |
+
$headers = array(
|
427 |
+
"Content-Type" => "application/json",
|
428 |
+
"Customer-Key" => $customerKey,
|
429 |
+
"Timestamp" => $currentTimeInMillis,
|
430 |
+
"Authorization" => $hashValue
|
431 |
+
);
|
432 |
+
$args = array(
|
433 |
+
'method' => 'POST',
|
434 |
+
'body' => $field_string,
|
435 |
+
'timeout' => '5',
|
436 |
+
'redirection' => '5',
|
437 |
+
'httpversion' => '1.0',
|
438 |
+
'blocking' => true,
|
439 |
+
'headers' => $headers
|
440 |
+
);
|
441 |
+
$response = self::mo_openid_wp_remote_post($url, $args);
|
442 |
+
return $response['body'];
|
443 |
+
|
444 |
+
}
|
445 |
+
|
446 |
+
function mo_openid_update_status(){
|
447 |
+
|
448 |
+
$url = get_option ( 'mo_openid_host_name' ) . '/moas/api/backupcode/updatestatus';
|
449 |
+
$customerKey = get_option ( 'mo_openid_admin_customer_key' );
|
450 |
+
$apiKey = get_option ( 'mo_openid_admin_api_key' );
|
451 |
+
|
452 |
+
$currentTimeInMillis = self::get_timestamp();
|
453 |
+
$stringToHash = $customerKey . $currentTimeInMillis . $apiKey;
|
454 |
+
$hashValue = hash("sha512", $stringToHash);
|
455 |
+
|
456 |
+
$customerKeyHeader = "Customer-Key: " . $customerKey;
|
457 |
+
$timestampHeader = "Timestamp: " . number_format ( $currentTimeInMillis, 0, '', '' );
|
458 |
+
$authorizationHeader = "Authorization: " . $hashValue;
|
459 |
+
$key = get_option('mo_openid_customer_token');
|
460 |
+
$code = MOAESEncryption::decrypt_data(get_option('mo_openid_opn_lk'),$key);
|
461 |
+
$fields = array ( 'code' => $code , 'customerKey' => $customerKey, 'additionalFields' => array('field1' => home_url()) );
|
462 |
+
$field_string = json_encode ( $fields );
|
463 |
+
$headers = array(
|
464 |
+
"Content-Type" => "application/json",
|
465 |
+
"Customer-Key" => $customerKey,
|
466 |
+
"Timestamp" => $currentTimeInMillis,
|
467 |
+
"Authorization" => $hashValue
|
468 |
+
);
|
469 |
+
$args = array(
|
470 |
+
'method' => 'POST',
|
471 |
+
'body' => $field_string,
|
472 |
+
'timeout' => '5',
|
473 |
+
'redirection' => '5',
|
474 |
+
'httpversion' => '1.0',
|
475 |
+
'blocking' => true,
|
476 |
+
'headers' => $headers
|
477 |
+
);
|
478 |
+
$response = self::mo_openid_wp_remote_post($url, $args);
|
479 |
+
return $response['body'];
|
480 |
+
}
|
481 |
+
|
482 |
+
function mo_openid_wp_remote_post($url, $args = array()){
|
483 |
+
|
484 |
+
$response = wp_remote_post($url, $args);
|
485 |
+
if(!is_wp_error($response)){
|
486 |
+
return $response;
|
487 |
+
} else {
|
488 |
+
update_option('mo_openid_message', 'Unable to connect to the Internet. Please try again.');
|
489 |
+
mo_openid_success_message();
|
490 |
+
}
|
491 |
+
}
|
492 |
+
|
493 |
+
}?>
|
class-mo-openid-login-widget.php
CHANGED
@@ -1,2753 +1,2158 @@
|
|
1 |
Â
<?php
|
2 |
-
include "
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
$instance = array();
|
34 |
-
$instance['wid_title'] = strip_tags( $new_instance['wid_title'] );
|
35 |
-
return $instance;
|
36 |
-
}
|
37 |
Â
|
38 |
-
public function openidloginForm()
|
39 |
-
{
|
40 |
-
if (mo_openid_is_customer_registered()) {
|
41 |
-
if ($GLOBALS['pagenow'] === 'wp-login.php') {
|
42 |
-
?>
|
43 |
-
<script
|
44 |
-
src="https://code.jquery.com/jquery-1.12.4.js"
|
45 |
-
integrity="sha256-Qw82+bXyGq6MydymqBxNPYTaUXXq7c8v3CwiYwLLNXU="
|
46 |
-
crossorigin="anonymous"></script>
|
47 |
-
<?php
|
48 |
-
}
|
49 |
Â
|
50 |
-
|
51 |
-
$appsConfigured = get_option('mo_openid_google_enable') | get_option('mo_openid_salesforce_enable') | get_option('mo_openid_facebook_enable') | get_option('mo_openid_linkedin_enable') | get_option('mo_openid_instagram_enable') | get_option('mo_openid_amazon_enable') | get_option('mo_openid_windowslive_enable') | get_option('mo_openid_twitter_enable') | get_option('mo_openid_vkontakte_enable');
|
52 |
-
$spacebetweenicons = esc_attr(get_option('mo_login_icon_space'));
|
53 |
-
$customWidth = esc_attr(get_option('mo_login_icon_custom_width'));
|
54 |
-
$customHeight = esc_attr(get_option('mo_login_icon_custom_height'));
|
55 |
-
$customSize = esc_attr(get_option('mo_login_icon_custom_size'));
|
56 |
-
$customBackground = esc_attr(get_option('mo_login_icon_custom_color'));
|
57 |
-
$customTheme = esc_attr(get_option('mo_openid_login_custom_theme'));
|
58 |
-
$customTextofTitle = esc_attr(get_option('mo_openid_login_button_customize_text'));
|
59 |
-
$customBoundary = esc_attr(get_option('mo_login_icon_custom_boundary'));
|
60 |
-
$customLogoutName = esc_attr(get_option('mo_openid_login_widget_customize_logout_name_text'));
|
61 |
-
$customLogoutLink = (get_option('mo_openid_login_widget_customize_logout_text'));
|
62 |
-
$customTextColor= esc_attr(get_option('mo_login_openid_login_widget_customize_textcolor'));
|
63 |
-
$customText = esc_html(get_option('mo_openid_login_widget_customize_text'));
|
64 |
-
|
65 |
-
$facebook_custom_app = esc_attr($this->if_custom_app_exists('facebook'));
|
66 |
-
$google_custom_app = esc_attr($this->if_custom_app_exists('google'));
|
67 |
-
$twitter_custom_app = esc_attr($this->if_custom_app_exists('twitter'));
|
68 |
-
$salesforce_custom_app = esc_attr($this->if_custom_app_exists('salesforce'));
|
69 |
-
$linkedin_custom_app = esc_attr($this->if_custom_app_exists('linkedin'));
|
70 |
-
$windowslive_custom_app = esc_attr($this->if_custom_app_exists('windowslive'));
|
71 |
-
$vkontakte_custom_app = esc_attr($this->if_custom_app_exists('vkontakte'));
|
72 |
-
$amazon_custom_app = esc_attr($this->if_custom_app_exists('amazon'));
|
73 |
-
$instagram_custom_app = esc_attr($this->if_custom_app_exists('instagram'));
|
74 |
-
$yahoo_custom_app = esc_attr($this->if_custom_app_exists('yahoo'));
|
75 |
-
if (get_option('mo_openid_gdpr_consent_enable')) {
|
76 |
-
$gdpr_setting = "disabled='disabled'";
|
77 |
-
} else
|
78 |
-
$gdpr_setting = '';
|
79 |
-
|
80 |
-
$url = esc_url(get_option('mo_openid_privacy_policy_url'));
|
81 |
-
$text = esc_html(get_option('mo_openid_privacy_policy_text'));
|
82 |
-
|
83 |
-
if (!empty($text) && strpos(get_option('mo_openid_gdpr_consent_message'), $text)) {
|
84 |
-
$consent_message = str_replace(get_option('mo_openid_privacy_policy_text'), '<a target="_blank" href="' . $url . '">' . $text . '</a>', get_option('mo_openid_gdpr_consent_message'));
|
85 |
-
} else if (empty($text)) {
|
86 |
-
$consent_message = get_option('mo_openid_gdpr_consent_message');
|
87 |
-
}
|
88 |
Â
|
89 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
90 |
Â
|
91 |
-
|
92 |
-
|
93 |
-
?>
|
94 |
Â
|
95 |
-
|
Â
|
|
96 |
Â
|
97 |
-
|
98 |
-
|
99 |
-
<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
100 |
-
$consent_message = isset($consent_message) ? $consent_message : ''; ?>
|
101 |
-
<label class="mo-consent" style="padding-right: 10px;"><input type="checkbox"
|
102 |
-
onchange="mo_openid_on_consent_change(this,value)"
|
103 |
-
value="1"
|
104 |
-
id="mo_openid_consent_checkbox"><?php echo $consent_message; ?>
|
105 |
-
</label>
|
106 |
-
<br>
|
107 |
-
<?php }
|
108 |
Â
|
109 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
110 |
Â
|
111 |
-
if (get_option('mo_openid_facebook_enable')) {
|
112 |
-
if ($selected_theme == 'longbutton') {
|
113 |
Â
|
114 |
-
|
115 |
Â
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
} ?> login-button" rel='nofollow'
|
125 |
-
title="<?php echo $customTextofTitle ?> Facebook"
|
126 |
-
onClick="moOpenIdLogin('facebook','<?php echo $facebook_custom_app ?>');"><img
|
127 |
-
alt='Facebook'
|
128 |
-
style="width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important"
|
129 |
-
src="<?php echo plugins_url('includes/images/icons/facebook.png', __FILE__) ?>"
|
130 |
-
class="<?php echo $selected_theme; ?> <?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
131 |
-
echo "dis";
|
132 |
-
} ?> login-button"></a>
|
133 |
-
<?php }
|
134 |
Â
|
135 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
136 |
Â
|
137 |
-
|
138 |
-
|
139 |
-
?>
|
140 |
-
|
141 |
-
<a rel='nofollow' <?php echo $gdpr_setting; ?>
|
142 |
-
onClick="moOpenIdLogin('google','<?php echo $google_custom_app ?>');"
|
143 |
-
style='background: rgb(255,255,255)!important; background:linear-gradient(90deg, rgba(255,255,255,1) 38px, rgb(79, 113, 232) 5%) !important; width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;border-color: rgba(79, 113, 232, 1);border-bottom-width: thin;'
|
144 |
-
class='btn-mo btn btn-block btn-social btn-google btn-custom-size login-button'>
|
145 |
-
<i style='border-right:none;padding-top:<?php echo $customHeight - 30 ?>px !important'
|
146 |
-
class='fa'><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 70 70" style="padding-left: 8%;" ><defs><path id="a" d="M44.5 20H24v8.5h11.8C34.7 33.9 30.1 37 24 37c-7.2 0-13-5.8-13-13s5.8-13 13-13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 4.1 29.6 2 24 2 11.8 2 2 11.8 2 24s9.8 22 22 22c11 0 21-8 21-22 0-1.3-.2-2.7-.5-4z"/></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"/></clipPath><path clip-path="url(#b)" fill="#FBBC05" d="M0 37V11l17 13z"/><path clip-path="url(#b)" fill="#EA4335" d="M0 11l17 13 7-6.1L48 14V0H0z"/><path clip-path="url(#b)" fill="#34A853" d="M0 37l30-23 7.9 1L48 0v48H0z"/><path clip-path="url(#b)" fill="#4285F4" d="M48 48L17 24l-4-3 35-10z"/></svg></i><span style="color:#FFFFFF;"><?php echo get_option('mo_openid_login_button_customize_text'); ?> Google</span></a>
|
147 |
-
<?php } else { ?>
|
148 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
149 |
-
echo "dis";
|
150 |
-
} ?> login-button" rel='nofollow'
|
151 |
-
onClick="moOpenIdLogin('google','<?php echo $google_custom_app ?>');"
|
152 |
-
title="<?php echo $customTextofTitle ?> Google"><img alt='Google'
|
153 |
-
style="width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important"
|
154 |
-
src="<?php echo plugins_url('includes/images/icons/google.png', __FILE__) ?>"
|
155 |
-
class="<?php echo $selected_theme; ?> <?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
156 |
-
echo "dis";
|
157 |
-
} ?> login-button"></a>
|
158 |
-
<?php
|
159 |
-
}
|
160 |
-
}
|
161 |
Â
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
onClick="moOpenIdLogin('vkontakte','<?php echo $vkontakte_custom_app ?>');"
|
168 |
-
style='width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;'
|
169 |
-
class='btn-mo btn btn-block btn-social btn-vk btn-custom-size login-button'>
|
170 |
-
<i style='padding-top:<?php echo $customHeight - 35 ?>px !important'
|
171 |
-
class='fa fa-vk'></i><?php
|
172 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> Vkontakte</a>
|
173 |
-
<?php } else { ?>
|
174 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
175 |
-
echo "dis";
|
176 |
-
} ?> login-button" rel='nofollow'
|
177 |
-
onClick="moOpenIdLogin('vkontakte','<?php echo $vkontakte_custom_app ?>');"
|
178 |
-
title="<?php echo $customTextofTitle ?> Vkontakte"><img alt='Vkontakte'
|
179 |
-
style="width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important"
|
180 |
-
src="<?php echo plugins_url('includes/images/icons/vk.png', __FILE__) ?>"
|
181 |
-
class="<?php echo $selected_theme; ?> <?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
182 |
-
echo "dis";
|
183 |
-
} ?> login-button"></a>
|
184 |
-
<?php
|
185 |
-
}
|
186 |
-
}
|
187 |
Â
|
188 |
-
if (get_option('mo_openid_twitter_enable')) {
|
189 |
-
if ($selected_theme == 'longbutton') {
|
190 |
-
?> <a rel='nofollow' <?php echo $gdpr_setting; ?>
|
191 |
-
onClick="moOpenIdLogin('twitter','<?php echo $twitter_custom_app ?>');"
|
192 |
-
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
193 |
-
class="btn-mo btn btn-block btn-social btn-twitter btn-custom-size login-button">
|
194 |
-
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
195 |
-
class="fa fa-twitter"></i><?php
|
196 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> Twitter</a>
|
197 |
-
<?php } else { ?>
|
198 |
-
|
199 |
-
|
200 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
201 |
-
echo "dis";
|
202 |
-
} ?> login-button" rel='nofollow'
|
203 |
-
title="<?php echo $customTextofTitle ?> Twitter"
|
204 |
-
onClick="moOpenIdLogin('twitter','<?php echo $twitter_custom_app ?>');"><img
|
205 |
-
alt='Twitter'
|
206 |
-
style="width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important"
|
207 |
-
src="<?php echo plugins_url('includes/images/icons/twitter.png', __FILE__) ?>"
|
208 |
-
class="<?php echo $selected_theme; ?> <?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
209 |
-
echo "dis";
|
210 |
-
} ?> login-button"></a>
|
211 |
-
<?php }
|
212 |
-
}
|
213 |
Â
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
class="btn-mo btn btn-block btn-social btn-linkedin btn-custom-size login-button">
|
220 |
-
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
221 |
-
class="fa fa-linkedin"></i><?php
|
222 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> LinkedIn</a>
|
223 |
-
<?php } else { ?>
|
224 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
225 |
-
echo "dis";
|
226 |
-
} ?> login-button" rel='nofollow' <?php echo $gdpr_setting; ?>
|
227 |
-
title="<?php echo $customTextofTitle ?> LinkedIn"
|
228 |
-
onClick="moOpenIdLogin('linkedin','<?php echo $linkedin_custom_app ?>');"><img
|
229 |
-
alt='LinkedIn'
|
230 |
-
style="width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important"
|
231 |
-
src="<?php echo plugins_url('includes/images/icons/linkedin.png', __FILE__) ?>"
|
232 |
-
class="<?php echo $selected_theme; ?> <?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
233 |
-
echo "dis";
|
234 |
-
} ?> btn-mo login-button"></a>
|
235 |
-
<?php }
|
236 |
-
}
|
237 |
Â
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
243 |
-
class="btn-mo btn btn-block btn-social btn-instagram btn-custom-size login-button">
|
244 |
-
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
245 |
-
class="fa fa-instagram"></i><?php
|
246 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> Instagram</a>
|
247 |
-
<?php } else { ?>
|
248 |
-
|
249 |
-
|
250 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
251 |
-
echo "dis";
|
252 |
-
} ?> login-button" rel='nofollow' <?php echo $gdpr_setting; ?>
|
253 |
-
title="<?php echo $customTextofTitle ?> Instagram"
|
254 |
-
onClick="moOpenIdLogin('instagram','<?php echo $instagram_custom_app ?>');"><img
|
255 |
-
alt='Instagram'
|
256 |
-
style="width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important"
|
257 |
-
src="<?php echo plugins_url('includes/images/icons/instagram.png', __FILE__) ?>"
|
258 |
-
class="<?php echo $selected_theme; ?> <?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
259 |
-
echo "dis";
|
260 |
-
} ?> login-button"></a>
|
261 |
-
<?php }
|
262 |
-
}
|
263 |
Â
|
264 |
-
|
265 |
-
if ($selected_theme == 'longbutton') {
|
266 |
-
?> <a rel='nofollow' <?php echo $gdpr_setting; ?>
|
267 |
-
onClick="moOpenIdLogin('amazon','<?php echo $amazon_custom_app ?>');"
|
268 |
-
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
269 |
-
class="btn-mo btn btn-block btn-social btn-soundcloud btn-custom-size login-button">
|
270 |
-
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
271 |
-
class="fa fa-amazon"></i><?php
|
272 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> Amazon</a>
|
273 |
-
<?php } else { ?>
|
274 |
-
|
275 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
276 |
-
echo "dis";
|
277 |
-
} ?> login-button" rel='nofollow' <?php echo $gdpr_setting; ?>
|
278 |
-
title="<?php echo $customTextofTitle ?> Amazon"
|
279 |
-
onClick="moOpenIdLogin('amazon','<?php echo $amazon_custom_app ?>');"><img
|
280 |
-
alt='Amazon'
|
281 |
-
style="width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important"
|
282 |
-
src="<?php echo plugins_url('includes/images/icons/amazon.png', __FILE__) ?>"
|
283 |
-
class="<?php echo $selected_theme; ?> <?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
284 |
-
echo "dis";
|
285 |
-
} ?> login-button"></a>
|
286 |
-
<?php }
|
287 |
-
}
|
288 |
Â
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
314 |
Â
|
315 |
-
if (get_option('mo_openid_windowslive_enable')) {
|
316 |
-
if ($selected_theme == 'longbutton') {
|
317 |
-
?> <a rel='nofollow'
|
318 |
-
<?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('windowslive','<?php echo $windowslive_custom_app ?>');"
|
319 |
-
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
320 |
-
class="btn-mo btn btn-block btn-social btn-microsoft btn-custom-size login-button">
|
321 |
-
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
322 |
-
class="fa fa-windows"></i><?php
|
323 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> Microsoft</a>
|
324 |
-
<?php } else { ?>
|
325 |
-
|
326 |
-
|
327 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
328 |
-
echo "dis";
|
329 |
-
} ?> login-button" rel='nofollow'
|
330 |
-
<?php echo $gdpr_setting; ?>title="<?php echo $customTextofTitle ?> Microsoft"
|
331 |
-
onClick="moOpenIdLogin('windowslive','<?php echo $windowslive_custom_app ?>');"><img
|
332 |
-
alt='Windowslive'
|
333 |
-
style="width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important"
|
334 |
-
src="<?php echo plugins_url('includes/images/icons/windowslive.png', __FILE__) ?>"
|
335 |
-
class="<?php echo $selected_theme; ?> <?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
336 |
-
echo "dis";
|
337 |
-
} ?> login-button"></a>
|
338 |
-
<?php }
|
339 |
-
}
|
340 |
-
if (get_option('mo_openid_yahoo_enable')) {
|
341 |
-
if ($selected_theme == 'longbutton') {
|
342 |
-
?><a rel='nofollow' <?php echo $gdpr_setting; ?>
|
343 |
-
onClick="moOpenIdLogin('yahoo','<?php echo $yahoo_custom_app ?>');"
|
344 |
-
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
345 |
-
class="btn-mo btn btn-block btn-social btn-yahoo btn-custom-size login-button" >
|
346 |
-
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
347 |
-
class="fa fa-yahoo"></i><?php
|
348 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> Yahoo</a>
|
349 |
-
<?php
|
350 |
-
} else {
|
351 |
-
?><a class=" <?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
352 |
-
echo "dis";
|
353 |
-
} ?> login-button" rel='nofollow' title="<?php echo $customTextofTitle ?> Yahoo"
|
354 |
-
onClick="moOpenIdLogin('yahoo','<?php echo $yahoo_custom_app ?>');"><img
|
355 |
-
alt='Yahoo'
|
356 |
-
style="width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important"
|
357 |
-
src="<?php echo plugins_url('includes/images/icons/yahoo.png', __FILE__) ?>"
|
358 |
-
class="<?php echo $selected_theme; ?> <?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
359 |
-
echo "dis";
|
360 |
-
} ?> login-button"></a>
|
361 |
-
<?php }
|
362 |
Â
}
|
363 |
-
|
364 |
Â
}
|
365 |
-
?>
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
<?php
|
370 |
-
if ($customTheme == 'custom') {
|
371 |
-
if (get_option('mo_openid_facebook_enable')) {
|
372 |
-
if ($selected_theme == 'longbutton') {
|
373 |
-
?> <a rel='nofollow'
|
374 |
-
<?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('facebook','<?php echo $facebook_custom_app ?>');"
|
375 |
-
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
376 |
-
class="btn-mo btn btn-block btn-social btn-facebook btn-custom-size login-button">
|
377 |
-
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
378 |
-
class="fa"><svg xmlns="http://www.w3.org/2000/svg" style="padding-top:12%;border-right:none;margin-left: 2%;" ><path fill="#fff" d="M22.688 0H1.323C.589 0 0 .589 0 1.322v21.356C0 23.41.59 24 1.323 24h11.505v-9.289H9.693V11.09h3.124V8.422c0-3.1 1.89-4.789 4.658-4.789 1.322 0 2.467.1 2.8.145v3.244h-1.922c-1.5 0-1.801.711-1.801 1.767V11.1h3.59l-.466 3.622h-3.113V24h6.114c.734 0 1.323-.589 1.323-1.322V1.322A1.302 1.302 0 0 0 22.688 0z"/></svg></i><?php
|
379 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> Facebook</a>
|
380 |
-
<?php } else { ?>
|
381 |
-
|
382 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
383 |
-
echo "dis";
|
384 |
-
} ?> login-button" rel='nofollow'
|
385 |
-
onClick="moOpenIdLogin('facebook','<?php echo $facebook_custom_app ?>');"
|
386 |
-
title="<?php echo $customTextofTitle ?> Facebook"><i
|
387 |
-
style="margin-top:10px;!important;width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;font-size:<?php echo $customSize - 16 ?>px !important;"
|
388 |
-
class="fa fa-facebook custom-login-button <?php echo $selected_theme; ?>"></i></a>
|
389 |
-
|
390 |
-
<?php }
|
391 |
-
|
392 |
-
}
|
393 |
-
|
394 |
-
if (get_option('mo_openid_google_enable')) {
|
395 |
-
if ($selected_theme == 'longbutton') {
|
396 |
-
?>
|
397 |
-
|
398 |
-
<a rel='nofollow' <?php echo $gdpr_setting; ?>
|
399 |
-
onClick="moOpenIdLogin('google','<?php echo $google_custom_app ?>');"
|
400 |
-
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important; background:<?php echo "#" . $customBackground ?> !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
401 |
-
class="btn-mo btn btn-block btn-social btn-customtheme btn-custom-size login-button">
|
402 |
-
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
403 |
-
class="fa fa-google"></i><?php
|
404 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> Google</a>
|
405 |
-
<?php } else { ?>
|
406 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
407 |
-
echo "dis";
|
408 |
-
} ?> login-button" rel='nofollow'
|
409 |
-
onClick="moOpenIdLogin('google','<?php echo $google_custom_app ?>');"
|
410 |
-
title="<?php echo $customTextofTitle ?> Google"><i
|
411 |
-
style="margin-top:10px;!important;width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;font-size:<?php echo $customSize - 16 ?>px !important;"
|
412 |
-
class="fa fa-google custom-login-button <?php echo $selected_theme; ?>"></i></a>
|
413 |
-
<?php
|
414 |
-
}
|
415 |
-
}
|
416 |
-
|
417 |
-
if (get_option('mo_openid_vkontakte_enable')) {
|
418 |
-
if ($selected_theme == 'longbutton') {
|
419 |
-
?>
|
420 |
-
|
421 |
-
<a rel='nofollow'
|
422 |
-
<?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('vkontakte','<?php echo $vkontakte_custom_app ?>');"
|
423 |
-
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important; background:<?php echo "#" . $customBackground ?> !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
424 |
-
class="btn-mo btn btn-block btn-social btn-customtheme btn-custom-size login-button">
|
425 |
-
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
426 |
-
class="fa fa-vk"></i><?php
|
427 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> Vkontakte</a>
|
428 |
-
<?php } else { ?>
|
429 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
430 |
-
echo "dis";
|
431 |
-
} ?> login-button" rel='nofollow'
|
432 |
-
onClick="moOpenIdLogin('vkontakte','<?php echo $vkontakte_custom_app ?>');"
|
433 |
-
title="<?php echo $customTextofTitle ?> Vkontakte"><i
|
434 |
-
style="margin-top:10px;width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;font-size:<?php echo $customSize - 16 ?>px !important;"
|
435 |
-
class="fa fa-vk custom-login-button <?php echo $selected_theme; ?>"></i></a>
|
436 |
-
<?php
|
437 |
-
}
|
438 |
-
}
|
439 |
-
|
440 |
-
if (get_option('mo_openid_twitter_enable')) {
|
441 |
-
if ($selected_theme == 'longbutton') {
|
442 |
-
?>
|
443 |
-
|
444 |
-
<a rel='nofollow' <?php echo $gdpr_setting; ?>
|
445 |
-
onClick="moOpenIdLogin('twitter','<?php echo $twitter_custom_app ?>');"
|
446 |
-
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important; background:<?php echo "#" . $customBackground ?> !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
447 |
-
class="btn btn-mo btn-block btn-social btn-customtheme btn-custom-size login-button">
|
448 |
-
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
449 |
-
class="fa fa-twitter"></i><?php
|
450 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> Twitter</a>
|
451 |
-
<?php } else { ?>
|
452 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
453 |
-
echo "dis";
|
454 |
-
} ?> login-button" rel='nofollow'
|
455 |
-
onClick="moOpenIdLogin('twitter','<?php echo $twitter_custom_app ?>');"
|
456 |
-
title="<?php echo $customTextofTitle ?> Twitter"><i
|
457 |
-
style="margin-top:10px;width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;font-size:<?php echo $customSize - 16 ?>px !important;"
|
458 |
-
class="fa fa-twitter custom-login-button <?php echo $selected_theme; ?>"></i></a>
|
459 |
-
<?php
|
460 |
-
}
|
461 |
-
}
|
462 |
-
|
463 |
-
if (get_option('mo_openid_linkedin_enable')) {
|
464 |
-
if ($selected_theme == 'longbutton') { ?>
|
465 |
-
<a rel='nofollow'
|
466 |
-
<?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('linkedin','<?php echo $linkedin_custom_app ?>');"
|
467 |
-
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
468 |
-
class="btn btn-mo btn-block btn-social btn-linkedin btn-custom-size login-button">
|
469 |
-
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
470 |
-
class="fa fa-linkedin"></i><?php
|
471 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> LinkedIn</a>
|
472 |
-
<?php } else { ?>
|
473 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
474 |
-
echo "dis";
|
475 |
-
} ?> login-button" rel='nofollow'
|
476 |
-
onClick="moOpenIdLogin('linkedin','<?php echo $linkedin_custom_app ?>');"
|
477 |
-
title="<?php echo $customTextofTitle ?> LinkedIn"><i
|
478 |
-
style="margin-top:10px;width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;font-size:<?php echo $customSize - 16 ?>px !important;"
|
479 |
-
class="fa fa-linkedin custom-login-button <?php echo $selected_theme; ?>"></i></a>
|
480 |
-
<?php }
|
481 |
-
}
|
482 |
-
|
483 |
-
if (get_option('mo_openid_instagram_enable')) {
|
484 |
-
if ($selected_theme == 'longbutton') { ?>
|
485 |
-
<a rel='nofollow'
|
486 |
-
<?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('instagram','<?php echo $instagram_custom_app ?>');"
|
487 |
-
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;background:<?php echo "#" . $customBackground ?> !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
488 |
-
class="btn btn-block btn-mo btn-social btn-instagram btn-custom-size login-button">
|
489 |
-
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
490 |
-
class="fa fa-instagram"></i><?php
|
491 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> Instagram</a>
|
492 |
-
<?php } else { ?>
|
493 |
-
|
494 |
-
|
495 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
496 |
-
echo "dis";
|
497 |
-
} ?> login-button" rel='nofollow'
|
498 |
-
onClick="moOpenIdLogin('instagram','<?php echo $instagram_custom_app ?>');"
|
499 |
-
title="<?php echo $customTextofTitle ?> Instagram"><i
|
500 |
-
style="margin-top:10px;width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;font-size:<?php echo $customSize - 16 ?>px !important;"
|
501 |
-
class="fa fa-instagram custom-login-button <?php echo $selected_theme; ?>"></i></a>
|
502 |
-
<?php }
|
503 |
-
}
|
504 |
-
|
505 |
-
if (get_option('mo_openid_amazon_enable')) {
|
506 |
-
if ($selected_theme == 'longbutton') {
|
507 |
-
?> <a rel='nofollow' <?php echo $gdpr_setting; ?>
|
508 |
-
onClick="moOpenIdLogin('amazon','<?php echo $amazon_custom_app ?>');"
|
509 |
-
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
510 |
-
class="btn btn-mo btn-block btn-social btn-linkedin btn-custom-size login-button"><i
|
511 |
-
style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
512 |
-
class="fa fa-amazon"></i><?php
|
513 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> Amazon</a>
|
514 |
-
<?php } else { ?>
|
515 |
-
|
516 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
517 |
-
echo "dis";
|
518 |
-
} ?> login-button" rel='nofollow'
|
519 |
-
onClick="moOpenIdLogin('amazon','<?php echo $amazon_custom_app ?>');"
|
520 |
-
title="<?php echo $customTextofTitle ?> Amazon"><i
|
521 |
-
style="margin-top:10px;width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;font-size:<?php echo $customSize - 16 ?>px !important;"
|
522 |
-
class="fa fa-amazon custom-login-button <?php echo $selected_theme; ?>"></i></a>
|
523 |
-
<?php }
|
524 |
-
}
|
525 |
-
|
526 |
-
if (get_option('mo_openid_salesforce_enable')) {
|
527 |
-
if ($selected_theme == 'longbutton') {
|
528 |
-
?> <a rel='nofollow'
|
529 |
-
<?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('salesforce','<?php echo $salesforce_custom_app ?>');"
|
530 |
-
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
531 |
-
class="btn btn-mo btn-block btn-social btn-linkedin btn-custom-size login-button"><i
|
532 |
-
style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
533 |
-
class="fa fa-cloud"></i> <?php
|
534 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> Salesforce</a>
|
535 |
-
<?php } else { ?>
|
536 |
-
|
537 |
-
|
538 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
539 |
-
echo "dis";
|
540 |
-
} ?> login-button" rel='nofollow'
|
541 |
-
onClick="moOpenIdLogin('salesforce','<?php echo $salesforce_custom_app ?>');"
|
542 |
-
title="<?php echo $customTextofTitle ?> Salesforce"><i
|
543 |
-
style="margin-top:10px;width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;font-size:<?php echo $customSize - 16 ?>px "
|
544 |
-
class="fa fa-cloud custom-login-button <?php echo $selected_theme; ?>"></i></a>
|
545 |
-
<?php }
|
546 |
-
}
|
547 |
-
|
548 |
-
if (get_option('mo_openid_windowslive_enable')) {
|
549 |
-
if ($selected_theme == 'longbutton') {
|
550 |
-
?> <a rel='nofollow'
|
551 |
-
<?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('windowslive','<?php echo $windowslive_custom_app ?>');"
|
552 |
-
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
553 |
-
class="btn btn-mo btn-block btn-social btn-microsoft btn-custom-size login-button">
|
554 |
-
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
555 |
-
class="fa fa-windows"></i><?php
|
556 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> Microsoft</a>
|
557 |
-
<?php } else { ?>
|
558 |
-
|
559 |
-
|
560 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
561 |
-
echo "dis";
|
562 |
-
} ?> login-button" rel='nofollow'
|
563 |
-
onClick="moOpenIdLogin('windowslive','<?php echo $windowslive_custom_app ?>');"
|
564 |
-
title="<?php echo $customTextofTitle ?> Microsoft"><i
|
565 |
-
style="margin-top:10px;width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;font-size:<?php echo $customSize - 16 ?>px !important;"
|
566 |
-
class=" fa fa-windows custom-login-button <?php echo $selected_theme; ?>"></i></a>
|
567 |
-
<?php }
|
568 |
-
}
|
569 |
-
if (get_option('mo_openid_yahoo_enable')) {
|
570 |
-
if ($selected_theme == 'longbutton') {
|
571 |
-
?> <a rel='nofollow'
|
572 |
-
<?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('yahoo','<?php echo $yahoo_custom_app ?>');"
|
573 |
-
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
574 |
-
class="btn-mo btn btn-block btn-social btn-yahoo btn-custom-size login-button">
|
575 |
-
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
576 |
-
class="fa fa-yahoo"></i><?php
|
577 |
-
echo get_option('mo_openid_login_button_customize_text'); ?> Yahoo</a>
|
578 |
-
<?php } else { ?>
|
579 |
-
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
580 |
-
echo "dis";
|
581 |
-
} ?> login-button" rel='nofollow'
|
582 |
-
onClick="moOpenIdLogin('yahoo','<?php echo $yahoo_custom_app ?>');"
|
583 |
-
title="<?php echo $customTextofTitle ?> Yahoo"><i
|
584 |
-
style="margin-top:10px;!important;width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;font-size:<?php echo $customSize - 16 ?>px !important;"
|
585 |
-
class="fa fa-yahoo custom-login-button <?php echo $selected_theme; ?>"></i></a>
|
586 |
-
<?php }
|
587 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
588 |
Â
}
|
589 |
-
|
590 |
-
|
591 |
Â
}
|
592 |
-
|
593 |
-
<br>
|
594 |
-
</div>
|
595 |
-
<?php
|
596 |
-
|
597 |
-
|
598 |
-
} else {
|
599 |
-
?>
|
600 |
-
<div>No apps configured. Please contact your administrator.</div>
|
601 |
-
<?php
|
602 |
-
}
|
603 |
-
if ($appsConfigured && get_option('moopenid_logo_check') == 1) {
|
604 |
-
$logo_html = $this->mo_openid_customize_logo();
|
605 |
-
echo $logo_html;
|
606 |
Â
}
|
607 |
Â
?>
|
608 |
-
<br
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
</li>
|
621 |
-
</div>
|
622 |
-
<?php
|
623 |
-
|
624 |
-
} else {
|
625 |
-
?>
|
626 |
-
<div id="logged_in_user" class="mo_openid_login_wid">
|
627 |
-
<li><?php echo $link_with_username; ?> <a href="<?php echo wp_logout_url(site_url()); ?>"
|
628 |
-
title="<?php _e('Logout', 'flw'); ?>"><?php _e($customLogoutLink, 'flw'); ?></a>
|
629 |
-
</li>
|
630 |
-
</div>
|
631 |
-
<?php
|
632 |
-
}
|
633 |
-
}
|
634 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
635 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
636 |
Â
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
Â
}
|
Â
|
|
646 |
Â
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
652 |
Â
|
653 |
-
|
654 |
-
|
655 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
656 |
Â
return 'true';
|
Â
|
|
Â
|
|
657 |
Â
}
|
658 |
-
|
Â
|
|
659 |
Â
}
|
Â
|
|
Â
|
|
660 |
Â
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
$facebook_custom_app = esc_attr($this->if_custom_app_exists('facebook'));
|
689 |
-
$google_custom_app = esc_attr($this->if_custom_app_exists('google'));
|
690 |
-
$twitter_custom_app = esc_attr($this->if_custom_app_exists('twitter'));
|
691 |
-
$salesforce_custom_app = esc_attr($this->if_custom_app_exists('salesforce'));
|
692 |
-
$linkedin_custom_app = esc_attr($this->if_custom_app_exists('linkedin'));
|
693 |
-
$windowslive_custom_app = esc_attr($this->if_custom_app_exists('windowslive'));
|
694 |
-
$vkontakte_custom_app = esc_attr($this->if_custom_app_exists('vkontakte'));
|
695 |
-
$amazon_custom_app = esc_attr($this->if_custom_app_exists('amazon'));
|
696 |
-
$instagram_custom_app = esc_attr($this->if_custom_app_exists('instagram'));
|
697 |
-
$yahoo_custom_app = esc_attr($this->if_custom_app_exists('yahoo'));
|
698 |
-
|
699 |
-
if ($selected_theme == 'longbuttonwithtext') {
|
700 |
-
$selected_theme = 'longbutton';
|
701 |
-
}
|
702 |
-
if($selected_apps!="")
|
703 |
-
{
|
704 |
-
$apps=explode(',', $selected_apps);
|
705 |
-
}
|
706 |
-
if ($customTheme == 'custombackground') {
|
707 |
-
$customTheme = 'custom';
|
708 |
-
}
|
709 |
-
|
710 |
-
if (get_option('mo_openid_gdpr_consent_enable')) {
|
711 |
-
$gdpr_setting = "disabled='disabled'";
|
712 |
-
} else
|
713 |
-
$gdpr_setting = '';
|
714 |
-
|
715 |
-
$url = esc_url(get_option('mo_openid_privacy_policy_url'));
|
716 |
-
$text = esc_html(get_option('mo_openid_privacy_policy_text'));
|
717 |
-
|
718 |
-
if (!empty($text) && strpos(get_option('mo_openid_gdpr_consent_message'), $text)) {
|
719 |
-
$consent_message = str_replace(get_option('mo_openid_privacy_policy_text'), '<a target="_blank" href="' . $url . '">' . $text . '</a>', get_option('mo_openid_gdpr_consent_message'));
|
720 |
-
} else if (empty($text)) {
|
721 |
-
$consent_message = get_option('mo_openid_gdpr_consent_message');
|
722 |
-
}
|
723 |
-
|
724 |
-
if (get_option('mo_openid_gdpr_consent_enable')) {
|
725 |
-
$dis = "dis";
|
726 |
-
} else {
|
727 |
-
$dis = '';
|
728 |
-
}
|
729 |
-
|
730 |
-
if (!is_user_logged_in()) {
|
731 |
-
|
732 |
-
if ($appsConfigured|| $apps!="") {
|
733 |
-
$this->mo_openid_load_login_script();
|
734 |
-
$html .= "<div class='mo-openid-app-icons'>
|
735 |
-
|
736 |
-
<p style='color:#" . $customTextColor . "'> $customText</p>";
|
737 |
-
|
738 |
-
if (get_option('mo_openid_gdpr_consent_enable')) {
|
739 |
-
$html .= '<label class="mo-consent"><input type="checkbox" onchange="mo_openid_on_consent_change(this,value)" value="1" id="mo_openid_consent_checkbox">';
|
740 |
-
$html .= $consent_message . '</label><br>';
|
741 |
-
}
|
742 |
Â
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
$count = -1;
|
747 |
-
if($apps!="")
|
748 |
-
{
|
749 |
-
foreach ($apps as $select_apps)
|
750 |
-
{
|
751 |
-
$app_dis="";
|
752 |
-
if($selected_theme == 'longbutton')
|
753 |
-
{
|
754 |
-
if ($view == "horizontal" && isset($appcnt)) {
|
755 |
-
$count++;
|
756 |
-
if ($count == $appcnt) {
|
757 |
-
$html .= "<br/>";
|
758 |
-
$count = 0;
|
759 |
-
}
|
760 |
-
}
|
761 |
-
}
|
762 |
-
switch ($select_apps)
|
763 |
-
{
|
764 |
-
case 'fb':
|
765 |
-
$custom_app=$facebook_custom_app;
|
766 |
-
$custom_app=="false"?$app_dis="disable":$app_dis="";
|
767 |
-
$html = $this->add_apps("fb", "default", $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground,$app_dis);
|
768 |
-
break;
|
769 |
-
case 'google':
|
770 |
-
$custom_app=$google_custom_app;
|
771 |
-
$html=$this->add_apps("google","default",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
772 |
-
break;
|
773 |
-
case 'vk':
|
774 |
-
$custom_app=$vkontakte_custom_app;
|
775 |
-
$html=$this->add_apps("vk","default",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
776 |
-
break;
|
777 |
-
case 'twitter':
|
778 |
-
$custom_app=$twitter_custom_app;
|
779 |
-
$html=$this->add_apps("twitter","default",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
780 |
-
break;
|
781 |
-
case 'linkin':
|
782 |
-
$custom_app=$linkedin_custom_app;
|
783 |
-
$html=$this->add_apps("linkin","default",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
784 |
-
break;
|
785 |
-
case 'insta':
|
786 |
-
$custom_app=$instagram_custom_app;
|
787 |
-
$html=$this->add_apps("insta","default",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
788 |
-
break;
|
789 |
-
case 'amazon':
|
790 |
-
$custom_app=$amazon_custom_app;
|
791 |
-
$html=$this->add_apps("amazon","default",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
792 |
-
break;
|
793 |
-
case 'sforce':
|
794 |
-
$custom_app=$salesforce_custom_app;
|
795 |
-
$html=$this->add_apps("sforce","default",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
796 |
-
break;
|
797 |
-
case 'wlive':
|
798 |
-
$custom_app=$windowslive_custom_app;
|
799 |
-
$html=$this->add_apps("wlive","default",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
800 |
-
break;
|
801 |
-
case 'yahoo':
|
802 |
-
$custom_app=$yahoo_custom_app;
|
803 |
-
$html=$this->add_apps("yahoo","default",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
804 |
-
break;
|
805 |
-
}
|
806 |
-
}
|
807 |
-
}
|
808 |
Â
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
if ($count == $appcnt) {
|
815 |
-
$html .= "<br/>";
|
816 |
-
$count = 0;
|
817 |
-
}
|
818 |
-
}
|
819 |
-
}
|
820 |
-
$custom_app = $facebook_custom_app;
|
821 |
-
$html = $this->add_apps("fb", "default", $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground,$app_dis);
|
822 |
-
}
|
823 |
Â
|
824 |
-
|
825 |
-
|
826 |
-
if ($view == "horizontal" && isset($appcnt)) {
|
827 |
-
$count++;
|
828 |
-
if ($count == $appcnt) {
|
829 |
-
$html .= "<br/>";
|
830 |
-
$count = 0;
|
831 |
-
}
|
832 |
-
}
|
833 |
-
}
|
834 |
-
$custom_app = $google_custom_app;
|
835 |
-
$html = $this->add_apps("google", "default", $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground,$app_dis);
|
836 |
-
}
|
837 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
838 |
Â
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
if ($count == $appcnt) {
|
844 |
-
$html .= "<br/>";
|
845 |
-
$count = 0;
|
846 |
-
}
|
847 |
-
}
|
848 |
-
}
|
849 |
-
$custom_app=$vkontakte_custom_app;
|
850 |
-
$html=$this->add_apps("vk","default",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
851 |
-
}
|
852 |
Â
|
853 |
-
|
854 |
-
|
855 |
-
|
856 |
-
$count++;
|
857 |
-
if ($count == $appcnt) {
|
858 |
-
$html .= "<br/>";
|
859 |
-
$count = 0;
|
860 |
-
}
|
861 |
-
}
|
862 |
-
}
|
863 |
-
$custom_app=$twitter_custom_app;
|
864 |
-
$html=$this->add_apps("twitter","default",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
865 |
-
}
|
866 |
Â
|
867 |
-
|
868 |
-
|
869 |
-
|
870 |
-
|
871 |
-
|
872 |
-
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
if ($
|
882 |
-
|
883 |
-
|
884 |
-
if ($count == $appcnt) {
|
885 |
-
$html .= "<br/>";
|
886 |
-
$count = 0;
|
887 |
-
}
|
888 |
-
}
|
889 |
-
}
|
890 |
-
$custom_app=$instagram_custom_app;
|
891 |
-
$html=$this->add_apps("insta","default",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
892 |
-
}
|
893 |
-
if (get_option('mo_openid_amazon_enable')) {
|
894 |
-
if ($selected_theme == 'longbutton') {
|
895 |
-
if ($view == "horizontal" && isset($appcnt)) {
|
896 |
-
$count++;
|
897 |
-
if ($count == $appcnt) {
|
898 |
-
$html .= "<br/>";
|
899 |
-
$count = 0;
|
900 |
-
}
|
901 |
-
}
|
902 |
-
}
|
903 |
-
$custom_app=$amazon_custom_app;
|
904 |
-
$html=$this->add_apps("amazon","default",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
905 |
-
}
|
906 |
-
if (get_option('mo_openid_salesforce_enable')) {
|
907 |
-
if ($selected_theme == 'longbutton') {
|
908 |
-
if ($view == "horizontal" && isset($appcnt)) {
|
909 |
-
$count++;
|
910 |
-
if ($count == $appcnt) {
|
911 |
-
$html .= "<br/>";
|
912 |
-
$count = 0;
|
913 |
-
}
|
914 |
-
}
|
915 |
-
}
|
916 |
-
$custom_app=$salesforce_custom_app;
|
917 |
-
$html=$this->add_apps("sforce","default",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
918 |
-
}
|
919 |
-
if (get_option('mo_openid_windowslive_enable')) {
|
920 |
-
if ($selected_theme == 'longbutton') {
|
921 |
-
if ($view == "horizontal" && isset($appcnt)) {
|
922 |
-
$count++;
|
923 |
-
if ($count == $appcnt) {
|
924 |
-
$html .= "<br/>";
|
925 |
-
$count = 0;
|
926 |
-
}
|
927 |
-
}
|
928 |
-
}
|
929 |
-
$custom_app=$windowslive_custom_app;
|
930 |
-
$html=$this->add_apps("wlive","default",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
931 |
-
}
|
932 |
-
if (get_option('mo_openid_yahoo_enable')) {
|
933 |
-
|
934 |
-
if ($selected_theme == 'longbutton') {
|
935 |
-
if ($view == "horizontal" && isset($appcnt)) {
|
936 |
-
$count++;
|
937 |
-
if ($count == $appcnt) {
|
938 |
-
$html .= "<br/>";
|
939 |
-
$count = 0;
|
940 |
-
}
|
941 |
-
}
|
942 |
Â
}
|
943 |
-
$custom_app=$yahoo_custom_app;
|
944 |
-
$html=$this->add_apps("yahoo","default",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
945 |
Â
}
|
946 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
947 |
Â
}
|
948 |
-
|
949 |
-
|
950 |
-
|
951 |
-
|
952 |
-
{
|
953 |
-
|
954 |
-
|
955 |
-
$
|
956 |
-
|
957 |
-
|
958 |
-
$count++;
|
959 |
-
if ($count == $appcnt) {
|
960 |
-
$html .= "<br/>";
|
961 |
-
$count = 0;
|
962 |
-
}
|
963 |
-
}
|
964 |
-
}
|
965 |
-
switch ($select_apps)
|
966 |
-
{
|
967 |
-
case 'fb':
|
968 |
-
$custom_app=$facebook_custom_app;
|
969 |
-
$custom_app=="false"?$app_dis="disable":$app_dis="";
|
970 |
-
$html=$this->add_apps("fb","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
971 |
-
break;
|
972 |
-
|
973 |
-
case 'google':
|
974 |
-
$custom_app=$google_custom_app;
|
975 |
-
$html=$this->add_apps("google","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
976 |
-
break;
|
977 |
-
case 'vk':
|
978 |
-
$custom_app=$vkontakte_custom_app;
|
979 |
-
$html=$this->add_apps("vk","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
980 |
-
break;
|
981 |
-
case 'twitter':
|
982 |
-
$custom_app=$twitter_custom_app;
|
983 |
-
$html=$this->add_apps("twitter","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
984 |
-
break;
|
985 |
-
case 'linkin':
|
986 |
-
$custom_app=$linkedin_custom_app;
|
987 |
-
$html=$this->add_apps("linkin","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
988 |
-
break;
|
989 |
-
case 'insta':
|
990 |
-
$custom_app=$instagram_custom_app;
|
991 |
-
$html=$this->add_apps("insta","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
992 |
-
break;
|
993 |
-
case 'amazon':
|
994 |
-
$custom_app=$amazon_custom_app;
|
995 |
-
$html=$this->add_apps("amazon","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
996 |
-
break;
|
997 |
-
case 'sforce':
|
998 |
-
$custom_app=$salesforce_custom_app;
|
999 |
-
$html=$this->add_apps("sforce","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
1000 |
-
break;
|
1001 |
-
case 'wlive':
|
1002 |
-
$custom_app=$windowslive_custom_app;
|
1003 |
-
$html=$this->add_apps("wlive","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
1004 |
-
break;
|
1005 |
-
case 'yahoo':
|
1006 |
-
$custom_app=$yahoo_custom_app;
|
1007 |
-
$html=$this->add_apps("yahoo","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
1008 |
-
break;
|
1009 |
Â
}
|
1010 |
Â
}
|
1011 |
Â
}
|
1012 |
-
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
-
|
1021 |
-
|
1022 |
-
|
1023 |
-
|
1024 |
-
|
1025 |
-
|
1026 |
-
|
1027 |
-
|
1028 |
-
|
1029 |
-
|
1030 |
-
|
1031 |
-
|
1032 |
-
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
|
1039 |
-
|
1040 |
-
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
if ($view == "horizontal" && isset($appcnt)) {
|
1045 |
-
$count++;
|
1046 |
-
if ($count == $appcnt) {
|
1047 |
-
$html .= "<br/>";
|
1048 |
-
$count = 0;
|
1049 |
-
}
|
1050 |
-
}
|
1051 |
-
}
|
1052 |
-
$custom_app=$vkontakte_custom_app;
|
1053 |
-
$html=$this->add_apps("vk","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
1054 |
-
}
|
1055 |
-
|
1056 |
-
if (get_option('mo_openid_twitter_enable')) {
|
1057 |
-
if ($selected_theme == 'longbutton') {
|
1058 |
-
if ($view == "horizontal" && isset($appcnt)) {
|
1059 |
-
$count++;
|
1060 |
-
if ($count == $appcnt) {
|
1061 |
-
$html .= "<br/>";
|
1062 |
-
$count = 0;
|
1063 |
-
}
|
1064 |
-
}
|
1065 |
-
}
|
1066 |
-
$custom_app=$twitter_custom_app;
|
1067 |
-
$html=$this->add_apps("twitter","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
1068 |
-
}
|
1069 |
-
if (get_option('mo_openid_linkedin_enable')) {
|
1070 |
-
if ($selected_theme == 'longbutton') {
|
1071 |
-
if ($view == "horizontal" && isset($appcnt)) {
|
1072 |
-
$count++;
|
1073 |
-
if ($count == $appcnt) {
|
1074 |
-
$html .= "<br/>";
|
1075 |
-
$count = 0;
|
1076 |
-
}
|
1077 |
-
}
|
1078 |
-
}
|
1079 |
-
$custom_app=$linkedin_custom_app;
|
1080 |
-
$html=$this->add_apps("linkin","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
1081 |
-
}
|
1082 |
-
if (get_option('mo_openid_instagram_enable')) {
|
1083 |
-
if ($selected_theme == 'longbutton') {
|
1084 |
-
if ($view == "horizontal" && isset($appcnt)) {
|
1085 |
-
$count++;
|
1086 |
-
if ($count == $appcnt) {
|
1087 |
-
$html .= "<br/>";
|
1088 |
-
$count = 0;
|
1089 |
-
}
|
1090 |
-
}
|
1091 |
-
}
|
1092 |
-
$custom_app=$instagram_custom_app;
|
1093 |
-
$html=$this->add_apps("insta","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
1094 |
-
}
|
1095 |
-
if (get_option('mo_openid_amazon_enable')) {
|
1096 |
-
if ($selected_theme == 'longbutton') {
|
1097 |
-
if ($view == "horizontal" && isset($appcnt)) {
|
1098 |
-
$count++;
|
1099 |
-
if ($count == $appcnt) {
|
1100 |
-
$html .= "<br/>";
|
1101 |
-
$count = 0;
|
1102 |
-
}
|
1103 |
-
}
|
1104 |
-
}
|
1105 |
-
$custom_app=$amazon_custom_app;
|
1106 |
-
$html=$this->add_apps("amazon","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
1107 |
-
}
|
1108 |
-
if (get_option('mo_openid_salesforce_enable')) {
|
1109 |
-
if ($selected_theme == 'longbutton') {
|
1110 |
-
if ($view == "horizontal" && isset($appcnt)) {
|
1111 |
-
$count++;
|
1112 |
-
if ($count == $appcnt) {
|
1113 |
-
$html .= "<br/>";
|
1114 |
-
$count = 0;
|
1115 |
-
}
|
1116 |
-
}
|
1117 |
-
}
|
1118 |
-
$custom_app=$salesforce_custom_app;
|
1119 |
-
$html=$this->add_apps("sforce","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
1120 |
-
}
|
1121 |
-
if (get_option('mo_openid_windowslive_enable')) {
|
1122 |
-
if ($selected_theme == 'longbutton') {
|
1123 |
-
if ($view == "horizontal" && isset($appcnt)) {
|
1124 |
-
$count++;
|
1125 |
-
if ($count == $appcnt) {
|
1126 |
-
$html .= "<br/>";
|
1127 |
-
$count = 0;
|
1128 |
-
}
|
1129 |
-
}
|
1130 |
-
}
|
1131 |
-
$custom_app=$windowslive_custom_app;
|
1132 |
-
$html=$this->add_apps("wlive","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
1133 |
-
}
|
1134 |
-
if (get_option('mo_openid_yahoo_enable')) {
|
1135 |
-
if ($selected_theme == 'longbutton') {
|
1136 |
-
if ($view == "horizontal" && isset($appcnt)) {
|
1137 |
-
$count++;
|
1138 |
-
if ($count == $appcnt) {
|
1139 |
-
$html .= "<br/>";
|
1140 |
-
$count = 0;
|
1141 |
-
}
|
1142 |
-
}
|
1143 |
Â
}
|
1144 |
-
$custom_app=$yahoo_custom_app;
|
1145 |
-
$html=$this->add_apps("yahoo","custom",$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view, $customBackground,$app_dis);
|
1146 |
Â
}
|
1147 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1148 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1149 |
Â
|
1150 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1151 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1152 |
Â
} else {
|
1153 |
-
|
1154 |
-
$html .= '<div>No apps configured. Please contact your administrator.</div>';
|
1155 |
-
|
1156 |
-
}
|
1157 |
-
if ($appsConfigured && get_option('moopenid_logo_check') == 1) {
|
1158 |
-
$logo_html = $this->mo_openid_customize_logo();
|
1159 |
-
$html .= $logo_html;
|
1160 |
Â
}
|
1161 |
-
|
1162 |
-
|
Â
|
|
1163 |
Â
} else {
|
1164 |
-
|
1165 |
-
$current_user = wp_get_current_user();
|
1166 |
-
$customLogoutName = str_replace('##username##', $current_user->display_name, $customLogoutName);
|
1167 |
-
$flw = __($customLogoutLink, "flw");
|
1168 |
-
if (empty($customLogoutName) || empty($customLogoutLink)) {
|
1169 |
-
$html .= '<div id="logged_in_user" class="mo_openid_login_wid">' . $customLogoutName . ' <a href=' . $logoutUrl . ' title=" ' . $flw . '"> ' . $flw . '</a></div>';
|
1170 |
-
} else {
|
1171 |
-
$html .= '<div id="logged_in_user" class="mo_openid_login_wid">' . $customLogoutName . ' <a href=' . $logoutUrl . ' title=" ' . $flw . '"> ' . $flw . '</a></div>';
|
1172 |
-
}
|
1173 |
Â
}
|
1174 |
Â
return $html;
|
1175 |
Â
}
|
1176 |
-
|
1177 |
-
|
1178 |
-
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)
|
1179 |
-
{
|
1180 |
-
if($theme=="default")
|
1181 |
Â
{
|
1182 |
-
if($
|
1183 |
-
|
1184 |
-
if ($
|
1185 |
-
$html .= "
|
1186 |
-
if ($view == "horizontal") {
|
1187 |
-
$html .= "class='btn btn-mo btn-block-inline btn-social btn-facebook btn-custom-dec login-button'";
|
1188 |
-
} else {
|
1189 |
-
$html .= "class='btn btn-mo btn-block btn-social btn-facebook btn-custom-dec login-button'";
|
1190 |
-
}
|
1191 |
-
if($app_dis!="disable")
|
1192 |
-
$html .= "onClick=\"moOpenIdLogin('facebook','" . $custom_app . "');\"";
|
1193 |
-
$html .= "> <svg xmlns=\"http://www.w3.org/2000/svg\" style=\"padding-top:" . ($customHeight - 30) . "px;border-right:none;margin-left: 2%;\" ><path fill=\"#fff\" d=\"M22.688 0H1.323C.589 0 0 .589 0 1.322v21.356C0 23.41.59 24 1.323 24h11.505v-9.289H9.693V11.09h3.124V8.422c0-3.1 1.89-4.789 4.658-4.789 1.322 0 2.467.1 2.8.145v3.244h-1.922c-1.5 0-1.801.711-1.801 1.767V11.1h3.59l-.466 3.622h-3.113V24h6.114c.734 0 1.323-.589 1.323-1.322V1.322A1.302 1.302 0 0 0 22.688 0z\"/></svg>" . $buttonText . " Facebook</a>";
|
1194 |
Â
} else {
|
1195 |
-
$html .= "
|
1196 |
Â
}
|
1197 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1198 |
Â
}
|
1199 |
-
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
1206 |
-
|
1207 |
-
}
|
1208 |
-
$html .= "onClick=\"moOpenIdLogin('google','" . $custom_app . "');\"> <i style='padding-top:" . ($customHeight - 29) . "px !important;border-right:none;' class='fa'><svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 70 70\" style=\"padding-left: 8%;\" ><defs><path id=\"a\" d=\"M44.5 20H24v8.5h11.8C34.7 33.9 30.1 37 24 37c-7.2 0-13-5.8-13-13s5.8-13 13-13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 4.1 29.6 2 24 2 11.8 2 2 11.8 2 24s9.8 22 22 22c11 0 21-8 21-22 0-1.3-.2-2.7-.5-4z\"/></defs><clipPath id=\"b\"><use xlink:href=\"#a\" overflow=\"visible\"/></clipPath><path clip-path=\"url(#b)\" fill=\"#FBBC05\" d=\"M0 37V11l17 13z\"/><path clip-path=\"url(#b)\" fill=\"#EA4335\" d=\"M0 11l17 13 7-6.1L48 14V0H0z\"/><path clip-path=\"url(#b)\" fill=\"#34A853\" d=\"M0 37l30-23 7.9 1L48 0v48H0z\"/><path clip-path=\"url(#b)\" fill=\"#4285F4\" d=\"M48 48L17 24l-4-3 35-10z\"/></svg></i><span style=\"color:#ffffff;\">" . $buttonText . " Google</span></a>";
|
1209 |
Â
} else {
|
1210 |
-
$html .= "
|
1211 |
Â
}
|
1212 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1213 |
Â
}
|
1214 |
-
|
1215 |
-
|
1216 |
-
|
1217 |
-
|
1218 |
-
|
1219 |
-
|
1220 |
-
|
1221 |
-
|
1222 |
-
}
|
1223 |
-
$html .= "onClick=\"moOpenIdLogin('vkontakte','" . $custom_app . "');\"> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fa fa-vk'></i>" . $buttonText . " Vkontakte</a>";
|
1224 |
Â
} else {
|
1225 |
-
$html .= "
|
1226 |
Â
}
|
1227 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1228 |
Â
}
|
1229 |
-
|
1230 |
-
|
1231 |
-
|
1232 |
-
|
1233 |
-
|
1234 |
-
|
1235 |
-
|
1236 |
-
|
1237 |
-
}
|
1238 |
-
$html .= "onClick=\"moOpenIdLogin('twitter','" . $custom_app . "');\"> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fa fa-twitter'></i>" . $buttonText . " Twitter</a>";
|
1239 |
Â
} else {
|
1240 |
-
$html .= "
|
1241 |
Â
}
|
1242 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1243 |
Â
}
|
1244 |
-
|
1245 |
-
|
1246 |
-
|
1247 |
-
|
1248 |
-
|
1249 |
-
|
1250 |
-
|
1251 |
-
|
1252 |
-
}
|
1253 |
-
$html .= "onClick=\"moOpenIdLogin('linkedin','" . $custom_app . "');\"> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fa fa-linkedin'></i>" . $buttonText . " LinkedIn</a>";
|
1254 |
Â
} else {
|
1255 |
-
$html .= "
|
1256 |
Â
}
|
1257 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1258 |
Â
}
|
1259 |
-
|
1260 |
-
|
1261 |
-
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
}
|
1268 |
-
$html .= "onClick=\"moOpenIdLogin('instagram','" . $custom_app . "');\"> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fa fa-instagram'></i>" . $buttonText . " Instagram</a>";
|
1269 |
Â
} else {
|
1270 |
-
$html .= "
|
1271 |
Â
}
|
1272 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1273 |
Â
}
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
Â
|
|
Â
|
|
1284 |
Â
} else {
|
1285 |
-
$html .= "
|
1286 |
Â
}
|
1287 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1288 |
Â
}
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
}
|
1298 |
-
$html .= "onClick=\"moOpenIdLogin('salesforce','" . $custom_app . "');\"> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fa fa-cloud'></i>" . $buttonText . " Salesforce</a>";
|
1299 |
Â
} else {
|
1300 |
-
$html .= "
|
1301 |
Â
}
|
1302 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1303 |
Â
}
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
}
|
1313 |
-
$html .= " onClick=\"moOpenIdLogin('windowslive','" . $custom_app . "');\"> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fa fa-windows'></i>" . $buttonText . " Microsoft</a>";
|
1314 |
Â
} else {
|
1315 |
-
$html .= "
|
1316 |
Â
}
|
1317 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1318 |
Â
}
|
1319 |
-
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
-
|
1325 |
-
|
1326 |
-
|
1327 |
-
}
|
1328 |
-
$html .= "onClick=\"moOpenIdLogin('yaahoo','" . $custom_app . "');\"> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fa fa-yahoo'></i>" . $buttonText . " Yahoo</a>";
|
1329 |
Â
} else {
|
1330 |
-
$html .= "
|
1331 |
-
$customTextofTitle . " Yahoo' onClick=\"moOpenIdLogin('yaahoo','" . $custom_app . "');\" ><img alt='Yahoo' style='width:" . $customSize . "px !important;height: " . $customSize . "px !important;margin-left: " . ($spacebetweenicons) . "px !important' src='" . plugins_url('includes/images/icons/yahoo.png', __FILE__) . "' class='login-button " . $selected_theme . "' ></a>";
|
1332 |
Â
}
|
1333 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1334 |
Â
}
|
Â
|
|
1335 |
Â
}
|
Â
|
|
1336 |
Â
|
1337 |
-
|
1338 |
-
|
1339 |
-
|
1340 |
-
|
1341 |
-
|
1342 |
-
|
1343 |
-
|
1344 |
-
} else {
|
1345 |
-
$html .= "class='btn btn-mo btn-block btn-social btn-customtheme btn-custom-dec login-button'";
|
1346 |
-
}
|
1347 |
-
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fa fa-facebook'></i> " . $buttonText . " Facebook</a>";
|
1348 |
Â
} else {
|
1349 |
-
$html .= "
|
1350 |
Â
}
|
1351 |
-
|
Â
|
|
Â
|
|
1352 |
Â
}
|
1353 |
-
|
1354 |
-
|
1355 |
-
|
1356 |
-
|
1357 |
-
|
1358 |
-
|
1359 |
-
|
1360 |
-
}
|
1361 |
-
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fa fa-google'></i> " . $buttonText . " Google</a>";
|
1362 |
Â
} else {
|
1363 |
-
$html .= "
|
1364 |
Â
}
|
1365 |
-
|
Â
|
|
Â
|
|
1366 |
Â
}
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
}
|
1375 |
-
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fa fa-vk'></i> " . $buttonText . " Vkontakte</a>";
|
1376 |
Â
} else {
|
1377 |
-
$html .= "
|
1378 |
Â
}
|
1379 |
-
|
Â
|
|
Â
|
|
1380 |
Â
}
|
1381 |
-
|
1382 |
-
|
1383 |
-
|
1384 |
-
|
1385 |
-
|
1386 |
-
|
1387 |
-
|
1388 |
-
}
|
1389 |
-
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fa fa-twitter'></i> " . $buttonText . " Twitter</a>";
|
1390 |
Â
} else {
|
1391 |
-
$html .= "
|
1392 |
Â
}
|
1393 |
-
|
Â
|
|
Â
|
|
1394 |
Â
}
|
1395 |
-
|
1396 |
-
|
1397 |
-
|
1398 |
-
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
}
|
1403 |
-
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fa fa-linkedin'></i> " . $buttonText . " LinkedIn</a>";
|
1404 |
Â
} else {
|
1405 |
-
$html .= "
|
1406 |
Â
}
|
1407 |
-
|
1408 |
-
|
Â
|
|
1409 |
Â
}
|
1410 |
-
|
1411 |
-
|
1412 |
-
|
1413 |
-
|
1414 |
-
|
1415 |
-
|
1416 |
-
|
1417 |
-
|
1418 |
-
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fa fa-instagram'></i> " . $buttonText . " Instagram</a>";
|
1419 |
Â
} else {
|
1420 |
-
$html .= "
|
1421 |
Â
}
|
1422 |
-
|
Â
|
|
Â
|
|
1423 |
Â
}
|
1424 |
-
|
1425 |
-
|
1426 |
-
|
1427 |
-
|
1428 |
-
|
1429 |
-
|
1430 |
-
|
1431 |
-
}
|
1432 |
-
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fa fa-amazon'></i> " . $buttonText . " Amazon</a>";
|
1433 |
Â
} else {
|
1434 |
-
$html .= "
|
1435 |
Â
}
|
1436 |
-
|
1437 |
-
|
Â
|
|
1438 |
Â
}
|
1439 |
-
|
1440 |
-
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
|
1447 |
-
|
1448 |
-
|
Â
|
|
Â
|
|
Â
|
|
1449 |
Â
} else {
|
1450 |
-
$html .= "
|
1451 |
Â
}
|
1452 |
-
|
Â
|
|
Â
|
|
1453 |
Â
}
|
1454 |
-
|
1455 |
-
|
1456 |
-
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
-
|
1461 |
-
|
1462 |
-
}
|
1463 |
-
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fa fa-windows'></i> " . $buttonText . " Microsoft</a>";
|
1464 |
Â
} else {
|
1465 |
-
$html .= "
|
1466 |
Â
}
|
1467 |
-
|
Â
|
|
Â
|
|
1468 |
Â
}
|
1469 |
-
|
1470 |
-
|
1471 |
-
|
1472 |
-
|
1473 |
-
|
1474 |
-
|
1475 |
-
|
1476 |
-
|
1477 |
-
}
|
1478 |
-
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fa fa-yahoo'></i> " . $buttonText . " Yahoo</a>";
|
1479 |
Â
} else {
|
1480 |
-
$html .= "
|
1481 |
Â
}
|
1482 |
-
|
Â
|
|
Â
|
|
1483 |
Â
}
|
Â
|
|
1484 |
Â
}
|
1485 |
-
|
1486 |
-
|
1487 |
-
|
1488 |
-
|
1489 |
-
|
1490 |
-
|
1491 |
-
if(!get_option('mo_openid_gdpr_consent_enable')){?>
|
1492 |
-
<script>
|
1493 |
-
jQuery(".btn-mo").prop("disabled",false);
|
1494 |
-
</script>
|
1495 |
-
<?php }
|
1496 |
-
echo '<script src="' . plugins_url( 'includes/js/jquery.cookie.min.js', __FILE__ ) . '" ></script>';
|
1497 |
-
?>
|
1498 |
-
<script type="text/javascript">
|
1499 |
-
function mo_openid_on_consent_change(checkbox,value){
|
1500 |
-
|
1501 |
-
if (value == 0) {
|
1502 |
-
jQuery('#mo_openid_consent_checkbox').val(1);
|
1503 |
-
jQuery(".btn-mo").attr("disabled",true);
|
1504 |
-
jQuery(".login-button").addClass("dis");
|
1505 |
-
}
|
1506 |
-
else {
|
1507 |
-
jQuery('#mo_openid_consent_checkbox').val(0);
|
1508 |
-
jQuery(".btn-mo").attr("disabled",false);
|
1509 |
-
jQuery(".login-button").removeClass("dis");
|
1510 |
-
}
|
1511 |
-
}
|
1512 |
-
var perfEntries = performance.getEntriesByType("navigation");
|
1513 |
-
|
1514 |
-
if (perfEntries[0].type === "back_forward") {
|
1515 |
-
location.reload(true);
|
1516 |
-
}
|
1517 |
-
|
1518 |
-
function moOpenIdLogin(app_name,is_custom_app) {
|
1519 |
-
var current_url = window.location.href;
|
1520 |
-
var cookie_name = "redirect_current_url";
|
1521 |
-
var d = new Date();
|
1522 |
-
d.setTime(d.getTime() + (2 * 24 * 60 * 60 * 1000));
|
1523 |
-
var expires = "expires="+d.toUTCString();
|
1524 |
-
document.cookie = cookie_name + "=" + current_url + ";" + expires + ";path=/";
|
1525 |
-
|
1526 |
-
<?php
|
1527 |
-
if(isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off'){
|
1528 |
-
$http = "https://";
|
1529 |
Â
} else {
|
1530 |
-
$
|
1531 |
-
}
|
1532 |
-
?>
|
1533 |
-
var base_url = '<?php echo esc_url(site_url());?>';
|
1534 |
-
var request_uri = '<?php echo $_SERVER['REQUEST_URI'];?>';
|
1535 |
-
var http = '<?php echo $http;?>';
|
1536 |
-
var http_host = '<?php echo $_SERVER['HTTP_HOST'];?>';
|
1537 |
-
var default_nonce = '<?php echo wp_create_nonce( 'mo-openid-get-social-login-nonce' ); ?>';
|
1538 |
-
var custom_nonce = '<?php echo wp_create_nonce( 'mo-openid-oauth-app-nonce' ); ?>';
|
1539 |
-
|
1540 |
-
if(is_custom_app == 'false'){
|
1541 |
-
|
1542 |
-
if ( request_uri.indexOf('wp-login.php') !=-1){
|
1543 |
-
var redirect_url = base_url + '/?option=getmosociallogin&wp_nonce=' + default_nonce + '&app_name=';
|
1544 |
-
|
1545 |
-
|
1546 |
-
}else {
|
1547 |
-
var redirect_url = http + http_host + request_uri;
|
1548 |
-
if(redirect_url.indexOf('?') != -1){
|
1549 |
-
redirect_url = redirect_url +'&option=getmosociallogin&wp_nonce=' + default_nonce + '&app_name=';
|
1550 |
-
|
1551 |
-
}
|
1552 |
-
else
|
1553 |
-
{
|
1554 |
-
redirect_url = redirect_url +'?option=getmosociallogin&wp_nonce=' + default_nonce + '&app_name=';
|
1555 |
-
|
1556 |
-
}
|
1557 |
-
}
|
1558 |
Â
}
|
1559 |
-
|
1560 |
-
|
1561 |
-
|
1562 |
-
var redirect_url = base_url + '/?option=oauthredirect&wp_nonce=' + custom_nonce + '&app_name=';
|
1563 |
-
|
1564 |
-
}else {
|
1565 |
-
var redirect_url = http + http_host + request_uri;
|
1566 |
-
if(redirect_url.indexOf('?') != -1)
|
1567 |
-
redirect_url = redirect_url +'&option=oauthredirect&wp_nonce=' + custom_nonce + '&app_name=';
|
1568 |
-
else
|
1569 |
-
redirect_url = redirect_url +'?option=oauthredirect&wp_nonce=' + custom_nonce + '&app_name=';
|
1570 |
-
}
|
1571 |
-
|
1572 |
-
}
|
1573 |
-
|
1574 |
-
window.location.href = redirect_url + app_name;
|
1575 |
-
|
1576 |
Â
}
|
1577 |
-
|
1578 |
-
|
1579 |
-
}
|
1580 |
-
}
|
1581 |
-
|
1582 |
-
/**
|
1583 |
-
* Sharing Widget Horizontal
|
1584 |
-
*
|
1585 |
-
*/
|
1586 |
-
class mo_openid_sharing_hor_wid extends WP_Widget {
|
1587 |
-
|
1588 |
-
public function __construct() {
|
1589 |
-
parent::__construct(
|
1590 |
-
'mo_openid_sharing_hor_wid',
|
1591 |
-
'miniOrange Sharing - Horizontal',
|
1592 |
-
array(
|
1593 |
-
'description' => __( 'Share using horizontal widget. Lets you share with Social Apps like Google, Facebook, LinkedIn, Pinterest, Reddit.', 'flw' ),
|
1594 |
-
'customize_selective_refresh' => true,
|
1595 |
-
)
|
1596 |
-
);
|
1597 |
-
}
|
1598 |
-
|
1599 |
-
public function widget( $args, $instance ) {
|
1600 |
-
extract( $args );
|
1601 |
-
|
1602 |
-
echo $args['before_widget'];
|
1603 |
-
$this->show_sharing_buttons_horizontal();
|
1604 |
-
|
1605 |
-
echo $args['after_widget'];
|
1606 |
-
}
|
1607 |
-
|
1608 |
-
public function update( $new_instance, $old_instance ) {
|
1609 |
-
$instance = array();
|
1610 |
-
$instance['wid_title'] = strip_tags( $new_instance['wid_title'] );
|
1611 |
-
return $instance;
|
1612 |
-
}
|
1613 |
-
|
1614 |
-
public function show_sharing_buttons_horizontal(){
|
1615 |
-
global $post;
|
1616 |
-
$title = str_replace('+', '%20', urlencode($post->post_title));
|
1617 |
-
$content=strip_shortcodes( strip_tags( get_the_content() ) );
|
1618 |
-
$post_content=$content;
|
1619 |
-
$excerpt = '';
|
1620 |
-
$landscape = 'horizontal';
|
1621 |
-
include( plugin_dir_path( __FILE__ ) . 'class-mo-openid-social-share.php');
|
1622 |
Â
}
|
1623 |
Â
|
1624 |
Â
}
|
1625 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1626 |
Â
|
1627 |
-
|
1628 |
-
* Sharing Vertical Widget
|
1629 |
-
*
|
1630 |
-
*/
|
1631 |
-
class mo_openid_sharing_ver_wid extends WP_Widget {
|
1632 |
-
|
1633 |
-
public function __construct() {
|
1634 |
-
parent::__construct(
|
1635 |
-
'mo_openid_sharing_ver_wid',
|
1636 |
-
'miniOrange Sharing - Vertical',
|
1637 |
-
array(
|
1638 |
-
'description' => __( 'Share using a vertical floating widget. Lets you share with Social Apps like Google, Facebook, LinkedIn, Pinterest, Reddit.', 'flw' ),
|
1639 |
-
'customize_selective_refresh' => true,
|
1640 |
-
)
|
1641 |
-
);
|
1642 |
-
}
|
1643 |
-
|
1644 |
-
public function widget( $args, $instance ) {
|
1645 |
-
extract( $args );
|
1646 |
-
extract( $instance );
|
1647 |
-
|
1648 |
-
$wid_title = apply_filters( 'widget_title', $instance['wid_title'] );
|
1649 |
-
$alignment = apply_filters( 'alignment', isset($instance['alignment'])? $instance['alignment'] : 'left');
|
1650 |
-
$left_offset = apply_filters( 'left_offset', isset($instance['left_offset'])? $instance['left_offset'] : '20');
|
1651 |
-
$right_offset = apply_filters( 'right_offset', isset($instance['right_offset'])? $instance['right_offset'] : '0');
|
1652 |
-
$top_offset = apply_filters( 'top_offset', isset($instance['top_offset'])? $instance['top_offset'] : '100');
|
1653 |
-
$space_icons = apply_filters( 'space_icons', isset($instance['space_icons'])? $instance['space_icons'] : '10');
|
1654 |
-
|
1655 |
-
echo $args['before_widget'];
|
1656 |
-
if ( ! empty( $wid_title ) )
|
1657 |
-
echo $args['before_title'] . $wid_title . $args['after_title'];
|
1658 |
-
|
1659 |
-
echo "<div class='mo_openid_vertical' style='" .(isset($alignment) && $alignment != '' && isset($instance[$alignment.'_offset']) ? esc_attr($alignment) .': '. ( $instance[$alignment.'_offset'] == '' ? 0 : esc_attr($instance[$alignment.'_offset'] )) .'px;' : '').(isset($top_offset) ? 'top: '. ( $top_offset == '' ? 0 : esc_attr($top_offset) ) .'px;' : '') ."'>";
|
1660 |
-
|
1661 |
-
$this->show_sharing_buttons_vertical($space_icons);
|
1662 |
-
|
1663 |
-
echo '</div>';
|
1664 |
-
|
1665 |
-
echo $args['after_widget'];
|
1666 |
-
}
|
1667 |
-
|
1668 |
-
/*Called when user changes configuration in Widget Admin Panel*/
|
1669 |
-
public function update( $new_instance, $old_instance ) {
|
1670 |
-
$instance = $old_instance;
|
1671 |
-
$instance['wid_title'] = strip_tags( $new_instance['wid_title'] );
|
1672 |
-
$instance['alignment'] = $new_instance['alignment'];
|
1673 |
-
$instance['left_offset'] = $new_instance['left_offset'];
|
1674 |
-
$instance['right_offset'] = $new_instance['right_offset'];
|
1675 |
-
$instance['top_offset'] = $new_instance['top_offset'];
|
1676 |
-
$instance['space_icons'] = $new_instance['space_icons'];
|
1677 |
-
return $instance;
|
1678 |
-
}
|
1679 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1680 |
Â
|
1681 |
-
|
1682 |
-
|
1683 |
-
|
1684 |
-
|
1685 |
-
} else {
|
1686 |
-
$title = get_bloginfo( 'name' );
|
1687 |
Â
}
|
1688 |
-
$content=strip_shortcodes( strip_tags( get_the_content() ) );
|
1689 |
-
$post_content=$content;
|
1690 |
-
$excerpt = '';
|
1691 |
-
$landscape = 'vertical';
|
1692 |
-
|
1693 |
-
include( plugin_dir_path( __FILE__ ) . 'class-mo-openid-social-share.php');
|
1694 |
-
}
|
1695 |
Â
|
1696 |
-
|
1697 |
-
function form( $instance ) {
|
1698 |
-
/* Set up default widget settings. */
|
1699 |
-
$defaults = array('alignment' => 'left', 'left_offset' => '20', 'right_offset' => '0', 'top_offset' => '100' , 'space_icons' => '10');
|
1700 |
Â
|
1701 |
-
|
1702 |
-
|
1703 |
Â
}
|
1704 |
-
|
1705 |
-
|
1706 |
-
|
1707 |
-
|
1708 |
-
|
1709 |
-
|
1710 |
-
|
1711 |
-
|
1712 |
-
|
1713 |
-
|
1714 |
-
|
1715 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1716 |
Â
}
|
1717 |
Â
}
|
1718 |
-
|
1719 |
-
|
1720 |
-
|
1721 |
-
|
1722 |
-
<option value="right" <?php echo $instance['alignment'] == 'right' ? 'selected' : ''; ?>>Right</option>
|
1723 |
-
</select>
|
1724 |
-
<div class="moVerSharingLeftOffset" <?php echo $instance['alignment'] == 'right' ? 'style="display: none"' : ''; ?>>
|
1725 |
-
<label for="<?php echo esc_attr($this->get_field_id( 'left_offset' )); ?>">Left Offset</label>
|
1726 |
-
<input style="width: 95%" id="<?php echo esc_attr($this->get_field_id( 'left_offset' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'left_offset' )); ?>" type="text" value="<?php echo $instance['left_offset']; ?>" />px<br/>
|
1727 |
-
</div>
|
1728 |
-
<div class="moVerSharingRightOffset" <?php echo $instance['alignment'] == 'left' ? 'style="display: none"' : ''; ?>>
|
1729 |
-
<label for="<?php echo esc_attr($this->get_field_id( 'right_offset' )); ?>">Right Offset</label>
|
1730 |
-
<input style="width: 95%" id="<?php echo esc_attr($this->get_field_id( 'right_offset' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'right_offset' )); ?>" type="text" value="<?php echo $instance['right_offset']; ?>" />px<br/>
|
1731 |
-
</div>
|
1732 |
-
<label for="<?php echo esc_attr($this->get_field_id( 'top_offset' )); ?>">Top Offset</label>
|
1733 |
-
<input style="width: 95%" id="<?php echo esc_attr($this->get_field_id( 'top_offset' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'top_offset' )); ?>" type="text" value="<?php echo $instance['top_offset']; ?>" />px<br/>
|
1734 |
-
<label for="<?php echo esc_attr($this->get_field_id( 'space_icons' )); ?>">Space between icons</label>
|
1735 |
-
<input style="width: 95%" id="<?php echo esc_attr($this->get_field_id( 'space_icons' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'space_icons' )); ?>" type="text" value="<?php echo $instance['space_icons']; ?>" />px<br/>
|
1736 |
-
</p>
|
1737 |
-
<?php
|
1738 |
-
}
|
1739 |
-
|
1740 |
-
}
|
1741 |
-
|
1742 |
-
function mo_openid_start_session() {
|
1743 |
-
if( !session_id() ) {
|
1744 |
-
session_start();
|
1745 |
-
}
|
1746 |
-
}
|
1747 |
Â
|
1748 |
-
function mo_openid_end_session() {
|
1749 |
-
session_start();
|
1750 |
-
session_unset(); //unsets all session variables
|
1751 |
-
}
|
1752 |
Â
|
1753 |
-
|
1754 |
-
|
1755 |
-
|
1756 |
-
|
1757 |
-
|
1758 |
-
|
1759 |
-
|
1760 |
-
$res = "";
|
1761 |
-
foreach ($x as $xx => $x_value) {
|
1762 |
-
if ($count == 0)
|
1763 |
-
$predefine = $x_value;
|
1764 |
-
elseif ($count == 1)
|
1765 |
-
$opt_val = $x_value;
|
1766 |
-
elseif ($count == 2)
|
1767 |
-
$field = $x_value;
|
1768 |
-
elseif ($count == 3)
|
1769 |
-
$type = $x_value;
|
1770 |
-
elseif ($count == 4)
|
1771 |
-
$add_field = $x_value;
|
1772 |
-
$count++;
|
1773 |
-
}
|
1774 |
Â
|
1775 |
-
if ($opt_val === "other") {
|
1776 |
-
if ($predefine != "")
|
1777 |
-
$field_update = $predefine;
|
1778 |
-
else
|
1779 |
-
$field_update = $field;
|
1780 |
-
} else {
|
1781 |
-
if ($predefine != "") {
|
1782 |
-
$field_update = $predefine;
|
1783 |
-
$field = $predefine;
|
1784 |
-
} else {
|
1785 |
-
$field_update = $opt_val;
|
1786 |
-
$field = $opt_val . "_update";
|
1787 |
Â
}
|
1788 |
-
|
1789 |
-
|
1790 |
-
|
1791 |
-
|
1792 |
-
|
1793 |
-
update_user_meta($user_id, $field_update, $_POST[$field]);
|
1794 |
-
} else {
|
1795 |
-
$flag = 0;
|
1796 |
-
$str_res = explode(";", $add_field);
|
1797 |
-
foreach ($str_res as $value_genetared) {
|
1798 |
-
if (isset($_POST[$field . $a])) {
|
1799 |
-
if ($flag != 0)
|
1800 |
-
$res = $res . ";";
|
1801 |
-
$res = $res . $_POST[$field . $a];
|
1802 |
-
$flag++;
|
1803 |
-
}
|
1804 |
-
$a++;
|
1805 |
Â
}
|
1806 |
-
if(get_option('mo_customer_validation_mo_social_login_enable')=="1" && get_option('mo_openid_customised_field_enable') == "1" )
|
1807 |
-
array_push($cust_reg_val,[$field_update=>$res]);
|
1808 |
-
else
|
1809 |
-
update_user_meta($user_id, $field_update, $res);
|
1810 |
Â
}
|
1811 |
-
|
1812 |
-
|
1813 |
Â
}
|
Â
|
|
1814 |
Â
|
1815 |
-
|
1816 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1817 |
Â
}
|
1818 |
Â
|
1819 |
-
function
|
Â
|
|
1820 |
Â
|
1821 |
-
|
Â
|
|
1822 |
Â
|
Â
|
|
1823 |
Â
}
|
1824 |
Â
|
1825 |
-
function
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1826 |
Â
|
1827 |
-
|
1828 |
-
|
1829 |
-
|
1830 |
-
|
1831 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1832 |
Â
|
1833 |
-
|
1834 |
-
else if ((isset($_POST['selected_app'])) && (isset($_POST['selected_app_value']))){
|
1835 |
-
if($_POST['selected_app_value'] == 'true'){
|
1836 |
-
//if custome app enable
|
1837 |
-
if($_POST['selected_app']=="facebook") {
|
1838 |
-
update_option('mo_openid_facebook_enable',1);
|
1839 |
-
}
|
1840 |
-
$option = 'mo_openid_enable_custom_app_' . sanitize_text_field($_POST['selected_app']);
|
1841 |
-
update_option( $option, '1');
|
1842 |
-
}
|
1843 |
-
else{
|
1844 |
-
//if custome app Disable
|
1845 |
-
if($_POST['selected_app']=="facebook") {
|
1846 |
-
update_option('mo_openid_facebook_enable',0);
|
1847 |
-
}
|
1848 |
-
$option = 'mo_openid_enable_custom_app_' . sanitize_text_field($_POST['selected_app']);
|
1849 |
-
update_option( $option, '0');
|
1850 |
-
}
|
1851 |
-
exit;
|
1852 |
-
}
|
1853 |
Â
|
1854 |
-
else if ((isset($_POST['appname'])) && (isset($_POST['test_configuration']))){
|
1855 |
-
update_option( 'mo_openid_test_configuration', 1);
|
1856 |
-
exit;
|
1857 |
-
}
|
1858 |
Â
|
1859 |
-
|
1860 |
-
|
1861 |
-
|
1862 |
-
|
1863 |
-
|
1864 |
-
|
1865 |
-
|
1866 |
-
|
1867 |
-
|
1868 |
-
|
1869 |
-
|
1870 |
-
|
1871 |
-
|
1872 |
-
|
1873 |
-
|
1874 |
-
|
1875 |
-
}
|
1876 |
-
}
|
1877 |
Â
|
1878 |
-
|
1879 |
-
|
1880 |
-
|
1881 |
-
wp_die('<strong>ERROR</strong>: Invalid Request.');
|
1882 |
-
} else {
|
1883 |
-
mo_openid_start_session();
|
1884 |
-
//link account
|
1885 |
-
if(!isset($_POST['mo_openid_create_new_account'])){
|
1886 |
-
$nonce = wp_create_nonce( 'mo-openid-disable-social-login-nonce' );
|
1887 |
-
$url = site_url().'/wp-login.php?option=disable-social-login&wp_nonce=' . $nonce;
|
1888 |
-
header('Location:'. $url);
|
1889 |
-
exit;
|
1890 |
-
}
|
1891 |
-
//create new account
|
1892 |
-
else {
|
1893 |
-
$username = sanitize_text_field($_POST['username']);
|
1894 |
-
$user_email = sanitize_email($_POST['user_email']);
|
1895 |
-
$first_name = sanitize_text_field($_POST['first_name']);
|
1896 |
-
$last_name = sanitize_text_field($_POST['last_name']);
|
1897 |
-
$user_full_name = sanitize_text_field($_POST['user_full_name']);
|
1898 |
-
$user_url = sanitize_text_field($_POST['user_url']);
|
1899 |
-
$user_picture = sanitize_text_field($_POST['user_picture']);
|
1900 |
-
$decrypted_app_name = sanitize_text_field($_POST['decrypted_app_name']);
|
1901 |
-
$decrypted_user_id = sanitize_text_field($_POST['decrypted_user_id']);
|
1902 |
-
|
1903 |
-
mo_openid_process_account_linking($username, $user_email, $first_name, $last_name, $user_full_name, $user_url, $user_picture, $decrypted_app_name, $decrypted_user_id);
|
1904 |
-
}
|
1905 |
-
}
|
1906 |
-
}
|
1907 |
Â
|
1908 |
-
|
1909 |
-
|
1910 |
-
|
1911 |
-
|
1912 |
-
|
1913 |
-
|
1914 |
-
mo_openid_initialize_social_login();
|
1915 |
-
}
|
1916 |
-
}
|
1917 |
-
}
|
1918 |
Â
|
1919 |
-
|
1920 |
-
|
1921 |
-
|
1922 |
-
wp_die('<strong>ERROR</strong>: Invalid Request.' . $nonce);
|
1923 |
-
} else {
|
1924 |
-
$curr_user=get_current_user_id();
|
1925 |
-
if($curr_user!=0) {
|
1926 |
-
update_custom_data($curr_user);
|
1927 |
-
header("Location:".get_option('profile_completion_page'));
|
1928 |
-
exit;
|
1929 |
-
}
|
1930 |
-
$user_picture = $_POST["user_picture"];
|
1931 |
-
$user_url = $_POST["user_url"];
|
1932 |
-
$last_name = $_POST["last_name"];
|
1933 |
-
$username=$_POST["username"];
|
1934 |
-
$user_email=$_POST["user_email"];
|
1935 |
-
$random_password=$_POST["random_password"];
|
1936 |
-
$user_full_name = $_POST["user_full_name"];
|
1937 |
-
$first_name = $_POST["first_name"];
|
1938 |
-
$decrypted_app_name = $_POST["decrypted_app_name"];
|
1939 |
-
$decrypted_user_id = $_POST["decrypted_user_id"];
|
1940 |
-
$call = $_POST["call"];
|
1941 |
-
$user_profile_url = $_POST["user_profile_url"];
|
1942 |
-
$social_app_name = $_POST["social_app_name"];
|
1943 |
-
$social_user_id = $_POST["social_user_id"];
|
1944 |
-
|
1945 |
-
$userdata = array(
|
1946 |
-
'user_login' => $username,
|
1947 |
-
'user_email' => $user_email,
|
1948 |
-
'user_pass' => $random_password,
|
1949 |
-
'display_name' => $user_full_name,
|
1950 |
-
'first_name' => $first_name,
|
1951 |
-
'last_name' => $last_name,
|
1952 |
-
'user_url' => $user_url,
|
1953 |
-
);
|
1954 |
-
$userdetails = array(
|
1955 |
-
'user_login' => $username,
|
1956 |
-
'user_email' => $user_email,
|
1957 |
-
'user_pass' => $random_password,
|
1958 |
-
'display_name' => $user_full_name,
|
1959 |
-
'first_name' => $first_name,
|
1960 |
-
'last_name' => $last_name,
|
1961 |
-
'user_url' => $user_url,
|
1962 |
-
'user_profile_url' => $user_profile_url,
|
1963 |
-
'user_picture' => $user_picture,
|
1964 |
-
'decrypted_app_name' => $decrypted_app_name,
|
1965 |
-
'decrypted_user_id' => $decrypted_user_id,
|
1966 |
-
'social_app_name' => $social_app_name,
|
1967 |
-
'social_user_id' => $social_user_id,
|
1968 |
-
'call' => $call
|
1969 |
-
);
|
1970 |
-
if(get_option('mo_customer_validation_mo_social_login_enable')=="1" && get_option('mo_openid_customised_field_enable') == "1" )
|
1971 |
-
$cust_reg_val=update_custom_data("0");
|
1972 |
-
do_action("mo_before_insert_user",$userdetails,$cust_reg_val);
|
1973 |
-
$user_id = wp_insert_user( $userdata);
|
1974 |
-
if(is_wp_error( $user_id )) {
|
1975 |
-
print_r($user_id);
|
1976 |
-
wp_die("Error Code ".$call.": ".get_option('mo_registration_error_message'));
|
1977 |
-
}
|
1978 |
-
if($call==1 | $call==3 | $call==5)
|
1979 |
-
update_option('mo_openid_user_count',get_option('mo_openid_user_count')+1);
|
1980 |
-
if($call==1) {
|
1981 |
-
mo_openid_start_session();
|
1982 |
-
}
|
1983 |
-
if($call==2 | $call==3 | $call==4) {
|
1984 |
-
$_SESSION['social_app_name'] = $decrypted_app_name;
|
1985 |
-
$_SESSION['user_email'] = $user_email;
|
1986 |
-
$_SESSION['social_user_id'] = $decrypted_user_id;
|
1987 |
-
}
|
1988 |
-
if($call==5 | $call==6) {
|
1989 |
-
mo_openid_start_session();
|
1990 |
-
$_SESSION['username'] = $username;
|
1991 |
-
$_SESSION['user_email'] = $user_email;
|
1992 |
-
$_SESSION['user_full_name'] = $user_full_name;
|
1993 |
-
$_SESSION['first_name'] = $first_name;
|
1994 |
-
$_SESSION['last_name'] = $last_name;
|
1995 |
-
$_SESSION['user_url'] = $user_url;
|
1996 |
-
$_SESSION['user_picture'] = $user_picture;
|
1997 |
-
$_SESSION['social_app_name'] = $social_app_name;
|
1998 |
-
$_SESSION['social_user_id'] = $social_user_id;
|
1999 |
-
}
|
2000 |
-
$user = get_user_by('id', $user_id );
|
2001 |
-
update_custom_data($user_id);
|
2002 |
-
if(get_option('moopenid_social_login_avatar') && isset($user_picture)){
|
2003 |
-
update_user_meta($user_id, 'moopenid_user_avatar', $user_picture);
|
2004 |
-
}
|
2005 |
-
$_SESSION['mo_login'] = true;
|
2006 |
-
$_SESSION['registered_user'] = '1';
|
2007 |
-
do_action( 'mo_user_register', $user_id,$user_profile_url);
|
2008 |
-
do_action( 'miniorange_collect_attributes_for_authenticated_user', $user, mo_openid_get_redirect_url());
|
2009 |
-
do_action( 'wp_login', $user->user_login, $user );
|
2010 |
-
wp_set_auth_cookie( $user_id, true );
|
2011 |
-
$redirect_url = mo_openid_get_redirect_url();
|
2012 |
-
wp_redirect($redirect_url);
|
2013 |
-
exit;
|
2014 |
-
}
|
2015 |
-
}
|
2016 |
Â
|
2017 |
-
|
2018 |
-
$nonce = $_POST['mo_openid_profile_form_submitted_nonce'];
|
2019 |
-
if ( ! wp_verify_nonce( $nonce, 'mo-openid-profile-form-submitted-nonce' ) ) {
|
2020 |
-
wp_die('<strong>ERROR</strong>: Invalid Request.' . $nonce);
|
2021 |
-
} else {
|
2022 |
-
$username = sanitize_text_field($_POST['username_field']);
|
2023 |
-
$user_email = sanitize_email($_POST['email_field']);
|
2024 |
-
$user_picture = sanitize_text_field($_POST["user_picture"]);
|
2025 |
-
$user_url = sanitize_text_field($_POST["user_url"]);
|
2026 |
-
$last_name = sanitize_text_field($_POST["last_name"]);
|
2027 |
-
$user_full_name = sanitize_text_field($_POST["user_full_name"]);
|
2028 |
-
$first_name = sanitize_text_field($_POST["first_name"]);
|
2029 |
-
$decrypted_app_name = sanitize_text_field($_POST["decrypted_app_name"]);
|
2030 |
-
$decrypted_user_id = sanitize_text_field($_POST["decrypted_user_id"]);
|
2031 |
-
|
2032 |
-
mo_openid_save_profile_completion_form($username, $user_email, $first_name, $last_name, $user_full_name, $user_url, $user_picture, $decrypted_app_name, $decrypted_user_id);
|
2033 |
-
}
|
2034 |
-
}
|
2035 |
Â
|
2036 |
-
|
2037 |
-
$nonce = $_POST['mo_openid_user_otp_validation_nonce'];
|
2038 |
-
if ( ! wp_verify_nonce( $nonce, 'mo-openid-user-otp-validation-nonce' ) ) {
|
2039 |
-
wp_die('<strong>ERROR</strong>: Invalid Request.');
|
2040 |
-
} else {
|
2041 |
-
$username = sanitize_text_field($_POST["username_field"]);
|
2042 |
-
$user_email = sanitize_email($_POST["email_field"]);
|
2043 |
-
$transaction_id = sanitize_text_field($_POST["transaction_id"]);
|
2044 |
-
$otp_token = sanitize_text_field($_POST['otp_field']);
|
2045 |
-
$user_picture = sanitize_text_field($_POST["user_picture"]);
|
2046 |
-
$user_url = sanitize_text_field($_POST["user_url"]);
|
2047 |
-
$last_name = sanitize_text_field($_POST["last_name"]);
|
2048 |
-
$user_full_name = sanitize_text_field($_POST["user_full_name"]);
|
2049 |
-
$first_name = sanitize_text_field($_POST["first_name"]);
|
2050 |
-
$decrypted_app_name = sanitize_text_field($_POST["decrypted_app_name"]);
|
2051 |
-
$decrypted_user_id = sanitize_text_field($_POST["decrypted_user_id"]);
|
2052 |
-
|
2053 |
-
if(isset($_POST['resend_otp'])) {
|
2054 |
-
$send_content = send_otp_token($user_email);
|
2055 |
-
if($send_content['status']=='FAILURE'){
|
2056 |
-
$message ="Error Code 3: ".get_option('mo_email_failure_message');
|
2057 |
-
wp_die($message);
|
2058 |
-
}
|
2059 |
-
$transaction_id = $send_content['tId'];
|
2060 |
-
echo mo_openid_validate_otp_form($username, $user_email, $transaction_id, $user_picture, $user_url, $last_name, $user_full_name,$first_name, $decrypted_app_name, $decrypted_user_id);
|
2061 |
Â
|
2062 |
-
|
2063 |
-
}
|
2064 |
Â
|
2065 |
-
|
2066 |
-
|
2067 |
-
}
|
2068 |
Â
|
2069 |
-
|
2070 |
-
|
2071 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2072 |
Â
|
2073 |
-
else if( isset( $_REQUEST['autoregister'] ) and strpos( $_REQUEST['autoregister'],'false') !== false ) {
|
2074 |
-
if(!is_user_logged_in()) {
|
2075 |
-
mo_openid_disabled_register_message();
|
2076 |
-
}
|
2077 |
-
}
|
2078 |
Â
|
2079 |
-
|
2080 |
-
|
2081 |
-
|
2082 |
-
|
2083 |
-
|
2084 |
-
|
2085 |
-
$appname = sanitize_text_field($_REQUEST['app_name']);
|
2086 |
-
mo_openid_custom_app_oauth_redirect($appname);
|
2087 |
-
}
|
2088 |
-
}
|
2089 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2090 |
Â
|
2091 |
-
|
2092 |
-
mo_openid_process_custom_app_callback();
|
2093 |
-
}
|
2094 |
Â
}
|
2095 |
Â
|
2096 |
-
|
2097 |
-
|
2098 |
-
|
2099 |
-
|
2100 |
-
|
2101 |
-
|
2102 |
-
|
2103 |
-
if (!empty($val)) {
|
2104 |
-
$str .= mo_openid_json_to_htmltable($val);
|
2105 |
-
}
|
2106 |
-
} else {
|
2107 |
-
$str .= "<strong>$val</strong>";
|
2108 |
-
}
|
2109 |
-
$str .= "</td></tr>";
|
2110 |
Â
}
|
2111 |
-
$str .= "</tbody></table>";
|
2112 |
Â
|
2113 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2114 |
Â
}
|
2115 |
Â
|
2116 |
-
|
2117 |
-
$path = mo_openid_get_wp_style();
|
2118 |
-
$nonce = wp_create_nonce( 'mo-openid-user-otp-validation-nonce' );
|
2119 |
-
if($message=='')
|
2120 |
-
$message=get_option('mo_email_verify_message');
|
2121 |
-
else
|
2122 |
-
$message=get_option('mo_email_verify_wrong_otp');
|
2123 |
-
|
2124 |
-
$html = '
|
2125 |
-
<style>
|
2126 |
-
.mocomp {
|
2127 |
-
margin: auto !important;
|
2128 |
-
}
|
2129 |
-
@media only screen and (max-width: 600px) {
|
2130 |
-
.mocomp {width: 90%;}
|
2131 |
-
}
|
2132 |
-
@media only screen and (min-width: 600px) {
|
2133 |
-
.mocomp {width: 500px;}
|
2134 |
-
}
|
2135 |
-
</style>
|
2136 |
-
<head>
|
2137 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2138 |
-
<link rel="stylesheet" href='.$path.' type="text/css" media="all" /></head>
|
2139 |
-
|
2140 |
-
<body class="login login-action-login wp-core-ui locale-en-us">
|
2141 |
-
<div style="position:fixed;background:#f1f1f1;"></div>
|
2142 |
-
<div id="add_field" style="position:fixed;top: 0;right: 0;bottom: 0;left: 0;z-index: 1;padding-top:130px;">
|
2143 |
-
<div class="mocomp">
|
2144 |
-
<form name="f" method="post" action="">
|
2145 |
-
<div style="background: white;margin-top:-15px;padding: 15px;">
|
2146 |
-
|
2147 |
-
<div style="text-align:center"><span style="font-size: 24px;font-family: Arial">'.get_option('mo_email_verify_title').'</span></div><br>
|
2148 |
-
<div style="padding: 12px;"></div>
|
2149 |
-
<div style=" padding: 16px;background-color:rgba(1, 145, 191, 0.117647);color: black;">
|
2150 |
-
<span style=" margin-left: 15px;color: black;font-weight: bold;float: right;font-size: 22px;line-height: 20px;cursor: pointer;font-family: Arial;transition: 0.3s"></span>'.$message.'</div> <br>
|
2151 |
-
<p>
|
2152 |
-
<label for="user_login">'.esc_html(get_option('mo_email_verify_verification_code_instruction')).'<br/>
|
2153 |
-
<input type="text" pattern="\d{4,5}" class="input" name="otp_field" value="" size="20" /></label>
|
2154 |
-
</p>
|
2155 |
-
<input type="hidden" name="username_field" value='.esc_attr($username).'>
|
2156 |
-
<input type="hidden" name="email_field" value='.esc_attr($user_email).'>
|
2157 |
-
<input type="hidden" name="first_name" value='.esc_attr($first_name).'>
|
2158 |
-
<input type="hidden" name="last_name" value='.esc_attr($last_name).'>
|
2159 |
-
<input type="hidden" name="user_full_name" value='.esc_attr($user_full_name).'>
|
2160 |
-
<input type="hidden" name="user_url" value='.esc_url($user_url).'>
|
2161 |
-
<input type="hidden" name="user_picture" value='.esc_url($user_picture).'>
|
2162 |
-
<input type="hidden" name="transaction_id" value='.esc_attr($transaction_id).'>
|
2163 |
-
<input type="hidden" name="decrypted_app_name" value='.esc_attr($decrypted_app_name).'>
|
2164 |
-
<input type="hidden" name="decrypted_user_id" value='.esc_attr($decrypted_user_id).'>
|
2165 |
-
<input type="hidden" name="option" value="mo_openid_otp_validation">
|
2166 |
-
<input type="hidden" name="mo_openid_user_otp_validation_nonce" value="'.$nonce.'"/>
|
2167 |
-
</div>
|
2168 |
-
<div style="float: right;margin-right: 11px;">
|
2169 |
-
<input type="submit" style="margin-left:10px" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="'.get_option('mo_profile_complete_submit_button').'"/>
|
2170 |
-
|
2171 |
-
</div>
|
2172 |
-
<div style="float: right">
|
2173 |
-
<input type="button" style="margin-left:10px" onclick="show_profile_completion_form()" name="otp_back" id="back" class="button button-primary button-large" value="'.get_option('mo_email_verify_back_button').'"/> 
|
2174 |
-
<input type="submit" name="resend_otp" id="resend_otp" class="button button-primary button-large" value="'.get_option('mo_email_verify_resend_otp_button').'"/>
|
2175 |
-
</div>';
|
2176 |
-
|
2177 |
-
if(get_option('mo_openid_oauth')=='1' && get_option('moopenid_logo_check') == 1) {
|
2178 |
-
$html .= mo_openid_customize_logo();
|
2179 |
-
}
|
2180 |
-
$nonce = wp_create_nonce( 'mo-openid-user-show-profile-form-nonce' );
|
2181 |
-
$html.= '</form>
|
2182 |
-
<form style="display:none;" name="go_back_form" id="go_back_form" method="post">
|
2183 |
-
<input hidden name="option" value="mo_openid_show_profile_form"/>
|
2184 |
-
<input type="hidden" name="mo_openid_show_profile_form_nonce" value="'.$nonce.'"/>
|
2185 |
-
<input type="hidden" name="username_field" value='.esc_attr($username).'>
|
2186 |
-
<input type="hidden" name="email_field" value='.esc_attr($user_email).'>
|
2187 |
-
<input type="hidden" name="first_name" value='.esc_attr($first_name).'>
|
2188 |
-
<input type="hidden" name="last_name" value='.esc_attr($last_name).'>
|
2189 |
-
<input type="hidden" name="user_full_name" value='.esc_attr($user_full_name).'>
|
2190 |
-
<input type="hidden" name="user_url" value='.esc_url($user_url).'>
|
2191 |
-
<input type="hidden" name="user_picture" value='.esc_url($user_picture).'>
|
2192 |
-
<input type="hidden" name="transaction_id" value='.esc_attr($transaction_id).'>
|
2193 |
-
<input type="hidden" name="decrypted_app_name" value='.esc_attr($decrypted_app_name).'>
|
2194 |
-
<input type="hidden" name="decrypted_user_id" value='.esc_attr($decrypted_user_id).'>
|
2195 |
-
</form>
|
2196 |
-
</div>
|
2197 |
-
</div>
|
2198 |
-
</body>
|
2199 |
-
<script>
|
2200 |
-
function show_profile_completion_form(){
|
2201 |
-
document.getElementById("go_back_form").submit();
|
2202 |
-
}
|
2203 |
-
</script>';
|
2204 |
-
return $html;
|
2205 |
-
}
|
2206 |
Â
|
2207 |
-
function
|
2208 |
-
|
2209 |
-
|
2210 |
-
|
2211 |
-
$instruction_msg=esc_html(get_option('mo_profile_complete_instruction'));
|
2212 |
-
$extra_instruction=esc_html(get_option('mo_profile_complete_extra_instruction'));
|
2213 |
-
}
|
2214 |
-
else{
|
2215 |
-
$instruction_msg=esc_html(get_option('mo_profile_complete_uname_exist'));
|
2216 |
-
$extra_instruction="";
|
2217 |
-
}
|
2218 |
-
$nonce = wp_create_nonce( 'mo-openid-profile-form-submitted-nonce' );
|
2219 |
-
$html = '<style>.form-input-validation.note {color: #d94f4f;}</style>
|
2220 |
-
<style>
|
2221 |
-
.mocomp {
|
2222 |
-
margin: auto !important;
|
2223 |
-
}
|
2224 |
-
@media only screen and (max-width: 600px) {
|
2225 |
-
.mocomp {width: 90%;}
|
2226 |
-
}
|
2227 |
-
@media only screen and (min-width: 600px) {
|
2228 |
-
.mocomp {width: 500px;}
|
2229 |
-
}
|
2230 |
-
</style>
|
2231 |
-
|
2232 |
-
<head>
|
2233 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2234 |
-
<link rel="stylesheet" href='.$path.' type="text/css" media="all" /></head>
|
2235 |
-
<body class="login login-action-login wp-core-ui locale-en-us">
|
2236 |
-
<div style="position:fixed;background:#f1f1f1;"></div>
|
2237 |
-
<div id="add_field" style="position:fixed;top: 0;right: 0;bottom: 0;left: 0;z-index: 1;padding-top:70px;">
|
2238 |
-
<div class="mocomp">
|
2239 |
-
<form name="f" method="post" action="">
|
2240 |
-
<div style="background: white;margin-top:-15px;padding: 15px;">
|
2241 |
-
|
2242 |
-
<div style="text-align:center"><span style="font-size: 24px;font-family: Arial">'.esc_html(get_option('mo_profile_complete_title')).'</span></div><br>
|
2243 |
-
<div style="padding: 12px;"></div>
|
2244 |
-
<div style=" padding: 16px;background-color:rgba(1, 145, 191, 0.117647);color: black;">
|
2245 |
-
<span style=" margin-left: 15px;color: black;font-weight: bold;float: right;font-size: 22px;line-height: 20px;cursor: pointer;font-family: Arial;transition: 0.3s"></span>'.$instruction_msg.'</div><br>
|
2246 |
-
<p>
|
2247 |
-
<label for="user_login">'.esc_html(get_option('mo_profile_complete_username_label')).'<br/>
|
2248 |
-
<input type="text" class="input" name="username_field" size="20" required value='.esc_attr($decrypted_user_name).'></label>
|
2249 |
-
</p>
|
2250 |
-
<p>
|
2251 |
-
<label for="user_pass">'.esc_html(get_option('mo_profile_complete_email_label')).'<br/>
|
2252 |
-
<input type="email" class="input" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]+$" name="email_field" size="20" required value='.esc_attr($decrypted_email).'></label>
|
2253 |
-
<span align="center" class="form-input-validation note">'.$extra_instruction.'</span>
|
2254 |
-
</p>
|
2255 |
-
<input type="hidden" name="first_name" value='.esc_attr($first_name).'>
|
2256 |
-
<input type="hidden" name="last_name" value='.esc_attr($last_name).'>
|
2257 |
-
<input type="hidden" name="user_full_name" value='.esc_attr($user_full_name).'>
|
2258 |
-
<input type="hidden" name="user_url" value='.esc_url($user_url).'>
|
2259 |
-
<input type="hidden" name="user_picture" value='.esc_url($user_picture).'>
|
2260 |
-
<input type="hidden" name="decrypted_app_name" value='.esc_attr($decrypted_app_name).'>
|
2261 |
-
<input type="hidden" name="decrypted_user_id" value='.esc_attr($decrypted_user_id).'>
|
2262 |
-
<input type="hidden" name="option" value="mo_openid_profile_form_submitted">
|
2263 |
-
<input type="hidden" name="mo_openid_profile_form_submitted_nonce" value="'.$nonce.'"/>
|
2264 |
-
</div>
|
2265 |
-
<p class="submit">
|
2266 |
-
<input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="'.get_option('mo_profile_complete_submit_button').'"/>
|
2267 |
-
</p> ';
|
2268 |
-
|
2269 |
-
if(get_option('mo_openid_oauth')=='1' && get_option('moopenid_logo_check') == 1) {
|
2270 |
-
$html .= mo_openid_customize_logo();
|
2271 |
-
}
|
2272 |
-
|
2273 |
-
$html.= '</form>
|
2274 |
-
</div>
|
2275 |
-
</div>
|
2276 |
-
</body>';
|
2277 |
-
return $html;
|
2278 |
Â
}
|
2279 |
Â
|
2280 |
-
function
|
2281 |
-
$path = mo_openid_get_wp_style();
|
2282 |
-
$nonce = wp_create_nonce( 'mo-openid-account-linking-nonce' );
|
2283 |
-
$html = "
|
2284 |
-
<style>
|
2285 |
-
.mocomp {
|
2286 |
-
margin: auto !important;
|
2287 |
-
}
|
2288 |
-
@media only screen and (max-width: 600px) {
|
2289 |
-
.mocomp {width: 90%;}
|
2290 |
-
}
|
2291 |
-
@media only screen and (min-width: 600px) {
|
2292 |
-
.mocomp {width: 500px;}
|
2293 |
-
}
|
2294 |
-
</style>
|
2295 |
-
<head>
|
2296 |
-
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
|
2297 |
-
<link rel=\"stylesheet\" href=".$path. " type='text/css' media='all' /><head>
|
2298 |
-
<body class='login login-action-login wp-core-ui locale-en-us'>
|
2299 |
-
<div style=\"background:#f1f1f1;\"></div>
|
2300 |
-
<div id=\"add_field\" style=\"top: 0;right: 0;bottom: 0;left: 0;z-index: 1;padding-top:2%;\">
|
2301 |
-
<div class='mocomp'>
|
2302 |
-
<form name = 'f' method = 'post' action='' style='margin-left: 2%;margin-right: 2%;'>
|
2303 |
-
<input type = 'hidden' name = 'option' value = 'mo_openid_account_linking'/>
|
2304 |
-
<input type='hidden' name='mo_openid_account_linking_nonce' value='". $nonce."'/>
|
2305 |
-
<input type='hidden' name='user_email' value=".esc_attr($user_email).">
|
2306 |
-
<input type='hidden' name='username' value=".esc_attr($username).">
|
2307 |
-
<input type='hidden' name='first_name' value=".esc_attr($first_name).">
|
2308 |
-
<input type='hidden' name='last_name' value=".esc_attr($last_name).">
|
2309 |
-
<input type='hidden' name='user_full_name' value=".esc_attr($user_full_name).">
|
2310 |
-
<input type='hidden' name='user_url' value=".esc_url($user_url).">
|
2311 |
-
<input type='hidden' name='user_picture' value=".esc_url($user_picture).">
|
2312 |
-
<input type='hidden' name='decrypted_app_name' value=".esc_attr($decrypted_app_name).">
|
2313 |
-
<input type='hidden' name='decrypted_user_id' value=".esc_attr($decrypted_user_id).">
|
2314 |
-
<div style = 'background-color:white; padding:12px; top:100px; right: 350px; padding-bottom: 20px;left:350px; overflow:hidden; outline:1px black;border-radius: 5px;'>
|
2315 |
-
|
2316 |
-
<br>
|
2317 |
-
<div style=\"text-align:center\"><span style='font-size: 24px;font-family: Arial;text-align:center'>".esc_html(get_option('mo_account_linking_title'))."</span></div><br>
|
2318 |
-
<div style='padding: 12px;'></div>
|
2319 |
-
<div style=' padding: 16px;background-color:rgba(1, 145, 191, 0.117647);color: black;'>".get_option('mo_account_linking_new_user_instruction').".<br><br>".get_option('mo_account_linking_existing_user_instruction')."".get_option('mo_account_linking_extra_instruction')."
|
2320 |
-
</div>
|
2321 |
-
<br><br>
|
2322 |
-
|
2323 |
-
<input type = 'submit' value = '".esc_attr(get_option('mo_account_linking_existing_user_button'))."' name = 'mo_openid_link_account' class='button button-primary button-large' style = 'margin-left: 3%;margin-right: 0%;'/>
|
2324 |
-
|
2325 |
-
<input type = 'submit' value = '".esc_attr(get_option('mo_account_linking_new_user_button'))."' name = 'mo_openid_create_new_account' class='button button-primary button-large' style = 'margin-left: 5%margin-right: 5%;'/>";
|
2326 |
-
|
2327 |
-
if(get_option('mo_openid_oauth')=='1' && get_option('moopenid_logo_check') == 1) {
|
2328 |
-
$html .= mo_openid_customize_logo();
|
2329 |
-
}
|
2330 |
Â
|
2331 |
-
|
2332 |
-
|
2333 |
-
|
2334 |
-
|
2335 |
-
|
2336 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2337 |
Â
}
|
2338 |
Â
|
2339 |
-
|
2340 |
-
|
2341 |
-
|
2342 |
-
|
2343 |
-
|
2344 |
-
$
|
2345 |
-
|
2346 |
-
|
2347 |
-
|
2348 |
-
|
Â
|
|
2349 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2350 |
Â
}
|
2351 |
Â
|
2352 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2353 |
Â
|
2354 |
-
|
2355 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2356 |
Â
}
|
2357 |
-
|
Â
|
|
Â
|
|
Â
|
|
2358 |
Â
|
2359 |
-
|
2360 |
-
$social_app_identifier = isset($_SESSION['social_user_id']) ? sanitize_text_field($_SESSION['social_user_id']):'';
|
2361 |
-
$social_app_name = isset($_SESSION['social_app_name']) ? sanitize_text_field($_SESSION['social_app_name']):'';
|
2362 |
Â
|
2363 |
-
|
2364 |
-
if(isset($userid) && empty($social_app_identifier) && empty($social_app_name) ) {
|
2365 |
-
return;
|
2366 |
-
}
|
2367 |
-
elseif(!isset($userid)){
|
2368 |
-
return;
|
2369 |
-
//wp_die('No user is returned.');
|
2370 |
-
}
|
2371 |
Â
|
2372 |
-
global $wpdb;
|
2373 |
-
$db_prefix = $wpdb->prefix;
|
2374 |
-
$linked_email_id = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_email = \"%s\" AND linked_social_app = \"%s\"",$user_email,$social_app_name));
|
2375 |
Â
|
2376 |
-
|
2377 |
-
|
2378 |
-
|
Â
|
|
Â
|
|
2379 |
Â
}
|
2380 |
Â
}
|
2381 |
Â
|
2382 |
-
|
2383 |
Â
|
2384 |
-
|
2385 |
-
|
2386 |
-
|
2387 |
-
|
2388 |
-
|
2389 |
-
|
2390 |
-
global $wpdb;
|
2391 |
-
$db_prefix = $wpdb->prefix;
|
2392 |
-
$table_name = $db_prefix. 'mo_openid_linked_user';
|
2393 |
-
|
2394 |
-
$result = $wpdb->insert(
|
2395 |
-
$table_name,
|
2396 |
-
array(
|
2397 |
-
'linked_social_app' => $social_app_name,
|
2398 |
-
'linked_email' => $user_email,
|
2399 |
-
'user_id' => $userid,
|
2400 |
-
'identifier' => $social_app_identifier,
|
2401 |
-
'timestamp' => $date,
|
2402 |
-
),
|
2403 |
-
array(
|
2404 |
-
'%s',
|
2405 |
-
'%s',
|
2406 |
-
'%d',
|
2407 |
-
'%s',
|
2408 |
-
'%s'
|
2409 |
-
)
|
2410 |
-
);
|
2411 |
-
if($result === false){
|
2412 |
-
wp_die('Error in insert query');
|
2413 |
-
$wpdb->show_errors();
|
2414 |
-
$wpdb->print_error();
|
2415 |
-
exit;
|
2416 |
Â
}
|
2417 |
Â
}
|
2418 |
Â
}
|
2419 |
-
|
2420 |
-
|
2421 |
-
if(
|
2422 |
-
|
2423 |
-
|
2424 |
-
|
2425 |
-
$content = get_option('mo_openid_register_email_message');
|
2426 |
-
$subject = "[" . get_bloginfo('name') . "] New User Registration - Social Login";
|
2427 |
-
$content = str_replace('##User Name##', $user_name, $content);
|
2428 |
-
$headers = "Content-Type: text/html";
|
2429 |
-
wp_mail($admin_mail, $subject, $content, $headers);
|
2430 |
Â
}
|
2431 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2432 |
Â
|
2433 |
-
|
2434 |
-
|
2435 |
-
|
2436 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2437 |
Â
|
2438 |
-
|
2439 |
Â
|
2440 |
-
|
2441 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2442 |
Â
|
2443 |
-
|
2444 |
-
$
|
2445 |
-
$
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2446 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2447 |
Â
} else {
|
2448 |
-
$
|
2449 |
-
$
|
2450 |
-
$
|
2451 |
-
$
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2452 |
Â
}
|
2453 |
-
|
2454 |
-
|
2455 |
-
$
|
2456 |
-
|
2457 |
-
|
2458 |
-
|
2459 |
-
|
2460 |
-
|
2461 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2462 |
Â
}
|
2463 |
-
else
|
2464 |
-
$redirect_url = $current_url;
|
2465 |
Â
}
|
2466 |
-
|
2467 |
-
|
2468 |
-
|
2469 |
-
|
2470 |
-
|
Â
|
|
Â
|
|
Â
|
|
2471 |
Â
}
|
2472 |
-
|
2473 |
-
|
2474 |
-
|
Â
|
|
Â
|
|
Â
|
|
2475 |
Â
}
|
2476 |
Â
}
|
2477 |
-
} else if( $option == 'homepage' ) {
|
2478 |
-
$redirect_url = site_url();
|
2479 |
-
} else if( $option == 'dashboard' ) {
|
2480 |
-
$redirect_url = admin_url();
|
2481 |
-
} else if( $option == 'custom' ) {
|
2482 |
-
$redirect_url = get_option('mo_openid_login_redirect_url');
|
2483 |
-
}else if($option == 'relative') {
|
2484 |
-
$redirect_url = site_url() . (null !== get_option('mo_openid_relative_login_redirect_url')?get_option('mo_openid_relative_login_redirect_url'):'');
|
2485 |
Â
}
|
2486 |
-
|
2487 |
-
|
2488 |
-
|
2489 |
-
|
2490 |
-
|
Â
|
|
Â
|
|
2491 |
Â
}
|
2492 |
-
return $redirect_url;
|
2493 |
Â
}
|
2494 |
-
|
2495 |
-
|
2496 |
-
|
2497 |
-
|
2498 |
-
|
2499 |
-
|
2500 |
-
|
2501 |
-
|
2502 |
-
|
2503 |
-
|
2504 |
-
|
2505 |
-
|
2506 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2507 |
Â
}
|
2508 |
-
|
2509 |
-
|
2510 |
-
else if($logout_redirect_option == 'login') {
|
2511 |
-
$redirect_url = $logout_url . '&redirect_to=' . site_url() . '/wp-admin' ;
|
2512 |
-
}
|
2513 |
-
else if($logout_redirect_option == 'custom') {
|
2514 |
-
$redirect_url = $logout_url . '&redirect_to=' . site_url() . (null !== get_option('mo_openid_logout_redirect_url')?get_option('mo_openid_logout_redirect_url'):'');
|
2515 |
Â
}
|
2516 |
-
return $redirect_url;
|
2517 |
-
}else{
|
2518 |
-
return $logout_url;
|
2519 |
Â
}
|
2520 |
-
|
2521 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2522 |
Â
|
2523 |
-
|
2524 |
-
|
2525 |
-
|
2526 |
-
$_SESSION['mo_login'] = false;
|
2527 |
-
wp_set_auth_cookie( $user_id, true );
|
2528 |
-
if($_SESSION['registered_user'] =='1' && get_option("mo_openid_registration_redirection_enable")=='1')
|
2529 |
-
{
|
2530 |
-
$redirect_url =get_option("mo_openid_relative_register_redirect_url");
|
2531 |
-
}
|
2532 |
-
else{
|
2533 |
-
$redirect_url = mo_openid_get_redirect_url();
|
2534 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2535 |
Â
}
|
2536 |
-
|
2537 |
-
|
2538 |
-
exit;
|
2539 |
-
}
|
2540 |
Â
}
|
2541 |
Â
|
2542 |
-
|
2543 |
-
|
2544 |
-
$
|
2545 |
-
$
|
2546 |
-
|
2547 |
-
|
2548 |
-
$
|
2549 |
-
|
2550 |
-
|
2551 |
-
|
2552 |
-
|
2553 |
-
|
2554 |
-
|
2555 |
-
|
2556 |
-
|
2557 |
-
$content = array('status' => 'SUCCESS','tId' => $transactionId);
|
2558 |
-
}
|
2559 |
-
else
|
2560 |
-
$content = array('status' => 'FAILURE');
|
2561 |
-
return $content;
|
2562 |
-
}
|
2563 |
-
|
2564 |
-
function validate_otp_token($transactionId,$otpToken){
|
2565 |
-
mo_openid_start_session();
|
2566 |
-
$customerKey = get_option('mo_openid_admin_customer_key');
|
2567 |
-
if($_SESSION['mo_otptoken']){
|
2568 |
-
$pass = checkTimeStamp($_SESSION['sent_on'],time());
|
2569 |
-
$pass = checkTransactionId($customerKey, $otpToken, $transactionId, $pass);
|
2570 |
-
if($pass)
|
2571 |
-
$content = array('status' => 'SUCCESS');
|
2572 |
-
else
|
2573 |
-
$content = array('status' => 'FAILURE');
|
2574 |
-
unset($_SESSION['$mo_otptoken']);
|
2575 |
Â
}
|
2576 |
-
else
|
2577 |
-
$content = array('status' =>'FAILURE');
|
2578 |
-
|
2579 |
-
return $content;
|
2580 |
Â
}
|
2581 |
Â
|
2582 |
-
|
2583 |
-
|
2584 |
-
|
2585 |
-
|
2586 |
-
|
2587 |
-
|
2588 |
-
|
2589 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2590 |
Â
|
2591 |
-
|
2592 |
-
|
2593 |
-
|
2594 |
-
|
2595 |
-
else
|
2596 |
-
return true;
|
2597 |
-
}
|
2598 |
-
|
2599 |
-
/**
|
2600 |
-
* This function checks and compares the transaction set in session
|
2601 |
-
* and one generated during validation. Both need to match for the
|
2602 |
-
* otp to be validated.
|
2603 |
-
*
|
2604 |
-
* @param $customerKey - the customer key of the user
|
2605 |
-
* @param $otpToken - otp token entered by the user
|
2606 |
-
* @param $transactionId - the transaction id in session
|
2607 |
-
* @param $pass - the boolean value passed after the time check
|
2608 |
-
*/
|
2609 |
-
|
2610 |
-
function checkTransactionId($customerKey,$otpToken,$transactionId,$pass){
|
2611 |
-
if(!$pass){
|
2612 |
-
return false;
|
2613 |
Â
}
|
2614 |
-
$stringToHash = $customerKey . $otpToken;
|
2615 |
-
$txtID = hash("sha512", $stringToHash);
|
2616 |
-
if($txtID == $transactionId)
|
2617 |
-
return true;
|
2618 |
Â
}
|
2619 |
Â
|
2620 |
-
|
2621 |
-
|
2622 |
-
|
2623 |
-
|
2624 |
-
//check to ensure login starts at the click of social login button
|
2625 |
-
if(empty($split_app_name[0])){
|
2626 |
-
wp_die(get_option('mo_manual_login_error_message'));
|
2627 |
Â
}
|
2628 |
Â
else {
|
2629 |
-
|
2630 |
Â
}
|
2631 |
Â
}
|
2632 |
Â
|
2633 |
-
|
2634 |
-
|
2635 |
-
$messages = '<p class="message">'.get_option('mo_account_linking_message').'</p>';
|
2636 |
-
}
|
2637 |
-
return $messages;
|
2638 |
Â
}
|
2639 |
Â
|
2640 |
-
|
2641 |
-
|
2642 |
-
<a target='_blank' href='https://www.miniorange.com/'>
|
2643 |
-
<img alt='logo' src='". plugins_url('/includes/images/miniOrange.png',__FILE__) ."' class='mo_openid_image'>
|
2644 |
-
</a>
|
2645 |
-
</div>
|
2646 |
-
<br/>";
|
2647 |
-
return $logo;
|
2648 |
Â
}
|
Â
|
|
2649 |
Â
|
2650 |
-
|
2651 |
-
|
2652 |
-
|
2653 |
-
|
2654 |
-
|
2655 |
-
|
2656 |
-
|
2657 |
-
|
2658 |
-
|
2659 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2660 |
Â
}
|
2661 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2662 |
Â
|
2663 |
-
|
2664 |
-
|
2665 |
-
|
Â
|
|
2666 |
Â
$user = get_user_by('ID',$user_id);
|
2667 |
-
|
2668 |
-
$user->set_role( get_option('mo_openid_login_role_mapping') );
|
2669 |
-
}
|
2670 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
2671 |
Â
|
2672 |
-
|
2673 |
-
|
2674 |
-
|
2675 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2676 |
Â
}
|
Â
|
|
2677 |
Â
|
2678 |
-
|
2679 |
-
|
2680 |
-
|
2681 |
-
|
2682 |
-
|
2683 |
-
|
2684 |
-
}
|
2685 |
-
else
|
2686 |
-
return '<p>NA</p>';
|
2687 |
-
}
|
2688 |
Â
}
|
2689 |
-
|
Â
|
|
Â
|
|
Â
|
|
2690 |
Â
|
2691 |
-
|
2692 |
-
|
Â
|
|
Â
|
|
Â
|
|
2693 |
Â
}
|
2694 |
-
|
2695 |
-
|
2696 |
-
return $columns;
|
2697 |
Â
}
|
Â
|
|
2698 |
Â
|
2699 |
-
|
2700 |
-
|
2701 |
-
<script type="text/javascript">
|
2702 |
-
function moOpenidDeleteSocialProfile(elem, userId){
|
2703 |
-
jQuery.ajax({
|
2704 |
-
url:"<?php echo admin_url();?>", //the page containing php script
|
2705 |
-
method: "POST", //request type,
|
2706 |
-
data: {action : 'delete_social_profile_data', user_id : userId},
|
2707 |
-
dataType: 'text',
|
2708 |
-
success:function(result){
|
2709 |
-
alert('Social Profile Data Deleted successfully. Press OK to continue.');
|
2710 |
-
window.location.reload(true);
|
2711 |
-
}
|
2712 |
-
});
|
2713 |
-
}
|
2714 |
-
</script>
|
2715 |
-
<?php
|
2716 |
Â
|
Â
|
|
Â
|
|
2717 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2718 |
Â
|
2719 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2720 |
Â
|
2721 |
-
|
2722 |
-
|
2723 |
-
|
2724 |
-
|
2725 |
-
$
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2726 |
Â
|
Â
|
|
Â
|
|
Â
|
|
2727 |
Â
|
2728 |
-
|
2729 |
-
|
2730 |
-
|
2731 |
-
return $username;
|
2732 |
Â
}
|
Â
|
|
2733 |
Â
|
2734 |
-
add_filter('manage_users_columns', 'mo_openid_add_custom_column');
|
2735 |
-
|
2736 |
-
add_action( 'widgets_init', function(){register_widget( "mo_openid_login_wid" );});
|
2737 |
-
add_action( 'widgets_init', function(){register_widget( "mo_openid_sharing_ver_wid" );});
|
2738 |
-
add_action( 'widgets_init', function(){register_widget( "mo_openid_sharing_hor_wid" );});
|
2739 |
Â
|
2740 |
-
|
2741 |
-
|
2742 |
-
|
2743 |
-
|
2744 |
-
add_action( 'wp_login', 'mo_openid_link_account', 9, 2);
|
2745 |
-
add_filter( 'login_message', 'mo_openid_account_linking');
|
2746 |
-
add_action( 'delete_user', 'mo_openid_delete_account_linking_rows' );
|
2747 |
-
add_action( 'mo_user_register','mo_openid_send_email',1, 2 );
|
2748 |
-
add_action('admin_head', 'mo_openid_delete_social_profile_script');
|
2749 |
Â
|
2750 |
-
|
2751 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2752 |
Â
|
2753 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 );
|
6 |
+
if(get_option('mo_openid_popup_window')=='0') {
|
7 |
+
add_action('wp_login', 'mo_openid_login_redirect', 11, 2);
|
8 |
+
}
|
9 |
+
else {
|
10 |
+
add_action('wp_login', 'mo_openid_login_redirect_pop_up', 11, 2);
|
11 |
+
}
|
12 |
+
add_action('wp_login', 'mo_openid_update_user_meta', 8, 2);
|
13 |
+
add_action( 'delete_user', 'mo_openid_delete_account_linking_rows' );
|
14 |
+
|
15 |
+
add_action('manage_users_custom_column', 'mo_openid_delete_profile_column', 9, 3);
|
16 |
+
//add_filter('manage_users_columns', 'mo_openid_add_custom_column2');
|
17 |
+
add_filter('manage_users_columns', 'mo_openid_add_custom_column1');
|
18 |
+
add_action('admin_head', 'mo_openid_delete_social_profile_script');
|
19 |
+
add_filter( 'login_message', 'mo_openid_account_linking');
|
20 |
+
add_action('widgets_init', function () {
|
21 |
+
register_widget("mo_openid_login_wid");
|
22 |
+
});
|
23 |
+
add_action('widgets_init', function () {
|
24 |
+
register_widget("mo_openid_sharing_ver_wid");
|
25 |
+
});
|
26 |
+
add_action('widgets_init', function () {
|
27 |
+
register_widget("mo_openid_sharing_hor_wid");
|
28 |
+
});
|
29 |
+
|
30 |
+
if (get_option('mo_openid_logout_redirection_enable') == 1) {
|
31 |
+
add_filter('logout_url', 'mo_openid_redirect_after_logout', 0, 1);
|
32 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
33 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
34 |
Â
|
35 |
+
class mo_openid_login_wid extends WP_Widget {
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
36 |
Â
|
37 |
+
public function __construct() {
|
38 |
+
parent::__construct(
|
39 |
+
'mo_openid_login_wid',
|
40 |
+
'miniOrange Social Login Widget',
|
41 |
+
array(
|
42 |
+
'description' => __( 'Login using Social Apps like Google, Facebook, LinkedIn, Microsoft, Instagram.', 'flw' ),
|
43 |
+
'customize_selective_refresh' => true,
|
44 |
+
)
|
45 |
+
);
|
46 |
+
}
|
47 |
Â
|
48 |
+
public function widget( $args, $instance ) {
|
49 |
+
extract( $args );
|
Â
|
|
50 |
Â
|
51 |
+
echo $args['before_widget'];
|
52 |
+
$this->openidloginForm();
|
53 |
Â
|
54 |
+
echo $args['after_widget'];
|
55 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
56 |
Â
|
57 |
+
public function update( $new_instance, $old_instance ) {
|
58 |
+
$instance = array();
|
59 |
+
$instance['wid_title'] = strip_tags( $new_instance['wid_title'] );
|
60 |
+
return $instance;
|
61 |
+
}
|
62 |
Â
|
Â
|
|
Â
|
|
63 |
Â
|
64 |
+
public function openidloginForm(){
|
65 |
Â
|
66 |
+
if ( $GLOBALS['pagenow'] === 'wp-login.php' ) {
|
67 |
+
?>
|
68 |
+
<script
|
69 |
+
src="https://code.jquery.com/jquery-1.12.4.js"
|
70 |
+
integrity="sha256-Qw82+bXyGq6MydymqBxNPYTaUXXq7c8v3CwiYwLLNXU="
|
71 |
+
crossorigin="anonymous"></script>
|
72 |
+
<?php
|
73 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
74 |
Â
|
75 |
+
$selected_theme = esc_attr(get_option('mo_openid_login_theme'));
|
76 |
+
$appsConfigured = get_option('mo_openid_google_enable') | get_option('mo_openid_salesforce_enable') | get_option('mo_openid_facebook_enable') | get_option('mo_openid_linkedin_enable') | get_option('mo_openid_instagram_enable') | get_option('mo_openid_amazon_enable') | get_option('mo_openid_windowslive_enable') | get_option('mo_openid_twitter_enable') | get_option('mo_openid_vkontakte_enable')| get_option('mo_openid_yahoo_enable')| get_option('mo_openid_wordpress_enable')| get_option('mo_openid_disqus_enable')| get_option('mo_openid_pinterest_enable')| get_option('mo_openid_twitch_enable')| get_option('mo_openid_vimeo_enable')| get_option('mo_openid_kakao_enable');
|
77 |
+
$spacebetweenicons = esc_attr(get_option('mo_login_icon_space'));
|
78 |
+
$customWidth = esc_attr(get_option('mo_login_icon_custom_width'));
|
79 |
+
$customHeight = esc_attr(get_option('mo_login_icon_custom_height'));
|
80 |
+
$customSize = esc_attr(get_option('mo_login_icon_custom_size'));
|
81 |
+
$customBackground = esc_attr(get_option('mo_login_icon_custom_color'));
|
82 |
+
$customTheme = esc_attr(get_option('mo_openid_login_custom_theme'));
|
83 |
+
$customTextofTitle = esc_attr(get_option('mo_openid_login_button_customize_text'));
|
84 |
+
$customBoundary = esc_attr(get_option('mo_login_icon_custom_boundary'));
|
85 |
+
$customLogoutName = esc_attr(get_option('mo_openid_login_widget_customize_logout_name_text'));
|
86 |
+
$customLogoutLink = get_option('mo_openid_login_widget_customize_logout_text');
|
87 |
+
$customTextColor=esc_attr(get_option('mo_login_openid_login_widget_customize_textcolor'));
|
88 |
+
$customText=esc_html(get_option('mo_openid_login_widget_customize_text'));
|
89 |
+
|
90 |
+
$app_pos = get_option('app_pos');
|
91 |
+
|
92 |
+
if(get_option('mo_openid_gdpr_consent_enable')) {
|
93 |
+
$gdpr_setting = "disabled='disabled'";
|
94 |
+
}
|
95 |
+
else
|
96 |
+
$gdpr_setting ='';
|
97 |
Â
|
98 |
+
$url = esc_url(get_option('mo_openid_privacy_policy_url'));
|
99 |
+
$text = esc_html(get_option('mo_openid_privacy_policy_text'));
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
100 |
Â
|
101 |
+
if( !empty($text) && strpos(get_option('mo_openid_gdpr_consent_message'),$text)){
|
102 |
+
$consent_message = str_replace(get_option('mo_openid_privacy_policy_text'),'<a target="_blank" href="'.$url.'">'.$text.'</a>',get_option('mo_openid_gdpr_consent_message'));
|
103 |
+
}else if(empty($text)){
|
104 |
+
$consent_message = get_option('mo_openid_gdpr_consent_message');
|
105 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
106 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
107 |
Â
|
108 |
+
$protocol = ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://";
|
109 |
+
$sign_up_url = $protocol . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
110 |
+
$mo_URL=strstr($sign_up_url, "?", true);
|
111 |
+
if($mo_URL) {setcookie("mo_openid_signup_url", $mo_URL, time() + (86400 * 30), "/");}
|
112 |
+
else{setcookie("mo_openid_signup_url", $sign_up_url, time() + (86400 * 30), "/");}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
113 |
Â
|
114 |
+
if( ! is_user_logged_in() ) {
|
115 |
+
if( $appsConfigured ) {
|
116 |
+
$this->mo_openid_load_login_script();
|
117 |
+
?>
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
118 |
Â
|
119 |
+
<div class="mo-openid-app-icons">
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
120 |
Â
|
121 |
+
<p style="color:#<?php echo $customTextColor ?>"><?php echo $customText ?>
|
122 |
+
</p>
|
123 |
+
<?php if(get_option('mo_openid_gdpr_consent_enable')){
|
124 |
+
$consent_message = isset($consent_message) ? $consent_message: ''; ?>
|
125 |
+
<input type="checkbox" onchange="mo_openid_on_consent_change(this)" value="1" id="mo_openid_consent_checkbox"><label class="mo-consent"><?php echo $consent_message;?></label>
|
126 |
+
<br>
|
127 |
+
<?php }
|
128 |
+
$app_pos=explode("#",$app_pos);
|
129 |
+
foreach ($app_pos as $select_apps) {
|
130 |
+
if (get_option('mo_openid_' . $select_apps . '_enable') == 1) {
|
131 |
+
$custom_app = esc_attr($this->if_custom_app_exists($select_apps));
|
132 |
+
if ($customTheme == "default") {
|
133 |
+
switch ($select_apps) {
|
134 |
+
case 'facebook':
|
135 |
+
if ($selected_theme == 'longbutton') {
|
136 |
+
?>
|
137 |
+
<a rel='nofollow' <?php echo $gdpr_setting; ?>
|
138 |
+
onClick="moOpenIdLogin('facebook','<?php echo $custom_app ?>');"
|
139 |
+
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
140 |
+
class="btn-mo btn btn-block btn-social btn-facebook btn-custom-size login-button">
|
141 |
+
<svg xmlns="http://www.w3.org/2000/svg" style="padding-top: <?php echo $customHeight - 31 ?>px;border-right:none;margin-left: 2%;"><path fill="#fff" d="M22.688 0H1.323C.589 0 0 .589 0 1.322v21.356C0 23.41.59 24 1.323 24h11.505v-9.289H9.693V11.09h3.124V8.422c0-3.1 1.89-4.789 4.658-4.789 1.322 0 2.467.1 2.8.145v3.244h-1.922c-1.5 0-1.801.711-1.801 1.767V11.1h3.59l-.466 3.622h-3.113V24h6.114c.734 0 1.323-.589 1.323-1.322V1.322A1.302 1.302 0 0 0 22.688 0z"/></svg>
|
142 |
+
<?php echo get_option('mo_openid_login_button_customize_text'); ?> Facebook</a>
|
143 |
+
<?php
|
144 |
+
}
|
145 |
+
else {
|
146 |
+
?>
|
147 |
+
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
148 |
+
echo "dis";
|
149 |
+
} ?> login-button" rel='nofollow'
|
150 |
+
title="<?php echo $customTextofTitle ?> Facebook" onClick="moOpenIdLogin('facebook','<?php echo $custom_app ?>');">
|
151 |
+
<img alt='Facebook' style="width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important"
|
152 |
+
src="<?php echo plugins_url('includes/images/icons/facebook.png', __FILE__) ?>" class="<?php echo $selected_theme; ?>
|
153 |
+
<?php if (get_option('mo_openid_gdpr_consent_enable')) {echo "dis";} ?> login-button"></a>
|
154 |
+
<?php
|
155 |
+
}
|
156 |
+
break;
|
157 |
+
case 'google':
|
158 |
+
if ($selected_theme == 'longbutton') {
|
159 |
+
?>
|
160 |
+
<a rel='nofollow' <?php echo $gdpr_setting; ?> onClick="moOpenIdLogin('google','<?php echo $custom_app ?>');"
|
161 |
+
style='background: rgb(255,255,255)!important; background:linear-gradient(90deg, rgba(255,255,255,1) 38px, rgb(79, 113, 232) 5%) !important; width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;border-color: rgba(79, 113, 232, 1);border-bottom-width: thin;'
|
162 |
+
class='btn-mo btn btn-block btn-social btn-google btn-custom-size login-button'>
|
163 |
+
<i style='border-right:none;padding-top:<?php echo $customHeight - 29 ?>px !important'
|
164 |
+
class='mofa'><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 70 70" style="padding-left: 8%;" ><defs><path id="a" d="M44.5 20H24v8.5h11.8C34.7 33.9 30.1 37 24 37c-7.2 0-13-5.8-13-13s5.8-13 13-13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 4.1 29.6 2 24 2 11.8 2 2 11.8 2 24s9.8 22 22 22c11 0 21-8 21-22 0-1.3-.2-2.7-.5-4z"/></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"/></clipPath><path clip-path="url(#b)" fill="#FBBC05" d="M0 37V11l17 13z"/><path clip-path="url(#b)" fill="#EA4335" d="M0 11l17 13 7-6.1L48 14V0H0z"/><path clip-path="url(#b)" fill="#34A853" d="M0 37l30-23 7.9 1L48 0v48H0z"/><path clip-path="url(#b)" fill="#4285F4" d="M48 48L17 24l-4-3 35-10z"/></svg></i><span style="color:#FFFFFF;"><?php echo get_option('mo_openid_login_button_customize_text'); ?> Google</span></a>
|
165 |
+
<?php }
|
166 |
+
else { ?>
|
167 |
+
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) { echo "dis";} ?> login-button" rel='nofollow' onClick="moOpenIdLogin('google','<?php echo $custom_app ?>');" title="<?php echo $customTextofTitle ?> Google"><img alt='Google'
|
168 |
+
style="width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important"
|
169 |
+
src="<?php echo plugins_url('includes/images/icons/google.png', __FILE__) ?>" class="<?php echo $selected_theme; ?> <?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
170 |
+
echo "dis";} ?> login-button"></a>
|
171 |
+
<?php
|
172 |
+
}
|
173 |
+
break;
|
174 |
+
|
175 |
+
case 'vkontakte':
|
176 |
+
if($selected_theme == 'longbutton'){
|
177 |
+
?>
|
178 |
+
|
179 |
+
<a rel='nofollow' <?php echo $gdpr_setting; ?> onClick="moOpenIdLogin('vkontakte','<?php echo $custom_app?>');" style='width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;' class='btn-mo btn btn-block btn-social btn-vk btn-custom-size login-button' > <i style='padding-top:<?php echo $customHeight-35 ?>px !important' class='mofa mofa-vk'></i><?php
|
180 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Vkontakte</a>
|
181 |
+
<?php }
|
182 |
+
else{ ?>
|
183 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' <?php echo $gdpr_setting; ?> onClick="moOpenIdLogin('vkontakte','<?php echo $custom_app?>');" title="<?php echo $customTextofTitle ?> Vkontakte" ><img alt='Vkontakte' style="width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important" src="<?php echo plugins_url( 'includes/images/icons/vk.png', __FILE__ )?>" class="<?php echo $selected_theme; ?> <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" ></a>
|
184 |
+
<?php
|
185 |
+
}
|
186 |
+
break;
|
187 |
+
case 'twitter':
|
188 |
+
if ($selected_theme == 'longbutton') {
|
189 |
+
?> <a rel='nofollow' <?php echo $gdpr_setting; ?>
|
190 |
+
onClick="moOpenIdLogin('twitter','<?php echo $custom_app ?>');"
|
191 |
+
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
192 |
+
class="btn-mo btn btn-block btn-social btn-twitter btn-custom-size login-button">
|
193 |
+
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
194 |
+
class="mofa mofa-twitter"></i><?php
|
195 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Twitter</a>
|
196 |
+
<?php } else { ?>
|
197 |
+
|
198 |
+
|
199 |
+
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
200 |
+
echo "dis";
|
201 |
+
} ?> login-button" rel='nofollow' <?php echo $gdpr_setting; ?>
|
202 |
+
title="<?php echo $customTextofTitle ?> Twitter"
|
203 |
+
onClick="moOpenIdLogin('twitter','<?php echo $custom_app ?>');"><img
|
204 |
+
alt='Twitter'
|
205 |
+
style="width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important"
|
206 |
+
src="<?php echo plugins_url('includes/images/icons/twitter.png', __FILE__) ?>"
|
207 |
+
class="<?php echo $selected_theme; ?> <?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
208 |
+
echo "dis";
|
209 |
+
} ?> login-button"></a>
|
210 |
+
<?php }
|
211 |
+
break;
|
212 |
+
case 'linkedin':
|
213 |
+
if($selected_theme == 'longbutton'){ ?>
|
214 |
+
<a rel='nofollow' <?php echo $gdpr_setting; ?> onClick="moOpenIdLogin('linkedin','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-linkedin btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-linkedin"></i><?php
|
215 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> LinkedIn</a>
|
216 |
+
<?php }
|
217 |
+
else{ ?>
|
218 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' <?php echo $gdpr_setting; ?> title="<?php echo $customTextofTitle ?> LinkedIn" onClick="moOpenIdLogin('linkedin','<?php echo $custom_app?>');"><img alt='LinkedIn' style="width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important" src="<?php echo plugins_url( 'includes/images/icons/linkedin.png', __FILE__ )?>" class="<?php echo $selected_theme; ?> <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> btn-mo login-button" ></a>
|
219 |
+
<?php }
|
220 |
+
break;
|
221 |
+
case 'instagram':
|
222 |
+
if($selected_theme == 'longbutton'){ ?>
|
223 |
+
<a rel='nofollow' <?php echo $gdpr_setting; ?> onClick="moOpenIdLogin('instagram','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-instagram btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-instagram"></i><?php
|
224 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Instagram</a>
|
225 |
+
<?php }
|
226 |
+
else{ ?>
|
227 |
+
|
228 |
+
|
229 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' <?php echo $gdpr_setting; ?> title="<?php echo $customTextofTitle ?> Instagram" onClick="moOpenIdLogin('instagram','<?php echo $custom_app?>');"><img alt='Instagram' style="width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important" src="<?php echo plugins_url( 'includes/images/icons/instagram.png', __FILE__ )?>" class="<?php echo $selected_theme; ?> <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button"></a>
|
230 |
+
<?php }
|
231 |
+
break;
|
232 |
+
case 'amazon':
|
233 |
+
if($selected_theme == 'longbutton'){
|
234 |
+
?> <a rel='nofollow' <?php echo $gdpr_setting; ?> onClick="moOpenIdLogin('amazon','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-soundcloud btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-amazon"></i><?php
|
235 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Amazon</a>
|
236 |
+
<?php }
|
237 |
+
else{ ?>
|
238 |
+
|
239 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' <?php echo $gdpr_setting; ?> title="<?php echo $customTextofTitle ?> Amazon" onClick="moOpenIdLogin('amazon','<?php echo $custom_app?>');"><img alt='Amazon' style="width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important" src="<?php echo plugins_url( 'includes/images/icons/amazon.png', __FILE__ )?>" class="<?php echo $selected_theme; ?> <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button"></a>
|
240 |
+
<?php }
|
241 |
+
break;
|
242 |
+
case 'salesforce':
|
243 |
+
if($selected_theme == 'longbutton'){
|
244 |
+
?> <a rel='nofollow' <?php echo $gdpr_setting; ?> onClick="moOpenIdLogin('salesforce','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-vimeo btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-cloud"></i> <?php
|
245 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Salesforce</a>
|
246 |
+
<?php }
|
247 |
+
else{ ?>
|
248 |
+
|
249 |
+
|
250 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' <?php echo $gdpr_setting; ?> title="<?php echo $customTextofTitle ?> Salesforce" onClick="moOpenIdLogin('salesforce','<?php echo $custom_app?>');"><img alt='Salesforce' style="width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important" src="<?php echo plugins_url( 'includes/images/icons/salesforce.png', __FILE__ )?>" class="<?php echo $selected_theme; ?> <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" ></a>
|
251 |
+
<?php }
|
252 |
+
break;
|
253 |
+
case 'windowslive':
|
254 |
+
if($selected_theme == 'longbutton'){
|
255 |
+
?> <a rel='nofollow' <?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('windowslive','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-microsoft btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-windows"></i><?php
|
256 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Microsoft</a>
|
257 |
+
<?php }
|
258 |
+
else{ ?>
|
259 |
+
|
260 |
+
|
261 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' <?php echo $gdpr_setting; ?>title="<?php echo $customTextofTitle ?> Microsoft" onClick="moOpenIdLogin('windowslive','<?php echo $custom_app?>');"><img alt='Windowslive' style="width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important" src="<?php echo plugins_url( 'includes/images/icons/windowslive.png', __FILE__ )?>" class="<?php echo $selected_theme; ?><?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button"></a>
|
262 |
+
<?php }
|
263 |
+
break;
|
264 |
+
case 'yahoo':
|
265 |
+
if($selected_theme == 'longbutton'){
|
266 |
+
?><a rel='nofollow' <?php echo $gdpr_setting; ?> onClick="moOpenIdLogin('yaahoo','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-yahoo btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-yahoo"></i><?php
|
267 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Yahoo</a>
|
268 |
+
<?php
|
269 |
+
}else{
|
270 |
+
?><a class=" <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' title="<?php echo $customTextofTitle ?> Yahoo" onClick="moOpenIdLogin('yaahoo','<?php echo $custom_app?>');"><img alt='Yahoo' style="width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important" src="<?php echo plugins_url( 'includes/images/icons/yahoo.png', __FILE__ )?>" class="<?php echo $selected_theme; ?> <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" ></a>
|
271 |
+
<?php }
|
272 |
+
break;
|
273 |
+
case 'wordpress':
|
274 |
+
if($selected_theme == 'longbutton'){
|
275 |
+
?> <a rel='nofollow' <?php echo $gdpr_setting; ?> onClick="moOpenIdLogin('wordpress','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-wordpress btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-wordpress"></i><?php
|
276 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> wordpress</a>
|
277 |
+
<?php
|
278 |
+
}else{
|
279 |
+
?><a class=" <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' title="<?php echo $customTextofTitle ?> Wordpress" onClick="moOpenIdLogin('wordpress','<?php echo $custom_app?>');"><img alt='Wordpress' style="width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important" src="<?php echo plugins_url( 'includes/images/icons/wordpress.png', __FILE__ )?>" class="<?php echo $selected_theme; ?> <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" ></a>
|
280 |
+
<?php }
|
281 |
+
break;
|
282 |
+
case 'disqus':
|
283 |
+
if($selected_theme == 'longbutton'){
|
284 |
+
?><a rel='nofollow' <?php echo $gdpr_setting; ?> onClick="moOpenIdLogin('disqus','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-disqus btn-custom-size login-button" > <img class="mofa" style="padding-top:<?php echo $customHeight-35 ?>px !important; margin-top: 0" src="<?php echo plugins_url( 'includes/images/icons/disq.png', __FILE__ )?>"><?php
|
285 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Disqus</a>
|
286 |
+
<?php
|
287 |
+
}else{
|
288 |
+
?><a class=" <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' title="<?php echo $customTextofTitle ?> Disqus" onClick="moOpenIdLogin('disqus','<?php echo $custom_app?>');"><img alt='Disqus' style="width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important" src="<?php echo plugins_url( 'includes/images/icons/disqus.png', __FILE__ )?>" class="<?php echo $selected_theme; ?> <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" ></a>
|
289 |
+
<?php }
|
290 |
+
break;
|
291 |
+
case 'pinterest':
|
292 |
+
if($selected_theme == 'longbutton'){
|
293 |
+
?><a rel='nofollow' <?php echo $gdpr_setting; ?> onClick="moOpenIdLogin('pinterest','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-pinterest btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-pinterest"></i><?php
|
294 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Pinterest</a>
|
295 |
+
<?php
|
296 |
+
}else{
|
297 |
+
?><a class=" <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' title="<?php echo $customTextofTitle ?> Pinterest" onClick="moOpenIdLogin('pinterest','<?php echo $custom_app?>');"><img alt='Pinterest' style="width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important" src="<?php echo plugins_url( 'includes/images/icons/pinterest.png', __FILE__ )?>" class="<?php echo $selected_theme; ?> <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" ></a>
|
298 |
+
<?php }
|
299 |
+
break;
|
300 |
+
case 'twitch':
|
301 |
+
if($selected_theme == 'longbutton'){
|
302 |
+
?><a rel='nofollow' <?php echo $gdpr_setting; ?> onClick="moOpenIdLogin('twitch','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-twitch btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-twitch"></i><?php
|
303 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Twitch</a>
|
304 |
+
<?php
|
305 |
+
}else{
|
306 |
+
?><a class=" <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' title="<?php echo $customTextofTitle ?> Twitch" onClick="moOpenIdLogin('twitch','<?php echo $custom_app?>');"><img alt='Twitch' style="width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important" src="<?php echo plugins_url( 'includes/images/icons/twitch.png', __FILE__ )?>" class="<?php echo $selected_theme; ?> <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" ></a>
|
307 |
+
<?php }
|
308 |
+
break;
|
309 |
+
case 'vimeo':
|
310 |
+
if($selected_theme == 'longbutton'){
|
311 |
+
?><a rel='nofollow' <?php echo $gdpr_setting; ?> onClick="moOpenIdLogin('vimeo','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-vimeo btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-vimeo"></i><?php
|
312 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Vimeo</a>
|
313 |
+
<?php
|
314 |
+
}else{
|
315 |
+
?><a class=" <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' title="<?php echo $customTextofTitle ?> Vimeo" onClick="moOpenIdLogin('vimeo','<?php echo $custom_app?>');"><img alt='Vimeo' style="width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important" src="<?php echo plugins_url( 'includes/images/icons/vimeo.png', __FILE__ )?>" class="<?php echo $selected_theme; ?> <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" ></a>
|
316 |
+
<?php }
|
317 |
+
break;
|
318 |
+
case 'kakao':
|
319 |
+
if($selected_theme == 'longbutton'){
|
320 |
+
?><a rel='nofollow' <?php echo $gdpr_setting; ?> onClick="moOpenIdLogin('kakao','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-kakao btn-custom-size login-button" > <img class="mofa" style="padding-top:<?php echo $customHeight-35 ?>px !important; margin-top: 0" src="<?php echo plugins_url( 'includes/images/icons/kaka.png', __FILE__ )?>"><?php
|
321 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Kakao</a>
|
322 |
+
<?php
|
323 |
+
}else{
|
324 |
+
?><a class=" <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' title="<?php echo $customTextofTitle ?> Kakao" onClick="moOpenIdLogin('kakao','<?php echo $custom_app?>');"><img alt='Kakao' style="width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important" src="<?php echo plugins_url( 'includes/images/icons/kakao.png', __FILE__ )?>" class="<?php echo $selected_theme; ?> <?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" ></a>
|
325 |
+
<?php }
|
326 |
+
break;
|
327 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
328 |
Â
}
|
Â
|
|
329 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
330 |
Â
|
331 |
+
if($customTheme == 'custom'){
|
332 |
+
switch ($select_apps) {
|
333 |
+
case 'facebook':
|
334 |
+
if ($selected_theme == 'longbutton') {
|
335 |
+
?> <a rel='nofollow'
|
336 |
+
<?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('facebook','<?php echo $custom_app ?>');"
|
337 |
+
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
338 |
+
class="btn-mo btn btn-block btn-social btn-facebook btn-custom-size login-button">
|
339 |
+
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
340 |
+
class="mofa"><svg xmlns="http://www.w3.org/2000/svg" style="padding-top:12%;border-right:none;margin-left: 2%;" ><path fill="#fff" d="M22.688 0H1.323C.589 0 0 .589 0 1.322v21.356C0 23.41.59 24 1.323 24h11.505v-9.289H9.693V11.09h3.124V8.422c0-3.1 1.89-4.789 4.658-4.789 1.322 0 2.467.1 2.8.145v3.244h-1.922c-1.5 0-1.801.711-1.801 1.767V11.1h3.59l-.466 3.622h-3.113V24h6.114c.734 0 1.323-.589 1.323-1.322V1.322A1.302 1.302 0 0 0 22.688 0z"/></svg></i><?php
|
341 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Facebook</a>
|
342 |
+
<?php } else { ?>
|
343 |
+
|
344 |
+
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
345 |
+
echo "dis";
|
346 |
+
} ?> login-button" rel='nofollow'
|
347 |
+
onClick="moOpenIdLogin('facebook','<?php echo $custom_app ?>');"
|
348 |
+
title="<?php echo $customTextofTitle ?> Facebook"><i
|
349 |
+
style="margin-top:10px;!important;width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;font-size:<?php echo $customSize - 16 ?>px !important;"
|
350 |
+
class="mofa mofa-facebook custom-login-button <?php echo $selected_theme; ?>"></i></a>
|
351 |
+
|
352 |
+
<?php }
|
353 |
+
break;
|
354 |
+
case 'google':
|
355 |
+
if($selected_theme == 'longbutton'){
|
356 |
+
?>
|
357 |
+
<a rel='nofollow' <?php echo $gdpr_setting; ?> onClick="moOpenIdLogin('google','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important; background:<?php echo "#".$customBackground?> !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-customtheme btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-google"></i><?php
|
358 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Google</a>
|
359 |
+
<?php }
|
360 |
+
else{ ?>
|
361 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' onClick="moOpenIdLogin('google','<?php echo $custom_app?>');" title="<?php echo $customTextofTitle ?> Google"><i style="margin-top:10px;!important;width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important;background:<?php echo "#".$customBackground?> !important;font-size:<?php echo $customSize-16?>px !important;" class="mofa mofa-google custom-login-button <?php echo $selected_theme; ?>" ></i></a>
|
362 |
+
<?php
|
363 |
+
}
|
364 |
+
break;
|
365 |
+
case 'vkontakte':
|
366 |
+
if($selected_theme == 'longbutton'){
|
367 |
+
?>
|
368 |
+
|
369 |
+
<a rel='nofollow' <?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('vkontakte','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important; background:<?php echo "#".$customBackground?> !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-customtheme btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-vk"></i><?php
|
370 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Vkontakte</a>
|
371 |
+
<?php }
|
372 |
+
else{ ?>
|
373 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' onClick="moOpenIdLogin('vkontakte','<?php echo $custom_app?>');" title="<?php echo $customTextofTitle ?> Vkontakte"><i style="margin-top:10px;width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important;background:<?php echo "#".$customBackground?> !important;font-size:<?php echo $customSize-16?>px !important;" class="mofa mofa-vk custom-login-button <?php echo $selected_theme; ?>" ></i></a>
|
374 |
+
<?php
|
375 |
+
}
|
376 |
+
break;
|
377 |
+
case 'twitter':
|
378 |
+
if ($selected_theme == 'longbutton') {
|
379 |
+
?>
|
380 |
+
|
381 |
+
<a rel='nofollow' <?php echo $gdpr_setting; ?>
|
382 |
+
onClick="moOpenIdLogin('twitter','<?php echo $custom_app ?>');"
|
383 |
+
style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight - 29 ?>px !important;padding-bottom:<?php echo $customHeight - 29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons - 5 ?>px !important; background:<?php echo "#" . $customBackground ?> !important;border-radius:<?php echo $customBoundary ?>px !important;"
|
384 |
+
class="btn btn-mo btn-block btn-social btn-customtheme btn-custom-size login-button">
|
385 |
+
<i style="padding-top:<?php echo $customHeight - 35 ?>px !important"
|
386 |
+
class="mofa mofa-twitter"></i><?php
|
387 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Twitter</a>
|
388 |
+
<?php } else { ?>
|
389 |
+
<a class="<?php if (get_option('mo_openid_gdpr_consent_enable')) {
|
390 |
+
echo "dis";
|
391 |
+
} ?> login-button" rel='nofollow'
|
392 |
+
onClick="moOpenIdLogin('twitter','<?php echo $custom_app ?>');"
|
393 |
+
title="<?php echo $customTextofTitle ?> Twitter"><i
|
394 |
+
style="margin-top:10px;width:<?php echo $customSize ?>px !important;height:<?php echo $customSize ?>px !important;margin-left:<?php echo $spacebetweenicons - 4 ?>px !important;background:<?php echo "#" . $customBackground ?> !important;font-size:<?php echo $customSize - 16 ?>px !important;"
|
395 |
+
class="mofa mofa-twitter custom-login-button <?php echo $selected_theme; ?>"></i></a>
|
396 |
+
<?php
|
397 |
+
}
|
398 |
+
break;
|
399 |
+
case 'linkedin':
|
400 |
+
if($selected_theme == 'longbutton'){ ?>
|
401 |
+
<a rel='nofollow' <?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('linkedin','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;background:<?php echo "#".$customBackground?> !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn btn-mo btn-block btn-social btn-linkedin btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-linkedin"></i><?php
|
402 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> LinkedIn</a>
|
403 |
+
<?php }
|
404 |
+
else{ ?>
|
405 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' onClick="moOpenIdLogin('linkedin','<?php echo $custom_app?>');" title="<?php echo $customTextofTitle ?> LinkedIn"><i style="margin-top:10px;width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important;background:<?php echo "#".$customBackground?> !important;font-size:<?php echo $customSize-16?>px !important;" class="mofa mofa-linkedin custom-login-button <?php echo $selected_theme; ?>" ></i></a>
|
406 |
+
<?php }
|
407 |
+
break;
|
408 |
+
case 'instagram':
|
409 |
+
if($selected_theme == 'longbutton'){ ?>
|
410 |
+
<a rel='nofollow' <?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('instagram','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;background:<?php echo "#".$customBackground?> !important;background:<?php echo "#".$customBackground?> !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn btn-block btn-mo btn-social btn-instagram btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-instagram"></i><?php
|
411 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Instagram</a>
|
412 |
+
<?php }
|
413 |
+
else{ ?>
|
414 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' onClick="moOpenIdLogin('instagram','<?php echo $custom_app?>');" title="<?php echo $customTextofTitle ?> Instagram"><i style="margin-top:10px;width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important;background:<?php echo "#".$customBackground?> !important;font-size:<?php echo $customSize-16?>px !important;" class="mofa mofa-instagram custom-login-button <?php echo $selected_theme; ?>"></i></a>
|
415 |
+
<?php }
|
416 |
+
break;
|
417 |
+
case 'amazon':
|
418 |
+
if($selected_theme == 'longbutton'){
|
419 |
+
?> <a rel='nofollow' <?php echo $gdpr_setting; ?> onClick="moOpenIdLogin('amazon','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;background:<?php echo "#".$customBackground?> !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn btn-mo btn-block btn-social btn-linkedin btn-custom-size login-button" ><i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-amazon"></i><?php
|
420 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Amazon</a>
|
421 |
+
<?php }
|
422 |
+
else{ ?>
|
423 |
+
|
424 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' onClick="moOpenIdLogin('amazon','<?php echo $custom_app?>');" title="<?php echo $customTextofTitle ?> Amazon"><i style="margin-top:10px;width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important;background:<?php echo "#".$customBackground?> !important;font-size:<?php echo $customSize-16?>px !important;" class="mofa mofa-amazon custom-login-button <?php echo $selected_theme; ?>"></i></a>
|
425 |
+
<?php }
|
426 |
+
break;
|
427 |
+
case 'salesforce':
|
428 |
+
if($selected_theme == 'longbutton'){
|
429 |
+
?> <a rel='nofollow' <?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('salesforce','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;background:<?php echo "#".$customBackground?> !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn btn-mo btn-block btn-social btn-linkedin btn-custom-size login-button" ><i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-cloud"></i> <?php
|
430 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Salesforce</a>
|
431 |
+
<?php }
|
432 |
+
else{ ?>
|
433 |
+
|
434 |
+
|
435 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' onClick="moOpenIdLogin('salesforce','<?php echo $custom_app?>');" title="<?php echo $customTextofTitle ?> Salesforce"><i style="margin-top:10px;width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important;background:<?php echo "#".$customBackground?> !important;font-size:<?php echo $customSize-16?>px " class="mofa mofa-cloud custom-login-button <?php echo $selected_theme; ?>" ></i></a>
|
436 |
+
<?php }
|
437 |
+
break;
|
438 |
+
case 'windowslive':
|
439 |
+
if($selected_theme == 'longbutton'){
|
440 |
+
?> <a rel='nofollow' <?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('windowslive','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;background:<?php echo "#".$customBackground?> !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn btn-mo btn-block btn-social btn-microsoft btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-windows"></i><?php
|
441 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Microsoft</a>
|
442 |
+
<?php }
|
443 |
+
else{ ?>
|
444 |
+
|
445 |
+
|
446 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' onClick="moOpenIdLogin('windowslive','<?php echo $custom_app?>');" title="<?php echo $customTextofTitle ?> Microsoft"><i style="margin-top:10px;width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important;background:<?php echo "#".$customBackground?> !important;font-size:<?php echo $customSize-16?>px !important;" class=" mofa mofa-windows custom-login-button <?php echo $selected_theme; ?>"></i></a>
|
447 |
+
<?php }
|
448 |
+
break;
|
449 |
+
case 'yahoo':
|
450 |
+
if($selected_theme == 'longbutton'){
|
451 |
+
?> <a rel='nofollow' <?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('yaahoo','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;background:<?php echo "#".$customBackground?> !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-yahoo btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-yahoo"></i><?php
|
452 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Yahoo</a>
|
453 |
+
<?php }
|
454 |
+
else{ ?>
|
455 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' onClick="moOpenIdLogin('yaahoo','<?php echo $custom_app?>');" title="<?php echo $customTextofTitle ?> Yahoo"><i style="margin-top:10px;!important;width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important;background:<?php echo "#".$customBackground?> !important;font-size:<?php echo $customSize-16?>px !important;" class="mofa mofa-yahoo custom-login-button <?php echo $selected_theme; ?>" ></i></a>
|
456 |
+
<?php }
|
457 |
+
break;
|
458 |
+
case 'wordpress':
|
459 |
+
if($selected_theme == 'longbutton'){
|
460 |
+
?> <a rel='nofollow' <?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('wordpress','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;background:<?php echo "#".$customBackground?> !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-wordpress btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-wordpress"></i><?php
|
461 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> WordPress</a>
|
462 |
+
<?php }
|
463 |
+
else{ ?>
|
464 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' onClick="moOpenIdLogin('wordpress','<?php echo $custom_app?>');" title="<?php echo $customTextofTitle ?> WordPress"><i style="margin-top:10px;!important;width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important;background:<?php echo "#".$customBackground?> !important;font-size:<?php echo $customSize-16?>px !important;" class="mofa mofa-wordpress custom-login-button <?php echo $selected_theme; ?>" ></i></a>
|
465 |
+
<?php }
|
466 |
+
break;
|
467 |
+
case 'disqus':
|
468 |
+
if($selected_theme == 'longbutton'){
|
469 |
+
?> <a rel='nofollow' <?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('disqus','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;background:<?php echo "#".$customBackground?> !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-disqus btn-custom-size login-button" > <img class="mofa" style="padding-top:<?php echo $customHeight-35 ?>px !important; margin-top: 0" src="<?php echo plugins_url( 'includes/images/icons/disq.png', __FILE__ )?>"><?php
|
470 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Disqus</a>
|
471 |
+
<?php }
|
472 |
+
else{ ?>
|
473 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' onClick="moOpenIdLogin('disqus','<?php echo $custom_app?>');" title="<?php echo $customTextofTitle ?> Disqus"><i style="margin-top:10px;!important;width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important;background:<?php echo "#".$customBackground?> !important;font-size:<?php echo $customSize-16?>px !important;" class="mofa custom-login-button <?php echo $selected_theme; ?>" ><img height="<?php echo $customSize-21 ?>px" src="<?php echo plugins_url( 'includes/images/icons/disq.png', __FILE__ )?>"></i></a>
|
474 |
+
<?php }
|
475 |
+
break;
|
476 |
+
case 'pinterest':
|
477 |
+
if($selected_theme == 'longbutton'){
|
478 |
+
?> <a rel='nofollow' <?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('pinterest','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;background:<?php echo "#".$customBackground?> !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-pinterest btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-pinterest"></i><?php
|
479 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Pinterest</a>
|
480 |
+
<?php }
|
481 |
+
else{ ?>
|
482 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' onClick="moOpenIdLogin('pinterest','<?php echo $custom_app?>');" title="<?php echo $customTextofTitle ?> Pinterest"><i style="margin-top:10px;!important;width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important;background:<?php echo "#".$customBackground?> !important;font-size:<?php echo $customSize-16?>px !important;" class="mofa mofa-pinterest custom-login-button <?php echo $selected_theme; ?>" ></i></a>
|
483 |
+
<?php }
|
484 |
+
break;
|
485 |
+
case 'twitch':
|
486 |
+
if($selected_theme == 'longbutton'){
|
487 |
+
?> <a rel='nofollow' <?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('twitch','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;background:<?php echo "#".$customBackground?> !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-twitch btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-twitch"></i><?php
|
488 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Twitch</a>
|
489 |
+
<?php }
|
490 |
+
else{ ?>
|
491 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' onClick="moOpenIdLogin('twitch','<?php echo $custom_app?>');" title="<?php echo $customTextofTitle ?> Twitch"><i style="margin-top:10px;!important;width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important;background:<?php echo "#".$customBackground?> !important;font-size:<?php echo $customSize-16?>px !important;" class="mofa mofa-twitch custom-login-button <?php echo $selected_theme; ?>" ></i></a>
|
492 |
+
<?php }
|
493 |
+
break;
|
494 |
+
case 'vimeo':
|
495 |
+
if($selected_theme == 'longbutton'){
|
496 |
+
?> <a rel='nofollow' <?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('vimeo','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;background:<?php echo "#".$customBackground?> !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-vimeo btn-custom-size login-button" > <i style="padding-top:<?php echo $customHeight-35 ?>px !important" class="mofa mofa-vimeo"></i><?php
|
497 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Vimeo</a>
|
498 |
+
<?php }
|
499 |
+
else{ ?>
|
500 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' onClick="moOpenIdLogin('vimeo','<?php echo $custom_app?>');" title="<?php echo $customTextofTitle ?> Vimeo"><i style="margin-top:10px;!important;width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important;background:<?php echo "#".$customBackground?> !important;font-size:<?php echo $customSize-16?>px !important;" class="mofa mofa-vimeo custom-login-button <?php echo $selected_theme; ?>" ></i></a>
|
501 |
+
<?php }
|
502 |
+
break;
|
503 |
+
case 'kakao':
|
504 |
+
if($selected_theme == 'longbutton'){
|
505 |
+
?> <a rel='nofollow' <?php echo $gdpr_setting; ?>onClick="moOpenIdLogin('kakao','<?php echo $custom_app?>');" style="width:<?php echo $customWidth ?>px !important;padding-top:<?php echo $customHeight-29 ?>px !important;padding-bottom:<?php echo $customHeight-29 ?>px !important;margin-bottom:<?php echo $spacebetweenicons-5 ?>px !important;background:<?php echo "#".$customBackground?> !important;border-radius:<?php echo $customBoundary ?>px !important;" class="btn-mo btn btn-block btn-social btn-kakao btn-custom-size login-button" > <img class="mofa" style="padding-top:<?php echo $customHeight-35 ?>px !important; margin-top: 0" src="<?php echo plugins_url( 'includes/images/icons/kaka.png', __FILE__ )?>"><?php
|
506 |
+
echo get_option('mo_openid_login_button_customize_text'); ?> Kakao</a>
|
507 |
+
<?php }
|
508 |
+
else{ ?>
|
509 |
+
<a class="<?php if(get_option('mo_openid_gdpr_consent_enable')){echo "dis";} ?> login-button" rel='nofollow' onClick="moOpenIdLogin('kakao','<?php echo $custom_app?>');" title="<?php echo $customTextofTitle ?> Kakao"><i style="margin-top:10px;!important;width:<?php echo $customSize?>px !important;height:<?php echo $customSize?>px !important;margin-left:<?php echo $spacebetweenicons-4?>px !important;background:<?php echo "#".$customBackground?> !important;font-size:<?php echo $customSize-16?>px !important;" class="mofa custom-login-button <?php echo $selected_theme; ?>" ><img height="<?php echo $customSize-21 ?>px" src="<?php echo plugins_url( 'includes/images/icons/kaka.png', __FILE__ )?>"></i></a>
|
510 |
+
<?php }
|
511 |
+
break;
|
512 |
Â
}
|
Â
|
|
Â
|
|
513 |
Â
}
|
514 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
515 |
Â
}
|
516 |
Â
?>
|
517 |
+
<br>
|
518 |
+
</div>
|
519 |
+
<?php
|
520 |
+
}
|
521 |
+
else {
|
522 |
+
?>
|
523 |
+
<div>No apps configured. Please contact your administrator.</div>
|
524 |
+
<?php
|
525 |
+
}
|
526 |
+
if($appsConfigured && get_option('moopenid_logo_check') == 1){
|
527 |
+
$logo_html = $this->mo_openid_customize_logo();
|
528 |
+
echo $logo_html;
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
529 |
Â
}
|
530 |
+
?>
|
531 |
+
<br />
|
532 |
+
<?php
|
533 |
Â
}
|
534 |
+
else {
|
535 |
+
global $current_user;
|
536 |
+
$current_user = wp_get_current_user();
|
537 |
+
$customLogoutName = str_replace('##username##', $current_user->display_name, $customLogoutName);
|
538 |
+
$link_with_username = $customLogoutName;
|
539 |
+
if (empty($customLogoutName) || empty($customLogoutLink)) {
|
540 |
+
?>
|
541 |
+
<div id="logged_in_user" class="mo_openid_login_wid">
|
542 |
+
<li><?php echo $link_with_username;?> <a href="<?php echo wp_logout_url( site_url() ); ?>" title="<?php _e('Logout','flw');?>"><?php _e($customLogoutLink,'flw');?></a></li>
|
543 |
+
</div>
|
544 |
+
<?php
|
545 |
Â
|
546 |
+
}
|
547 |
+
else {
|
548 |
+
?>
|
549 |
+
<div id="logged_in_user" class="mo_openid_login_wid">
|
550 |
+
<li><?php echo $link_with_username;?> <a href="<?php echo wp_logout_url( site_url() ); ?>" title="<?php _e('Logout','flw');?>"><?php _e($customLogoutLink,'flw');?></a></li>
|
551 |
+
</div>
|
552 |
+
<?php
|
553 |
+
}
|
554 |
Â
}
|
555 |
+
}
|
556 |
Â
|
557 |
+
public function mo_openid_customize_logo(){
|
558 |
+
$logo =" <div style='float:left;' class='mo_image_id'>
|
559 |
+
<a target='_blank' href='https://www.miniorange.com/'>
|
560 |
+
<img alt='logo' src='". plugins_url('/includes/images/miniOrange.png',__FILE__) ."' class='mo_openid_image'>
|
561 |
+
</a>
|
562 |
+
</div>
|
563 |
+
<br/>";
|
564 |
+
return $logo;
|
565 |
+
}
|
566 |
Â
|
567 |
+
public function if_custom_app_exists($app_name){
|
568 |
+
|
569 |
+
if(get_option('mo_openid_apps_list'))
|
570 |
+
{
|
571 |
+
$appslist = maybe_unserialize(get_option('mo_openid_apps_list'));
|
572 |
+
if(isset($appslist[$app_name])) {
|
573 |
+
if (get_option('mo_openid_enable_custom_app_' . $app_name))
|
574 |
Â
return 'true';
|
575 |
+
else
|
576 |
+
return 'false';
|
577 |
Â
}
|
578 |
+
else
|
579 |
+
return 'false';
|
580 |
Â
}
|
581 |
+
return 'false';
|
582 |
+
}
|
583 |
Â
|
584 |
+
public function openidloginFormShortCode( $atts ){
|
585 |
+
global $post;
|
586 |
+
$html = '';
|
587 |
+
$apps="";
|
588 |
+
$selected_theme = isset( $atts['shape'] )? esc_attr($atts['shape']) : esc_attr(get_option('mo_openid_login_theme'));
|
589 |
+
$selected_apps = isset( $atts['apps'] )? esc_attr($atts['apps']) : "";
|
590 |
+
$application_pos = get_option('app_pos');
|
591 |
+
$appsConfigured = get_option('mo_openid_facebook_enable') | get_option('mo_openid_google_enable') | get_option('mo_openid_vkontakte_enable') | get_option('mo_openid_twitter_enable') | get_option('mo_openid_instagram_enable') | get_option('mo_openid_linkedin_enable') | get_option('mo_openid_amazon_enable') | get_option('mo_openid_salesforce_enable') | get_option('mo_openid_windowslive_enable') | get_option('mo_openid_yahoo_enable') ;
|
592 |
+
$spacebetweenicons = isset( $atts['space'] )? esc_attr(intval($atts['space'])) : esc_attr(intval(get_option('mo_login_icon_space')));
|
593 |
+
$customWidth = isset( $atts['width'] )? esc_attr(intval($atts['width'])) : esc_attr(intval(get_option('mo_login_icon_custom_width')));
|
594 |
+
$customHeight = isset( $atts['height'] )? esc_attr(intval($atts['height'])) : esc_attr(intval(get_option('mo_login_icon_custom_height')));
|
595 |
+
$customSize = isset( $atts['size'] )? esc_attr(intval($atts['size'])) : esc_attr(intval(get_option('mo_login_icon_custom_size')));
|
596 |
+
$customBackground = isset( $atts['background'] )? esc_attr($atts['background']) : esc_attr(get_option('mo_login_icon_custom_color'));
|
597 |
+
$customTheme = isset( $atts['theme'] )? esc_attr($atts['theme']) : esc_attr(get_option('mo_openid_login_custom_theme'));
|
598 |
+
$buttonText = esc_html(get_option('mo_openid_login_button_customize_text'));
|
599 |
+
$customTextofTitle = esc_attr(get_option('mo_openid_login_button_customize_text'));
|
600 |
+
$logoutUrl = esc_url(wp_logout_url(site_url()));
|
601 |
+
$customBoundary = isset( $atts['edge'] )? esc_attr($atts['edge']) : esc_attr(get_option('mo_login_icon_custom_boundary'));
|
602 |
+
$customLogoutName = esc_attr(get_option('mo_openid_login_widget_customize_logout_name_text'));
|
603 |
+
$customLogoutLink = get_option('mo_openid_login_widget_customize_logout_text');
|
604 |
+
$customTextColor= isset( $atts['color'] )? esc_attr($atts['color']) : esc_attr(get_option('mo_login_openid_login_widget_customize_textcolor'));
|
605 |
+
$customText=isset( $atts['heading'] )? esc_html($atts['heading']) :esc_html(get_option('mo_openid_login_widget_customize_text'));
|
606 |
+
$view=isset( $atts['view'] )? esc_attr($atts['view']) : "";
|
607 |
+
$appcnt=isset( $atts['appcnt'] )? esc_attr($atts['appcnt']) : "";
|
608 |
+
if($selected_theme == 'longbuttonwithtext'){
|
609 |
+
$selected_theme = 'longbutton';
|
610 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
611 |
Â
|
612 |
+
if($customTheme == 'custombackground'){
|
613 |
+
$customTheme = 'custom';
|
614 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
615 |
Â
|
616 |
+
if(get_option('mo_openid_gdpr_consent_enable')) {
|
617 |
+
$gdpr_setting = "disabled='disabled'";
|
618 |
+
}
|
619 |
+
else
|
620 |
+
$gdpr_setting = '';
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
621 |
Â
|
622 |
+
$url = esc_url(get_option('mo_openid_privacy_policy_url'));
|
623 |
+
$text = esc_html(get_option('mo_openid_privacy_policy_text'));
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
624 |
Â
|
625 |
+
if( !empty($text) && strpos(get_option('mo_openid_gdpr_consent_message'),$text)){
|
626 |
+
$consent_message = str_replace(get_option('mo_openid_privacy_policy_text'),'<a target="_blank" href="'.$url.'">'.$text.'</a>',get_option('mo_openid_gdpr_consent_message'));
|
627 |
+
}else if(empty($text)){
|
628 |
+
$consent_message = get_option('mo_openid_gdpr_consent_message');
|
629 |
+
}
|
630 |
+
if(get_option('mo_openid_gdpr_consent_enable'))
|
631 |
+
{
|
632 |
+
$dis = "dis";
|
633 |
+
}
|
634 |
+
else{
|
635 |
+
$dis = '';
|
636 |
+
}
|
637 |
+
$protocol = ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://";
|
638 |
+
$sign_up_url = $protocol . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
639 |
+
$mo_URL=strstr($sign_up_url, "?", true);
|
640 |
+
if($mo_URL) {setcookie("mo_openid_signup_url", $mo_URL, time() + (86400 * 30), "/");}
|
641 |
+
else{setcookie("mo_openid_signup_url", $sign_up_url, time() + (86400 * 30), "/");}
|
642 |
+
if( ! is_user_logged_in() ) {
|
643 |
+
if( $appsConfigured || $selected_apps!="") {
|
644 |
Â
|
645 |
+
if($selected_apps!="")
|
646 |
+
$apps=explode(',', $selected_apps);
|
647 |
+
else
|
648 |
+
$apps=explode('#', $application_pos);
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
649 |
Â
|
650 |
+
$this->mo_openid_load_login_script();
|
651 |
+
$html .= "<div class='mo-openid-app-icons'>
|
652 |
+
<p style='color:#".$customTextColor."'> $customText</p>";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
653 |
Â
|
654 |
+
if(get_option('mo_openid_gdpr_consent_enable')){
|
655 |
+
$html .= '<label class="mo-consent"><input type="checkbox" onchange="mo_openid_on_consent_change(this)" value="1" id="mo_openid_consent_checkbox">';
|
656 |
+
$html .= $consent_message.'</label>';
|
657 |
+
}
|
658 |
+
echo "<br>";
|
659 |
+
$count = -1;
|
660 |
+
if($selected_apps!=""){
|
661 |
+
if(mo_openid_is_customer_registered())
|
662 |
+
{
|
663 |
+
foreach ($apps as $select_apps) {
|
664 |
+
$app_dis = "";
|
665 |
+
if ($selected_theme == 'longbutton') {
|
666 |
+
if ($view == "horizontal" && isset($appcnt)) {
|
667 |
+
$count++;
|
668 |
+
if ($count == $appcnt) {
|
669 |
+
$html .= "<br/>";
|
670 |
+
$count = 0;
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
671 |
Â
}
|
Â
|
|
Â
|
|
672 |
Â
}
|
673 |
Â
}
|
674 |
+
$app_values= array(
|
675 |
+
'gdpr_setting' => $gdpr_setting,
|
676 |
+
'spacebetweenicons' => $spacebetweenicons,
|
677 |
+
'customWidth' => $customWidth,
|
678 |
+
'customHeight' => $customHeight,
|
679 |
+
'customBoundary' => $customBoundary,
|
680 |
+
'buttonText' => $buttonText,
|
681 |
+
'dis' => $dis,
|
682 |
+
'customTextofTitle' => $customTextofTitle,
|
683 |
+
'customSize' => $customSize,
|
684 |
+
'selected_theme' => $selected_theme,
|
685 |
+
'html' => $html,
|
686 |
+
'view' => $view,
|
687 |
+
'customBackground' => $customBackground,
|
688 |
+
'app_dis' => $app_dis,
|
689 |
+
'customTheme' => $customTheme,
|
690 |
+
'customer_register' => 'yes',
|
691 |
+
);
|
692 |
+
$html=$this->select_app($select_apps,$app_values);
|
693 |
Â
}
|
694 |
+
}
|
695 |
+
else{
|
696 |
+
foreach ($apps as $select_apps) {
|
697 |
+
$app_dis = "";
|
698 |
+
if ($selected_theme == 'longbutton') {
|
699 |
+
if ($view == "horizontal" && isset($appcnt)) {
|
700 |
+
$count++;
|
701 |
+
if ($count == $appcnt) {
|
702 |
+
$html .= "<br/>";
|
703 |
+
$count = 0;
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
704 |
Â
}
|
705 |
Â
}
|
706 |
Â
}
|
707 |
+
$app_values= array(
|
708 |
+
'gdpr_setting' => $gdpr_setting,
|
709 |
+
'spacebetweenicons' => $spacebetweenicons,
|
710 |
+
'customWidth' => $customWidth,
|
711 |
+
'customHeight' => $customHeight,
|
712 |
+
'customBoundary' => $customBoundary,
|
713 |
+
'buttonText' => $buttonText,
|
714 |
+
'dis' => $dis,
|
715 |
+
'customTextofTitle' => $customTextofTitle,
|
716 |
+
'customSize' => $customSize,
|
717 |
+
'selected_theme' => $selected_theme,
|
718 |
+
'html' => $html,
|
719 |
+
'view' => $view,
|
720 |
+
'customBackground' => $customBackground,
|
721 |
+
'app_dis' => $app_dis,
|
722 |
+
'customTheme' => $customTheme,
|
723 |
+
'customer_register' => 'no',
|
724 |
+
);
|
725 |
+
$html=$this->select_app($select_apps,$app_values);
|
726 |
+
}
|
727 |
+
}
|
728 |
+
}
|
729 |
+
else{
|
730 |
+
foreach ($apps as $select_apps) {
|
731 |
+
if (get_option('mo_openid_'.$select_apps.'_enable')) {
|
732 |
+
$app_dis = "";
|
733 |
+
if ($selected_theme == 'longbutton') {
|
734 |
+
if ($view == "horizontal" && isset($appcnt)) {
|
735 |
+
$count++;
|
736 |
+
if ($count == $appcnt) {
|
737 |
+
$html .= "<br/>";
|
738 |
+
$count = 0;
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
739 |
Â
}
|
Â
|
|
Â
|
|
740 |
Â
}
|
741 |
Â
}
|
742 |
+
$app_values= array(
|
743 |
+
'gdpr_setting' => $gdpr_setting,
|
744 |
+
'spacebetweenicons' => $spacebetweenicons,
|
745 |
+
'customWidth' => $customWidth,
|
746 |
+
'customHeight' => $customHeight,
|
747 |
+
'customBoundary' => $customBoundary,
|
748 |
+
'buttonText' => $buttonText,
|
749 |
+
'dis' => $dis,
|
750 |
+
'customTextofTitle' => $customTextofTitle,
|
751 |
+
'customSize' => $customSize,
|
752 |
+
'selected_theme' => $selected_theme,
|
753 |
+
'html' => $html,
|
754 |
+
'view' => $view,
|
755 |
+
'customBackground' => $customBackground,
|
756 |
+
'app_dis' => $app_dis,
|
757 |
+
'customTheme' => $customTheme,
|
758 |
+
'customer_register' => 'yes',
|
759 |
+
);
|
760 |
+
$html=$this->select_app($select_apps,$app_values);
|
761 |
Â
}
|
762 |
+
}
|
763 |
+
}
|
764 |
+
$html .= '</div> <br>';
|
765 |
+
}
|
766 |
+
else {
|
767 |
+
$html .= '<div>No apps configured. Please contact your administrator.</div>';
|
768 |
+
}
|
769 |
+
if( $appsConfigured && get_option('moopenid_logo_check') == 1 ){
|
770 |
+
$logo_html=$this->mo_openid_customize_logo();
|
771 |
+
$html .= $logo_html;
|
772 |
+
}
|
773 |
+
?>
|
774 |
+
<br/>
|
775 |
+
<?php
|
776 |
+
}else {
|
777 |
+
global $current_user;
|
778 |
+
$current_user = wp_get_current_user();
|
779 |
+
$customLogoutName = str_replace('##username##', $current_user->display_name, $customLogoutName);
|
780 |
+
$flw = __($customLogoutLink,"flw");
|
781 |
+
if (empty($customLogoutName) || empty($customLogoutLink)) {
|
782 |
+
$html .= '<div id="logged_in_user" class="mo_openid_login_wid">' . $customLogoutName . ' <a href=' . $logoutUrl .' title=" ' . $flw . '"> ' . $flw . '</a></div>';
|
783 |
+
}
|
784 |
+
else {
|
785 |
+
$html .= '<div id="logged_in_user" class="mo_openid_login_wid">' . $customLogoutName . ' <a href=' . $logoutUrl .' title=" ' . $flw . '"> ' . $flw . '</a></div>';
|
786 |
+
}
|
787 |
+
}
|
788 |
+
return $html;
|
789 |
+
}
|
790 |
Â
|
791 |
+
public function select_app($select_apps,$app_values){
|
792 |
+
$gdpr_setting = $app_values['gdpr_setting'];
|
793 |
+
$spacebetweenicons = $app_values['spacebetweenicons'];
|
794 |
+
$customWidth = $app_values['customWidth'];
|
795 |
+
$customHeight = $app_values['customHeight'];
|
796 |
+
$customBoundary = $app_values['customBoundary'];
|
797 |
+
$buttonText = $app_values['buttonText'];
|
798 |
+
$dis = $app_values['dis'];
|
799 |
+
$customTextofTitle = $app_values['customTextofTitle'];
|
800 |
+
$customSize = $app_values['customSize'];
|
801 |
+
$selected_theme = $app_values['selected_theme'];
|
802 |
+
$html = $app_values['html'];
|
803 |
+
$view = $app_values['view'];
|
804 |
+
$customBackground = $app_values['customBackground'];
|
805 |
+
$app_dis = $app_values['app_dis'];
|
806 |
+
$customTheme = $app_values['customTheme'];
|
807 |
+
$customer_register = $app_values['customer_register'];
|
808 |
+
switch ($select_apps) {
|
809 |
+
case 'facebook':
|
810 |
+
case 'fb':
|
811 |
+
$custom_app = esc_attr($this->if_custom_app_exists('facebook'));;
|
812 |
+
$custom_app == "false" ? $app_dis = "disable" : $app_dis = "";
|
813 |
+
$html = $this->add_apps("fb", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
|
814 |
+
break;
|
815 |
+
case 'google':
|
816 |
+
$custom_app = esc_attr($this->if_custom_app_exists('google'));
|
817 |
+
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
818 |
+
$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);
|
819 |
+
break;
|
820 |
+
case 'vkontakte':
|
821 |
+
case 'vk':
|
822 |
+
$custom_app = esc_attr($this->if_custom_app_exists('vkontakte'));
|
823 |
+
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
824 |
+
$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);
|
825 |
+
break;
|
826 |
+
case 'twitter':
|
827 |
+
$custom_app = esc_attr($this->if_custom_app_exists('twitter'));
|
828 |
+
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
829 |
+
$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);
|
830 |
+
break;
|
831 |
+
case 'linkedin':
|
832 |
+
case 'linkin':
|
833 |
+
$custom_app = esc_attr($this->if_custom_app_exists('linkedin'));
|
834 |
+
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
835 |
+
$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);
|
836 |
+
break;
|
837 |
+
case 'instagram':
|
838 |
+
case 'insta':
|
839 |
+
$custom_app = esc_attr($this->if_custom_app_exists('instagram'));
|
840 |
+
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
841 |
+
$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);
|
842 |
+
break;
|
843 |
+
case 'amazon':
|
844 |
+
$custom_app = esc_attr($this->if_custom_app_exists('amazon'));
|
845 |
+
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
846 |
+
$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);
|
847 |
+
break;
|
848 |
+
case 'salesforce':
|
849 |
+
case 'sforce':
|
850 |
+
$custom_app = esc_attr($this->if_custom_app_exists('salesforce'));
|
851 |
+
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
852 |
+
$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);
|
853 |
+
break;
|
854 |
+
case 'windowslive':
|
855 |
+
case 'wlive':
|
856 |
+
$custom_app = esc_attr($this->if_custom_app_exists('windowslive'));
|
857 |
+
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
858 |
+
$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);
|
859 |
+
break;
|
860 |
+
case 'yahoo':
|
861 |
+
$custom_app = esc_attr($this->if_custom_app_exists('yahoo'));
|
862 |
+
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
863 |
+
$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);
|
864 |
+
break;
|
865 |
+
case 'wordpress':
|
866 |
+
case 'wpress':
|
867 |
+
$custom_app = esc_attr($this->if_custom_app_exists('wordpress'));
|
868 |
+
$app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
|
869 |
+
$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);
|
870 |
+
break;
|
871 |
+
}
|
872 |
+
return $html;
|
873 |
+
}
|
874 |
Â
|
875 |
+
public function check_capp_reg_cust($customer_register,$custom_app)
|
876 |
+
{
|
877 |
+
if($customer_register=='no' && $custom_app =='false')
|
878 |
+
return 'disable';
|
879 |
+
}
|
880 |
+
//for shortcode
|
881 |
+
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)
|
882 |
+
{
|
883 |
+
if($theme=="default")
|
884 |
+
{
|
885 |
+
if($app_name=="fb")
|
886 |
+
{
|
887 |
+
if ($selected_theme == 'longbutton') {
|
888 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . "px !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
889 |
+
if ($view == "horizontal") {
|
890 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-facebook btn-custom-dec login-button'";
|
891 |
Â
} else {
|
892 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-facebook btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
893 |
Â
}
|
894 |
+
if($app_dis!="disable")
|
895 |
+
$html .= "onClick=\"moOpenIdLogin('facebook','" . $custom_app . "');\"";
|
896 |
+
$html .= "> <svg xmlns=\"http://www.w3.org/2000/svg\" style=\"padding-top:" . ($customHeight - 30) . "px;border-right:none;margin-left: 2%;\" ><path fill=\"#fff\" d=\"M22.688 0H1.323C.589 0 0 .589 0 1.322v21.356C0 23.41.59 24 1.323 24h11.505v-9.289H9.693V11.09h3.124V8.422c0-3.1 1.89-4.789 4.658-4.789 1.322 0 2.467.1 2.8.145v3.244h-1.922c-1.5 0-1.801.711-1.801 1.767V11.1h3.59l-.466 3.622h-3.113V24h6.114c.734 0 1.323-.589 1.323-1.322V1.322A1.302 1.302 0 0 0 22.688 0z\"/></svg>" . $buttonText . " Facebook</a>";
|
897 |
Â
} else {
|
898 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Facebook'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('facebook','" . $custom_app . "');\""; $html.="><img alt='Facebook' style='width:" . $customSize . "px !important;height: " . $customSize . "px !important;margin-left: " . ($spacebetweenicons) . "px !important' src='" . plugins_url('includes/images/icons/facebook.png', __FILE__) . "' class='" . $dis . " login-button " . $selected_theme . "' ></a>";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
899 |
Â
}
|
900 |
Â
return $html;
|
901 |
Â
}
|
902 |
+
else if($app_name=="google")
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
903 |
Â
{
|
904 |
+
if ($selected_theme == 'longbutton') {
|
905 |
+
$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) 38px, rgb(79, 113, 232) 5%) !important;width: " . $customWidth . "px !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;'";
|
906 |
+
if ($view == "horizontal") {
|
907 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-google btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
908 |
Â
} else {
|
909 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-google btn-custom-dec login-button'";
|
910 |
Â
}
|
911 |
+
if($app_dis!="disable")
|
912 |
+
$html .= "onClick=\"moOpenIdLogin('google','" . $custom_app . "');\"";
|
913 |
+
$html.="> <i style='padding-top:" . ($customHeight - 29) . "px !important;border-right:none;' class='mofa'><svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 70 70\" style=\"padding-left: 8%;\" ><defs><path id=\"a\" d=\"M44.5 20H24v8.5h11.8C34.7 33.9 30.1 37 24 37c-7.2 0-13-5.8-13-13s5.8-13 13-13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 4.1 29.6 2 24 2 11.8 2 2 11.8 2 24s9.8 22 22 22c11 0 21-8 21-22 0-1.3-.2-2.7-.5-4z\"/></defs><clipPath id=\"b\"><use xlink:href=\"#a\" overflow=\"visible\"/></clipPath><path clip-path=\"url(#b)\" fill=\"#FBBC05\" d=\"M0 37V11l17 13z\"/><path clip-path=\"url(#b)\" fill=\"#EA4335\" d=\"M0 11l17 13 7-6.1L48 14V0H0z\"/><path clip-path=\"url(#b)\" fill=\"#34A853\" d=\"M0 37l30-23 7.9 1L48 0v48H0z\"/><path clip-path=\"url(#b)\" fill=\"#4285F4\" d=\"M48 48L17 24l-4-3 35-10z\"/></svg></i><span style=\"color:#ffffff;\">" . $buttonText . " Google</span></a>";
|
914 |
+
} else {
|
915 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow'";if($app_dis!="disable")$html.=" onClick=\"moOpenIdLogin('google','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " Google'><img alt='Google' style='width:" . $customSize . "px !important;height: " . $customSize . "px !important;margin-left: " . ($spacebetweenicons) . "px !important' src='" . plugins_url('includes/images/icons/google.png', __FILE__) . "' class='" . $dis . " login-button " . $selected_theme . "' ></a>";
|
916 |
Â
}
|
917 |
+
return $html;
|
918 |
+
}
|
919 |
+
else if($app_name=="vk")
|
920 |
+
{
|
921 |
+
if ($selected_theme == 'longbutton') {
|
922 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . "px !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
923 |
+
if ($view == "horizontal") {
|
924 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-vk btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
925 |
Â
} else {
|
926 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-vk btn-custom-dec login-button'";
|
927 |
Â
}
|
928 |
+
if($app_dis!="disable")
|
929 |
+
$html .= "onClick=\"moOpenIdLogin('vkontakte','" . $custom_app . "');\"";
|
930 |
+
$html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-vk'></i>" . $buttonText . " Vkontakte</a>";
|
931 |
+
} else {
|
932 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow'"; if($app_dis!="disable") $html.="onClick=\"moOpenIdLogin('vkontakte','" . $custom_app . "');\""; $html.="title= ' " . $customTextofTitle . " Vkontakte'><img alt='Vkontakte' style='width:" . $customSize . "px !important;height: " . $customSize . "px !important;margin-left: " . ($spacebetweenicons) . "px !important' src='" . plugins_url('includes/images/icons/vk.png', __FILE__) . "' class='" . $dis . " login-button " . $selected_theme . "' ></a>";
|
933 |
Â
}
|
934 |
+
return $html;
|
935 |
+
}
|
936 |
+
else if($app_name=="twitter")
|
937 |
+
{
|
938 |
+
if ($selected_theme == 'longbutton') {
|
939 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . "px !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
940 |
+
if ($view == "horizontal") {
|
941 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-twitter btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
942 |
Â
} else {
|
943 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-twitter btn-custom-dec login-button'";
|
944 |
Â
}
|
945 |
+
if($app_dis!="disable")
|
946 |
+
$html .= "onClick=\"moOpenIdLogin('twitter','" . $custom_app . "');\"";
|
947 |
+
$html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-twitter'></i>" . $buttonText . " Twitter</a>";
|
948 |
+
} else {
|
949 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Twitter'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('twitter','" . $custom_app . "');\""; $html.=" ><img alt='Twitter' style=' width:" . $customSize . "px !important;height: " . $customSize . "px !important;margin-left: " . ($spacebetweenicons) . "px !important' src='" . plugins_url('includes/images/icons/twitter.png', __FILE__) . "' class='" . $dis . " login-button " . $selected_theme . "' ></a>";
|
950 |
Â
}
|
951 |
+
return $html;
|
952 |
+
}
|
953 |
+
else if($app_name=="linkin")
|
954 |
+
{
|
955 |
+
if ($selected_theme == 'longbutton') {
|
956 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . "style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . "px !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
957 |
+
if ($view == "horizontal") {
|
958 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-linkedin btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
959 |
Â
} else {
|
960 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-linkedin btn-custom-dec login-button'";
|
961 |
Â
}
|
962 |
+
if($app_dis!="disable")
|
963 |
+
$html .= "onClick=\"moOpenIdLogin('linkedin','" . $custom_app . "');\"";
|
964 |
+
$html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-linkedin'></i>" . $buttonText . " LinkedIn</a>";
|
965 |
+
} else {
|
966 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " LinkedIn'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('linkedin','" . $custom_app . "');\""; $html.=" ><img alt='LinkedIn' style='width:" . $customSize . "px !important;height: " . $customSize . "px !important;margin-left: " . ($spacebetweenicons) . "px !important' src='" . plugins_url('includes/images/icons/linkedin.png', __FILE__) . "' class='" . $dis . " login-button " . $selected_theme . "' ></a>";
|
967 |
Â
}
|
968 |
+
return $html;
|
969 |
+
}
|
970 |
+
else if($app_name=="insta")
|
971 |
+
{
|
972 |
+
if ($selected_theme == 'longbutton') {
|
973 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . "px !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
974 |
+
if ($view == "horizontal") {
|
975 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-instagram btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
976 |
Â
} else {
|
977 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-instagram btn-custom-dec login-button'";
|
978 |
Â
}
|
979 |
+
if($app_dis!="disable")
|
980 |
+
$html .= "onClick=\"moOpenIdLogin('instagram','" . $custom_app . "');\"";
|
981 |
+
$html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-instagram'></i>" . $buttonText . " Instagram</a>";
|
982 |
+
} else {
|
983 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' " . $customTextofTitle . " Instagram'";if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('instagram','" . $custom_app . "');\""; $html.=" ><img alt='Instagram' style='width:" . $customSize . "px !important;height: " . $customSize . "px !important;margin-left: " . ($spacebetweenicons) . "px !important' src='" . plugins_url('includes/images/icons/instagram.png', __FILE__) . "' class='" . $dis . " login-button " . $selected_theme . "' ></a>";
|
984 |
Â
}
|
985 |
+
return $html;
|
986 |
+
}
|
987 |
+
else if($app_name=="amazon")
|
988 |
+
{
|
989 |
+
if ($selected_theme == 'longbutton') {
|
990 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . "style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . "px !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
991 |
+
if ($view == "horizontal") {
|
992 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-soundcloud btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
993 |
Â
} else {
|
994 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-soundcloud btn-custom-dec login-button'";
|
995 |
Â
}
|
996 |
+
if($app_dis!="disable")
|
997 |
+
$html .= "onClick=\"moOpenIdLogin('amazon','" . $custom_app . "');\"";
|
998 |
+
$html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-amazon'></i>" . $buttonText . " Amazon</a>";
|
999 |
+
} else {
|
1000 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Amazon' ";if($app_dis!="disable") $html.="onClick=\"moOpenIdLogin('amazon','" . $custom_app . "');\""; $html.=" ><img alt='Amazon' style='width:" . $customSize . "px !important;height: " . $customSize . "px !important;margin-left: " . ($spacebetweenicons) . "px !important' src='" . plugins_url('includes/images/icons/amazon.png', __FILE__) . "' class='" . $dis . " login-button " . $selected_theme . "' ></a>";
|
1001 |
Â
}
|
1002 |
+
return $html;
|
1003 |
+
}
|
1004 |
+
else if($app_name=="sforce")
|
1005 |
+
{
|
1006 |
+
if(!mo_openid_is_customer_registered())
|
1007 |
+
$app_dis='disabled';
|
1008 |
+
else
|
1009 |
+
$app_dis='';
|
1010 |
+
if ($selected_theme == 'longbutton') {
|
1011 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . "style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . "px !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
1012 |
+
if ($view == "horizontal") {
|
1013 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-vimeo btn-custom-dec login-button' ";
|
1014 |
Â
} else {
|
1015 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-vimeo btn-custom-dec login-button' ";
|
1016 |
Â
}
|
1017 |
+
if($app_dis!="disable")
|
1018 |
+
$html .= "onClick=\"moOpenIdLogin('salesforce','" . $custom_app . "');\"";
|
1019 |
+
$html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-cloud'></i>" . $buttonText . " Salesforce</a>";
|
1020 |
+
} else {
|
1021 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Salesforce'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('salesforce','" . $custom_app . "');\""; $html.=" ><img alt='Salesforce' style='width:" . $customSize . "px !important;height: " . $customSize . "px !important;margin-left: " . ($spacebetweenicons) . "px !important' src='" . plugins_url('includes/images/icons/salesforce.png', __FILE__) . "' class='" . $dis . " login-button " . $selected_theme . "' ></a>";
|
1022 |
Â
}
|
1023 |
+
return $html;
|
1024 |
+
}
|
1025 |
+
else if($app_name=="wlive")
|
1026 |
+
{
|
1027 |
+
if ($selected_theme == 'longbutton') {
|
1028 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . "style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . "px !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
1029 |
+
if ($view == "horizontal") {
|
1030 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-microsoft btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
1031 |
Â
} else {
|
1032 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-microsoft btn-custom-dec login-button'";
|
1033 |
Â
}
|
1034 |
+
if($app_dis!="disable")
|
1035 |
+
$html .= " onClick=\"moOpenIdLogin('windowslive','" . $custom_app . "');\"";
|
1036 |
+
$html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-windows'></i>" . $buttonText . " Microsoft</a>";
|
1037 |
+
} else {
|
1038 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Microsoft'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('windowslive','" . $custom_app . "');\""; $html.=" ><img alt='Windowslive' style='width:" . $customSize . "px !important;height: " . $customSize . "px !important;margin-left: " . ($spacebetweenicons) . "px !important' src='" . plugins_url('includes/images/icons/windowslive.png', __FILE__) . "' class='" . $dis . " login-button " . $selected_theme . "' ></a>";
|
1039 |
Â
}
|
1040 |
+
return $html;
|
1041 |
+
}
|
1042 |
+
else if($app_name=="yahoo")
|
1043 |
+
{
|
1044 |
+
if ($selected_theme == 'longbutton') {
|
1045 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . "px !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
1046 |
+
if ($view == "horizontal") {
|
1047 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-yahoo btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
1048 |
Â
} else {
|
1049 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-yahoo btn-custom-dec login-button'";
|
1050 |
Â
}
|
1051 |
+
if($app_dis!="disable")
|
1052 |
+
$html .= "onClick=\"moOpenIdLogin('yaahoo','" . $custom_app . "');\"";
|
1053 |
+
$html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-yahoo'></i>" . $buttonText . " Yahoo</a>";
|
1054 |
+
} else {
|
1055 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " .
|
1056 |
+
$customTextofTitle . " Yahoo'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('yaahoo','" . $custom_app . "');\""; $html.=" ><img alt='Yahoo' style='width:" . $customSize . "px !important;height: " . $customSize . "px !important;margin-left: " . ($spacebetweenicons) . "px !important' src='" . plugins_url('includes/images/icons/yahoo.png', __FILE__) . "' class='login-button " . $selected_theme . "' ></a>";
|
1057 |
Â
}
|
1058 |
+
return $html;
|
1059 |
+
}
|
1060 |
+
else if($app_name=="wpress")
|
1061 |
+
{
|
1062 |
+
if ($selected_theme == 'longbutton') {
|
1063 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . "px !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
|
1064 |
+
if ($view == "horizontal") {
|
1065 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-wordpress btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
1066 |
Â
} else {
|
1067 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-wordpress btn-custom-dec login-button'";
|
Â
|
|
1068 |
Â
}
|
1069 |
+
if($app_dis!="disable")
|
1070 |
+
$html .= "onClick=\"moOpenIdLogin('wordpress','" . $custom_app . "');\"";
|
1071 |
+
$html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-wordpress'></i>" . $buttonText . " WordPress</a>";
|
1072 |
+
} else {
|
1073 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " .
|
1074 |
+
$customTextofTitle . " WordPress'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('wordpress','" . $custom_app . "');\"";
|
1075 |
+
$html.="><img alt='WordPress' style='width:" . $customSize . "px !important;height: " . $customSize . "px !important;margin-left: " . ($spacebetweenicons) . "px !important' src='" . plugins_url('includes/images/icons/wordpress.png', __FILE__) . "' class='login-button " . $selected_theme . "' ></a>";
|
1076 |
Â
}
|
1077 |
+
return $html;
|
1078 |
Â
}
|
1079 |
+
}
|
1080 |
Â
|
1081 |
+
else if($theme=="custom"){
|
1082 |
+
if($app_name=="fb")
|
1083 |
+
{
|
1084 |
+
if ($selected_theme == 'longbutton') {
|
1085 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('facebook','" . $custom_app . "');\"";$html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . "px !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;'";
|
1086 |
+
if ($view == "horizontal") {
|
1087 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-customtheme btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1088 |
Â
} else {
|
1089 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-customtheme btn-custom-dec login-button'";
|
1090 |
Â
}
|
1091 |
+
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-facebook'></i> " . $buttonText . " Facebook</a>";
|
1092 |
+
} else {
|
1093 |
+
$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='mofa btn-mo mofa-facebook custom-login-button " . $selected_theme . "' ></i></a>";
|
1094 |
Â
}
|
1095 |
+
return $html;
|
1096 |
+
}
|
1097 |
+
else if($app_name=="google") {
|
1098 |
+
if ($selected_theme == 'longbutton') {
|
1099 |
+
$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) . "px !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;'";
|
1100 |
+
if ($view == "horizontal") {
|
1101 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-customtheme btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
1102 |
Â
} else {
|
1103 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-customtheme btn-custom-dec login-button'";
|
1104 |
Â
}
|
1105 |
+
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-google'></i> " . $buttonText . " Google</a>";
|
1106 |
+
} else {
|
1107 |
+
$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='mofa btn-mo mofa-google custom-login-button " . $selected_theme . "' ></i></a>";
|
1108 |
Â
}
|
1109 |
+
return $html;
|
1110 |
+
}
|
1111 |
+
else if($app_name=="vk") {
|
1112 |
+
if ($selected_theme == 'longbutton') {
|
1113 |
+
$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) . "px !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;'";
|
1114 |
+
if ($view == "horizontal") {
|
1115 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-customtheme btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
1116 |
Â
} else {
|
1117 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-customtheme btn-custom-dec login-button'";
|
1118 |
Â
}
|
1119 |
+
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-vk'></i> " . $buttonText . " Vkontakte</a>";
|
1120 |
+
} else {
|
1121 |
+
$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:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='mofa btn-mo mofa-vk custom-login-button " . $selected_theme . "' ></i></a>";
|
1122 |
Â
}
|
1123 |
+
return $html;
|
1124 |
+
}
|
1125 |
+
else if($app_name=="twitter") {
|
1126 |
+
if ($selected_theme == 'longbutton') {
|
1127 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.="onClick=\"moOpenIdLogin('twitter','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . "px !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;'";
|
1128 |
+
if ($view == "horizontal") {
|
1129 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-customtheme btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
1130 |
Â
} else {
|
1131 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-customtheme btn-custom-dec login-button'";
|
1132 |
Â
}
|
1133 |
+
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-twitter'></i> " . $buttonText . " Twitter</a>";
|
1134 |
+
} else {
|
1135 |
+
$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='mofa btn-mo mofa-twitter custom-login-button " . $selected_theme . "' ></i></a>";
|
1136 |
Â
}
|
1137 |
+
return $html;
|
1138 |
+
}
|
1139 |
+
else if($app_name=="linkin") {
|
1140 |
+
if ($selected_theme == 'longbutton') {
|
1141 |
+
$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) . "px !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;'";
|
1142 |
+
if ($view == "horizontal") {
|
1143 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-customtheme btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
1144 |
Â
} else {
|
1145 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-customtheme btn-custom-dec login-button'";
|
1146 |
Â
}
|
1147 |
+
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-linkedin'></i> " . $buttonText . " LinkedIn</a>";
|
1148 |
+
} else {
|
1149 |
+
$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='mofa btn-mo mofa-linkedin custom-login-button " . $selected_theme . "' ></i></a>";
|
1150 |
Â
}
|
1151 |
+
|
1152 |
+
return $html;
|
1153 |
+
}
|
1154 |
+
else if($app_name=="insta") {
|
1155 |
+
if ($selected_theme == 'longbutton') {
|
1156 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.="onClick=\"moOpenIdLogin('instagram','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . "px !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;'";
|
1157 |
+
if ($view == "horizontal") {
|
1158 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-customtheme btn-custom-dec login-button'";
|
Â
|
|
1159 |
Â
} else {
|
1160 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-customtheme btn-custom-dec login-button'";
|
1161 |
Â
}
|
1162 |
+
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-instagram'></i> " . $buttonText . " Instagram</a>";
|
1163 |
+
} else {
|
1164 |
+
$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='mofa btn-mo mofa-instagram custom-login-button " . $selected_theme . "' ></i></a>";
|
1165 |
Â
}
|
1166 |
+
return $html;
|
1167 |
+
}
|
1168 |
+
else if($app_name=="amazon") {
|
1169 |
+
if ($selected_theme == 'longbutton') {
|
1170 |
+
$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) . "px !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;'";
|
1171 |
+
if ($view == "horizontal") {
|
1172 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-customtheme btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
1173 |
Â
} else {
|
1174 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-customtheme btn-custom-dec login-button'";
|
1175 |
Â
}
|
1176 |
+
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-amazon'></i> " . $buttonText . " Amazon</a>";
|
1177 |
+
} else {
|
1178 |
+
$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='mofa btn-mo mofa-amazon custom-login-button " . $selected_theme . "' ></i></a>";
|
1179 |
Â
}
|
1180 |
+
|
1181 |
+
return $html;
|
1182 |
+
}
|
1183 |
+
else if($app_name=="sforce")
|
1184 |
+
{
|
1185 |
+
if(!mo_openid_is_customer_registered())
|
1186 |
+
$app_dis='disabled';
|
1187 |
+
else
|
1188 |
+
$app_dis='';
|
1189 |
+
if ($selected_theme == 'longbutton') {
|
1190 |
+
$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) . "px !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;'";
|
1191 |
+
if ($view == "horizontal") {
|
1192 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-customtheme btn-custom-dec login-button'";
|
1193 |
Â
} else {
|
1194 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-customtheme btn-custom-dec login-button'";
|
1195 |
Â
}
|
1196 |
+
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-cloud'></i> " . $buttonText . " Salesforce</a>";
|
1197 |
+
} else {
|
1198 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Salesforce'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('salesforce','" . $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='mofa btn-mo mofa-cloud custom-login-button " . $selected_theme . "' ></i></a>";
|
1199 |
Â
}
|
1200 |
+
return $html;
|
1201 |
+
}
|
1202 |
+
else if($app_name=="wlive")
|
1203 |
+
{
|
1204 |
+
if ($selected_theme == 'longbutton') {
|
1205 |
+
$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) . "px !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;'";
|
1206 |
+
if ($view == "horizontal") {
|
1207 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-customtheme btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
1208 |
Â
} else {
|
1209 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-customtheme btn-custom-dec login-button'";
|
1210 |
Â
}
|
1211 |
+
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-windows'></i> " . $buttonText . " Microsoft</a>";
|
1212 |
+
} else {
|
1213 |
+
$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='mofa btn-mo mofa-windows custom-login-button " . $selected_theme . "' ></i></a>";
|
1214 |
Â
}
|
1215 |
+
return $html;
|
1216 |
+
}
|
1217 |
+
else if($app_name=="yahoo")
|
1218 |
+
{
|
1219 |
+
if ($selected_theme == 'longbutton') {
|
1220 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('yaahoo','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . "px !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;'";
|
1221 |
+
if ($view == "horizontal") {
|
1222 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-customtheme btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
1223 |
Â
} else {
|
1224 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-customtheme btn-custom-dec login-button'";
|
1225 |
Â
}
|
1226 |
+
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-yahoo'></i> " . $buttonText . " Yahoo</a>";
|
1227 |
+
} else {
|
1228 |
+
$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='mofa btn-mo mofa-yahoo custom-login-button " . $selected_theme . "' ></i></a>";
|
1229 |
Â
}
|
1230 |
+
return $html;
|
1231 |
Â
}
|
1232 |
+
else if($app_name=="wpress")
|
1233 |
+
{
|
1234 |
+
if ($selected_theme == 'longbutton') {
|
1235 |
+
$html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('wordpress','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . "px !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;'";
|
1236 |
+
if ($view == "horizontal") {
|
1237 |
+
$html .= "class='btn btn-mo btn-block-inline btn-social btn-customtheme btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1238 |
Â
} else {
|
1239 |
+
$html .= "class='btn btn-mo btn-block btn-social btn-customtheme btn-custom-dec login-button'";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1240 |
Â
}
|
1241 |
+
$html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='mofa mofa-wordpress'></i> " . $buttonText . " WordPress</a>";
|
1242 |
+
} else {
|
1243 |
+
$html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " WordPress'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('wordpress','" . $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='mofa btn-mo mofa-wordpress custom-login-button " . $selected_theme . "' ></i></a>";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1244 |
Â
}
|
1245 |
+
return $html;
|
1246 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1247 |
Â
}
|
1248 |
Â
|
1249 |
Â
}
|
1250 |
Â
|
1251 |
+
private function mo_openid_load_login_script() {
|
1252 |
+
if(!get_option('mo_openid_gdpr_consent_enable')){?>
|
1253 |
+
<script>
|
1254 |
+
jQuery(".btn-mo").prop("disabled",false);
|
1255 |
+
</script>
|
1256 |
+
<?php }
|
1257 |
+
echo '<script src="' . plugins_url( 'includes/js/jquery.cookie.min.js', __FILE__ ) . '" ></script>';
|
1258 |
+
?>
|
1259 |
+
<script type="text/javascript">
|
1260 |
+
function mo_openid_on_consent_change(checkbox){
|
1261 |
Â
|
1262 |
+
if (! checkbox.checked) {
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1263 |
Â
|
1264 |
+
jQuery('#mo_openid_consent_checkbox').val(1);
|
1265 |
+
jQuery(".btn-mo").attr("disabled", true);
|
1266 |
+
jQuery(".login-button").addClass("mo_openid_dis");
|
1267 |
+
} else {
|
1268 |
Â
|
1269 |
+
jQuery('#mo_openid_consent_checkbox').val(0);
|
1270 |
+
jQuery(".btn-mo").attr("disabled", false);
|
1271 |
+
jQuery(".login-button").removeClass("mo_openid_dis");
|
1272 |
+
}
|
Â
|
|
Â
|
|
1273 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1274 |
Â
|
1275 |
+
var perfEntries = performance.getEntriesByType("navigation");
|
Â
|
|
Â
|
|
Â
|
|
1276 |
Â
|
1277 |
+
if (perfEntries[0].type === "back_forward") {
|
1278 |
+
location.reload(true);
|
1279 |
Â
}
|
1280 |
+
function HandlePopupResult(result) {
|
1281 |
+
window.location = "<?php echo mo_openid_get_redirect_url();?>";
|
1282 |
+
}
|
1283 |
+
function moOpenIdLogin(app_name,is_custom_app) {
|
1284 |
+
var current_url = window.location.href;
|
1285 |
+
var cookie_name = "redirect_current_url";
|
1286 |
+
var d = new Date();
|
1287 |
+
d.setTime(d.getTime() + (2 * 24 * 60 * 60 * 1000));
|
1288 |
+
var expires = "expires="+d.toUTCString();
|
1289 |
+
document.cookie = cookie_name + "=" + current_url + ";" + expires + ";path=/";
|
1290 |
+
|
1291 |
+
<?php
|
1292 |
+
if(isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off'){
|
1293 |
+
$http = "https://";
|
1294 |
+
} else {
|
1295 |
+
$http = "http://";
|
1296 |
+
}
|
1297 |
+
?>
|
1298 |
+
var base_url = '<?php echo esc_url(site_url());?>';
|
1299 |
+
var request_uri = '<?php echo $_SERVER['REQUEST_URI'];?>';
|
1300 |
+
var http = '<?php echo $http;?>';
|
1301 |
+
var http_host = '<?php echo $_SERVER['HTTP_HOST'];?>';
|
1302 |
+
var default_nonce = '<?php echo wp_create_nonce( 'mo-openid-get-social-login-nonce' ); ?>';
|
1303 |
+
var custom_nonce = '<?php echo wp_create_nonce( 'mo-openid-oauth-app-nonce' ); ?>';
|
1304 |
+
|
1305 |
+
if(is_custom_app == 'false'){
|
1306 |
+
if ( request_uri.indexOf('wp-login.php') !=-1){
|
1307 |
+
var redirect_url = base_url + '/?option=getmosociallogin&wp_nonce=' + default_nonce + '&app_name=';
|
1308 |
+
|
1309 |
+
}else {
|
1310 |
+
var redirect_url = http + http_host + request_uri;
|
1311 |
+
if(redirect_url.indexOf('?') != -1){
|
1312 |
+
redirect_url = redirect_url +'&option=getmosociallogin&wp_nonce=' + default_nonce + '&app_name=';
|
1313 |
+
}
|
1314 |
+
else
|
1315 |
+
{
|
1316 |
+
redirect_url = redirect_url +'?option=getmosociallogin&wp_nonce=' + default_nonce + '&app_name=';
|
1317 |
Â
}
|
1318 |
Â
}
|
1319 |
+
}
|
1320 |
+
else {
|
1321 |
+
if ( request_uri.indexOf('wp-login.php') !=-1){
|
1322 |
+
var redirect_url = base_url + '/?option=oauthredirect&wp_nonce=' + custom_nonce + '&app_name=';
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1323 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1324 |
Â
|
1325 |
+
}else {
|
1326 |
+
var redirect_url = http + http_host + request_uri;
|
1327 |
+
if(redirect_url.indexOf('?') != -1)
|
1328 |
+
redirect_url = redirect_url +'&option=oauthredirect&wp_nonce=' + custom_nonce + '&app_name=';
|
1329 |
+
else
|
1330 |
+
redirect_url = redirect_url +'?option=oauthredirect&wp_nonce=' + custom_nonce + '&app_name=';
|
1331 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1332 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1333 |
Â
}
|
1334 |
+
if( <?php echo get_option('mo_openid_popup_window');?>) {
|
1335 |
+
var myWindow = window.open(redirect_url + app_name, "", "width=700,height=620");
|
1336 |
+
}
|
1337 |
+
else{
|
1338 |
+
window.location.href = redirect_url + app_name;
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1339 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1340 |
Â
}
|
1341 |
+
</script>
|
1342 |
+
<?php
|
1343 |
Â
}
|
1344 |
+
}
|
1345 |
Â
|
1346 |
+
/**
|
1347 |
+
* Sharing Widget Horizontal
|
1348 |
+
*
|
1349 |
+
*/
|
1350 |
+
class mo_openid_sharing_hor_wid extends WP_Widget {
|
1351 |
+
|
1352 |
+
public function __construct() {
|
1353 |
+
parent::__construct(
|
1354 |
+
'mo_openid_sharing_hor_wid',
|
1355 |
+
'miniOrange Sharing - Horizontal',
|
1356 |
+
array(
|
1357 |
+
'description' => __( 'Share using horizontal widget. Lets you share with Social Apps like Google, Facebook, LinkedIn, Pinterest, Reddit.', 'flw' ),
|
1358 |
+
'customize_selective_refresh' => true,
|
1359 |
+
)
|
1360 |
+
);
|
1361 |
Â
}
|
1362 |
Â
|
1363 |
+
public function widget( $args, $instance ) {
|
1364 |
+
extract( $args );
|
1365 |
Â
|
1366 |
+
echo $args['before_widget'];
|
1367 |
+
$this->show_sharing_buttons_horizontal();
|
1368 |
Â
|
1369 |
+
echo $args['after_widget'];
|
1370 |
Â
}
|
1371 |
Â
|
1372 |
+
public function update( $new_instance, $old_instance ) {
|
1373 |
+
$instance = array();
|
1374 |
+
$instance['wid_title'] = strip_tags( $new_instance['wid_title'] );
|
1375 |
+
return $instance;
|
1376 |
+
}
|
1377 |
Â
|
1378 |
+
public function show_sharing_buttons_horizontal(){
|
1379 |
+
global $post;
|
1380 |
+
$title = str_replace('+', '%20', urlencode($post->post_title));
|
1381 |
+
$content=strip_shortcodes( strip_tags( get_the_content() ) );
|
1382 |
+
$post_content=$content;
|
1383 |
+
$excerpt = '';
|
1384 |
+
$landscape = 'horizontal';
|
1385 |
+
include( plugin_dir_path( __FILE__ ) . 'class-mo-openid-social-share.php');
|
1386 |
+
}
|
1387 |
Â
|
1388 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1389 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1390 |
Â
|
1391 |
+
/**
|
1392 |
+
* Sharing Vertical Widget
|
1393 |
+
*
|
1394 |
+
*/
|
1395 |
+
class mo_openid_sharing_ver_wid extends WP_Widget {
|
1396 |
+
|
1397 |
+
public function __construct() {
|
1398 |
+
parent::__construct(
|
1399 |
+
'mo_openid_sharing_ver_wid',
|
1400 |
+
'miniOrange Sharing - Vertical',
|
1401 |
+
array(
|
1402 |
+
'description' => __( 'Share using a vertical floating widget. Lets you share with Social Apps like Google, Facebook, LinkedIn, Pinterest, Reddit.', 'flw' ),
|
1403 |
+
'customize_selective_refresh' => true,
|
1404 |
+
)
|
1405 |
+
);
|
1406 |
+
}
|
Â
|
|
Â
|
|
1407 |
Â
|
1408 |
+
public function widget( $args, $instance ) {
|
1409 |
+
extract( $args );
|
1410 |
+
extract( $instance );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1411 |
Â
|
1412 |
+
$wid_title = apply_filters( 'widget_title', $instance['wid_title'] );
|
1413 |
+
$alignment = apply_filters( 'alignment', isset($instance['alignment'])? $instance['alignment'] : 'left');
|
1414 |
+
$left_offset = apply_filters( 'left_offset', isset($instance['left_offset'])? $instance['left_offset'] : '20');
|
1415 |
+
$right_offset = apply_filters( 'right_offset', isset($instance['right_offset'])? $instance['right_offset'] : '0');
|
1416 |
+
$top_offset = apply_filters( 'top_offset', isset($instance['top_offset'])? $instance['top_offset'] : '100');
|
1417 |
+
$space_icons = apply_filters( 'space_icons', isset($instance['space_icons'])? $instance['space_icons'] : '10');
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1418 |
Â
|
1419 |
+
echo $args['before_widget'];
|
1420 |
+
if ( ! empty( $wid_title ) )
|
1421 |
+
echo $args['before_title'] . $wid_title . $args['after_title'];
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1422 |
Â
|
1423 |
+
echo "<div style='display:inline-block !important; overflow: visible; z-index: 10000000; padding: 10px; border-radius: 4px; opacity: 1; -webkit-box-sizing: content-box!important; -moz-box-sizing: content-box!important; box-sizing: content-box!important; width:40px; position:fixed;" .(isset($alignment) && $alignment != '' && isset($instance[$alignment.'_offset']) ? esc_attr($alignment) .': '. ( $instance[$alignment.'_offset'] == '' ? 0 : esc_attr($instance[$alignment.'_offset'] )) .'px;' : '').(isset($top_offset) ? 'top: '. ( $top_offset == '' ? 0 : esc_attr($top_offset )) .'px;' : '') ."'>";
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1424 |
Â
|
1425 |
+
$this->show_sharing_buttons_vertical($space_icons);
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1426 |
Â
|
1427 |
+
echo '</div>';
|
Â
|
|
1428 |
Â
|
1429 |
+
echo $args['after_widget'];
|
1430 |
+
}
|
Â
|
|
1431 |
Â
|
1432 |
+
/*Called when user changes configuration in Widget Admin Panel*/
|
1433 |
+
public function update( $new_instance, $old_instance ) {
|
1434 |
+
$instance = $old_instance;
|
1435 |
+
$instance['wid_title'] = strip_tags( $new_instance['wid_title'] );
|
1436 |
+
$instance['alignment'] = $new_instance['alignment'];
|
1437 |
+
$instance['left_offset'] = $new_instance['left_offset'];
|
1438 |
+
$instance['right_offset'] = $new_instance['right_offset'];
|
1439 |
+
$instance['top_offset'] = $new_instance['top_offset'];
|
1440 |
+
$instance['space_icons'] = $new_instance['space_icons'];
|
1441 |
+
return $instance;
|
1442 |
+
}
|
1443 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1444 |
Â
|
1445 |
+
public function show_sharing_buttons_vertical($space_icons){
|
1446 |
+
global $post;
|
1447 |
+
if($post->post_title) {
|
1448 |
+
$title = str_replace('+', '%20', urlencode($post->post_title));
|
1449 |
+
} else {
|
1450 |
+
$title = get_bloginfo( 'name' );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1451 |
Â
}
|
1452 |
+
$content=strip_shortcodes( strip_tags( get_the_content() ) );
|
1453 |
+
$post_content=$content;
|
1454 |
+
$excerpt = '';
|
1455 |
+
$landscape = 'vertical';
|
1456 |
Â
|
1457 |
+
include( plugin_dir_path( __FILE__ ) . 'class-mo-openid-social-share.php');
|
Â
|
|
Â
|
|
1458 |
Â
}
|
1459 |
Â
|
1460 |
+
/** Widget edit form at admin panel */
|
1461 |
+
function form( $instance ) {
|
1462 |
+
/* Set up default widget settings. */
|
1463 |
+
$defaults = array('alignment' => 'left', 'left_offset' => '20', 'right_offset' => '0', 'top_offset' => '100' , 'space_icons' => '10');
|
1464 |
+
|
1465 |
+
foreach( $instance as $key => $value ){
|
1466 |
+
$instance[ $key ] = esc_attr( $value );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1467 |
Â
}
|
Â
|
|
1468 |
Â
|
1469 |
+
$instance = wp_parse_args( (array)$instance, $defaults );
|
1470 |
+
?>
|
1471 |
+
<p>
|
1472 |
+
<script>
|
1473 |
+
function moOpenIDVerticalSharingOffset(alignment){
|
1474 |
+
if(alignment == 'left'){
|
1475 |
+
jQuery('.moVerSharingLeftOffset').css('display', 'block');
|
1476 |
+
jQuery('.moVerSharingRightOffset').css('display', 'none');
|
1477 |
+
}else{
|
1478 |
+
jQuery('.moVerSharingLeftOffset').css('display', 'none');
|
1479 |
+
jQuery('.moVerSharingRightOffset').css('display', 'block');
|
1480 |
+
}
|
1481 |
+
}
|
1482 |
+
</script>
|
1483 |
+
<label for="<?php echo esc_attr($this->get_field_id( 'alignment' )); ?>">Alignment</label>
|
1484 |
+
<select onchange="moOpenIDVerticalSharingOffset(this.value)" style="width: 95%" id="<?php echo esc_attr($this->get_field_id( 'alignment' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'alignment' )); ?>">
|
1485 |
+
<option value="left" <?php echo $instance['alignment'] == 'left' ? 'selected' : ''; ?>>Left</option>
|
1486 |
+
<option value="right" <?php echo $instance['alignment'] == 'right' ? 'selected' : ''; ?>>Right</option>
|
1487 |
+
</select>
|
1488 |
+
<div class="moVerSharingLeftOffset" <?php echo $instance['alignment'] == 'right' ? 'style="display: none"' : ''; ?>>
|
1489 |
+
<label for="<?php echo esc_attr($this->get_field_id( 'left_offset' )); ?>">Left Offset</label>
|
1490 |
+
<input style="width: 95%" id="<?php echo esc_attr($this->get_field_id( 'left_offset' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'left_offset' )); ?>" type="text" value="<?php echo $instance['left_offset']; ?>" />px<br/>
|
1491 |
+
</div>
|
1492 |
+
<div class="moVerSharingRightOffset" <?php echo $instance['alignment'] == 'left' ? 'style="display: none"' : ''; ?>>
|
1493 |
+
<label for="<?php echo esc_attr($this->get_field_id( 'right_offset' )); ?>">Right Offset</label>
|
1494 |
+
<input style="width: 95%" id="<?php echo esc_attr($this->get_field_id( 'right_offset' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'right_offset' )); ?>" type="text" value="<?php echo $instance['right_offset']; ?>" />px<br/>
|
1495 |
+
</div>
|
1496 |
+
<label for="<?php echo esc_attr($this->get_field_id( 'top_offset' )); ?>">Top Offset</label>
|
1497 |
+
<input style="width: 95%" id="<?php echo esc_attr($this->get_field_id( 'top_offset' )); ?>" name="<?php echo esc_attr( $this->get_field_name( 'top_offset' )); ?>" type="text" value="<?php echo $instance['top_offset']; ?>" />px<br/>
|
1498 |
+
<label for="<?php echo esc_attr($this->get_field_id( 'space_icons' )); ?>">Space between icons</label>
|
1499 |
+
<input style="width: 95%" id="<?php echo esc_attr($this->get_field_id( 'space_icons' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'space_icons' )); ?>" type="text" value="<?php echo $instance['space_icons']; ?>" />px<br/>
|
1500 |
+
</p>
|
1501 |
+
<?php
|
1502 |
Â
}
|
1503 |
Â
|
1504 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1505 |
Â
|
1506 |
+
function mo_openid_disabled_register_message()
|
1507 |
+
{
|
1508 |
+
$message = get_option('mo_openid_register_disabled_message') . ' Go to <a href="' . site_url() . '">Home Page</a>';
|
1509 |
+
wp_die($message);
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1510 |
Â
}
|
1511 |
Â
|
1512 |
+
function mo_openid_get_redirect_url() {
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1513 |
Â
|
1514 |
+
$current_url = isset($_COOKIE["redirect_current_url"]) ? $_COOKIE["redirect_current_url"]:'';
|
1515 |
+
$pos = strpos($_SERVER['REQUEST_URI'], '/openidcallback');
|
1516 |
+
|
1517 |
+
if ($pos === false) {
|
1518 |
+
$url = str_replace('?option=moopenid','',$_SERVER['REQUEST_URI']);
|
1519 |
+
$current_url = str_replace('?option=moopenid','',$current_url);
|
1520 |
+
|
1521 |
+
} else {
|
1522 |
+
$temp_array1 = explode('/openidcallback',$_SERVER['REQUEST_URI']);
|
1523 |
+
$url = $temp_array1[0];
|
1524 |
+
$temp_array2 = explode('/openidcallback',$current_url);
|
1525 |
+
$current_url = $temp_array2[0];
|
1526 |
Â
}
|
1527 |
Â
|
1528 |
+
$option = get_option( 'mo_openid_login_redirect' );
|
1529 |
+
$redirect_url = site_url();
|
1530 |
+
|
1531 |
+
if( $option == 'same' ) {
|
1532 |
+
if(!is_null($current_url)){
|
1533 |
+
if(strpos($current_url,get_option('siteurl').'/wp-login.php')!== false)
|
1534 |
+
{
|
1535 |
+
$redirect_url=get_option('siteurl');
|
1536 |
+
}
|
1537 |
+
else
|
1538 |
+
$redirect_url = $current_url;
|
1539 |
Â
}
|
1540 |
+
else{
|
1541 |
+
if(isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off'){
|
1542 |
+
$http = "https://";
|
1543 |
+
} else {
|
1544 |
+
$http = "http://";
|
1545 |
+
}
|
1546 |
+
$redirect_url = urldecode(html_entity_decode(esc_url($http . $_SERVER["HTTP_HOST"] . $url)));
|
1547 |
+
if(html_entity_decode(esc_url(remove_query_arg('ss_message', $redirect_url))) == wp_login_url() || strpos($_SERVER['REQUEST_URI'],'wp-login.php') !== FALSE || strpos($_SERVER['REQUEST_URI'],'wp-admin') !== FALSE){
|
1548 |
+
$redirect_url = site_url().'/';
|
1549 |
+
}
|
1550 |
+
}
|
1551 |
+
} else if( $option == 'homepage' ) {
|
1552 |
+
$redirect_url = site_url();
|
1553 |
+
} else if( $option == 'dashboard' ) {
|
1554 |
+
$redirect_url = admin_url();
|
1555 |
+
} else if( $option == 'custom' ) {
|
1556 |
+
$redirect_url = get_option('mo_openid_login_redirect_url');
|
1557 |
+
}else if($option == 'relative') {
|
1558 |
+
$redirect_url = site_url() . (null !== get_option('mo_openid_relative_login_redirect_url')?get_option('mo_openid_relative_login_redirect_url'):'');
|
1559 |
Â
}
|
1560 |
Â
|
1561 |
+
if(strpos($redirect_url,'?') !== FALSE) {
|
1562 |
+
$redirect_url .= get_option('mo_openid_auto_register_enable') ? '' : '&autoregister=false';
|
1563 |
+
} else{
|
1564 |
+
$redirect_url .= get_option('mo_openid_auto_register_enable') ? '' : '?autoregister=false';
|
1565 |
+
}
|
1566 |
+
return $redirect_url;
|
1567 |
+
}
|
1568 |
Â
|
1569 |
+
function mo_openid_redirect_after_logout($logout_url)
|
1570 |
+
{
|
1571 |
+
if (get_option('mo_openid_logout_redirection_enable')) {
|
1572 |
+
$logout_redirect_option = get_option('mo_openid_logout_redirect');
|
1573 |
+
$redirect_url = site_url();
|
1574 |
+
if ($logout_redirect_option == 'homepage') {
|
1575 |
+
$redirect_url = $logout_url . '&redirect_to=' . home_url();
|
1576 |
+
} else if ($logout_redirect_option == 'currentpage') {
|
1577 |
+
if (isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') {
|
1578 |
+
$http = "https://";
|
1579 |
+
} else {
|
1580 |
+
$http = "http://";
|
1581 |
+
}
|
1582 |
+
$redirect_url = $logout_url . '&redirect_to=' . $http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI'];
|
1583 |
+
} else if ($logout_redirect_option == 'login') {
|
1584 |
+
$redirect_url = $logout_url . '&redirect_to=' . site_url() . '/wp-admin';
|
1585 |
+
} else if ($logout_redirect_option == 'custom') {
|
1586 |
+
$redirect_url = $logout_url . '&redirect_to=' . site_url() . (null !== get_option('mo_openid_logout_redirect_url') ? get_option('mo_openid_logout_redirect_url') : '');
|
1587 |
Â
}
|
1588 |
+
return $redirect_url;
|
1589 |
+
} else {
|
1590 |
+
return $logout_url;
|
1591 |
+
}
|
1592 |
Â
|
1593 |
+
}
|
Â
|
|
Â
|
|
1594 |
Â
|
1595 |
+
function mo_openid_login_validate(){
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1596 |
Â
|
Â
|
|
Â
|
|
Â
|
|
1597 |
Â
|
1598 |
+
$present_time_rateus_pop = date('Y-m-d');
|
1599 |
+
if(get_option('check_ten_rate_us') < 5 ){
|
1600 |
+
if(get_option('mo_openid_user_activation_date') < $present_time_rateus_pop){
|
1601 |
+
update_option('mo_openid_rateus_activation','1');
|
1602 |
+
update_option('check_ten_rate_us','6');
|
1603 |
Â
}
|
1604 |
Â
}
|
1605 |
Â
|
1606 |
+
if ( isset( $_REQUEST['option'] ) and strpos( $_REQUEST['option'], 'getmosociallogin' ) !== false ) {
|
1607 |
Â
|
1608 |
+
if (isset($_REQUEST['wp_nonce'])) {
|
1609 |
+
$nonce = $_REQUEST['wp_nonce'];
|
1610 |
+
if (!wp_verify_nonce($nonce, 'mo-openid-get-social-login-nonce')) {
|
1611 |
+
wp_die('<strong>ERROR</strong>: Invalid Request.');
|
1612 |
+
} else {
|
1613 |
+
mo_openid_initialize_social_login();
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1614 |
Â
}
|
1615 |
Â
}
|
1616 |
Â
}
|
1617 |
+
else if( isset($_POST['mo_openid_go_back_registration_nonce']) and isset( $_POST['option'] ) and $_POST['option'] == "mo_openid_go_back_registration" ){
|
1618 |
+
$nonce = $_POST['mo_openid_go_back_registration_nonce'];
|
1619 |
+
if ( ! wp_verify_nonce( $nonce, 'mo-openid-go-back-register-nonce' ) ) {
|
1620 |
+
wp_die('<strong>ERROR</strong>: Invalid Request.');
|
1621 |
+
} else {
|
1622 |
+
update_option('mo_openid_verify_customer','true');
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1623 |
Â
}
|
1624 |
Â
}
|
1625 |
+
else if ( isset($_POST['mo_openid_custom_form_submitted_nonce']) and isset($_POST['username']) and $_POST['option'] == 'mo_openid_custom_form_submitted' ){
|
1626 |
+
$nonce = $_POST['mo_openid_custom_form_submitted_nonce'];
|
1627 |
+
if ( ! wp_verify_nonce( $nonce, 'mo-openid-custom-form-submitted-nonce' ) ) {
|
1628 |
+
wp_die('<strong>ERROR</strong>: Invalid Request.' . $nonce);
|
1629 |
+
} else {
|
1630 |
+
global $wpdb;
|
1631 |
+
$db_prefix = $wpdb->prefix;
|
1632 |
+
$curr_user=get_current_user_id();
|
1633 |
+
if($curr_user!=0) {
|
1634 |
+
update_custom_data($curr_user);
|
1635 |
+
header("Location:".get_option('profile_completion_page'));
|
1636 |
+
exit;
|
1637 |
+
}
|
1638 |
+
$user_picture = $_POST["user_picture"];
|
1639 |
+
$user_url = $_POST["user_url"];
|
1640 |
+
$last_name = $_POST["last_name"];
|
1641 |
+
$username=$_POST["username"];
|
1642 |
+
$user_email=$_POST["user_email"];
|
1643 |
+
$random_password=$_POST["random_password"];
|
1644 |
+
$user_full_name = $_POST["user_full_name"];
|
1645 |
+
$first_name = $_POST["first_name"];
|
1646 |
+
$decrypted_app_name = $_POST["decrypted_app_name"];
|
1647 |
+
$decrypted_user_id = $_POST["decrypted_user_id"];
|
1648 |
+
$call = $_POST["call"];
|
1649 |
+
$user_profile_url = $_POST["user_profile_url"];
|
1650 |
+
$social_app_name = $_POST["social_app_name"];
|
1651 |
+
$social_user_id = $_POST["social_user_id"];
|
1652 |
+
|
1653 |
+
$userdata = array(
|
1654 |
+
'user_login' => $username,
|
1655 |
+
'user_email' => $user_email,
|
1656 |
+
'user_pass' => $random_password,
|
1657 |
+
'display_name' => $user_full_name,
|
1658 |
+
'first_name' => $first_name,
|
1659 |
+
'last_name' => $last_name,
|
1660 |
+
'user_url' => $user_url,
|
1661 |
+
);
|
1662 |
+
|
1663 |
+
// Checking if username already exist
|
1664 |
+
$user_name_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $userdata['user_login']));
|
1665 |
+
|
1666 |
+
if( isset($user_name_user_id) ){
|
1667 |
+
$email_array = explode('@', $user_email);
|
1668 |
+
$user_name = $email_array[0];
|
1669 |
+
$user_name_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $user_name));
|
1670 |
+
$i = 1;
|
1671 |
+
while(!empty($user_name_user_id) ){
|
1672 |
+
$uname=$user_name.'_' . $i;
|
1673 |
+
$user_name_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM " .$db_prefix."users where user_login = %s", $uname));
|
1674 |
+
$i++;
|
1675 |
+
if(empty($user_name_user_id)){
|
1676 |
+
$userdata['user_login']= $uname;
|
1677 |
+
$username =$uname;
|
1678 |
+
}
|
1679 |
+
}
|
1680 |
Â
|
1681 |
+
if($i==1)
|
1682 |
+
$userdata['user_login'] = $uname;
|
1683 |
+
|
1684 |
+
if( isset($user_name_user_id) ){
|
1685 |
+
echo '<br/>'."Error Code Existing Username: ".get_option('mo_existing_username_error_message');
|
1686 |
+
exit();
|
1687 |
+
}
|
1688 |
+
}
|
1689 |
+
|
1690 |
+
$user_id = wp_insert_user( $userdata);
|
1691 |
+
if(is_wp_error( $user_id )) {
|
1692 |
+
print_r($user_id);
|
1693 |
+
wp_die("Error Code ".$call.": ".get_option('mo_registration_error_message'));
|
1694 |
+
}
|
1695 |
Â
|
1696 |
+
update_option('mo_openid_user_count',get_option('mo_openid_user_count')+1);
|
1697 |
Â
|
1698 |
+
if($social_app_name!="")
|
1699 |
+
$appname=$social_app_name;
|
1700 |
+
else
|
1701 |
+
$appname=$decrypted_app_name;
|
1702 |
+
|
1703 |
+
$session_values= array(
|
1704 |
+
'username' => $username,
|
1705 |
+
'user_email' => $user_email,
|
1706 |
+
'user_full_name' => $user_full_name,
|
1707 |
+
'first_name' => $first_name,
|
1708 |
+
'last_name' => $last_name,
|
1709 |
+
'user_url' => $user_url,
|
1710 |
+
'user_picture' => $user_picture,
|
1711 |
+
'social_app_name' => $appname,
|
1712 |
+
'social_user_id' => $social_user_id,
|
1713 |
+
);
|
1714 |
Â
|
1715 |
+
mo_openid_start_session_login($session_values);
|
1716 |
+
$user = get_user_by('id', $user_id );
|
1717 |
+
update_custom_data($user_id);
|
1718 |
+
//registration hook
|
1719 |
+
do_action( 'mo_user_register', $user_id,$user_profile_url);
|
1720 |
+
mo_openid_link_account($user->user_login, $user);
|
1721 |
+
$linked_email_id = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM " . $db_prefix . "mo_openid_linked_user where linked_social_app = \"%s\" AND identifier = %s", $appname, $social_user_id));
|
1722 |
+
mo_openid_login_user($linked_email_id,$user_id,$user,$user_picture,0);
|
1723 |
+
}
|
1724 |
+
}
|
1725 |
Â
|
1726 |
+
else if(isset($_POST['mo_openid_profile_form_submitted_nonce']) and isset( $_POST['option'] ) and $_POST['option'] == "mo_openid_profile_form_submitted"){
|
1727 |
+
$nonce = $_POST['mo_openid_profile_form_submitted_nonce'];
|
1728 |
+
if ( ! wp_verify_nonce( $nonce, 'mo-openid-profile-form-submitted-nonce' ) ) {
|
1729 |
+
wp_die('<strong>ERROR</strong>: Invalid Request.' . $nonce);
|
1730 |
Â
} else {
|
1731 |
+
$username = sanitize_text_field($_POST['username_field']);
|
1732 |
+
$user_email = sanitize_email($_POST['email_field']);
|
1733 |
+
$user_picture = sanitize_text_field($_POST["user_picture"]);
|
1734 |
+
$user_url = sanitize_text_field($_POST["user_url"]);
|
1735 |
+
$last_name = sanitize_text_field($_POST["last_name"]);
|
1736 |
+
$user_full_name = sanitize_text_field($_POST["user_full_name"]);
|
1737 |
+
$first_name = sanitize_text_field($_POST["first_name"]);
|
1738 |
+
$decrypted_app_name = sanitize_text_field($_POST["decrypted_app_name"]);
|
1739 |
+
$decrypted_user_id = sanitize_text_field($_POST["decrypted_user_id"]);
|
1740 |
+
mo_openid_save_profile_completion_form($username, $user_email, $first_name, $last_name, $user_full_name, $user_url, $user_picture, $decrypted_app_name, $decrypted_user_id);
|
1741 |
Â
}
|
1742 |
+
}
|
1743 |
+
else if( isset($_POST['mo_openid_go_back_login_nonce']) and isset( $_POST['option'] ) and $_POST['option'] == "mo_openid_go_back_login" ){
|
1744 |
+
$nonce = $_POST['mo_openid_go_back_login_nonce'];
|
1745 |
+
if ( ! wp_verify_nonce( $nonce, 'mo-openid-go-back-login-nonce' ) ) {
|
1746 |
+
wp_die('<strong>ERROR</strong>: Invalid Request.');
|
1747 |
+
} else {
|
1748 |
+
update_option('mo_openid_registration_status','');
|
1749 |
+
delete_option('mo_openid_admin_email');
|
1750 |
+
delete_option('mo_openid_admin_phone');
|
1751 |
+
delete_option('mo_openid_admin_password');
|
1752 |
+
delete_option('mo_openid_admin_customer_key');
|
1753 |
+
delete_option('mo_openid_verify_customer');
|
1754 |
+
}
|
1755 |
+
}
|
1756 |
+
else if(isset($_POST['mo_openid_forgot_password_nonce']) and isset($_POST['option']) and $_POST['option'] == 'mo_openid_forgot_password'){
|
1757 |
+
$nonce = $_POST['mo_openid_forgot_password_nonce'];
|
1758 |
+
if ( ! wp_verify_nonce( $nonce, 'mo-openid-forgot-password-nonce' ) ) {
|
1759 |
+
wp_die('<strong>ERROR</strong>: Invalid Request.');
|
1760 |
+
} else {
|
1761 |
+
$email ='';
|
1762 |
+
if( mo_openid_check_empty_or_null( $email ) ) {
|
1763 |
+
if( mo_openid_check_empty_or_null( $_POST['email'] ) ) {
|
1764 |
+
update_option( 'mo_openid_message', 'No email provided. Please enter your email below to reset password.');
|
1765 |
+
mo_openid_show_error_message();
|
1766 |
+
if(get_option('regi_pop_up') =="yes"){
|
1767 |
+
update_option("pop_login_msg",get_option("mo_openid_message"));
|
1768 |
+
mo_pop_show_verify_password_page();
|
1769 |
+
}
|
1770 |
+
return;
|
1771 |
+
} else {
|
1772 |
+
$email = sanitize_email($_POST['email']);
|
1773 |
Â
}
|
Â
|
|
Â
|
|
1774 |
Â
}
|
1775 |
+
$customer = new CustomerOpenID();
|
1776 |
+
$content = json_decode($customer->forgot_password($email),true);
|
1777 |
+
if(strcasecmp($content['status'], 'SUCCESS') == 0){
|
1778 |
+
update_option( 'mo_openid_message','You password has been reset successfully. Please enter the new password sent to your registered mail here.');
|
1779 |
+
mo_openid_show_success_message();
|
1780 |
+
if(get_option('regi_pop_up') =="yes"){
|
1781 |
+
update_option("pop_login_msg",get_option("mo_openid_message"));
|
1782 |
+
mo_pop_show_verify_password_page();
|
1783 |
Â
}
|
1784 |
+
}else{
|
1785 |
+
update_option( 'mo_openid_message','An error occurred while processing your request. Please make sure you are registered in miniOrange with the <b>'. $content['email'] .'</b> email address. ');
|
1786 |
+
mo_openid_show_error_message();
|
1787 |
+
if(get_option('regi_pop_up') =="yes"){
|
1788 |
+
update_option("pop_login_msg",get_option("mo_openid_message"));
|
1789 |
+
mo_pop_show_verify_password_page();
|
1790 |
Â
}
|
1791 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1792 |
Â
}
|
1793 |
+
}
|
1794 |
+
else if( isset($_POST['mo_openid_connect_register_nonce']) and isset( $_POST['option'] ) and $_POST['option'] == "mo_openid_connect_register_customer" ) { //register the admin to miniOrange
|
1795 |
+
$nonce = $_POST['mo_openid_connect_register_nonce'];
|
1796 |
+
if ( ! wp_verify_nonce( $nonce, 'mo-openid-connect-register-nonce' ) ) {
|
1797 |
+
wp_die('<strong>ERROR</strong>: Invalid Request.');
|
1798 |
+
} else {
|
1799 |
+
mo_openid_register_user();
|
1800 |
Â
}
|
Â
|
|
1801 |
Â
}
|
1802 |
+
else if( isset( $_POST['show_login'] ) )
|
1803 |
+
{
|
1804 |
+
mo_pop_show_verify_password_page();
|
1805 |
+
}
|
1806 |
+
else if( isset($_POST['mo_openid_account_linking_nonce']) and isset($_POST['option'] ) and strpos( $_POST['option'], 'mo_openid_account_linking' ) !== false ){
|
1807 |
+
$nonce = $_POST['mo_openid_account_linking_nonce'];
|
1808 |
+
if ( ! wp_verify_nonce( $nonce, 'mo-openid-account-linking-nonce' ) ) {
|
1809 |
+
wp_die('<strong>ERROR</strong>: Invalid Request.');
|
1810 |
+
} else {
|
1811 |
+
mo_openid_start_session();
|
1812 |
+
//link account
|
1813 |
+
if (!isset($_POST['mo_openid_create_new_account'])) {
|
1814 |
+
$nonce = wp_create_nonce('mo-openid-disable-social-login-nonce');
|
1815 |
+
$url = site_url() . '/wp-login.php?option=disable-social-login&wp_nonce=' . $nonce;
|
1816 |
+
header('Location:' . $url);
|
1817 |
+
exit;
|
1818 |
+
} //create new account
|
1819 |
+
else {
|
1820 |
+
$user_details = array(
|
1821 |
+
'username' => sanitize_text_field($_POST['username']),
|
1822 |
+
'user_email' => sanitize_email($_POST['user_email']),
|
1823 |
+
'user_full_name' => sanitize_text_field($_POST['user_full_name']),
|
1824 |
+
'first_name' => sanitize_text_field($_POST['first_name']),
|
1825 |
+
'last_name' => sanitize_text_field($_POST['last_name']),
|
1826 |
+
'user_url' => sanitize_text_field($_POST['user_url']),
|
1827 |
+
'user_picture' => sanitize_text_field($_POST['user_picture']),
|
1828 |
+
'social_app_name' => sanitize_text_field($_POST['decrypted_app_name']),
|
1829 |
+
'social_user_id' => sanitize_text_field($_POST['decrypted_user_id']),
|
1830 |
+
);
|
1831 |
+
if (get_option('mo_openid_enable_profile_completion') && ($user_details['user_email'] == '' || $user_details['username'] == '')) { // if newa user and profile completion is enabled
|
1832 |
+
echo mo_openid_profile_completion_form($user_details);
|
1833 |
+
exit;
|
1834 |
Â
}
|
1835 |
+
else
|
1836 |
+
mo_create_new_user($user_details);
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1837 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
1838 |
Â
}
|
Â
|
|
1839 |
Â
}
|
1840 |
+
else if( isset($_POST['mo_openid_show_profile_form_nonce']) and isset( $_POST['option'] ) and strpos( $_POST['option'], 'mo_openid_show_profile_form' ) !== false ){
|
1841 |
+
$nonce = $_POST['mo_openid_show_profile_form_nonce'];
|
1842 |
+
if ( ! wp_verify_nonce( $nonce, 'mo-openid-user-show-profile-form-nonce' ) ) {
|
1843 |
+
wp_die('<strong>ERROR</strong>: Invalid Request.');
|
1844 |
+
} else {
|
1845 |
+
|
1846 |
+
$user_details= array(
|
1847 |
+
'username' => sanitize_text_field($_POST['username_field']),
|
1848 |
+
'user_email' => sanitize_email($_POST['email_field']),
|
1849 |
+
'user_full_name' => sanitize_text_field($_POST["user_full_name"]),
|
1850 |
+
'first_name' => sanitize_text_field($_POST["first_name"]),
|
1851 |
+
'last_name' => sanitize_text_field($_POST["last_name"]),
|
1852 |
+
'user_url' => sanitize_text_field($_POST["user_url"]),
|
1853 |
+
'user_picture' => sanitize_text_field($_POST["user_picture"]),
|
1854 |
+
'social_app_name' => sanitize_text_field($_POST["decrypted_app_name"]),
|
1855 |
+
'social_user_id' => sanitize_text_field($_POST["decrypted_user_id"]),
|
1856 |
+
);
|
1857 |
+
echo mo_openid_profile_completion_form($user_details,'1');
|
1858 |
+
exit;
|
1859 |
+
}
|
1860 |
+
}
|
1861 |
Â
|
1862 |
+
else if( isset( $_POST['option'] ) and strpos( $_POST['option'], 'mo_openid_subscriber_form' ) !== false ){
|
1863 |
+
$userid = $_POST["userid"];
|
1864 |
+
$user = get_user_by('id', $userid);
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1865 |
Â
|
1866 |
+
do_action( 'miniorange_collect_attributes_for_authenticated_user', $user, mo_openid_get_redirect_url());
|
1867 |
+
if(get_option("mo_openid_user_moderation")==1) {
|
1868 |
+
$x = get_user_meta($userid, 'activation_state');
|
1869 |
+
if ($x[0] != '1') {
|
1870 |
+
do_action('wp_login', $user->user_login, $user);
|
1871 |
+
} else {
|
1872 |
+
?>
|
1873 |
+
<script>
|
1874 |
+
var pop_up = '<?php echo get_option('mo_openid_popup_window');?>';
|
1875 |
+
if (pop_up== '0') {
|
1876 |
+
alert("Successfully registered! You will get notification after activation of your account.");
|
1877 |
+
window.location = "<?php echo get_option('siteurl');?>";
|
1878 |
+
} else {
|
1879 |
+
alert("Successfully registered! You will get notification after activation of your account.");
|
1880 |
+
window.close();
|
1881 |
+
}
|
1882 |
+
</script>
|
1883 |
+
<?php
|
1884 |
+
exit();
|
1885 |
Â
}
|
1886 |
+
}else
|
1887 |
+
do_action('wp_login', $user->user_login, $user);
|
Â
|
|
Â
|
|
1888 |
Â
}
|
1889 |
Â
|
1890 |
+
else if((isset($_POST['action'])) && (strpos($_POST['action'], 'delete_social_profile_data') !== false) && isset($_POST['user_id'])){
|
1891 |
+
// delete first name, last name, user_url and profile_url from usermeta
|
1892 |
+
$id = sanitize_text_field($_POST['user_id']);
|
1893 |
+
mo_openid_delete_social_profile($id);
|
1894 |
+
}
|
1895 |
+
else if ( isset( $_REQUEST['option'] ) and strpos( $_REQUEST['option'], 'oauthredirect' ) !== false ) {
|
1896 |
+
if(isset($_REQUEST['wp_nonce'])){
|
1897 |
+
$nonce = $_REQUEST['wp_nonce'];
|
1898 |
+
if ( ! wp_verify_nonce( $nonce, 'mo-openid-oauth-app-nonce' ) ) {
|
1899 |
+
wp_die('<strong>ERROR</strong>: Invalid Request.');
|
1900 |
+
}
|
1901 |
+
else {
|
1902 |
+
$appname = sanitize_text_field($_REQUEST['app_name']);
|
1903 |
+
mo_openid_custom_app_oauth_redirect($appname);
|
1904 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1905 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1906 |
Â
}
|
1907 |
Â
|
1908 |
+
else if( isset($_POST['mo_openid_user_otp_validation_nonce']) and isset( $_POST['otp_field']) and $_POST['option'] == 'mo_openid_otp_validation' )
|
1909 |
+
{
|
1910 |
+
$nonce = $_POST['mo_openid_user_otp_validation_nonce'];
|
1911 |
+
if ( ! wp_verify_nonce( $nonce, 'mo-openid-user-otp-validation-nonce' ) ) {
|
1912 |
+
wp_die('<strong>ERROR</strong>: Invalid Request.');
|
1913 |
+
} else {
|
1914 |
+
$username = sanitize_text_field($_POST["username_field"]);
|
1915 |
+
$user_email = sanitize_email($_POST["email_field"]);
|
1916 |
+
$transaction_id = sanitize_text_field($_POST["transaction_id"]);
|
1917 |
+
$otp_token = sanitize_text_field($_POST['otp_field']);
|
1918 |
+
$user_picture = sanitize_text_field($_POST["user_picture"]);
|
1919 |
+
$user_url = sanitize_text_field($_POST["user_url"]);
|
1920 |
+
$last_name = sanitize_text_field($_POST["last_name"]);
|
1921 |
+
$user_full_name = sanitize_text_field($_POST["user_full_name"]);
|
1922 |
+
$first_name = sanitize_text_field($_POST["first_name"]);
|
1923 |
+
$decrypted_app_name = sanitize_text_field($_POST["decrypted_app_name"]);
|
1924 |
+
$decrypted_user_id = sanitize_text_field($_POST["decrypted_user_id"]);
|
1925 |
+
if (isset($_POST['resend_otp'])) {
|
1926 |
+
$send_content = send_otp_token($user_email);
|
1927 |
+
if ($send_content['status'] == 'FAILURE') {
|
1928 |
+
$message = "Error Code 3: " . get_option('mo_email_failure_message');
|
1929 |
+
wp_die($message);
|
1930 |
+
}
|
1931 |
+
$transaction_id = $send_content['tId'];
|
1932 |
+
echo mo_openid_validate_otp_form($username, $user_email, $transaction_id, $user_picture, $user_url, $last_name, $user_full_name, $first_name, $decrypted_app_name, $decrypted_user_id);
|
1933 |
Â
|
1934 |
+
exit;
|
1935 |
+
}
|
1936 |
+
|
1937 |
+
mo_openid_social_login_validate_otp($username, $user_email, $first_name, $last_name, $user_full_name, $user_url, $user_picture, $decrypted_app_name, $decrypted_user_id, $otp_token, $transaction_id);
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1938 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1939 |
Â
}
|
1940 |
Â
|
1941 |
+
else if( isset($_POST['mo_openid_connect_verify_nonce']) and isset( $_POST['option'] ) and $_POST['option'] == "mo_openid_connect_verify_customer" ) { //register the admin to miniOrange
|
1942 |
+
$nonce = $_POST['mo_openid_connect_verify_nonce'];
|
1943 |
+
if (!wp_verify_nonce($nonce, 'mo-openid-connect-verify-nonce')) {
|
1944 |
+
wp_die('<strong>ERROR</strong>: Invalid Request.');
|
Â
|
|
Â
|
|
Â
|
|
1945 |
Â
}
|
1946 |
Â
else {
|
1947 |
+
mo_register_old_user();
|
1948 |
Â
}
|
1949 |
Â
}
|
1950 |
Â
|
1951 |
+
else if ( isset( $_REQUEST['option'] ) and strpos( $_REQUEST['option'], 'moopenid' ) !== false ){
|
1952 |
+
mo_openid_process_social_login();
|
Â
|
|
Â
|
|
Â
|
|
1953 |
Â
}
|
1954 |
Â
|
1955 |
+
else if( strpos( $_SERVER['REQUEST_URI'], "openidcallback") !== false ||((strpos( $_SERVER['REQUEST_URI'], "oauth_token")!== false)&&(strpos( $_SERVER['REQUEST_URI'], "oauth_verifier") ))) {
|
1956 |
+
mo_openid_process_custom_app_callback();
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1957 |
Â
}
|
1958 |
+
}
|
1959 |
Â
|
1960 |
+
function get_current_customer(){
|
1961 |
+
$customer = new CustomerOpenID();
|
1962 |
+
$content = $customer->get_customer_key();
|
1963 |
+
$customerKey = json_decode( $content, true );
|
1964 |
+
if( isset($customerKey) ) {
|
1965 |
+
update_option( 'mo_openid_admin_customer_key', $customerKey['id'] );
|
1966 |
+
update_option( 'mo_openid_admin_api_key', $customerKey['apiKey'] );
|
1967 |
+
update_option( 'mo_openid_customer_token', $customerKey['token'] );
|
1968 |
+
update_option('mo_openid_admin_password', '' );
|
1969 |
+
update_option( 'mo_openid_message', 'Your account has been retrieved successfully.' );
|
1970 |
+
delete_option('mo_openid_verify_customer');
|
1971 |
+
delete_option('mo_openid_new_registration');
|
1972 |
+
if($_POST['action']=='mo_register_new_user')
|
1973 |
+
wp_send_json(["success" => 'Your account has been retrieved successfully.']);
|
1974 |
+
else
|
1975 |
+
mo_openid_show_success_message();
|
1976 |
+
} else {
|
1977 |
+
update_option( 'mo_openid_message', 'You already have an account with miniOrange. Please enter a valid password.');
|
1978 |
+
update_option('mo_openid_verify_customer', 'true');
|
1979 |
+
delete_option('mo_openid_new_registration');
|
1980 |
+
if($_POST['action']=='mo_register_new_user')
|
1981 |
+
wp_send_json(["error" => 'You already have an account with miniOrange. Please enter a valid password.']);
|
1982 |
+
else {
|
1983 |
+
mo_openid_show_error_message();
|
1984 |
+
if (get_option('regi_pop_up') == "yes") {
|
1985 |
+
update_option("pop_login_msg", get_option("mo_openid_message"));
|
1986 |
+
mo_pop_show_verify_password_page();
|
1987 |
+
}
|
1988 |
Â
}
|
1989 |
Â
}
|
1990 |
+
}
|
1991 |
+
|
1992 |
+
function encrypt_data($data, $key) {
|
1993 |
+
|
1994 |
+
return base64_encode(openssl_encrypt($data, 'aes-128-ecb', $key, OPENSSL_RAW_DATA));
|
1995 |
+
|
1996 |
+
}
|
1997 |
Â
|
1998 |
+
function mo_openid_update_role($user_id='', $user_url=''){
|
1999 |
+
// save the profile url in user meta // this was added to save facebook url in user meta as it is more than 100 chars
|
2000 |
+
update_user_meta($user_id, 'moopenid_user_profile_url',$user_url);
|
2001 |
+
if(get_option('mo_openid_login_role_mapping') ){
|
2002 |
Â
$user = get_user_by('ID',$user_id);
|
2003 |
+
$user->set_role( get_option('mo_openid_login_role_mapping') );
|
Â
|
|
Â
|
|
2004 |
Â
}
|
2005 |
+
}
|
2006 |
+
|
2007 |
+
|
2008 |
Â
|
2009 |
+
function mo_openid_login_redirect($username = '', $user = NULL){
|
2010 |
+
mo_openid_start_session();
|
2011 |
+
if(is_string($username) && $username && is_object($user) && !empty($user->ID) && ($user_id = $user->ID) && isset($_SESSION['mo_login']) && $_SESSION['mo_login']){
|
2012 |
+
$_SESSION['mo_login'] = false;
|
2013 |
+
wp_set_auth_cookie( $user_id, true );
|
2014 |
+
$redirect_url = mo_openid_get_redirect_url();
|
2015 |
+
wp_redirect($redirect_url);
|
2016 |
+
exit;
|
2017 |
Â
}
|
2018 |
+
}
|
2019 |
Â
|
2020 |
+
function mo_openid_login_redirect_pop_up($username = '', $user = NULL){
|
2021 |
+
|
2022 |
+
mo_openid_start_session();
|
2023 |
+
if(is_string($username) && $username && is_object($user) && !empty($user->ID) && ($user_id = $user->ID) && isset($_SESSION['mo_login']) && $_SESSION['mo_login']){
|
2024 |
+
$_SESSION['mo_login'] = false;
|
2025 |
+
wp_set_auth_cookie( $user_id, true );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2026 |
Â
}
|
2027 |
+
?>
|
2028 |
+
<script>
|
2029 |
+
window.opener.HandlePopupResult("true");
|
2030 |
+
window.close();
|
2031 |
Â
|
2032 |
+
</script> <?php
|
2033 |
+
|
2034 |
+
if(get_option("account_linking_flow")){
|
2035 |
+
update_option( 'account_linking_flow', 0);
|
2036 |
+
exit;
|
2037 |
Â
}
|
2038 |
+
if ( empty( $_REQUEST['redirect_to'] ) ) {
|
2039 |
+
exit;
|
Â
|
|
2040 |
Â
}
|
2041 |
+
}
|
2042 |
Â
|
2043 |
+
function mo_openid_update_user_meta($username, $user ){
|
2044 |
+
mo_openid_start_session();
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2045 |
Â
|
2046 |
+
if(isset($_SESSION['location_city'])? $_SESSION['location_city']: '') {
|
2047 |
+
update_user_meta($user->ID, 'location_city', $_SESSION['location_city']);
|
2048 |
Â
}
|
2049 |
+
if(isset($_SESSION['location_country'])? $_SESSION['location_country']: '') {
|
2050 |
+
update_user_meta($user->ID, 'location_country', $_SESSION['location_country']);
|
2051 |
+
}
|
2052 |
+
if(isset($_SESSION['about_me'])? $_SESSION['about_me']: '') {
|
2053 |
+
update_user_meta($user->ID, 'about_me', $_SESSION['about_me']);
|
2054 |
+
}
|
2055 |
+
if(isset($_SESSION['company_name'])? $_SESSION['company_name']: '') {
|
2056 |
+
update_user_meta($user->ID, 'company_name', $_SESSION['company_name']);
|
2057 |
+
}
|
2058 |
+
if(isset($_SESSION['age'])? $_SESSION['age']: '') {
|
2059 |
+
update_user_meta($user->ID, 'age', $_SESSION['age']);
|
2060 |
+
}
|
2061 |
+
if(isset($_SESSION['gender'])? $_SESSION['gender']: '') {
|
2062 |
+
update_user_meta($user->ID, 'gender', $_SESSION['gender']);
|
2063 |
+
}
|
2064 |
+
if(isset($_SESSION['birth_date'])? $_SESSION['birth_date']: '') {
|
2065 |
+
update_user_meta($user->ID, 'birth_date', $_SESSION['birth_date']);
|
2066 |
+
}
|
2067 |
+
if(isset($_SESSION['friend_list'])? $_SESSION['friend_list']: '') {
|
2068 |
+
update_user_meta($user->ID, 'friend_list', $_SESSION['friend_list']);
|
2069 |
+
}
|
2070 |
+
if(isset($_SESSION['website'])? $_SESSION['website']: '') {
|
2071 |
+
update_user_meta($user->ID, 'website', $_SESSION['website']);
|
2072 |
+
}
|
2073 |
+
if(isset($_SESSION['field_of_study'])? $_SESSION['field_of_study']: '') {
|
2074 |
+
update_user_meta($user->ID, 'field_of_study', $_SESSION['field_of_study']);
|
2075 |
+
}
|
2076 |
+
if(isset($_SESSION['university_name'])? $_SESSION['university_name']: '') {
|
2077 |
+
update_user_meta($user->ID, 'university_name', $_SESSION['university_name']);
|
2078 |
+
}
|
2079 |
+
if(isset($_SESSION['places_lived'])? $_SESSION['places_lived']: '') {
|
2080 |
+
update_user_meta($user->ID, 'places_lived', $_SESSION['places_lived']);
|
2081 |
+
}
|
2082 |
+
if(isset($_SESSION['contact_no'])? $_SESSION['contact_no']: '') {
|
2083 |
+
update_user_meta($user->ID, 'contact_no', $_SESSION['contact_no']);
|
2084 |
+
}
|
2085 |
+
if(isset($_SESSION['relationship'])? $_SESSION['relationship']: '') {
|
2086 |
+
update_user_meta($user->ID, 'relationship', $_SESSION['relationship']);
|
2087 |
+
}
|
2088 |
+
if(isset($_SESSION['industry'])? $_SESSION['industry']: '') {
|
2089 |
+
update_user_meta($user->ID, 'industry', $_SESSION['industry']);
|
2090 |
+
}
|
2091 |
+
if(isset($_SESSION['head_line'])? $_SESSION['head_line']: '') {
|
2092 |
+
update_user_meta($user->ID, 'head_line', $_SESSION['head_line']);
|
2093 |
+
}
|
2094 |
+
if(isset($_SESSION['position'])? $_SESSION['position']: '') {
|
2095 |
+
update_user_meta($user->ID, 'position', $_SESSION['position']);
|
2096 |
+
}
|
2097 |
+
update_user_meta( $user->ID, 'NA', isset($_SESSION['NA'])? $_SESSION['NA']:'' );
|
2098 |
+
}
|
2099 |
Â
|
2100 |
+
function mo_openid_link_account( $username, $user ){
|
2101 |
+
if($user){
|
2102 |
+
$userid = $user->ID;
|
2103 |
+
}
|
2104 |
+
mo_openid_start_session();
|
2105 |
Â
|
2106 |
+
$user_email = isset($_SESSION['user_email']) ? sanitize_text_field($_SESSION['user_email']):'';
|
2107 |
+
$social_app_identifier = isset($_SESSION['social_user_id']) ? sanitize_text_field($_SESSION['social_user_id']):'';
|
2108 |
+
$social_app_name = isset($_SESSION['social_app_name']) ? sanitize_text_field($_SESSION['social_app_name']):'';
|
2109 |
+
if(empty($user_email)){
|
2110 |
+
$user_email=$user->user_email;
|
2111 |
+
}
|
2112 |
+
//if user is coming through default wordpress login, do not proceed further and return
|
2113 |
+
if(isset($userid) && empty($social_app_identifier) && empty($social_app_name) ) {
|
2114 |
+
return;
|
2115 |
+
}
|
2116 |
+
elseif(!isset($userid)){
|
2117 |
+
return;
|
2118 |
+
}
|
2119 |
Â
|
2120 |
+
global $wpdb;
|
2121 |
+
$db_prefix = $wpdb->prefix;
|
2122 |
+
$linked_email_id = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_email = \"%s\" AND linked_social_app = \"%s\"",$user_email,$social_app_name));
|
2123 |
Â
|
2124 |
+
// if a user with given email and social app name doesn't already exist in the mo_openid_linked_user table
|
2125 |
+
if(!isset($linked_email_id)){
|
2126 |
+
mo_openid_insert_query($social_app_name,$user_email,$userid,$social_app_identifier);
|
Â
|
|
2127 |
Â
}
|
2128 |
+
}
|
2129 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2130 |
Â
|
2131 |
+
function mo_openid_delete_profile_column($value, $columnName, $userId){
|
2132 |
+
if('mo_openid_delete_profile_data' == $columnName){
|
2133 |
+
global $wpdb;
|
2134 |
+
$socialUser = $wpdb->get_var($wpdb->prepare('SELECT id FROM '. $wpdb->prefix .'mo_openid_linked_user WHERE user_id = %d ', $userId));
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2135 |
Â
|
2136 |
+
if($socialUser > 0 && !get_user_meta($userId,'mo_openid_data_deleted')){
|
2137 |
+
return '<a href="javascript:void(0)" onclick="javascript:moOpenidDeleteSocialProfile(this, '. $userId .')">Delete</a>';
|
2138 |
+
}
|
2139 |
+
else
|
2140 |
+
return '<p>NA</p>';
|
2141 |
+
}
|
2142 |
+
if('mo_openid_linked_social_app' == $columnName){
|
2143 |
+
global $wpdb;
|
2144 |
+
$socialUser = $wpdb->get_var($wpdb->prepare('SELECT id FROM '. $wpdb->prefix .'mo_openid_linked_user WHERE user_id = %d ', $userId));
|
2145 |
+
$a=$wpdb->get_col('SELECT all linked_social_app FROM '. $wpdb->prefix .'mo_openid_linked_user where user_id='.$userId);
|
2146 |
+
$b='';
|
2147 |
+
foreach ($a as $x=>$y)
|
2148 |
+
{
|
2149 |
+
if($y=='facebook') {$y='Facebook';}if($y=='google') {$y='Google';}if($y=='instagram'){$y='Instagram';}if($y=='linkedin'){$y='LinkedIn';}if($y=='amazon') {$y='Amazon';}
|
2150 |
+
if($y=='pinterest'){$y='Pinterest';}if($y=='twitch'){$y='Twitch';} if($y=='vkontakte'){$y='vKontakte';} if($y=='twitter'){$y='Twitter';}if($y=='salesforce'){$y='Salesforce';}if($y=='windowslive'){$y='Windows Live';}if($y=='yahoo'){$y='Yahoo';}if($y=='yahoo'){$y='Yahoo';}if($y=='wordpress'){$y='Wordpress';}if($y=='disqus'){$y='Disqus';}
|
2151 |
Â
|
2152 |
+
$b=$b.' '.$y.'<br>';
|
2153 |
+
}
|
2154 |
+
if($socialUser > 0){
|
2155 |
+
return $b;
|
2156 |
+
}
|
2157 |
+
}
|
2158 |
+
}
|
class-mo-openid-social-comment.php
CHANGED
@@ -1,104 +1,98 @@
|
|
1 |
Â
<?php
|
2 |
-
function mo_openid_social_comment($post, $url)
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
document.getElementById("respond").innerHTML = commentForm;
|
28 |
-
document.getElementById("reply-title")&&jQuery("#reply-title").remove();
|
29 |
Â
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
Â
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
}
|
48 |
Â
}
|
49 |
Â
|
50 |
-
function mo_openid_comments_shortcode()
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
$html .= 'document.getElementById("mo_comment_shortcode").innerHTML = comments.innerHTML;';
|
59 |
-
$html .= 'comments.parentNode.removeChild(comments);';
|
60 |
Â
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
Â
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
Â
|
97 |
-
|
98 |
-
|
99 |
Â
|
100 |
-
|
101 |
-
|
102 |
-
}
|
103 |
Â
|
104 |
Â
?>
|
1 |
Â
<?php
|
2 |
+
function mo_openid_social_comment($post, $url){
|
3 |
+
|
4 |
+
?>
|
5 |
+
<script>
|
6 |
+
function moOpenIDShowCommentForms(){
|
7 |
+
var commentFormElement = document.getElementById("respond");
|
8 |
+
if(commentFormElement) {
|
9 |
+
<?php wp_enqueue_script( 'moopenid-comment-fb',plugins_url('includes/js/social/fb_comment.js', __FILE__), array('jquery'));?>
|
10 |
+
var commentForm = '<div><h3 id="mo_reply_label" class="comment-reply-title"><?php echo esc_attr(get_option("mo_openid_social_comment_heading_label")) ?></h3><br/><ul class="mo_openid_comment_tab">';
|
11 |
+
<?php if(get_option('mo_openid_social_comment_default')){ $commentsCount = wp_count_comments($post->ID); ?>
|
12 |
+
commentForm += '<li id="moopenid_social_comment_default" class="mo_openid_selected_tab"><?php echo esc_html(get_option("mo_openid_social_comment_default_label")) ?>(<?php echo ($commentsCount && isset($commentsCount -> approved) ? $commentsCount -> approved : '') ?>)</li>';
|
13 |
+
<?php } if(get_option('mo_openid_social_comment_fb')){ ?>
|
14 |
+
commentForm += '<li id="moopenid_social_comment_fb"><?php echo esc_html(get_option("mo_openid_social_comment_fb_label")) ?></li>';
|
15 |
+
<?php } if(get_option('mo_openid_social_comment_google')){ ?>
|
16 |
+
commentForm += '<li id="moopenid_social_comment_google"><?php echo esc_html(get_option("mo_openid_social_comment_google_label")) ?></li>';
|
17 |
+
<?php } ?>
|
18 |
+
commentForm += '</ul>';
|
19 |
+
commentForm += '<br/><div id="moopenid_comment_form_default" style="display:none;">';
|
20 |
+
commentForm += document.getElementById("respond").innerHTML;
|
21 |
+
commentForm += '</div>';
|
22 |
+
commentForm += '<div id="moopenid_comment_form_fb" style="display:none;"><div class="fb-comments" data-href=' + '"<?php echo esc_url($url) ?>"' + '></div></div>';
|
23 |
+
commentForm += '<br/><div id="moopenid_comment_form_google" style="display:none;"></div>';
|
24 |
+
commentForm += '</div>';
|
25 |
+
document.getElementById("respond").innerHTML = commentForm;
|
26 |
+
document.getElementById("reply-title")&&jQuery("#reply-title").remove();
|
Â
|
|
Â
|
|
27 |
Â
|
28 |
+
<?php $mo_disqus_shortname = get_option("mo_openid_social_comment_disqus_shortname"); ?>
|
29 |
+
var sg1 = document.createElement("script");
|
30 |
+
sg1.src = 'https://apis.google.com/js/plusone.js?onload=gapiCallback';
|
31 |
+
var divComm = document.createElement("div");
|
32 |
+
divComm.id = "google-comments";
|
33 |
+
document.getElementById("moopenid_comment_form_google").appendChild(divComm);
|
34 |
+
document.getElementById("moopenid_comment_form_google").appendChild(sg1);
|
35 |
+
}
|
36 |
+
}
|
37 |
Â
|
38 |
+
window.gapiCallback = function(){
|
39 |
+
var sg2 = document.createElement("script");
|
40 |
+
sg2.innerHTML = 'gapi.comments.render("google-comments", {href: window.location, width: "624", first_party_property: "BLOGGER", view_type: "FILTERED_POSTMOD" });';
|
41 |
+
document.getElementById("moopenid_comment_form_google").appendChild(sg2);
|
42 |
+
}
|
43 |
+
</script>
|
44 |
+
<?php
|
Â
|
|
45 |
Â
}
|
46 |
Â
|
47 |
+
function mo_openid_comments_shortcode(){
|
48 |
+
$html = '';
|
49 |
+
$html .= '<div id="mo_comment_shortcode"></div>';
|
50 |
+
$html .= '<script>';
|
51 |
+
$html .= 'window.onload=function(){';
|
52 |
+
$html .= 'var comments = document.getElementById("comments");';
|
53 |
+
$html .= 'document.getElementById("mo_comment_shortcode").innerHTML = comments.innerHTML;';
|
54 |
+
$html .= 'comments.parentNode.removeChild(comments);';
|
Â
|
|
Â
|
|
55 |
Â
|
56 |
+
$html .= 'if(document.getElementById("moopenid_social_comment_default")) {';
|
57 |
+
$html .= 'jQuery("#moopenid_comment_form_default").attr("style","display:block");';
|
58 |
+
$html .= 'jQuery("#moopenid_social_comment_default").addClass("mo_openid_selected_tab");';
|
59 |
+
$html .= '} else if(document.getElementById("moopenid_social_comment_fb")) {';
|
60 |
+
$html .= 'jQuery("#moopenid_comment_form_fb").attr("style","display:block");';
|
61 |
+
$html .= 'jQuery("#moopenid_social_comment_fb").addClass("mo_openid_selected_tab");';
|
62 |
+
$html .= '} else if(document.getElementById("moopenid_social_comment_google")){';
|
63 |
+
$html .= 'Query("#moopenid_comment_form_google").attr("style","display:block");';
|
64 |
+
$html .= 'jQuery("#moopenid_social_comment_google").addClass("mo_openid_selected_tab");';
|
65 |
+
$html .= '}';
|
66 |
Â
|
67 |
+
$html .= 'jQuery("#moopenid_social_comment_fb").click(function(){';
|
68 |
+
$html .= 'jQuery("#moopenid_comment_form_fb").attr("style","display:block");';
|
69 |
+
$html .= 'jQuery("#moopenid_comment_form_google").attr("style","display:none");';
|
70 |
+
$html .= 'jQuery("#moopenid_comment_form_default").attr("style","display:none");';
|
71 |
+
$html .= 'jQuery("#moopenid_social_comment_fb").addClass("mo_openid_selected_tab");';
|
72 |
+
$html .= 'jQuery("#moopenid_social_comment_default").removeClass("mo_openid_selected_tab");';
|
73 |
+
$html .= 'jQuery("#moopenid_social_comment_google").removeClass("mo_openid_selected_tab");';
|
74 |
+
$html .= '});';
|
75 |
+
$html .= 'jQuery("#moopenid_social_comment_default").click(function(){';
|
76 |
+
$html .= 'jQuery("#moopenid_comment_form_fb").attr("style","display:none");';
|
77 |
+
$html .= 'jQuery("#moopenid_comment_form_google").attr("style","display:none");';
|
78 |
+
$html .= 'jQuery("#moopenid_comment_form_default").attr("style","display:block");';
|
79 |
+
$html .= 'jQuery("#moopenid_social_comment_fb").removeClass("mo_openid_selected_tab");';
|
80 |
+
$html .= 'jQuery("#moopenid_social_comment_default").addClass("mo_openid_selected_tab");';
|
81 |
+
$html .= 'jQuery("#moopenid_social_comment_google").removeClass("mo_openid_selected_tab");';
|
82 |
+
$html .= '});';
|
83 |
+
$html .= 'jQuery("#moopenid_social_comment_google").click(function(){';
|
84 |
+
$html .= 'jQuery("#moopenid_comment_form_fb").attr("style","display:none");';
|
85 |
+
$html .= 'jQuery("#moopenid_comment_form_google").attr("style","display:block");';
|
86 |
+
$html .= 'jQuery("#moopenid_comment_form_default").attr("style","display:none");';
|
87 |
+
$html .= 'jQuery("#moopenid_social_comment_fb").removeClass("mo_openid_selected_tab");';
|
88 |
+
$html .= 'jQuery("#moopenid_social_comment_default").removeClass("mo_openid_selected_tab");';
|
89 |
+
$html .= 'jQuery("#moopenid_social_comment_google").addClass("mo_openid_selected_tab");';
|
90 |
+
$html .= '});';
|
91 |
Â
|
92 |
+
$html .= '}';
|
93 |
+
$html .= '</script>';
|
94 |
Â
|
95 |
+
return $html;
|
96 |
+
}
|
Â
|
|
97 |
Â
|
98 |
Â
?>
|
class-mo-openid-social-login-functions.php
DELETED
@@ -1,1643 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
function mo_openid_delete_social_profile($id){
|
4 |
-
// delete first name, last name, user_url and profile_url from usermeta
|
5 |
-
global $wpdb;
|
6 |
-
$metakey1 = 'first_name';
|
7 |
-
$metakey2 = 'last_name';
|
8 |
-
$metakey3 = 'moopenid_user_avatar';
|
9 |
-
$metakey4 = 'moopenid_user_profile_url';
|
10 |
-
$wpdb->query($wpdb->prepare('DELETE from '.$wpdb->prefix.'usermeta where user_id = %d and (meta_key = %s or meta_key = %s or meta_key = %s or meta_key = %s)',$id,$metakey1,$metakey2,$metakey3,$metakey4));
|
11 |
-
update_user_meta($id,'mo_openid_data_deleted','1');
|
12 |
-
exit;
|
13 |
-
}
|
14 |
-
|
15 |
-
function mo_openid_process_account_linking($username, $user_email, $first_name, $last_name, $user_full_name, $user_url, $user_picture, $decrypted_app_name, $decrypted_user_id){
|
16 |
-
mo_openid_start_session();
|
17 |
-
|
18 |
-
if(get_option('mo_openid_auto_register_enable')) {
|
19 |
-
|
20 |
-
$random_password = wp_generate_password( 10, false );
|
21 |
-
global $wpdb;
|
22 |
-
$db_prefix = $wpdb->prefix;
|
23 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM " .$db_prefix."users where user_login = %s", $username));
|
24 |
-
|
25 |
-
if( !empty($username_user_id) ){
|
26 |
-
$email_explode = explode('@',$user_email );
|
27 |
-
$user_new_name = $email_explode[0];
|
28 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM " .$db_prefix."users where user_login = %s", $user_new_name));
|
29 |
-
$i = 1;
|
30 |
-
$uname='';
|
31 |
-
while(!empty($username_user_id) ){
|
32 |
-
$uname=$user_new_name .'_'.$i;
|
33 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM " .$db_prefix."users where user_login = %s", $uname));
|
34 |
-
$i++;
|
35 |
-
if(empty($username_user_id)){
|
36 |
-
$user_new_name=$uname;
|
37 |
-
}
|
38 |
-
}
|
39 |
-
|
40 |
-
if( !empty($username_user_id) ){
|
41 |
-
wp_die("Error Code 1: ".get_option('mo_existing_username_error_message'));
|
42 |
-
}
|
43 |
-
$username = $user_new_name;
|
44 |
-
}
|
45 |
-
|
46 |
-
$meta_user_url = $user_url;
|
47 |
-
|
48 |
-
if(isset($decrypted_app_name) && !empty($decrypted_app_name) && $decrypted_app_name =='facebook'){
|
49 |
-
$user_url = '';
|
50 |
-
}
|
51 |
-
|
52 |
-
// Checking if username already exist
|
53 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
54 |
-
if( isset($username_user_id) ){
|
55 |
-
$email_array = explode('@', $user_email);
|
56 |
-
$username = $email_array[0];
|
57 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
58 |
-
$i = 1;
|
59 |
-
while(!empty($username_user_id) ){
|
60 |
-
$uname=$username.'_' . $i;
|
61 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM " .$db_prefix."users where user_login = %s", $uname));
|
62 |
-
$i++;
|
63 |
-
if(empty($username_user_id)){
|
64 |
-
$username= $uname;
|
65 |
-
}
|
66 |
-
}
|
67 |
-
if( isset($username_user_id) ){
|
68 |
-
echo '<br/>'."Error Code 1: ".get_option('mo_existing_username_error_message');
|
69 |
-
exit();
|
70 |
-
}
|
71 |
-
}
|
72 |
-
|
73 |
-
//to check for customisation fields
|
74 |
-
if(get_option('mo_openid_customised_field_enable') == 1 ) {
|
75 |
-
$set_cust_field = get_option('mo_openid_custom_field_mapping');
|
76 |
-
if ($set_cust_field) {
|
77 |
-
foreach ($set_cust_field as $x) {
|
78 |
-
foreach ($x as $xx => $x_value) {
|
79 |
-
if (isset($xx)) {
|
80 |
-
?>
|
81 |
-
<form id="myForm" action="<?php echo get_option('profile_completion_page') ?>" method="post">
|
82 |
-
<?php
|
83 |
-
echo '<input type="hidden" name="last_name" value="' . $last_name . '">';
|
84 |
-
echo '<input type="hidden" name="first_name" value="' . $first_name . '">';
|
85 |
-
echo '<input type="hidden" name="user_full_name" value="' . $user_full_name . '">';
|
86 |
-
echo '<input type="hidden" name="user_url" value="' . $user_url . '">';
|
87 |
-
echo '<input type="hidden" name="call" value="1">';
|
88 |
-
echo '<input type="hidden" name="user_picture" value="'.$user_picture.'">';
|
89 |
-
echo '<input type="hidden" name="username" value="' . $username . '">';
|
90 |
-
echo '<input type="hidden" name="user_email" value="' . $user_email . '">';
|
91 |
-
echo '<input type="hidden" name="random_password" value="' . $random_password . '">';
|
92 |
-
echo '<input type="hidden" name="social_app_name" value="">';
|
93 |
-
echo '<input type="hidden" name="social_user_id" value="">';
|
94 |
-
echo '<input type="hidden" name="decrypted_app_name" value="' . $decrypted_app_name . '">';
|
95 |
-
echo '<input type="hidden" name="decrypted_user_id" value="' . $decrypted_user_id . '">';
|
96 |
-
?>
|
97 |
-
</form>
|
98 |
-
<script type="text/javascript">
|
99 |
-
document.getElementById('myForm').submit();
|
100 |
-
</script>
|
101 |
-
<?php
|
102 |
-
exit;
|
103 |
-
}
|
104 |
-
}
|
105 |
-
}
|
106 |
-
}
|
107 |
-
}
|
108 |
-
|
109 |
-
$userdata = array(
|
110 |
-
'user_login' => $username,
|
111 |
-
'user_email' => $user_email,
|
112 |
-
'user_pass' => $random_password,
|
113 |
-
'display_name' => $user_full_name,
|
114 |
-
'first_name' => $first_name,
|
115 |
-
'last_name' => $last_name,
|
116 |
-
'user_url' => $user_url,
|
117 |
-
);
|
118 |
-
$userdetails = array(
|
119 |
-
'user_login' => $username,
|
120 |
-
'user_email' => $user_email,
|
121 |
-
'user_pass' => $random_password,
|
122 |
-
'display_name' => $user_full_name,
|
123 |
-
'first_name' => $first_name,
|
124 |
-
'last_name' => $last_name,
|
125 |
-
'user_url' => $user_url,
|
126 |
-
'user_profile_url' => $user_url,
|
127 |
-
'user_picture' => $user_picture,
|
128 |
-
'decrypted_app_name' => $decrypted_app_name,
|
129 |
-
'decrypted_user_id' => $decrypted_user_id,
|
130 |
-
'call' => "1"
|
131 |
-
);
|
132 |
-
do_action("mo_before_insert_user",$userdetails,"");
|
133 |
-
$user_id = wp_insert_user( $userdata);
|
134 |
-
|
135 |
-
if(is_wp_error( $user_id )) {
|
136 |
-
print_r($user_id);
|
137 |
-
wp_die("Error Code 1: ".get_option('mo_registration_error_message'));
|
138 |
-
}
|
139 |
-
|
140 |
-
update_option('mo_openid_user_count',get_option('mo_openid_user_count')+1);
|
141 |
-
|
142 |
-
$user = get_user_by('id', $user_id );
|
143 |
-
|
144 |
-
if(get_option('moopenid_social_login_avatar') && isset($user_picture)){
|
145 |
-
update_user_meta($user_id, 'moopenid_user_avatar',$user_picture);
|
146 |
-
}
|
147 |
-
|
148 |
-
mo_openid_start_session();
|
149 |
-
|
150 |
-
$_SESSION['mo_login'] = true;
|
151 |
-
$_SESSION['registered_user'] = '1';
|
152 |
-
do_action( 'mo_user_register', $user_id,$meta_user_url);
|
153 |
-
do_action( 'miniorange_collect_attributes_for_authenticated_user', $user, mo_openid_get_redirect_url());
|
154 |
-
do_action( 'wp_login', $user->user_login, $user );
|
155 |
-
wp_set_auth_cookie( $user_id, true );
|
156 |
-
}
|
157 |
-
//end of create account block
|
158 |
-
|
159 |
-
$redirect_url = mo_openid_get_redirect_url();
|
160 |
-
wp_redirect($redirect_url);
|
161 |
-
exit;
|
162 |
-
}
|
163 |
-
|
164 |
-
function mo_openid_initialize_social_login(){
|
165 |
-
$client_name = "wordpress";
|
166 |
-
$timestamp = round( microtime(true) * 1000 );
|
167 |
-
$api_key = get_option('mo_openid_admin_api_key');
|
168 |
-
$token = $client_name . ':' . number_format($timestamp, 0, '', ''). ':' . $api_key;
|
169 |
-
|
170 |
-
$customer_token = get_option('mo_openid_customer_token');
|
171 |
-
$encrypted_token = encrypt_data($token,$customer_token);
|
172 |
-
$encoded_token = urlencode( $encrypted_token );
|
173 |
-
|
174 |
-
$userdata = get_option('moopenid_user_attributes')?'true':'false';
|
175 |
-
|
176 |
-
$http = isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' ? "https://" : "http://";
|
177 |
-
|
178 |
-
$parts = parse_url($http . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]);
|
179 |
-
parse_str($parts['query'], $query);
|
180 |
-
$post = isset( $query['p'] ) ? '?p=' . $query['p'] : '';
|
181 |
-
|
182 |
-
$base_return_url = $http . $_SERVER["HTTP_HOST"] . strtok($_SERVER["REQUEST_URI"],'?') . $post;
|
183 |
-
|
184 |
-
$return_url = strpos($base_return_url, '?') !== false ? urlencode( $base_return_url . '&option=moopenid' ): urlencode( $base_return_url . '?option=moopenid' );
|
185 |
-
|
186 |
-
$url = 'https://login.xecurify.com/moas/openid-connect/client-app/authenticate?token=' . $encoded_token . '&userdata=' . $userdata. '&id=' . get_option('mo_openid_admin_customer_key') . '&encrypted=true&app=' . $_REQUEST['app_name'] . '_oauth_xecurify&returnurl=' . $return_url . '&encrypt_response=true';
|
187 |
-
wp_redirect($url);
|
188 |
-
exit;
|
189 |
-
}
|
190 |
-
|
191 |
-
function mo_openid_save_profile_completion_form($username, $user_email, $first_name, $last_name, $user_full_name, $user_url, $user_picture, $decrypted_app_name, $decrypted_user_id){
|
192 |
-
if(!isset($_POST['otp_field'])) {
|
193 |
-
$user_email = sanitize_email($user_email);
|
194 |
-
$username = preg_replace('/[\x00-\x1F][\x7F][\x81][\x8D][\x8F][\x90][\x9D][\xA0][\xAD]/', '', $username);
|
195 |
-
|
196 |
-
global $wpdb;
|
197 |
-
if(empty($user_email)){
|
198 |
-
$email_user_id = NULL;
|
199 |
-
}
|
200 |
-
else {
|
201 |
-
$email_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_email = %s", $user_email));
|
202 |
-
}
|
203 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
204 |
-
|
205 |
-
//if email exists, dont check if username is in db or not, send otp and get it over wordpress
|
206 |
-
if( isset($email_user_id)){
|
207 |
-
|
208 |
-
$send_content = send_otp_token($user_email);
|
209 |
-
if($send_content['status']=='FAILURE'){
|
210 |
-
$message ="Error Code 1: ".get_option('mo_email_failure_message');
|
211 |
-
wp_die($message);
|
212 |
-
}
|
213 |
-
|
214 |
-
$transaction_id = $send_content['tId'];
|
215 |
-
echo mo_openid_validate_otp_form($username, $user_email, $transaction_id, $user_picture, $user_url,$last_name, $user_full_name,$first_name, $decrypted_app_name, $decrypted_user_id);
|
216 |
-
exit;
|
217 |
-
|
218 |
-
}
|
219 |
-
//email doesnt exist, check if username is in db or not, acc show form and proceed further
|
220 |
-
else {
|
221 |
-
|
222 |
-
if( isset($username_user_id) ){
|
223 |
-
echo mo_openid_profile_completion_form($last_name, $first_name, $user_full_name, $user_url, $user_picture, $username, $user_email, $decrypted_app_name, $decrypted_user_id,'0');
|
224 |
-
exit;
|
225 |
-
}
|
226 |
-
else {
|
227 |
-
|
228 |
-
$send_content = send_otp_token($user_email);
|
229 |
-
if($send_content['status']=='FAILURE'){
|
230 |
-
$message ="Error Code 2: ".get_option('mo_email_failure_message');
|
231 |
-
wp_die($message);
|
232 |
-
}
|
233 |
-
|
234 |
-
$transaction_id = $send_content['tId'];
|
235 |
-
echo mo_openid_validate_otp_form($username, $user_email, $transaction_id, $user_picture, $user_url, $last_name, $user_full_name,$first_name, $decrypted_app_name, $decrypted_user_id);
|
236 |
-
exit;
|
237 |
-
}
|
238 |
-
}
|
239 |
-
}
|
240 |
-
}
|
241 |
-
|
242 |
-
function mo_openid_social_login_validate_otp($username, $user_email, $first_name, $last_name, $user_full_name, $user_url, $user_picture, $decrypted_app_name, $decrypted_user_id, $otp_token, $transaction_id){
|
243 |
-
|
244 |
-
$validate_content = validate_otp_token($transaction_id, $otp_token);
|
245 |
-
$status = $validate_content['status'];
|
246 |
-
|
247 |
-
//if invalid OTP
|
248 |
-
if($status == 'FAILURE'){
|
249 |
-
$message = 'You have entered an invalid verification code. Enter a valid code.';
|
250 |
-
echo mo_openid_validate_otp_form($username, $user_email, $transaction_id, $user_picture, $user_url, $last_name, $user_full_name,$first_name, $decrypted_app_name, $decrypted_user_id,$message);
|
251 |
-
exit;
|
252 |
-
|
253 |
-
}
|
254 |
-
//if OTP is Valid
|
255 |
-
else{
|
256 |
-
global $wpdb;
|
257 |
-
$db_prefix = $wpdb->prefix;
|
258 |
-
$email_user_id = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_email = %s",$user_email));
|
259 |
-
if(empty($user_email)){
|
260 |
-
$existing_email_user_id = NULL;
|
261 |
-
}
|
262 |
-
else {
|
263 |
-
$existing_email_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_email = \"%s\"", $user_email));
|
264 |
-
}
|
265 |
-
|
266 |
-
// if linked user exists log him in
|
267 |
-
mo_openid_start_session();
|
268 |
-
if(isset($email_user_id) || isset($existing_email_user_id) )
|
269 |
-
{
|
270 |
-
$email_user_id = isset($email_user_id)? $email_user_id:$existing_email_user_id;
|
271 |
-
|
272 |
-
mo_openid_start_session();
|
273 |
-
$_SESSION['username'] = $username;
|
274 |
-
$_SESSION['user_email'] = $user_email;
|
275 |
-
$_SESSION['user_full_name'] = $user_full_name;
|
276 |
-
$_SESSION['first_name'] = $first_name;
|
277 |
-
$_SESSION['last_name'] = $last_name;
|
278 |
-
$_SESSION['user_url'] = $user_url;
|
279 |
-
$_SESSION['user_picture'] = $user_picture;
|
280 |
-
$_SESSION['social_app_name'] = $decrypted_app_name;
|
281 |
-
$_SESSION['social_user_id'] = $decrypted_user_id;
|
282 |
-
|
283 |
-
if(get_option('moopenid_social_login_avatar') && isset($user_picture))
|
284 |
-
update_user_meta($email_user_id, 'moopenid_user_avatar', $user_picture);
|
285 |
-
$_SESSION['mo_login'] = true;
|
286 |
-
|
287 |
-
$user = get_user_by('id', $email_user_id );
|
288 |
-
do_action( 'miniorange_collect_attributes_for_authenticated_user', $user, mo_openid_get_redirect_url());
|
289 |
-
do_action( 'wp_login', $user->user_login, $user );
|
290 |
-
wp_set_auth_cookie( $email_user_id, true );
|
291 |
-
}
|
292 |
-
// if account linking is enable and email is set
|
293 |
-
else if ( get_option('mo_openid_account_linking_enable') && (!mo_openid_restrict_user())){
|
294 |
-
mo_openid_start_session();
|
295 |
-
$_SESSION['username'] = $username;
|
296 |
-
$_SESSION['user_email'] = $user_email;
|
297 |
-
$_SESSION['user_full_name'] = $user_full_name;
|
298 |
-
$_SESSION['first_name'] = $first_name;
|
299 |
-
$_SESSION['last_name'] = $last_name;
|
300 |
-
$_SESSION['user_url'] = $user_url;
|
301 |
-
$_SESSION['user_picture'] = $user_picture;
|
302 |
-
$_SESSION['social_app_name'] = $decrypted_app_name;
|
303 |
-
$_SESSION['social_user_id'] = $decrypted_user_id;
|
304 |
-
|
305 |
-
echo mo_openid_account_linking_form($username,$user_email,$first_name,$last_name,$user_full_name,$user_url,$user_picture,$decrypted_app_name,$decrypted_user_id);
|
306 |
-
exit;
|
307 |
-
}
|
308 |
-
// else register
|
309 |
-
else{
|
310 |
-
//check if auto-registration is enabled
|
311 |
-
if(get_option('mo_openid_auto_register_enable')) {
|
312 |
-
|
313 |
-
$random_password = wp_generate_password( 10, false );
|
314 |
-
$user_profile_url = $user_url;
|
315 |
-
|
316 |
-
if(isset($decrypted_app_name) && !empty($decrypted_app_name) && $decrypted_app_name=='facebook'){
|
317 |
-
$user_url = '';
|
318 |
-
}
|
319 |
-
|
320 |
-
// Checking if username already exist
|
321 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
322 |
-
|
323 |
-
if( isset($username_user_id) ){
|
324 |
-
$email_array = explode('@', $user_email);
|
325 |
-
$username = $email_array[0];
|
326 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
327 |
-
$i = 1;
|
328 |
-
while(!empty($username_user_id) ){
|
329 |
-
$uname=$username.'_' . $i;
|
330 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM " .$db_prefix."users where user_login = %s", $uname));
|
331 |
-
$i++;
|
332 |
-
if(empty($username_user_id)){
|
333 |
-
$username= $uname;
|
334 |
-
}
|
335 |
-
}
|
336 |
-
|
337 |
-
if( isset($username_user_id) ){
|
338 |
-
echo '<br/>'."Error Code 2: ".get_option('mo_existing_username_error_message');
|
339 |
-
exit();
|
340 |
-
}
|
341 |
-
}
|
342 |
-
|
343 |
-
//to check for customisation fields
|
344 |
-
if(get_option('mo_openid_customised_field_enable') == 1 ) {
|
345 |
-
$set_cust_field = get_option('mo_openid_custom_field_mapping');
|
346 |
-
if ($set_cust_field) {
|
347 |
-
foreach ($set_cust_field as $x) {
|
348 |
-
foreach ($x as $xx => $x_value) {
|
349 |
-
if (isset($xx)) {
|
350 |
-
?>
|
351 |
-
<form id="myForm" action="<?php echo get_option('profile_completion_page') ?>" method="post">
|
352 |
-
<?php
|
353 |
-
echo '<input type="hidden" name="last_name" value="' . $last_name . '">';
|
354 |
-
echo '<input type="hidden" name="first_name" value="' . $first_name . '">';
|
355 |
-
echo '<input type="hidden" name="user_full_name" value="' . $user_full_name . '">';
|
356 |
-
echo '<input type="hidden" name="user_url" value="' . $user_url . '">';
|
357 |
-
echo '<input type="hidden" name="user_profile_url" value="' . $user_profile_url . '">';
|
358 |
-
echo '<input type="hidden" name="call" value="2">';
|
359 |
-
echo '<input type="hidden" name="user_picture" value="'.$user_picture.'">';
|
360 |
-
echo '<input type="hidden" name="username" value="' . $username . '">';
|
361 |
-
echo '<input type="hidden" name="user_email" value="' . $user_email . '">';
|
362 |
-
echo '<input type="hidden" name="random_password" value="' . $random_password . '">';
|
363 |
-
echo '<input type="hidden" name="social_app_name" value="">';
|
364 |
-
echo '<input type="hidden" name="social_user_id" value="">';
|
365 |
-
echo '<input type="hidden" name="decrypted_app_name" value="' . $decrypted_app_name . '">';
|
366 |
-
echo '<input type="hidden" name="decrypted_user_id" value="' . $decrypted_user_id . '">';
|
367 |
-
?>
|
368 |
-
</form>
|
369 |
-
<script type="text/javascript">
|
370 |
-
document.getElementById('myForm').submit();
|
371 |
-
</script>
|
372 |
-
<?php
|
373 |
-
exit;
|
374 |
-
}
|
375 |
-
}
|
376 |
-
}
|
377 |
-
}
|
378 |
-
}
|
379 |
-
|
380 |
-
$userdata = array(
|
381 |
-
'user_login' => $username,
|
382 |
-
'user_email' => $user_email,
|
383 |
-
'user_pass' => $random_password,
|
384 |
-
'display_name' => $user_full_name,
|
385 |
-
'first_name' => $first_name,
|
386 |
-
'last_name' => $last_name,
|
387 |
-
'user_url' => $user_url,
|
388 |
-
);
|
389 |
-
$userdetails = array(
|
390 |
-
'user_login' => $username,
|
391 |
-
'user_email' => $user_email,
|
392 |
-
'user_pass' => $random_password,
|
393 |
-
'display_name' => $user_full_name,
|
394 |
-
'first_name' => $first_name,
|
395 |
-
'last_name' => $last_name,
|
396 |
-
'user_url' => $user_url,
|
397 |
-
'user_profile_url' => $user_profile_url,
|
398 |
-
'user_picture' => $user_picture,
|
399 |
-
'decrypted_app_name' => $decrypted_app_name,
|
400 |
-
'decrypted_user_id' => $decrypted_user_id,
|
401 |
-
'call' => "2"
|
402 |
-
);
|
403 |
-
do_action("mo_before_insert_user",$userdetails,"");
|
404 |
-
$user_id = wp_insert_user( $userdata);
|
405 |
-
|
406 |
-
if(is_wp_error( $user_id )) {
|
407 |
-
print_r($user_id);
|
408 |
-
wp_die("Error Code 2: ".get_option('mo_registration_error_message'));
|
409 |
-
}
|
410 |
-
|
411 |
-
$_SESSION['social_app_name'] = $decrypted_app_name;
|
412 |
-
$_SESSION['user_email'] = $user_email;
|
413 |
-
$_SESSION['social_user_id'] = $decrypted_user_id;
|
414 |
-
$_SESSION['registered_user'] = '1';
|
415 |
-
|
416 |
-
$user = get_user_by('email', $user_email );
|
417 |
-
|
418 |
-
if(get_option('moopenid_social_login_avatar') && isset($user_picture)){
|
419 |
-
update_user_meta($user_id, 'moopenid_user_avatar', $user_picture);
|
420 |
-
}
|
421 |
-
$_SESSION['mo_login'] = true;
|
422 |
-
do_action( 'mo_user_register', $user_id, $user_profile_url);
|
423 |
-
do_action( 'miniorange_collect_attributes_for_authenticated_user', $user, mo_openid_get_redirect_url());
|
424 |
-
do_action( 'wp_login', $user->user_login, $user );
|
425 |
-
wp_set_auth_cookie( $user_id, true );
|
426 |
-
}
|
427 |
-
|
428 |
-
$redirect_url = mo_openid_get_redirect_url();
|
429 |
-
wp_redirect($redirect_url);
|
430 |
-
exit;
|
431 |
-
}
|
432 |
-
}
|
433 |
-
}
|
434 |
-
|
435 |
-
function mo_openid_process_social_login(){
|
436 |
-
if( is_user_logged_in()){
|
437 |
-
return;
|
438 |
-
}
|
439 |
-
|
440 |
-
//Decrypt all entries
|
441 |
-
$decrypted_email = isset($_POST['email']) ? mo_openid_decrypt_sanitize($_POST['email']): '';
|
442 |
-
$decrypted_user_name = isset($_POST['username']) ? mo_openid_decrypt_sanitize($_POST['username']): '';
|
443 |
-
$decrypted_user_picture = isset($_POST['profilePic']) ? mo_openid_decrypt_sanitize($_POST['profilePic']): '';
|
444 |
-
$decrypted_user_url = isset($_POST['profileUrl']) ? mo_openid_decrypt_sanitize($_POST['profileUrl']): '';
|
445 |
-
$decrypted_first_name = isset($_POST['firstName']) ? mo_openid_decrypt_sanitize($_POST['firstName']): '';
|
446 |
-
$decrypted_last_name = isset($_POST['lastName']) ? mo_openid_decrypt_sanitize($_POST['lastName']): '';
|
447 |
-
$decrypted_app_name = isset($_POST['appName']) ? mo_openid_decrypt_sanitize($_POST['appName']): '';
|
448 |
-
$decrypted_user_id = isset($_POST['userid']) ? mo_openid_decrypt_sanitize($_POST['userid']): '';
|
449 |
-
|
450 |
-
|
451 |
-
$decrypted_user_name = str_replace(' ', '-', $decrypted_user_name);
|
452 |
-
$decrypted_user_name = sanitize_user($decrypted_user_name, true);
|
453 |
-
|
454 |
-
if($decrypted_user_name == '-' || $decrypted_user_name == ''){
|
455 |
-
$splitemail = explode('@', $decrypted_email);
|
456 |
-
$decrypted_user_name = $splitemail[0];
|
457 |
-
}
|
458 |
-
|
459 |
-
$decrypted_app_name = mo_openid_filter_app_name($decrypted_app_name);
|
460 |
-
|
461 |
-
if(isset( $decrypted_first_name ) && isset( $decrypted_last_name )){
|
462 |
-
if(strcmp($decrypted_first_name, $decrypted_last_name)!=0)
|
463 |
-
$user_full_name = $decrypted_first_name.' '.$decrypted_last_name;
|
464 |
-
else
|
465 |
-
$user_full_name = $decrypted_first_name;
|
466 |
-
$first_name = $decrypted_first_name;
|
467 |
-
$last_name = $decrypted_last_name;
|
468 |
-
}
|
469 |
-
else{
|
470 |
-
$user_full_name = $decrypted_user_name;
|
471 |
-
$first_name = isset( $decrypted_first_name )? $decrypted_first_name :'';
|
472 |
-
$last_name = isset( $decrypted_last_name )? $decrypted_last_name: '' ;
|
473 |
-
}
|
474 |
-
//Set Display Picture
|
475 |
-
$user_picture = $decrypted_user_picture;
|
476 |
-
|
477 |
-
//Set User URL
|
478 |
-
$user_url = $decrypted_user_url;
|
479 |
-
|
480 |
-
//if email or username not returned from app
|
481 |
-
if ( empty($decrypted_email) || empty($decrypted_user_name) ){
|
482 |
-
|
483 |
-
//check if provider + identifier group exists
|
484 |
-
global $wpdb;
|
485 |
-
$db_prefix = $wpdb->prefix;
|
486 |
-
$id_returning_user = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_social_app = \"%s\" AND identifier = %s",$decrypted_app_name,$decrypted_user_id));
|
487 |
-
if(empty($decrypted_email)){
|
488 |
-
$email_user_id = NULL;
|
489 |
-
}
|
490 |
-
else {
|
491 |
-
$email_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_email = \"%s\"", $decrypted_email));
|
492 |
-
}
|
493 |
-
mo_openid_start_session();
|
494 |
-
// if returning user whose appname + identifier exists, log him in
|
495 |
-
if((isset($id_returning_user)) || (isset($email_user_id)) ){
|
496 |
-
if ((!isset($id_returning_user)) && (isset($email_user_id)) ){
|
497 |
-
$id_returning_user = $email_user_id;
|
498 |
-
mo_openid_insert_query($decrypted_app_name,$decrypted_email,$id_returning_user,$decrypted_user_id);
|
499 |
-
}
|
500 |
-
$user = get_user_by('id', $id_returning_user );
|
501 |
-
if(get_option('moopenid_social_login_avatar') && isset($user_picture))
|
502 |
-
update_user_meta($id_returning_user, 'moopenid_user_avatar', $user_picture);
|
503 |
-
$_SESSION['mo_login'] = true;
|
504 |
-
$_SESSION['social_app_name'] = $decrypted_app_name;
|
505 |
-
$_SESSION['user_email'] = $decrypted_email;
|
506 |
-
$_SESSION['social_user_id'] = $decrypted_user_id;
|
507 |
-
do_action( 'miniorange_collect_attributes_for_authenticated_user', $user, mo_openid_get_redirect_url());
|
508 |
-
do_action( 'wp_login', $user->user_login, $user );
|
509 |
-
wp_set_auth_cookie( $id_returning_user, true );
|
510 |
-
}
|
511 |
-
// if new user and profile completion is enabled
|
512 |
-
elseif (get_option('mo_openid_enable_profile_completion')){
|
513 |
-
echo mo_openid_profile_completion_form($last_name, $first_name, $user_full_name, $user_url, $user_picture, $decrypted_user_name, $decrypted_email, $decrypted_app_name, $decrypted_user_id);
|
514 |
-
exit;
|
515 |
-
}
|
516 |
-
// if new user and profile completion and account linking is disabled, auto create dummy data and register user
|
517 |
-
else{
|
518 |
-
// auto registration is enabled
|
519 |
-
if(get_option('mo_openid_auto_register_enable')) {
|
520 |
-
|
521 |
-
if(!empty($decrypted_email))
|
522 |
-
{
|
523 |
-
$split_email = explode('@',$decrypted_email);
|
524 |
-
$username = $split_email[0];
|
525 |
-
$user_email = $decrypted_email;
|
526 |
-
}
|
527 |
-
else if(!empty($decrypted_user_name))
|
528 |
-
{
|
529 |
-
$split_app_name = explode('_',$decrypted_app_name);
|
530 |
-
$username = $decrypted_user_name;
|
531 |
-
$user_email = $decrypted_user_name.'@'.$split_app_name[0].'.com';
|
532 |
-
}
|
533 |
-
else
|
534 |
-
{
|
535 |
-
$split_app_name = explode('_',$decrypted_app_name);
|
536 |
-
$username = 'user_'.get_option('mo_openid_user_count');
|
537 |
-
$user_email = 'user_'.get_option('mo_openid_user_count').'@'.$split_app_name[0].'.com';
|
538 |
-
}
|
539 |
-
// remove white space from email
|
540 |
-
$user_email = str_replace(' ', '', $user_email);
|
541 |
-
|
542 |
-
//account linking
|
543 |
-
if ( get_option('mo_openid_account_linking_enable') && (!mo_openid_restrict_user())){
|
544 |
-
mo_openid_start_session();
|
545 |
-
$_SESSION['username'] = $decrypted_user_name;
|
546 |
-
$_SESSION['user_email'] = $user_email;
|
547 |
-
$_SESSION['user_full_name'] = $user_full_name;
|
548 |
-
$_SESSION['first_name'] = $first_name;
|
549 |
-
$_SESSION['last_name'] = $last_name;
|
550 |
-
$_SESSION['user_url'] = $user_url;
|
551 |
-
$_SESSION['user_picture'] = $user_picture;
|
552 |
-
$_SESSION['social_app_name'] = $decrypted_app_name;
|
553 |
-
$_SESSION['social_user_id'] = $decrypted_user_id;
|
554 |
-
|
555 |
-
echo mo_openid_account_linking_form($decrypted_user_name,$user_email,$first_name,$last_name,$user_full_name,$user_url,$user_picture,$decrypted_app_name,$decrypted_user_id);
|
556 |
-
exit;
|
557 |
-
}
|
558 |
-
|
559 |
-
$random_password = wp_generate_password( 10, false );
|
560 |
-
$user_profile_url = $user_url;
|
561 |
-
|
562 |
-
if(isset($decrypted_app_name) && !empty($decrypted_app_name) && $decrypted_app_name=='facebook'){
|
563 |
-
$user_url = '';
|
564 |
-
}
|
565 |
-
|
566 |
-
// Checking if username already exist
|
567 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
568 |
-
|
569 |
-
if( isset($username_user_id) ){
|
570 |
-
$email_array = explode('@', $user_email);
|
571 |
-
$username = $email_array[0];
|
572 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
573 |
-
$i = 1;
|
574 |
-
while(!empty($username_user_id) ){
|
575 |
-
$uname=$username.'_' . $i;
|
576 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM " .$db_prefix."users where user_login = %s", $uname));
|
577 |
-
$i++;
|
578 |
-
if(empty($username_user_id)){
|
579 |
-
$username= $uname;
|
580 |
-
}
|
581 |
-
}
|
582 |
-
|
583 |
-
if( isset($username_user_id) ){
|
584 |
-
echo '<br/>'."Error Code 3: ".get_option('mo_existing_username_error_message');
|
585 |
-
exit();
|
586 |
-
}
|
587 |
-
}
|
588 |
-
|
589 |
-
//to check for customisation fields
|
590 |
-
if(get_option('mo_openid_customised_field_enable') == 1 ) {
|
591 |
-
$set_cust_field = get_option('mo_openid_custom_field_mapping');
|
592 |
-
if ($set_cust_field) {
|
593 |
-
foreach ($set_cust_field as $x) {
|
594 |
-
foreach ($x as $xx => $x_value) {
|
595 |
-
if (isset($xx)) {
|
596 |
-
?>
|
597 |
-
<form id="myForm" action="<?php echo get_option('profile_completion_page') ?>" method="post">
|
598 |
-
<?php
|
599 |
-
echo '<input type="hidden" name="last_name" value="' . $last_name . '">';
|
600 |
-
echo '<input type="hidden" name="first_name" value="' . $first_name . '">';
|
601 |
-
echo '<input type="hidden" name="user_full_name" value="' . $user_full_name . '">';
|
602 |
-
echo '<input type="hidden" name="user_url" value="' . $user_url . '">';
|
603 |
-
echo '<input type="hidden" name="user_profile_url" value="' . $user_profile_url . '">';
|
604 |
-
echo '<input type="hidden" name="call" value="3">';
|
605 |
-
echo '<input type="hidden" name="user_picture" value="'.$user_picture.'">';
|
606 |
-
echo '<input type="hidden" name="username" value="' . $username . '">';
|
607 |
-
echo '<input type="hidden" name="user_email" value="' . $user_email . '">';
|
608 |
-
echo '<input type="hidden" name="random_password" value="' . $random_password . '">';
|
609 |
-
echo '<input type="hidden" name="social_app_name" value="">';
|
610 |
-
echo '<input type="hidden" name="social_user_id" value="">';
|
611 |
-
echo '<input type="hidden" name="decrypted_app_name" value="' . $decrypted_app_name . '">';
|
612 |
-
echo '<input type="hidden" name="decrypted_user_id" value="' . $decrypted_user_id . '">';
|
613 |
-
?>
|
614 |
-
</form>
|
615 |
-
<script type="text/javascript">
|
616 |
-
document.getElementById('myForm').submit();
|
617 |
-
</script>
|
618 |
-
<?php
|
619 |
-
exit;
|
620 |
-
}
|
621 |
-
}
|
622 |
-
}
|
623 |
-
}
|
624 |
-
}
|
625 |
-
|
626 |
-
$userdata = array(
|
627 |
-
'user_login' => $username,
|
628 |
-
'user_email' => $user_email,
|
629 |
-
'user_pass' => $random_password,
|
630 |
-
'display_name' => $user_full_name,
|
631 |
-
'first_name' => $first_name,
|
632 |
-
'last_name' => $last_name,
|
633 |
-
'user_url' => $user_url,
|
634 |
-
);
|
635 |
-
$userdetails = array(
|
636 |
-
'user_login' => $username,
|
637 |
-
'user_email' => $user_email,
|
638 |
-
'user_pass' => $random_password,
|
639 |
-
'display_name' => $user_full_name,
|
640 |
-
'first_name' => $first_name,
|
641 |
-
'last_name' => $last_name,
|
642 |
-
'user_url' => $user_url,
|
643 |
-
'user_profile_url' => $user_profile_url,
|
644 |
-
'user_picture' => $user_picture,
|
645 |
-
'decrypted_app_name' => $decrypted_app_name,
|
646 |
-
'decrypted_user_id' => $decrypted_user_id,
|
647 |
-
'call' => "3"
|
648 |
-
);
|
649 |
-
do_action("mo_before_insert_user",$userdetails,"");
|
650 |
-
$user_id = wp_insert_user( $userdata);
|
651 |
-
if(is_wp_error( $user_id )) {
|
652 |
-
print_r($user_id);
|
653 |
-
wp_die("Error Code 3: ".get_option('mo_registration_error_message'));
|
654 |
-
}
|
655 |
-
|
656 |
-
update_option('mo_openid_user_count',get_option('mo_openid_user_count')+1);
|
657 |
-
|
658 |
-
$_SESSION['social_app_name'] = $decrypted_app_name;
|
659 |
-
$_SESSION['user_email'] = $user_email;
|
660 |
-
$_SESSION['social_user_id'] = $decrypted_user_id;
|
661 |
-
$_SESSION['registered_user'] = '1';
|
662 |
-
|
663 |
-
$user = get_user_by('id', $user_id );
|
664 |
-
|
665 |
-
if(get_option('moopenid_social_login_avatar') && isset($user_picture)){
|
666 |
-
update_user_meta($user_id, 'moopenid_user_avatar', $user_picture);
|
667 |
-
}
|
668 |
-
$_SESSION['mo_login'] = true;
|
669 |
-
|
670 |
-
//registration hook
|
671 |
-
do_action( 'mo_user_register', $user_id, $user_profile_url);
|
672 |
-
do_action( 'miniorange_collect_attributes_for_authenticated_user', $user, mo_openid_get_redirect_url());
|
673 |
-
//login hook
|
674 |
-
do_action( 'wp_login', $user->user_login, $user );
|
675 |
-
wp_set_auth_cookie( $user_id, true );
|
676 |
-
}
|
677 |
-
|
678 |
-
$redirect_url = mo_openid_get_redirect_url();
|
679 |
-
wp_redirect($redirect_url);
|
680 |
-
exit;
|
681 |
-
}
|
682 |
-
}
|
683 |
-
//email and username are both returned..dont show profile completion
|
684 |
-
else{
|
685 |
-
|
686 |
-
global $wpdb;
|
687 |
-
$user_email = sanitize_email($decrypted_email);
|
688 |
-
$username = $decrypted_user_name;
|
689 |
-
|
690 |
-
//Checking if email or username already exist
|
691 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
692 |
-
|
693 |
-
$db_prefix = $wpdb->prefix;
|
694 |
-
$linked_email_id = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_social_app = \"%s\" AND identifier = %s",$decrypted_app_name,$decrypted_user_id));
|
695 |
-
|
696 |
-
$email_user_id = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_email = \"%s\"",$decrypted_email));
|
697 |
-
|
698 |
-
if(empty($decrypted_email)){
|
699 |
-
$existing_email_user_id = NULL;
|
700 |
-
}
|
701 |
-
else {
|
702 |
-
$existing_email_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_email = \"%s\"", $decrypted_email));
|
703 |
-
}
|
704 |
-
|
705 |
-
mo_openid_start_session();
|
706 |
-
if((isset($linked_email_id)) || (isset($email_user_id)) || isset($existing_email_user_id)) { // user is a member
|
707 |
-
|
708 |
-
if ((!isset($linked_email_id)) && (isset($email_user_id)) ){
|
709 |
-
$linked_email_id = $email_user_id;
|
710 |
-
mo_openid_insert_query($decrypted_app_name,$user_email,$linked_email_id,$decrypted_user_id);
|
711 |
-
}
|
712 |
-
|
713 |
-
if(isset($linked_email_id)){
|
714 |
-
$user = get_user_by('id', $linked_email_id );
|
715 |
-
$user_id = $user->ID;
|
716 |
-
}
|
717 |
-
else if(isset($email_user_id)){
|
718 |
-
$user = get_user_by('id', $email_user_id );
|
719 |
-
$user_id = $user->ID;
|
720 |
-
}
|
721 |
-
else{
|
722 |
-
$user = get_user_by('id', $existing_email_user_id );
|
723 |
-
$user_id = $user->ID;
|
724 |
-
}
|
725 |
-
|
726 |
-
if(get_option('moopenid_social_login_avatar') && isset($user_picture))
|
727 |
-
update_user_meta($user_id, 'moopenid_user_avatar', $user_picture);
|
728 |
-
$_SESSION['mo_login'] = true;
|
729 |
-
$_SESSION['social_app_name'] = $decrypted_app_name;
|
730 |
-
$_SESSION['social_user_id'] = $decrypted_user_id;
|
731 |
-
$_SESSION['user_email'] = $user_email;
|
732 |
-
do_action( 'miniorange_collect_attributes_for_authenticated_user', $user, mo_openid_get_redirect_url());
|
733 |
-
do_action( 'wp_login', $user->user_login, $user );
|
734 |
-
wp_set_auth_cookie( $user_id, true );
|
735 |
-
}
|
736 |
-
else if ( get_option('mo_openid_account_linking_enable')&& (!mo_openid_restrict_user())){
|
737 |
-
mo_openid_start_session();
|
738 |
-
$_SESSION['username'] = $decrypted_user_name;
|
739 |
-
$_SESSION['user_email'] = $user_email;
|
740 |
-
$_SESSION['user_full_name'] = $user_full_name;
|
741 |
-
$_SESSION['first_name'] = $first_name;
|
742 |
-
$_SESSION['last_name'] = $last_name;
|
743 |
-
$_SESSION['user_url'] = $user_url;
|
744 |
-
$_SESSION['user_picture'] = $user_picture;
|
745 |
-
$_SESSION['social_app_name'] = $decrypted_app_name;
|
746 |
-
$_SESSION['social_user_id'] = $decrypted_user_id;
|
747 |
-
echo mo_openid_account_linking_form($decrypted_user_name,$user_email,$first_name,$last_name,$user_full_name,$user_url,$user_picture,$decrypted_app_name,$decrypted_user_id);
|
748 |
-
exit;
|
749 |
-
}
|
750 |
-
else {
|
751 |
-
// this user is a guest
|
752 |
-
// auto registration is enabled
|
753 |
-
if(get_option('mo_openid_auto_register_enable')) {
|
754 |
-
$random_password = wp_generate_password( 10, false );
|
755 |
-
|
756 |
-
if( isset($username_user_id) ){
|
757 |
-
$email = explode('@', $user_email);
|
758 |
-
$username = $email[0];
|
759 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
760 |
-
|
761 |
-
$i = 1;
|
762 |
-
while(!empty($username_user_id) ){
|
763 |
-
$uname=$username.'_' . $i;
|
764 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM " .$db_prefix."users where user_login = %s", $uname));
|
765 |
-
$i++;
|
766 |
-
if(empty($username_user_id)){
|
767 |
-
$username= $uname;
|
768 |
-
}
|
769 |
-
}
|
770 |
-
if( isset($username_user_id) ){
|
771 |
-
echo '<br/>'."Error Code 2: ".get_option('mo_existing_username_error_message');
|
772 |
-
exit();
|
773 |
-
}
|
774 |
-
}
|
775 |
-
|
776 |
-
$user_profile_url = $user_url;
|
777 |
-
|
778 |
-
if(isset($decrypted_app_name) && !empty($decrypted_app_name) && $decrypted_app_name=='facebook'){
|
779 |
-
$user_url = '';
|
780 |
-
}
|
781 |
-
|
782 |
-
// Checking if username already exist
|
783 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
784 |
-
|
785 |
-
if( isset($username_user_id) ){
|
786 |
-
$email_array = explode('@', $user_email);
|
787 |
-
$username = $email_array[0];
|
788 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
789 |
-
$i = 1;
|
790 |
-
while(!empty($username_user_id) ){
|
791 |
-
$uname=$username.'_' . $i;
|
792 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM " .$db_prefix."users where user_login = %s", $uname));
|
793 |
-
$i++;
|
794 |
-
if(empty($username_user_id)){
|
795 |
-
$username= $uname;
|
796 |
-
}
|
797 |
-
}
|
798 |
-
|
799 |
-
if( isset($username_user_id) ){
|
800 |
-
echo '<br/>'."Error Code 4: ".get_option('mo_existing_username_error_message');
|
801 |
-
exit();
|
802 |
-
}
|
803 |
-
}
|
804 |
-
|
805 |
-
//to check for customisation fields
|
806 |
-
if(get_option('mo_openid_customised_field_enable') == 1 ) {
|
807 |
-
$set_cust_field = get_option('mo_openid_custom_field_mapping');
|
808 |
-
if ($set_cust_field) {
|
809 |
-
foreach ($set_cust_field as $x) {
|
810 |
-
foreach ($x as $xx => $x_value) {
|
811 |
-
if (isset($xx)) {
|
812 |
-
?>
|
813 |
-
<form id="myForm" action="<?php echo get_option('profile_completion_page') ?>" method="post">
|
814 |
-
<?php
|
815 |
-
echo '<input type="hidden" name="last_name" value="' . $last_name . '">';
|
816 |
-
echo '<input type="hidden" name="first_name" value="' . $first_name . '">';
|
817 |
-
echo '<input type="hidden" name="user_full_name" value="' . $user_full_name . '">';
|
818 |
-
echo '<input type="hidden" name="user_url" value="' . $user_url . '">';
|
819 |
-
echo '<input type="hidden" name="user_profile_url" value="' . $user_profile_url . '">';
|
820 |
-
echo '<input type="hidden" name="call" value="4">';
|
821 |
-
echo '<input type="hidden" name="user_picture" value="'.$user_picture.'">';
|
822 |
-
echo '<input type="hidden" name="username" value="' . $username . '">';
|
823 |
-
echo '<input type="hidden" name="user_email" value="' . $user_email . '">';
|
824 |
-
echo '<input type="hidden" name="random_password" value="' . $random_password . '">';
|
825 |
-
echo '<input type="hidden" name="social_app_name" value="">';
|
826 |
-
echo '<input type="hidden" name="social_user_id" value="">';
|
827 |
-
echo '<input type="hidden" name="decrypted_app_name" value="' . $decrypted_app_name . '">';
|
828 |
-
echo '<input type="hidden" name="decrypted_user_id" value="' . $decrypted_user_id . '">';
|
829 |
-
?>
|
830 |
-
</form>
|
831 |
-
<script type="text/javascript">
|
832 |
-
document.getElementById('myForm').submit();
|
833 |
-
</script>
|
834 |
-
<?php
|
835 |
-
exit;
|
836 |
-
}
|
837 |
-
}
|
838 |
-
}
|
839 |
-
}
|
840 |
-
}
|
841 |
-
|
842 |
-
$userdata = array(
|
843 |
-
'user_login' => $username,
|
844 |
-
'user_email' => $user_email,
|
845 |
-
'user_pass' => $random_password,
|
846 |
-
'display_name' => $user_full_name,
|
847 |
-
'first_name' => $first_name,
|
848 |
-
'last_name' => $last_name,
|
849 |
-
'user_url' => $user_url
|
850 |
-
);
|
851 |
-
$userdetails = array(
|
852 |
-
'user_login' => $username,
|
853 |
-
'user_email' => $user_email,
|
854 |
-
'user_pass' => $random_password,
|
855 |
-
'display_name' => $user_full_name,
|
856 |
-
'first_name' => $first_name,
|
857 |
-
'last_name' => $last_name,
|
858 |
-
'user_url' => $user_url,
|
859 |
-
'user_profile_url' => $user_profile_url,
|
860 |
-
'user_picture' => $user_picture,
|
861 |
-
'decrypted_app_name' => $decrypted_app_name,
|
862 |
-
'decrypted_user_id' => $decrypted_user_id,
|
863 |
-
'call' => "4"
|
864 |
-
);
|
865 |
-
do_action("mo_before_insert_user",$userdetails,"");
|
866 |
-
$user_id = wp_insert_user( $userdata);
|
867 |
-
|
868 |
-
if(is_wp_error( $user_id )) {
|
869 |
-
print_r($user_id);
|
870 |
-
wp_die("Error Code 4: ".get_option('mo_registration_error_message'));
|
871 |
-
}
|
872 |
-
|
873 |
-
$_SESSION['social_app_name'] = $decrypted_app_name;
|
874 |
-
$_SESSION['user_email'] = $user_email;
|
875 |
-
$_SESSION['social_user_id'] = $decrypted_user_id;
|
876 |
-
$_SESSION['registered_user'] = '1';
|
877 |
-
|
878 |
-
$user = get_user_by('email', $user_email );
|
879 |
-
|
880 |
-
if(get_option('moopenid_social_login_avatar') && isset($user_picture)){
|
881 |
-
update_user_meta($user_id, 'moopenid_user_avatar', $user_picture);
|
882 |
-
}
|
883 |
-
$_SESSION['mo_login'] = true;
|
884 |
-
|
885 |
-
//registration hook
|
886 |
-
do_action( 'mo_user_register', $user_id,$user_profile_url);
|
887 |
-
do_action( 'miniorange_collect_attributes_for_authenticated_user', $user, mo_openid_get_redirect_url());
|
888 |
-
//login hook
|
889 |
-
do_action( 'wp_login', $user->user_login, $user );
|
890 |
-
wp_set_auth_cookie( $user_id, true );
|
891 |
-
}
|
892 |
-
$redirect_url = mo_openid_get_redirect_url();
|
893 |
-
wp_redirect($redirect_url);
|
894 |
-
exit;
|
895 |
-
}
|
896 |
-
}
|
897 |
-
}
|
898 |
-
|
899 |
-
function mo_openid_custom_app_oauth_redirect($appname){
|
900 |
-
if(isset($_REQUEST['test']))
|
901 |
-
setcookie("mo_oauth_test", true);
|
902 |
-
else
|
903 |
-
setcookie("mo_oauth_test", false);
|
904 |
-
|
905 |
-
// NEW
|
906 |
-
if(get_option('mo_openid_apps_list')) {
|
907 |
-
$appslist = maybe_unserialize(get_option('mo_openid_apps_list'));
|
908 |
-
}
|
909 |
-
else {
|
910 |
-
$appslist = array();
|
911 |
-
}
|
912 |
-
if(get_option('mo_openid_malform_error')){
|
913 |
-
if(get_option( 'permalink_structure' )) {
|
914 |
-
$social_app_redirect_uri = site_url() .'/openidcallback/'.$appname;
|
915 |
-
}
|
916 |
-
else {
|
917 |
-
$social_app_redirect_uri = site_url() . '/?openidcallback='.$appname;
|
918 |
-
}
|
919 |
-
}
|
920 |
-
else {
|
921 |
-
if(get_option( 'permalink_structure' )) {
|
922 |
-
$social_app_redirect_uri = site_url() . '/openidcallback';
|
923 |
-
}
|
924 |
-
else{
|
925 |
-
$social_app_redirect_uri = site_url() .'/?openidcallback';
|
926 |
-
}
|
927 |
-
}
|
928 |
-
|
929 |
-
mo_openid_start_session();
|
930 |
-
|
931 |
-
foreach($appslist as $key=>$currentapp){
|
932 |
-
|
933 |
-
if($key == "facebook" && $appname == "facebook"){
|
934 |
-
$_SESSION["appname"] = "facebook";
|
935 |
-
$client_id = $currentapp['clientid'];
|
936 |
-
$scope = $currentapp['scope'];
|
937 |
-
$login_dialog_url = "https://www.facebook.com/v2.11/dialog/oauth?client_id=".$client_id. '&redirect_uri='. $social_app_redirect_uri .'&response_type=code&scope='.$scope;
|
938 |
-
break;
|
939 |
-
}
|
940 |
-
else if($key == "google" && $appname == "google"){
|
941 |
-
|
942 |
-
$_SESSION["appname"] = "google";
|
943 |
-
$client_id = $currentapp['clientid'];
|
944 |
-
$scope = $currentapp['scope'];
|
945 |
-
$login_dialog_url = 'https://accounts.google.com/o/oauth2/auth?redirect_uri=' .$social_app_redirect_uri .'&response_type=code&client_id=' .$client_id .'&scope='.$scope.'&access_type=offline';
|
946 |
-
|
947 |
-
break;
|
948 |
-
}
|
949 |
-
else if($key == "twitter" && $appname == "twitter")
|
950 |
-
{ $_SESSION['appname'] = "twitter";
|
951 |
-
$client_id = $currentapp['clientid'];
|
952 |
-
$client_secret = $currentapp['clientsecret'];
|
953 |
-
$twiter_getrequest_object = new Mo_Openid_Twitter_OAuth($client_id,$client_secret); //creating the object of Mo_Openid_Twitter_OAuth class
|
954 |
-
$oauth_token = $twiter_getrequest_object->mo_twitter_get_request_token(); //function call
|
955 |
-
$login_dialog_url = "https://api.twitter.com/oauth/authenticate?oauth_token=" . $oauth_token;
|
956 |
-
break;
|
957 |
-
}
|
958 |
-
}
|
959 |
-
|
960 |
-
header('Location:'. $login_dialog_url);
|
961 |
-
exit;
|
962 |
-
}
|
963 |
-
|
964 |
-
function mo_openid_process_custom_app_callback(){
|
965 |
-
if( is_user_logged_in() && get_option('mo_openid_test_configuration') != 1){
|
966 |
-
return;
|
967 |
-
}
|
968 |
-
|
969 |
-
$code = $profile_url = $client_id = $current_url = $client_secret = $access_token_uri = $postData = $oauth_token = $user_url = $username = $email = '';
|
970 |
-
$oauth_access_token = $redirect_url = $option = $oauth_token_secret = $screen_name = $profile_json_output = $oauth_verifier = $twitter_oauth_token = $access_token_json_output =[];
|
971 |
-
|
972 |
-
mo_openid_start_session();
|
973 |
-
if(strpos( $_SERVER['REQUEST_URI'], "oauth_verifier") !== false) {
|
974 |
-
$_SESSION['appname'] = "twitter";
|
975 |
-
}
|
976 |
-
|
977 |
-
if($_SESSION['appname']) {
|
978 |
-
$appname = sanitize_text_field($_SESSION['appname']);
|
979 |
-
}else {
|
980 |
-
if ((strpos($_SERVER['REQUEST_URI'], "openidcallback/google") !== false ) || (strpos($_SERVER['REQUEST_URI'], "openidcallback=google") !== false )) {
|
981 |
-
$appname = "google";
|
982 |
-
}
|
983 |
-
|
984 |
-
if ((strpos($_SERVER['REQUEST_URI'], "openidcallback/facebook") !== false) || (strpos($_SERVER['REQUEST_URI'], "openidcallback=facebook") !== false )) {
|
985 |
-
$appname = "facebook";
|
986 |
-
|
987 |
-
}
|
988 |
-
}
|
989 |
-
|
990 |
-
if($appname == "twitter"){
|
991 |
-
$dirs = explode('&', $_SERVER['REQUEST_URI']);
|
992 |
-
$oauth_verifier = explode('=', $dirs[1]);
|
993 |
-
$twitter_oauth_token = explode('=', $dirs[0]);
|
994 |
-
}
|
995 |
-
else{
|
996 |
-
if(isset($_REQUEST['code'] )){
|
997 |
-
$code = sanitize_text_field($_REQUEST['code']);
|
998 |
-
}
|
999 |
-
else if(isset( $_REQUEST['error_reason'] )){
|
1000 |
-
|
1001 |
-
echo sanitize_text_field($_REQUEST['error_description']) . "<br>";
|
1002 |
-
wp_die("Allow access to your profile to get logged in. Click <a href=".get_site_url().">here</a> to go back to the website.");
|
1003 |
-
}
|
1004 |
-
}
|
1005 |
-
|
1006 |
-
if(get_option('mo_openid_apps_list')){
|
1007 |
-
$appslist = maybe_unserialize(get_option('mo_openid_apps_list'));
|
1008 |
-
}
|
1009 |
-
else{
|
1010 |
-
$appslist = array();
|
1011 |
-
}
|
1012 |
-
if(get_option('mo_openid_malform_error')){
|
1013 |
-
if(get_option( 'permalink_structure' )) {
|
1014 |
-
|
1015 |
-
$social_app_redirect_uri = site_url() .'/openidcallback/'.$appname;
|
1016 |
-
|
1017 |
-
}
|
1018 |
-
else{
|
1019 |
-
$social_app_redirect_uri = site_url() . '/?openidcallback='.$appname;
|
1020 |
-
}
|
1021 |
-
|
1022 |
-
}
|
1023 |
-
else{
|
1024 |
-
if(get_option( 'permalink_structure' )) {
|
1025 |
-
$social_app_redirect_uri = site_url() . '/openidcallback';
|
1026 |
-
|
1027 |
-
}
|
1028 |
-
else{
|
1029 |
-
$social_app_redirect_uri = site_url() .'/?openidcallback';
|
1030 |
-
}
|
1031 |
-
}
|
1032 |
-
|
1033 |
-
foreach($appslist as $key=>$currentapp){
|
1034 |
-
if($key == "facebook" && $appname == "facebook"){
|
1035 |
-
$client_id = $currentapp['clientid'];
|
1036 |
-
$client_secret = $currentapp['clientsecret'];
|
1037 |
-
$access_token_uri = 'https://graph.facebook.com/v2.11/oauth/access_token';
|
1038 |
-
$postData = 'client_id=' .$client_id .'&redirect_uri=' . $social_app_redirect_uri . '&client_secret=' . $client_secret . '&code=' .$code;
|
1039 |
-
break;
|
1040 |
-
}
|
1041 |
-
else if($key == "google" && $appname == "google"){
|
1042 |
-
$client_id = $currentapp['clientid'];
|
1043 |
-
$client_secret = $currentapp['clientsecret'];
|
1044 |
-
$access_token_uri = 'https://accounts.google.com/o/oauth2/token';
|
1045 |
-
$postData = 'code=' .$code .'&client_id=' .$client_id .'&client_secret=' . $client_secret . '&redirect_uri=' . $social_app_redirect_uri . '&grant_type=authorization_code';
|
1046 |
-
break;
|
1047 |
-
}
|
1048 |
-
else if($key == "twitter" && $appname == "twitter")
|
1049 |
-
{
|
1050 |
-
$client_id = $currentapp['clientid'];
|
1051 |
-
$client_secret = $currentapp['clientsecret'];
|
1052 |
-
$twitter_getaccesstoken_object = new Mo_Openid_Twitter_OAuth($client_id,$client_secret);
|
1053 |
-
$oauth_token = $twitter_getaccesstoken_object->mo_twitter_get_access_token($oauth_verifier[1],$twitter_oauth_token[1]);
|
1054 |
-
break;
|
1055 |
-
}
|
1056 |
-
}
|
1057 |
-
|
1058 |
-
if($appname != "twitter"){
|
1059 |
-
|
1060 |
-
$headers='';
|
1061 |
-
if($appname == "google")
|
1062 |
-
{
|
1063 |
-
$headers = array("Content-Type"=>"application/x-www-form-urlencoded");
|
1064 |
-
}
|
1065 |
-
|
1066 |
-
$args = array(
|
1067 |
-
'method' => 'POST',
|
1068 |
-
'body' => $postData,
|
1069 |
-
'timeout' => '5',
|
1070 |
-
'redirection' => '5',
|
1071 |
-
'httpversion' => '1.0',
|
1072 |
-
'blocking' => true,
|
1073 |
-
'headers' => $headers
|
1074 |
-
);
|
1075 |
-
|
1076 |
-
$result = wp_remote_post($access_token_uri,$args);
|
1077 |
-
|
1078 |
-
if(is_wp_error($result)){
|
1079 |
-
update_option( 'mo_openid_test_configuration', 0);
|
1080 |
-
echo $result['body'];
|
1081 |
-
exit();
|
1082 |
-
}
|
1083 |
-
|
1084 |
-
|
1085 |
-
$access_token_json_output = json_decode($result['body'], true);
|
1086 |
-
// this handles incorrect client secret for all apps.
|
1087 |
-
if ((array_key_exists('error', $access_token_json_output)) || array_key_exists('error_message', $access_token_json_output)){
|
1088 |
-
if( is_user_logged_in() && get_option('mo_openid_test_configuration') == 1 ) {
|
1089 |
-
update_option('mo_openid_test_configuration', 0);
|
1090 |
-
//Test configuration failed window.
|
1091 |
-
echo '<div style="color: #a94442;background-color: #f2dede;padding: 15px;margin-bottom: 20px;text-align:center;border:1px solid #E6B3B2;font-size:18pt;">TEST FAILED</div>
|
1092 |
-
<div style="color: #a94442;font-size:14pt; margin-bottom:20px;">WARNING: Client secret is incorrect for this app. Please check the client secret and try again.<br/>';
|
1093 |
-
print_r($access_token_json_output);
|
1094 |
-
echo '</div>
|
1095 |
-
<div style="display:block;text-align:center;margin-bottom:4%;"><img style="width:15%;"src="' . plugin_dir_url(__FILE__) . '/includes/images/wrong.png"></div>';
|
1096 |
-
exit;
|
1097 |
-
}
|
1098 |
-
}
|
1099 |
-
|
1100 |
-
}
|
1101 |
-
else{
|
1102 |
-
$oauth_token_array = explode('&', $oauth_token);
|
1103 |
-
$oauth_access_token = isset($oauth_token_array[0]) ? $oauth_token_array[0] : null;
|
1104 |
-
$oauth_access_token = explode('=', $oauth_access_token);
|
1105 |
-
$oauth_token_secret = isset($oauth_token_array[1]) ? $oauth_token_array[1] : null;
|
1106 |
-
$oauth_token_secret = explode('=', $oauth_token_secret);
|
1107 |
-
$screen_name = isset($oauth_token_array[3]) ? $oauth_token_array[3] : null;
|
1108 |
-
$screen_name = explode('=', $screen_name);
|
1109 |
-
}
|
1110 |
-
mo_openid_start_session();
|
1111 |
-
foreach($appslist as $key=>$currentapp){
|
1112 |
-
if($key == "facebook" && $appname == "facebook"){
|
1113 |
-
$profile_url ='https://graph.facebook.com/me/?fields=id,name,email,picture.height(961),age_range,first_name,gender,last_name,link&access_token=' .$access_token_json_output['access_token'];
|
1114 |
-
break;
|
1115 |
-
}
|
1116 |
-
else if($key == "google" && $appname == "google"){
|
1117 |
-
$profile_url = 'https://www.googleapis.com/oauth2/v1/userinfo?access_token=' .$access_token_json_output['access_token'];
|
1118 |
-
break;
|
1119 |
-
}
|
1120 |
-
else if($key == "twitter" && $appname == "twitter"){
|
1121 |
-
$twitter_getprofile_signature_object = new Mo_Openid_Twitter_OAuth($client_id,$client_secret);
|
1122 |
-
$oauth_access_token1 = isset($oauth_access_token[1]) ? $oauth_access_token[1] : '';
|
1123 |
-
$oauth_token_secret1 = isset($oauth_token_secret[1]) ? $oauth_token_secret[1] : '';
|
1124 |
-
$screen_name1 = isset($screen_name[1]) ? $screen_name[1] : '';
|
1125 |
-
$profile_json_output = $twitter_getprofile_signature_object->mo_twitter_get_profile_signature($oauth_access_token1,$oauth_token_secret1,$screen_name1);
|
1126 |
-
break;
|
1127 |
-
}
|
1128 |
-
}
|
1129 |
-
|
1130 |
-
if($appname != "twitter"){
|
1131 |
-
|
1132 |
-
$access_token_header = "application/x-www-form-urlencoded" . $access_token_json_output['access_token'];
|
1133 |
-
$headers = array("Authorization"=>$access_token_header);
|
1134 |
-
$args = array();
|
1135 |
-
|
1136 |
-
$result = wp_remote_get($profile_url,$args);
|
1137 |
-
if(is_wp_error($result)){
|
1138 |
-
update_option( 'mo_openid_test_configuration', 0);
|
1139 |
-
echo $result['body'];
|
1140 |
-
exit();
|
1141 |
-
}
|
1142 |
-
|
1143 |
-
$profile_json_output = json_decode($result['body'], true);
|
1144 |
-
}
|
1145 |
-
//Test Configuration
|
1146 |
-
if( is_user_logged_in() && get_option('mo_openid_test_configuration') == 1 ){
|
1147 |
-
update_option( 'mo_openid_test_configuration', 0);
|
1148 |
-
$print = '<div style="color: #3c763d;
|
1149 |
-
background-color: #dff0d8; padding:2%;margin-bottom:20px;text-align:center; border:1px solid #AEDB9A; font-size:18pt;">TEST SUCCESSFUL</div>
|
1150 |
-
<div style="display:block;text-align:center;margin-bottom:1%;"><img style="width:15%;"src="'. plugin_dir_url(__FILE__) . '/includes/images/green_check.png"></div>';
|
1151 |
-
|
1152 |
-
|
1153 |
-
$print .= mo_openid_json_to_htmltable($profile_json_output);
|
1154 |
-
echo $print;
|
1155 |
-
exit;
|
1156 |
-
}
|
1157 |
-
$social_app_name = $appname;
|
1158 |
-
$first_name = $last_name = $email = $user_name = $user_url = $user_picture = $social_user_id = '';
|
1159 |
-
|
1160 |
-
if ($appname == "facebook"){
|
1161 |
-
$first_name = isset( $profile_json_output['first_name']) ? $profile_json_output['first_name'] : '';
|
1162 |
-
$last_name = isset( $profile_json_output['last_name']) ? $profile_json_output['last_name'] : '';
|
1163 |
-
$email = isset( $profile_json_output['email']) ? $profile_json_output['email'] : '';
|
1164 |
-
$user_name = isset( $profile_json_output['name']) ? $profile_json_output['name'] : '';
|
1165 |
-
$user_url = isset( $profile_json_output['link']) ? $profile_json_output['link'] : '';
|
1166 |
-
$user_picture = isset( $profile_json_output['picture']['data']['url']) ? $profile_json_output['picture']['data']['url'] : '';
|
1167 |
-
$social_user_id = isset( $profile_json_output['id']) ? $profile_json_output['id'] : '';
|
1168 |
-
}
|
1169 |
-
else if ($appname == "google"){
|
1170 |
-
$first_name = isset( $profile_json_output['given_name']) ? $profile_json_output['given_name'] : '';
|
1171 |
-
$user_name = isset( $profile_json_output['name']) ? $profile_json_output['name'] : '';
|
1172 |
-
$last_name = isset( $profile_json_output['family_name']) ? $profile_json_output['family_name'] : '';
|
1173 |
-
$email = isset( $profile_json_output['email']) ? $profile_json_output['email'] : '';
|
1174 |
-
$user_url = isset( $profile_json_output['link']) ? $profile_json_output['link'] : '';
|
1175 |
-
$user_picture = isset( $profile_json_output['picture']) ? $profile_json_output['picture'] : '';
|
1176 |
-
$social_user_id = isset( $profile_json_output['id']) ? $profile_json_output['id'] : '';
|
1177 |
-
}
|
1178 |
-
else if($appname == "twitter") {
|
1179 |
-
if (isset($profile_json_output['name'])) {
|
1180 |
-
$full_name = explode(" ", $profile_json_output['name']);
|
1181 |
-
$first_name = isset( $full_name[0]) ? $full_name[0] : '';
|
1182 |
-
$last_name = isset( $full_name[1]) ? $full_name[1] : '';
|
1183 |
-
}
|
1184 |
-
$user_name = isset( $profile_json_output['screen_name']) ? $profile_json_output['screen_name'] : '';
|
1185 |
-
$email = isset( $profile_json_output['email']) ? $profile_json_output['email'] : '';
|
1186 |
-
$user_url = isset( $profile_json_output['url']) ? $profile_json_output['url'] : '';
|
1187 |
-
$user_picture = isset( $profile_json_output['profile_image_url']) ? $profile_json_output['profile_image_url'] : '';
|
1188 |
-
$social_user_id = isset( $profile_json_output['id_str']) ? $profile_json_output['id_str'] : '';
|
1189 |
-
}
|
1190 |
-
|
1191 |
-
$user_name = str_replace(' ', '-', $user_name);
|
1192 |
-
$user_name = sanitize_user($user_name, true);
|
1193 |
-
|
1194 |
-
if($user_name == '-' || $user_name == ''){
|
1195 |
-
$splitemail = explode('@', $email);
|
1196 |
-
$user_name = $splitemail[0];
|
1197 |
-
}
|
1198 |
-
|
1199 |
-
//Set User Full Name
|
1200 |
-
if(isset( $first_name ) && isset( $last_name )){
|
1201 |
-
if(strcmp($first_name, $last_name)!=0)
|
1202 |
-
$user_full_name = $first_name.' '.$last_name;
|
1203 |
-
else
|
1204 |
-
$user_full_name = $first_name;
|
1205 |
-
}
|
1206 |
-
else{
|
1207 |
-
$user_full_name = $user_name;
|
1208 |
-
$first_name = '';
|
1209 |
-
$last_name = '';
|
1210 |
-
}
|
1211 |
-
|
1212 |
-
// if email and user name is empty
|
1213 |
-
if ( empty($email) || empty($user_name) ){
|
1214 |
-
global $wpdb;
|
1215 |
-
$db_prefix = $wpdb->prefix;
|
1216 |
-
$id_returning_user = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_social_app = \"%s\" AND identifier = %s",$social_app_name,$social_user_id));
|
1217 |
-
if(empty($email)){
|
1218 |
-
$email_user_id = NULL;
|
1219 |
-
}
|
1220 |
-
else {
|
1221 |
-
$email_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_email = \"%s\"", $email));
|
1222 |
-
}
|
1223 |
-
|
1224 |
-
mo_openid_start_session();
|
1225 |
-
|
1226 |
-
// if returning user whose appname + identifier exists, log him in
|
1227 |
-
if((isset($id_returning_user)) || (isset($email_user_id))){
|
1228 |
-
if ((!isset($id_returning_user)) && (isset($email_user_id)) ){
|
1229 |
-
$id_returning_user = $email_user_id;
|
1230 |
-
mo_openid_insert_query($social_app_name,$email,$id_returning_user,$social_user_id);
|
1231 |
-
}
|
1232 |
-
$user = get_user_by('id', $id_returning_user );
|
1233 |
-
if(get_option('moopenid_social_login_avatar') && isset($user_picture))
|
1234 |
-
update_user_meta($id_returning_user, 'moopenid_user_avatar', $user_picture);
|
1235 |
-
|
1236 |
-
$_SESSION['mo_login'] = true;
|
1237 |
-
$_SESSION['social_app_name'] = $social_app_name;
|
1238 |
-
$_SESSION['user_email'] = $email;
|
1239 |
-
$_SESSION['social_user_id'] = $social_user_id;
|
1240 |
-
|
1241 |
-
do_action( 'miniorange_collect_attributes_for_authenticated_user', $user, mo_openid_get_redirect_url());
|
1242 |
-
do_action( 'wp_login', $user->user_login, $user );
|
1243 |
-
wp_set_auth_cookie( $id_returning_user, true );
|
1244 |
-
}
|
1245 |
-
// if new user and profile completion is enabled
|
1246 |
-
elseif (get_option('mo_openid_enable_profile_completion')){
|
1247 |
-
echo mo_openid_profile_completion_form($last_name, $first_name, $user_full_name, $user_url, $user_picture, $user_name, $email, $social_app_name, $social_user_id);
|
1248 |
-
exit;
|
1249 |
-
}
|
1250 |
-
// if new user and profile completion is disabled, auto create dummy data and register user
|
1251 |
-
else{
|
1252 |
-
// auto registration is enabled
|
1253 |
-
if(get_option('mo_openid_auto_register_enable')) {
|
1254 |
-
|
1255 |
-
if(!empty($email))
|
1256 |
-
{
|
1257 |
-
$split_email = explode('@',$email);
|
1258 |
-
$username = $split_email[0];
|
1259 |
-
$user_email = $email;
|
1260 |
-
}
|
1261 |
-
else if(!empty($user_name))
|
1262 |
-
{
|
1263 |
-
$split_app_name = explode('_',$social_app_name);
|
1264 |
-
$username = $user_name;
|
1265 |
-
$user_email = $user_name.'@'.$split_app_name[0].'.com';
|
1266 |
-
}
|
1267 |
-
else
|
1268 |
-
{
|
1269 |
-
$split_app_name = explode('_',$social_app_name);
|
1270 |
-
$username = 'user_'.get_option('mo_openid_user_count');
|
1271 |
-
$user_email = 'user_'.get_option('mo_openid_user_count').'@'.$split_app_name[0].'.com';
|
1272 |
-
}
|
1273 |
-
$user_email = str_replace(' ', '', $user_email);
|
1274 |
-
|
1275 |
-
if ( get_option('mo_openid_account_linking_enable')&& (!mo_openid_restrict_user())){
|
1276 |
-
mo_openid_start_session();
|
1277 |
-
$_SESSION['username'] = $username;
|
1278 |
-
$_SESSION['user_email'] = $user_email;
|
1279 |
-
$_SESSION['user_full_name'] = $user_full_name;
|
1280 |
-
$_SESSION['first_name'] = $first_name;
|
1281 |
-
$_SESSION['last_name'] = $last_name;
|
1282 |
-
$_SESSION['user_url'] = $user_url;
|
1283 |
-
$_SESSION['user_picture'] = $user_picture;
|
1284 |
-
$_SESSION['social_app_name'] = $social_app_name;
|
1285 |
-
$_SESSION['social_user_id'] = $social_user_id;
|
1286 |
-
echo mo_openid_account_linking_form($username,$user_email,$first_name,$last_name,$user_full_name,$user_url,$user_picture,$social_app_name,$social_user_id);
|
1287 |
-
exit;
|
1288 |
-
}
|
1289 |
-
|
1290 |
-
$random_password = wp_generate_password( 10, false );
|
1291 |
-
|
1292 |
-
$user_profile_url = $user_url;
|
1293 |
-
|
1294 |
-
if(isset($social_app_name) && !empty($social_app_name) && $social_app_name=='facebook'){
|
1295 |
-
$user_url = '';
|
1296 |
-
}
|
1297 |
-
|
1298 |
-
// Checking if username already exist
|
1299 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
1300 |
-
|
1301 |
-
if( isset($username_user_id) ){
|
1302 |
-
$email_array = explode('@', $user_email);
|
1303 |
-
$username = $email_array[0];
|
1304 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
1305 |
-
$i = 1;
|
1306 |
-
while(!empty($username_user_id) ){
|
1307 |
-
$uname=$username.'_' . $i;
|
1308 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM " .$db_prefix."users where user_login = %s", $uname));
|
1309 |
-
$i++;
|
1310 |
-
if(empty($username_user_id)){
|
1311 |
-
$username= $uname;
|
1312 |
-
}
|
1313 |
-
}
|
1314 |
-
|
1315 |
-
if( isset($username_user_id) ){
|
1316 |
-
echo '<br/>'."Error Code 5: ".get_option('mo_existing_username_error_message');
|
1317 |
-
exit();
|
1318 |
-
}
|
1319 |
-
}
|
1320 |
-
|
1321 |
-
//to check for customisation fields
|
1322 |
-
if(get_option('mo_openid_customised_field_enable') == 1 ) {
|
1323 |
-
$set_cust_field = get_option('mo_openid_custom_field_mapping');
|
1324 |
-
if ($set_cust_field) {
|
1325 |
-
foreach ($set_cust_field as $x) {
|
1326 |
-
foreach ($x as $xx => $x_value) {
|
1327 |
-
if (isset($xx)) {
|
1328 |
-
?>
|
1329 |
-
<form id="myForm" action="<?php echo get_option('profile_completion_page') ?>" method="post">
|
1330 |
-
<?php
|
1331 |
-
echo '<input type="hidden" name="last_name" value="' . $last_name . '">';
|
1332 |
-
echo '<input type="hidden" name="first_name" value="' . $first_name . '">';
|
1333 |
-
echo '<input type="hidden" name="user_full_name" value="' . $user_full_name . '">';
|
1334 |
-
echo '<input type="hidden" name="user_url" value="' . $user_url . '">';
|
1335 |
-
echo '<input type="hidden" name="user_profile_url" value="' . $user_profile_url . '">';
|
1336 |
-
echo '<input type="hidden" name="call" value="5">';
|
1337 |
-
echo '<input type="hidden" name="user_picture" value="'.$user_picture.'">';
|
1338 |
-
echo '<input type="hidden" name="username" value="' . $username . '">';
|
1339 |
-
echo '<input type="hidden" name="user_email" value="' . $user_email . '">';
|
1340 |
-
echo '<input type="hidden" name="random_password" value="' . $random_password . '">';
|
1341 |
-
echo '<input type="hidden" name="social_app_name" value="' . $social_app_name . '">';
|
1342 |
-
echo '<input type="hidden" name="social_user_id" value="' . $social_user_id . '">';
|
1343 |
-
echo '<input type="hidden" name="decrypted_app_name" value="">';
|
1344 |
-
echo '<input type="hidden" name="decrypted_user_id" value="">';
|
1345 |
-
?>
|
1346 |
-
</form>
|
1347 |
-
<script type="text/javascript">
|
1348 |
-
document.getElementById('myForm').submit();
|
1349 |
-
</script>
|
1350 |
-
<?php
|
1351 |
-
exit;
|
1352 |
-
}
|
1353 |
-
}
|
1354 |
-
}
|
1355 |
-
}
|
1356 |
-
}
|
1357 |
-
|
1358 |
-
$userdata = array(
|
1359 |
-
'user_login' => $username,
|
1360 |
-
'user_email' => $user_email,
|
1361 |
-
'user_pass' => $random_password,
|
1362 |
-
'display_name' => $user_full_name,
|
1363 |
-
'first_name' => $first_name,
|
1364 |
-
'last_name' => $last_name,
|
1365 |
-
'user_url' => $user_url,
|
1366 |
-
);
|
1367 |
-
$userdetails = array(
|
1368 |
-
'user_login' => $username,
|
1369 |
-
'user_email' => $user_email,
|
1370 |
-
'user_pass' => $random_password,
|
1371 |
-
'display_name' => $user_full_name,
|
1372 |
-
'first_name' => $first_name,
|
1373 |
-
'last_name' => $last_name,
|
1374 |
-
'user_url' => $user_url,
|
1375 |
-
'user_profile_url' => $user_profile_url,
|
1376 |
-
'user_picture' => $user_picture,
|
1377 |
-
'social_app_name' => $social_app_name,
|
1378 |
-
'social_user_id' => $social_user_id,
|
1379 |
-
'call' => "5"
|
1380 |
-
);
|
1381 |
-
do_action("mo_before_insert_user",$userdetails,"");
|
1382 |
-
$user_id = wp_insert_user( $userdata);
|
1383 |
-
|
1384 |
-
if(is_wp_error( $user_id )) {
|
1385 |
-
print_r($user_id);
|
1386 |
-
wp_die("Error Code 5: ".get_option('mo_registration_error_message'));
|
1387 |
-
}
|
1388 |
-
|
1389 |
-
update_option('mo_openid_user_count',get_option('mo_openid_user_count')+1);
|
1390 |
-
$_SESSION['mo_login'] = true;
|
1391 |
-
$_SESSION['social_app_name'] = $social_app_name;
|
1392 |
-
$_SESSION['user_email'] = $user_email;
|
1393 |
-
$_SESSION['social_user_id'] = $social_user_id;
|
1394 |
-
$_SESSION['registered_user'] = '1';
|
1395 |
-
|
1396 |
-
$user = get_user_by('email', $user_email );
|
1397 |
-
|
1398 |
-
if(get_option('moopenid_social_login_avatar') && isset($user_picture)){
|
1399 |
-
update_user_meta($user_id, 'moopenid_user_avatar', $user_picture);
|
1400 |
-
}
|
1401 |
-
|
1402 |
-
//registration hook
|
1403 |
-
do_action( 'mo_user_register', $user_id, $user_profile_url);
|
1404 |
-
do_action( 'miniorange_collect_attributes_for_authenticated_user', $user, mo_openid_get_redirect_url());
|
1405 |
-
//login hook
|
1406 |
-
do_action( 'wp_login', $user->user_login, $user );
|
1407 |
-
wp_set_auth_cookie( $user_id, true );
|
1408 |
-
}
|
1409 |
-
$redirect_url = mo_openid_get_redirect_url();
|
1410 |
-
wp_redirect($redirect_url);
|
1411 |
-
exit;
|
1412 |
-
}
|
1413 |
-
$redirect_url = mo_openid_get_redirect_url();
|
1414 |
-
wp_redirect($redirect_url);
|
1415 |
-
exit;
|
1416 |
-
}
|
1417 |
-
//email and username are both returned..dont show profile completion
|
1418 |
-
else{
|
1419 |
-
global $wpdb;
|
1420 |
-
$user_email = sanitize_email($email);
|
1421 |
-
$username = $user_name;
|
1422 |
-
|
1423 |
-
//Checking if username already exist
|
1424 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
1425 |
-
|
1426 |
-
$db_prefix = $wpdb->prefix;
|
1427 |
-
$linked_email_id = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_social_app = \"%s\" AND identifier = %s",$social_app_name,$social_user_id));
|
1428 |
-
|
1429 |
-
$email_user_id = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM ".$db_prefix."mo_openid_linked_user where linked_email = \"%s\"",$user_email));
|
1430 |
-
if(empty($user_email)){
|
1431 |
-
$existing_email_user_id = NULL;
|
1432 |
-
}
|
1433 |
-
else {
|
1434 |
-
$existing_email_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_email = \"%s\"", $user_email));
|
1435 |
-
}
|
1436 |
-
|
1437 |
-
mo_openid_start_session();
|
1438 |
-
if((isset($linked_email_id)) || (isset($email_user_id)) || (isset($existing_email_user_id)) ) { // user is a member
|
1439 |
-
if ((!isset($linked_email_id)) && (isset($email_user_id)) ){
|
1440 |
-
|
1441 |
-
$linked_email_id = $email_user_id;
|
1442 |
-
mo_openid_insert_query($social_app_name,$user_email,$linked_email_id,$social_user_id);
|
1443 |
-
}
|
1444 |
-
|
1445 |
-
if(isset($linked_email_id)){
|
1446 |
-
$user = get_user_by('id', $linked_email_id );
|
1447 |
-
$user_id = $user->ID;
|
1448 |
-
}
|
1449 |
-
else if(isset($email_user_id)){
|
1450 |
-
$user = get_user_by('id', $email_user_id );
|
1451 |
-
$user_id = $user->ID;
|
1452 |
-
}
|
1453 |
-
else{
|
1454 |
-
$user = get_user_by('id', $existing_email_user_id );
|
1455 |
-
$user_id = $user->ID;
|
1456 |
-
}
|
1457 |
-
|
1458 |
-
if(get_option('moopenid_social_login_avatar') && isset($user_picture))
|
1459 |
-
update_user_meta($user_id, 'moopenid_user_avatar', $user_picture);
|
1460 |
-
$_SESSION['mo_login'] = true;
|
1461 |
-
$_SESSION['social_app_name'] = $social_app_name;
|
1462 |
-
$_SESSION['social_user_id'] = $social_user_id;
|
1463 |
-
$_SESSION['user_email'] = $user_email;
|
1464 |
-
do_action( 'miniorange_collect_attributes_for_authenticated_user', $user, mo_openid_get_redirect_url());
|
1465 |
-
do_action( 'wp_login', $user->user_login, $user );
|
1466 |
-
wp_set_auth_cookie( $user_id, true );
|
1467 |
-
|
1468 |
-
}
|
1469 |
-
//if account linking is enable
|
1470 |
-
else if ( get_option('mo_openid_account_linking_enable')&& (!mo_openid_restrict_user())){
|
1471 |
-
mo_openid_start_session();
|
1472 |
-
$_SESSION['username'] = $user_name;
|
1473 |
-
$_SESSION['user_email'] = $user_email;
|
1474 |
-
$_SESSION['user_full_name'] = $user_full_name;
|
1475 |
-
$_SESSION['first_name'] = $first_name;
|
1476 |
-
$_SESSION['last_name'] = $last_name;
|
1477 |
-
$_SESSION['user_url'] = $user_url;
|
1478 |
-
$_SESSION['user_picture'] = $user_picture;
|
1479 |
-
$_SESSION['social_app_name'] = $social_app_name;
|
1480 |
-
$_SESSION['social_user_id'] = $social_user_id;
|
1481 |
-
|
1482 |
-
echo mo_openid_account_linking_form($user_name,$user_email,$first_name,$last_name,$user_full_name,$user_url,$user_picture,$social_app_name,$social_user_id);
|
1483 |
-
exit;
|
1484 |
-
}
|
1485 |
-
else {
|
1486 |
-
|
1487 |
-
// this user is a guest
|
1488 |
-
// auto registration is enabled
|
1489 |
-
if(get_option('mo_openid_auto_register_enable')) {
|
1490 |
-
$random_password = wp_generate_password( 10, false );
|
1491 |
-
|
1492 |
-
if( isset($username_user_id) ){
|
1493 |
-
$email_array = explode('@', $user_email);
|
1494 |
-
$username = $email_array[0];
|
1495 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
1496 |
-
$i = 1;
|
1497 |
-
while(!empty($username_user_id) ){
|
1498 |
-
$uname=$username.'_' . $i;
|
1499 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM " .$db_prefix."users where user_login = %s", $uname));
|
1500 |
-
$i++;
|
1501 |
-
if(empty($username_user_id)){
|
1502 |
-
$username= $uname;
|
1503 |
-
}
|
1504 |
-
}
|
1505 |
-
|
1506 |
-
if( isset($username_user_id) ){
|
1507 |
-
echo '<br/>'."Error Code 3: ".get_option('mo_existing_username_error_message');
|
1508 |
-
exit();
|
1509 |
-
}
|
1510 |
-
}
|
1511 |
-
|
1512 |
-
$user_profile_url = $user_url;
|
1513 |
-
|
1514 |
-
if(isset($social_app_name) && !empty($social_app_name) && $social_app_name=='facebook'){
|
1515 |
-
$user_url = '';
|
1516 |
-
}
|
1517 |
-
|
1518 |
-
// Checking if username already exist
|
1519 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
1520 |
-
|
1521 |
-
if( isset($username_user_id) ){
|
1522 |
-
$email_array = explode('@', $user_email);
|
1523 |
-
$username = $email_array[0];
|
1524 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $username));
|
1525 |
-
$i = 1;
|
1526 |
-
while(!empty($username_user_id) ){
|
1527 |
-
$uname=$username.'_' . $i;
|
1528 |
-
$username_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM " .$db_prefix."users where user_login = %s", $uname));
|
1529 |
-
$i++;
|
1530 |
-
if(empty($username_user_id)){
|
1531 |
-
$username= $uname;
|
1532 |
-
}
|
1533 |
-
}
|
1534 |
-
|
1535 |
-
if( isset($username_user_id) ){
|
1536 |
-
echo '<br/>'."Error Code 6: ".get_option('mo_existing_username_error_message');
|
1537 |
-
exit();
|
1538 |
-
}
|
1539 |
-
}
|
1540 |
-
|
1541 |
-
//to check for customisation fields
|
1542 |
-
if(get_option('mo_openid_customised_field_enable') == 1 ) {
|
1543 |
-
$set_cust_field = get_option('mo_openid_custom_field_mapping');
|
1544 |
-
if ($set_cust_field) {
|
1545 |
-
foreach ($set_cust_field as $x) {
|
1546 |
-
foreach ($x as $xx => $x_value) {
|
1547 |
-
if (isset($xx)) {
|
1548 |
-
?>
|
1549 |
-
<form id="myForm" action="<?php echo get_option('profile_completion_page') ?>" method="post">
|
1550 |
-
<?php
|
1551 |
-
echo '<input type="hidden" name="last_name" value="' . $last_name . '">';
|
1552 |
-
echo '<input type="hidden" name="first_name" value="' . $first_name . '">';
|
1553 |
-
echo '<input type="hidden" name="user_full_name" value="' . $user_full_name . '">';
|
1554 |
-
echo '<input type="hidden" name="user_url" value="' . $user_url . '">';
|
1555 |
-
echo '<input type="hidden" name="user_profile_url" value="' . $user_profile_url . '">';
|
1556 |
-
echo '<input type="hidden" name="call" value="6">';
|
1557 |
-
echo '<input type="hidden" name="user_picture" value="'.$user_picture.'">';
|
1558 |
-
echo '<input type="hidden" name="username" value="' . $username . '">';
|
1559 |
-
echo '<input type="hidden" name="user_email" value="' . $user_email . '">';
|
1560 |
-
echo '<input type="hidden" name="random_password" value="' . $random_password . '">';
|
1561 |
-
echo '<input type="hidden" name="social_app_name" value="' . $social_app_name . '">';
|
1562 |
-
echo '<input type="hidden" name="social_user_id" value="' . $social_user_id . '">';
|
1563 |
-
echo '<input type="hidden" name="decrypted_app_name" value="">';
|
1564 |
-
echo '<input type="hidden" name="decrypted_user_id" value="">';
|
1565 |
-
?>
|
1566 |
-
</form>
|
1567 |
-
<script type="text/javascript">
|
1568 |
-
document.getElementById('myForm').submit();
|
1569 |
-
</script>
|
1570 |
-
<?php
|
1571 |
-
exit;
|
1572 |
-
}
|
1573 |
-
}
|
1574 |
-
}
|
1575 |
-
}
|
1576 |
-
}
|
1577 |
-
|
1578 |
-
$userdata = array(
|
1579 |
-
'user_login' => $username,
|
1580 |
-
'user_email' => $user_email,
|
1581 |
-
'user_pass' => $random_password,
|
1582 |
-
'display_name' => $user_full_name,
|
1583 |
-
'first_name' => $first_name,
|
1584 |
-
'last_name' => $last_name,
|
1585 |
-
'user_url' => $user_url,
|
1586 |
-
);
|
1587 |
-
$userdetails = array(
|
1588 |
-
'user_login' => $username,
|
1589 |
-
'user_email' => $user_email,
|
1590 |
-
'user_pass' => $random_password,
|
1591 |
-
'display_name' => $user_full_name,
|
1592 |
-
'first_name' => $first_name,
|
1593 |
-
'last_name' => $last_name,
|
1594 |
-
'user_url' => $user_url,
|
1595 |
-
'user_profile_url' => $user_profile_url,
|
1596 |
-
'user_picture' => $user_picture,
|
1597 |
-
'social_app_name' => $social_app_name,
|
1598 |
-
'social_user_id' => $social_user_id,
|
1599 |
-
'call' => "6"
|
1600 |
-
);
|
1601 |
-
do_action("mo_before_insert_user",$userdetails,"");
|
1602 |
-
$user_id = wp_insert_user( $userdata);
|
1603 |
-
if(is_wp_error( $user_id )) {
|
1604 |
-
print_r($user_id);
|
1605 |
-
wp_die("Error Code 6: ".get_option('mo_registration_error_message'));
|
1606 |
-
}
|
1607 |
-
|
1608 |
-
mo_openid_start_session();
|
1609 |
-
$_SESSION['username'] = $user_name;
|
1610 |
-
$_SESSION['user_email'] = $user_email;
|
1611 |
-
$_SESSION['user_full_name'] = $user_full_name;
|
1612 |
-
$_SESSION['first_name'] = $first_name;
|
1613 |
-
$_SESSION['last_name'] = $last_name;
|
1614 |
-
$_SESSION['user_url'] = $user_url;
|
1615 |
-
$_SESSION['user_picture'] = $user_picture;
|
1616 |
-
$_SESSION['social_app_name'] = $social_app_name;
|
1617 |
-
$_SESSION['social_user_id'] = $social_user_id;
|
1618 |
-
|
1619 |
-
$user = get_user_by('id', $user_id );
|
1620 |
-
if(get_option('moopenid_social_login_avatar') && isset($user_picture)){
|
1621 |
-
update_user_meta($user_id, 'moopenid_user_avatar', $user_picture);
|
1622 |
-
}
|
1623 |
-
$_SESSION['mo_login'] = true;
|
1624 |
-
$_SESSION['registered_user'] = '1';
|
1625 |
-
|
1626 |
-
//registration hook
|
1627 |
-
do_action( 'mo_user_register', $user_id, $user_profile_url);
|
1628 |
-
do_action( 'miniorange_collect_attributes_for_authenticated_user', $user, mo_openid_get_redirect_url());
|
1629 |
-
//login hook
|
1630 |
-
|
1631 |
-
do_action( 'wp_login', $user->user_login, $user );
|
1632 |
-
wp_set_auth_cookie( $user_id, true );
|
1633 |
-
}
|
1634 |
-
$redirect_url = mo_openid_get_redirect_url();
|
1635 |
-
wp_redirect($redirect_url);
|
1636 |
-
exit;
|
1637 |
-
}
|
1638 |
-
|
1639 |
-
$redirect_url = mo_openid_get_redirect_url();
|
1640 |
-
wp_redirect($redirect_url);
|
1641 |
-
exit;
|
1642 |
-
}
|
1643 |
-
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
class-mo-openid-social-share.php
CHANGED
@@ -1,25 +1,27 @@
|
|
1 |
Â
<?php
|
Â
|
|
Â
|
|
2 |
Â
if(isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off'){
|
3 |
Â
$http = "https://";
|
4 |
Â
} else {
|
5 |
Â
$http = "http://";
|
6 |
Â
}
|
7 |
-
$url =
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
Â
$email_body = str_replace('##url##', $url, $email_body);
|
24 |
Â
|
25 |
Â
$orientation = 'hor';
|
@@ -53,6 +55,8 @@ $url = esc_url($http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI']);
|
|
53 |
Â
document.body.appendChild(e);
|
54 |
Â
}
|
55 |
Â
</script>
|
Â
|
|
Â
|
|
56 |
Â
<div class="mo-openid-app-icons circle ">
|
57 |
Â
<p style="color: #<?php echo $heading_color; ?>;"><?php
|
58 |
Â
if( $orientation == 'hor' ) {
|
@@ -62,354 +66,354 @@ $url = esc_url($http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI']);
|
|
62 |
Â
<?php
|
63 |
Â
if($custom_theme == 'custom'){
|
64 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
65 |
-
|
66 |
-
|
67 |
-
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
68 |
Â
<?php
|
69 |
Â
}
|
70 |
Â
|
71 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
72 |
Â
$link = esc_url(empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username);
|
73 |
Â
?>
|
74 |
-
<a rel='nofollow' title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
75 |
Â
<?php
|
76 |
Â
}
|
77 |
Â
|
78 |
Â
if( get_option('mo_openid_google_share_enable') ) {
|
79 |
Â
$link = esc_url('https://plus.google.com/share?url='.$url);
|
80 |
Â
?>
|
81 |
-
<a rel='nofollow' title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
82 |
Â
<?php
|
83 |
Â
}
|
84 |
Â
|
85 |
Â
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
86 |
Â
$link = esc_url('http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt);
|
87 |
Â
?>
|
88 |
-
<a rel='nofollow' title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
89 |
Â
<?php
|
90 |
Â
}
|
91 |
Â
|
92 |
Â
if( get_option('mo_openid_tumblr_share_enable') ) {
|
93 |
-
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title.'&description='.$excerpt;
|
94 |
Â
?>
|
95 |
-
<a rel='nofollow' title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
96 |
Â
<?php
|
97 |
Â
}
|
98 |
Â
|
99 |
Â
if( get_option('mo_openid_stumble_share_enable') ) {
|
100 |
Â
$link = esc_url('http://www.stumbleupon.com/submit?url='.$url.'&title='.$title);
|
101 |
Â
?>
|
102 |
-
<a rel='nofollow' title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
103 |
Â
<?php
|
104 |
Â
}
|
105 |
Â
|
106 |
Â
if( get_option('mo_openid_linkedin_share_enable') ) {
|
107 |
Â
$link = esc_url('https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt);
|
108 |
Â
?>
|
109 |
-
<a rel='nofollow' title="LinkekIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
110 |
Â
<?php
|
111 |
Â
}
|
112 |
Â
|
113 |
Â
if( get_option('mo_openid_reddit_share_enable') ) {
|
114 |
Â
$link = esc_url('http://www.reddit.com/submit?url='.$url.'&title='.$title);
|
115 |
Â
?>
|
116 |
-
<a rel='nofollow' title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
117 |
Â
<?php
|
118 |
Â
}
|
119 |
Â
|
120 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
121 |
Â
?>
|
122 |
-
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
123 |
Â
<?php
|
124 |
Â
}
|
125 |
Â
|
126 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
127 |
Â
$link = esc_url('https://getpocket.com/save?url='.$url.'&title='.$title);
|
128 |
Â
?>
|
129 |
-
<a rel='nofollow' title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
130 |
Â
<?php
|
131 |
Â
}
|
132 |
Â
|
133 |
Â
if( get_option('mo_openid_digg_share_enable') ) {
|
134 |
Â
$link = esc_url('http://digg.com/submit?url='.$url.'&title='.$title);
|
135 |
Â
?>
|
136 |
-
<a rel='nofollow' title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
137 |
Â
<?php
|
138 |
Â
}
|
139 |
Â
|
140 |
Â
if( get_option('mo_openid_delicious_share_enable') ) {
|
141 |
Â
$link = esc_url('http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title);
|
142 |
Â
?>
|
143 |
-
<a rel='nofollow' title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
144 |
Â
<?php
|
145 |
Â
}
|
146 |
Â
|
147 |
Â
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
148 |
Â
$link = esc_url('http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url);
|
149 |
Â
?>
|
150 |
-
<a rel='nofollow' title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
151 |
Â
<?php
|
152 |
Â
}
|
153 |
Â
if( get_option('mo_openid_mail_share_enable') ) {
|
154 |
Â
?>
|
155 |
Â
<a rel='nofollow' title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
156 |
-
<i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
157 |
Â
<?php
|
158 |
Â
}
|
159 |
Â
if( get_option('mo_openid_print_share_enable') ) {
|
160 |
Â
?>
|
161 |
Â
<a rel='nofollow' title="Print this page" onclick="javascript:window.print()"class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
162 |
-
<i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
163 |
Â
<?php
|
164 |
Â
}
|
165 |
-
|
166 |
Â
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
Â
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
Â
}
|
180 |
Â
|
181 |
Â
else if($custom_theme == 'customFont'){
|
182 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
183 |
-
|
184 |
-
|
185 |
-
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?>
|
186 |
Â
<?php
|
187 |
Â
}
|
188 |
Â
|
189 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
190 |
Â
$link = esc_url(empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username);
|
191 |
Â
?>
|
192 |
-
<a rel='nofollow' title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?>
|
193 |
Â
<?php
|
194 |
Â
}
|
195 |
Â
|
196 |
Â
if( get_option('mo_openid_google_share_enable') ) {
|
197 |
Â
$link = esc_url('https://plus.google.com/share?url='.$url);
|
198 |
Â
?>
|
199 |
-
<a rel='nofollow' title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?>
|
200 |
Â
<?php
|
201 |
Â
}
|
202 |
Â
|
203 |
Â
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
204 |
Â
$link = esc_url('http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt);
|
205 |
Â
?>
|
206 |
-
<a rel='nofollow' title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?>
|
207 |
Â
<?php
|
208 |
Â
}
|
209 |
Â
|
210 |
Â
if( get_option('mo_openid_tumblr_share_enable') ) {
|
211 |
Â
$link = esc_url('http://www.tumblr.com/share/link?url='.$url.'&title='.$title);
|
212 |
Â
?>
|
213 |
-
<a rel='nofollow' title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?>
|
214 |
Â
<?php
|
215 |
Â
}
|
216 |
Â
|
217 |
Â
if( get_option('mo_openid_stumble_share_enable') ) {
|
218 |
Â
$link = esc_url('http://www.stumbleupon.com/submit?url='.$url.'&title='.$title);
|
219 |
Â
?>
|
220 |
-
<a rel='nofollow' title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?>
|
221 |
Â
<?php
|
222 |
Â
}
|
223 |
Â
|
224 |
Â
if( get_option('mo_openid_linkedin_share_enable') ) {
|
225 |
Â
$link = esc_url('https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt);
|
226 |
Â
?>
|
227 |
-
<a rel='nofollow' title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?>
|
228 |
Â
<?php
|
229 |
Â
}
|
230 |
Â
|
231 |
Â
if( get_option('mo_openid_reddit_share_enable') ) {
|
232 |
Â
$link = esc_url('http://www.reddit.com/submit?url='.$url.'&title='.$title);
|
233 |
Â
?>
|
234 |
-
<a rel='nofollow' title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?>
|
235 |
Â
<?php
|
236 |
Â
}
|
237 |
Â
|
238 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
239 |
Â
?>
|
240 |
-
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?>
|
241 |
Â
<?php
|
242 |
Â
}
|
243 |
Â
|
244 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
245 |
Â
$link = esc_url('https://getpocket.com/save?url='.$url.'&title='.$title);
|
246 |
Â
?>
|
247 |
-
<a rel='nofollow' title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?>
|
248 |
Â
<?php
|
249 |
Â
}
|
250 |
Â
|
251 |
Â
if( get_option('mo_openid_digg_share_enable') ) {
|
252 |
Â
$link = esc_url('http://digg.com/submit?url='.$url.'&title='.$title);
|
253 |
Â
?>
|
254 |
-
<a rel='nofollow' title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?>
|
255 |
Â
<?php
|
256 |
Â
}
|
257 |
Â
|
258 |
Â
if( get_option('mo_openid_delicious_share_enable') ) {
|
259 |
Â
$link = esc_url('http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title);
|
260 |
Â
?>
|
261 |
-
<a rel='nofollow' title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?>
|
262 |
Â
<?php
|
263 |
Â
}
|
264 |
Â
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
265 |
Â
$link = esc_url('http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url);
|
266 |
Â
?>
|
267 |
-
<a rel='nofollow' title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?>
|
268 |
Â
<?php
|
269 |
Â
}
|
270 |
Â
if( get_option('mo_openid_mail_share_enable') ) {
|
271 |
Â
?>
|
272 |
Â
<a rel='nofollow' title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
273 |
-
<i class=" <?php echo $selected_theme; ?>
|
274 |
Â
<?php
|
275 |
Â
}
|
276 |
Â
if( get_option('mo_openid_print_share_enable') ) {
|
277 |
Â
?>
|
278 |
Â
<a rel='nofollow' title="Print this page" onclick="javascript:window.print()" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
279 |
-
<i class=" <?php echo $selected_theme; ?>
|
280 |
Â
<?php
|
281 |
Â
}
|
282 |
-
|
283 |
Â
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
Â
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
Â
|
298 |
Â
else{
|
299 |
Â
|
300 |
Â
|
301 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
302 |
-
|
303 |
-
|
304 |
-
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Facebook' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
305 |
Â
<?php
|
306 |
Â
}
|
307 |
Â
|
308 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
309 |
Â
$link = esc_url(empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username);
|
310 |
Â
?>
|
311 |
-
<a rel='nofollow' title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Twitter' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/twitter.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
312 |
Â
<?php
|
313 |
Â
}
|
314 |
Â
|
315 |
Â
if( get_option('mo_openid_google_share_enable') ) {
|
316 |
Â
$link = esc_url('https://plus.google.com/share?url='.$url);
|
317 |
Â
?>
|
318 |
-
<a rel='nofollow' title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Google' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color: <?php echo $selected_theme; ?>' src="<?php echo plugins_url( 'includes/images/icons/google.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
319 |
Â
<?php
|
320 |
Â
}
|
321 |
Â
|
322 |
Â
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
323 |
Â
$link = esc_url('http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt);
|
324 |
Â
?>
|
325 |
-
<a rel='nofollow' title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Vkontakte' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color: <?php echo $selected_theme; ?>' src="<?php echo plugins_url( 'includes/images/icons/vk.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
326 |
Â
<?php
|
327 |
Â
}
|
328 |
Â
|
329 |
Â
if( get_option('mo_openid_tumblr_share_enable') ) {
|
330 |
Â
$link = esc_url('http://www.tumblr.com/share/link?url='.$url.'&title='.$title);
|
331 |
Â
?>
|
332 |
-
<a rel='nofollow' title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Tumblr' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/tumblr.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
333 |
Â
<?php
|
334 |
Â
}
|
335 |
Â
|
336 |
Â
if( get_option('mo_openid_stumble_share_enable') ) {
|
337 |
Â
$link = esc_url('http://www.stumbleupon.com/submit?url='.$url.'&title='.$title);
|
338 |
Â
?>
|
339 |
-
<a rel='nofollow' title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='StumbleUpon' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/stumble.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
340 |
Â
<?php
|
341 |
Â
}
|
342 |
Â
|
343 |
Â
if( get_option('mo_openid_linkedin_share_enable') ) {
|
344 |
Â
$link = esc_url('https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt);
|
345 |
Â
?>
|
346 |
-
<a rel='nofollow' title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='LinkedIn' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/linkedin.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
347 |
Â
<?php
|
348 |
Â
}
|
349 |
Â
|
350 |
Â
if( get_option('mo_openid_reddit_share_enable') ) {
|
351 |
Â
$link = esc_url('http://www.reddit.com/submit?url='.$url.'&title='.$title);
|
352 |
Â
?>
|
353 |
-
<a rel='nofollow' title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Reddit' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/reddit.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
354 |
Â
<?php
|
355 |
Â
}
|
356 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
357 |
Â
?>
|
358 |
-
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Pinterest' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/
|
359 |
Â
<?php
|
360 |
Â
}
|
361 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
362 |
Â
$link = esc_url('https://getpocket.com/save?url='.$url.'&title='.$title);
|
363 |
Â
?>
|
364 |
-
<a rel='nofollow' title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Pocket' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/pocket.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
365 |
Â
<?php
|
366 |
Â
}
|
367 |
Â
if( get_option('mo_openid_digg_share_enable') ) {
|
368 |
Â
$link = esc_url('http://digg.com/submit?url='.$url.'&title='.$title);
|
369 |
Â
?>
|
370 |
-
<a rel='nofollow' title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Digg' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/digg.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
371 |
Â
<?php
|
372 |
Â
}
|
373 |
Â
if( get_option('mo_openid_delicious_share_enable') ) {
|
374 |
Â
$link = esc_url('http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title);
|
375 |
Â
?>
|
376 |
-
<a rel='nofollow' title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Delicious' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/delicious.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
377 |
Â
<?php
|
378 |
Â
}
|
379 |
Â
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
380 |
Â
$link = esc_url('http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url);
|
381 |
Â
?>
|
382 |
-
<a rel='nofollow'title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Odnoklassniki' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/odnoklassniki.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
383 |
Â
<?php
|
384 |
Â
}
|
385 |
Â
if( get_option('mo_openid_mail_share_enable') ) {
|
386 |
Â
?>
|
387 |
-
<a rel='nofollow'title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
388 |
-
<img alt='Email' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/mail.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>">
|
389 |
Â
</a>
|
390 |
Â
<?php
|
391 |
Â
}
|
392 |
Â
if( get_option('mo_openid_print_share_enable') ) {
|
393 |
Â
?>
|
394 |
Â
<a rel='nofollow' title="Print this page" onclick="javascript:window.print()" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
395 |
-
<img alt='Print' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/print.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>">
|
396 |
Â
</a>
|
397 |
Â
<?php
|
398 |
Â
}
|
399 |
-
|
400 |
Â
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
Â
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
Â
}
|
414 |
Â
?></p>
|
415 |
Â
</div>
|
@@ -420,242 +424,242 @@ $url = esc_url($http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI']);
|
|
420 |
Â
<?php
|
421 |
Â
if($custom_theme == 'custom'){
|
422 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
423 |
-
|
424 |
-
|
425 |
-
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
426 |
Â
<?php
|
427 |
Â
}
|
428 |
Â
|
429 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
430 |
Â
$link = esc_url(empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username);
|
431 |
Â
?>
|
432 |
-
<a rel='nofollow' title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
433 |
Â
<?php
|
434 |
Â
}
|
435 |
Â
|
436 |
Â
if( get_option('mo_openid_google_share_enable') ) {
|
437 |
Â
$link = esc_url('https://plus.google.com/share?url='.$url);
|
438 |
Â
?>
|
439 |
-
<a rel='nofollow' title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
440 |
Â
<?php
|
441 |
Â
}
|
442 |
Â
|
443 |
Â
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
444 |
Â
$link = esc_url('http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt);
|
445 |
Â
?>
|
446 |
-
<a rel='nofollow' title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
447 |
Â
<?php
|
448 |
Â
}
|
449 |
Â
|
450 |
Â
if( get_option('mo_openid_tumblr_share_enable') ) {
|
451 |
Â
$link = esc_url('http://www.tumblr.com/share/link?url='.$url.'&title='.$title);
|
452 |
Â
?>
|
453 |
-
<a rel='nofollow' title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
454 |
Â
<?php
|
455 |
Â
}
|
456 |
Â
|
457 |
Â
if( get_option('mo_openid_stumble_share_enable') ) {
|
458 |
Â
$link = esc_url('http://www.stumbleupon.com/submit?url='.$url.'&title='.$title);
|
459 |
Â
?>
|
460 |
-
<a rel='nofollow' title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
461 |
Â
<?php
|
462 |
Â
}
|
463 |
Â
|
464 |
Â
if( get_option('mo_openid_linkedin_share_enable') ) {
|
465 |
-
$link = esc_url('https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&
|
466 |
Â
?>
|
467 |
-
<a rel='nofollow' title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
468 |
Â
<?php
|
469 |
Â
}
|
470 |
Â
|
471 |
Â
if( get_option('mo_openid_reddit_share_enable') ) {
|
472 |
Â
$link = esc_url('http://www.reddit.com/submit?url='.$url.'&title='.$title);
|
473 |
Â
?>
|
474 |
-
<a rel='nofollow' title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
475 |
Â
<?php
|
476 |
Â
}
|
477 |
Â
|
478 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
479 |
Â
?>
|
480 |
-
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
481 |
Â
<?php
|
482 |
Â
}
|
483 |
Â
|
484 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
485 |
Â
$link = esc_url('https://getpocket.com/save?url='.$url.'&title='.$title);
|
486 |
Â
?>
|
487 |
-
<a rel='nofollow' title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
488 |
Â
<?php
|
489 |
Â
}
|
490 |
Â
|
491 |
Â
if( get_option('mo_openid_digg_share_enable') ) {
|
492 |
Â
$link = esc_url('http://digg.com/submit?url='.$url.'&title='.$title);
|
493 |
Â
?>
|
494 |
-
<a rel='nofollow' title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
495 |
Â
<?php
|
496 |
Â
}
|
497 |
Â
|
498 |
Â
if( get_option('mo_openid_delicious_share_enable') ) {
|
499 |
Â
$link = esc_url('http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title);
|
500 |
Â
?>
|
501 |
-
<a rel='nofollow' title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
502 |
Â
<?php
|
503 |
Â
}
|
504 |
Â
|
505 |
Â
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
506 |
Â
$link = esc_url('http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url);
|
507 |
Â
?>
|
508 |
-
<a rel='nofollow' title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
509 |
Â
<?php
|
510 |
Â
}
|
511 |
Â
if( get_option('mo_openid_mail_share_enable') ) {
|
512 |
Â
?>
|
513 |
Â
<a rel='nofollow' title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link">
|
514 |
-
<i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
515 |
Â
<?php
|
516 |
Â
}
|
517 |
Â
if( get_option('mo_openid_print_share_enable') ) {
|
518 |
Â
?>
|
519 |
-
<a rel='nofollow'title="Print this page" onclick="javascript:window.print()"class="mo-openid-share-link">
|
520 |
-
<i class="mo-custom-share-icon <?php echo $selected_theme; ?>
|
521 |
Â
<?php
|
522 |
Â
}
|
523 |
-
|
524 |
Â
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
Â
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
Â
}
|
538 |
Â
else if($custom_theme == 'customFont'){
|
539 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
540 |
-
|
541 |
-
|
542 |
-
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?>
|
543 |
Â
<?php
|
544 |
Â
}
|
545 |
Â
|
546 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
547 |
Â
$link = esc_url(empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username);
|
548 |
Â
?>
|
549 |
-
<a rel='nofollow' title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?>
|
550 |
Â
<?php
|
551 |
Â
}
|
552 |
Â
|
553 |
Â
if( get_option('mo_openid_google_share_enable') ) {
|
554 |
Â
$link = esc_url('https://plus.google.com/share?url='.$url);
|
555 |
Â
?>
|
556 |
-
<a rel='nofollow' title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?>
|
557 |
Â
<?php
|
558 |
Â
}
|
559 |
Â
|
560 |
Â
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
561 |
Â
$link = esc_url('http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt);
|
562 |
Â
?>
|
563 |
-
<a rel='nofollow' title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?>
|
564 |
Â
<?php
|
565 |
Â
}
|
566 |
Â
|
567 |
Â
if( get_option('mo_openid_tumblr_share_enable') ) {
|
568 |
Â
$link = esc_url('http://www.tumblr.com/share/link?url='.$url.'&title='.$title);
|
569 |
Â
?>
|
570 |
-
<a rel='nofollow' title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?>
|
571 |
Â
<?php
|
572 |
Â
}
|
573 |
Â
|
574 |
Â
if( get_option('mo_openid_stumble_share_enable') ) {
|
575 |
Â
$link = esc_url('http://www.stumbleupon.com/submit?url='.$url.'&title='.$title);
|
576 |
Â
?>
|
577 |
-
<a rel='nofollow' title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?>
|
578 |
Â
<?php
|
579 |
Â
}
|
580 |
Â
|
581 |
Â
if( get_option('mo_openid_linkedin_share_enable') ) {
|
582 |
Â
$link = esc_url('https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt);
|
583 |
Â
?>
|
584 |
-
<a rel='nofollow' title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?>
|
585 |
Â
<?php
|
586 |
Â
}
|
587 |
Â
|
588 |
Â
if( get_option('mo_openid_reddit_share_enable') ) {
|
589 |
Â
$link = esc_url('http://www.reddit.com/submit?url='.$url.'&title='.$title);
|
590 |
Â
?>
|
591 |
-
<a rel='nofollow' title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?>
|
592 |
Â
<?php
|
593 |
Â
}
|
594 |
Â
|
595 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
596 |
Â
?>
|
597 |
-
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?>
|
598 |
Â
<?php
|
599 |
Â
}
|
600 |
Â
|
601 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
602 |
Â
$link = esc_url('https://getpocket.com/save?url='.$url.'&title='.$title);
|
603 |
Â
?>
|
604 |
-
<a rel='nofollow' title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?>
|
605 |
Â
<?php
|
606 |
Â
}
|
607 |
Â
|
608 |
Â
if( get_option('mo_openid_digg_share_enable') ) {
|
609 |
Â
$link = esc_url('http://digg.com/submit?url='.$url.'&title='.$title);
|
610 |
Â
?>
|
611 |
-
<a rel='nofollow' title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?>
|
612 |
Â
<?php
|
613 |
Â
}
|
614 |
Â
|
615 |
Â
if( get_option('mo_openid_delicious_share_enable') ) {
|
616 |
Â
$link = esc_url('http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title);
|
617 |
Â
?>
|
618 |
-
<a rel='nofollow' title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?>
|
619 |
Â
<?php
|
620 |
Â
}
|
621 |
Â
|
622 |
Â
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
623 |
Â
$link = esc_url('http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url);
|
624 |
Â
?>
|
625 |
-
<a rel='nofollow' title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?>
|
626 |
Â
<?php
|
627 |
Â
}
|
628 |
Â
if( get_option('mo_openid_mail_share_enable') ) {
|
629 |
Â
?>
|
630 |
Â
<a rel='nofollow' title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link">
|
631 |
-
<i class=" <?php echo $selected_theme; ?>
|
632 |
Â
<?php
|
633 |
Â
}
|
634 |
Â
if( get_option('mo_openid_print_share_enable') ) {
|
635 |
Â
?>
|
636 |
Â
<a rel='nofollow' title="Print this page" onclick="javascript:window.print()" class="mo-openid-share-link">
|
637 |
-
<i class=" <?php echo $selected_theme; ?>
|
638 |
Â
<?php
|
639 |
Â
}
|
640 |
-
|
641 |
Â
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
Â
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
Â
}
|
655 |
Â
else{
|
656 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
657 |
-
|
658 |
-
|
659 |
Â
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link"><img alt='Facebook' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color:white;' src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
660 |
Â
<?php
|
661 |
Â
}
|
@@ -711,7 +715,7 @@ $url = esc_url($http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI']);
|
|
711 |
Â
|
712 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
713 |
Â
?>
|
714 |
-
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" ><img alt='Pinterest' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/
|
715 |
Â
<?php
|
716 |
Â
}
|
717 |
Â
|
@@ -755,19 +759,19 @@ $url = esc_url($http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI']);
|
|
755 |
Â
<img alt='Print this page' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/print.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>"></a>
|
756 |
Â
<?php
|
757 |
Â
}
|
758 |
-
|
759 |
Â
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
Â
}
|
772 |
Â
?></p>
|
773 |
Â
</div>
|
1 |
Â
<?php
|
2 |
+
|
3 |
+
|
4 |
Â
if(isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off'){
|
5 |
Â
$http = "https://";
|
6 |
Â
} else {
|
7 |
Â
$http = "http://";
|
8 |
Â
}
|
9 |
+
$url = $http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI'];
|
10 |
+
|
11 |
+
|
12 |
+
$selected_theme = esc_attr(get_option('mo_openid_share_theme'));
|
13 |
+
$selected_direction = esc_attr(get_option('mo_openid_share_widget_customize_direction'));
|
14 |
+
$sharingSize = esc_attr(get_option('mo_sharing_icon_custom_size'));
|
15 |
+
$custom_color = esc_attr(get_option('mo_sharing_icon_custom_color'));
|
16 |
+
$custom_theme = esc_attr(get_option('mo_openid_share_custom_theme'));
|
17 |
+
$fontColor = esc_attr(get_option('mo_sharing_icon_custom_font'));
|
18 |
+
$spaceBetweenIcons = esc_attr(get_option('mo_sharing_icon_space'));
|
19 |
+
$twitter_username = esc_attr(get_option('mo_openid_share_twitter_username'));
|
20 |
+
$heading_text = esc_html(get_option('mo_openid_share_widget_customize_text'));
|
21 |
+
$heading_color = esc_attr(get_option('mo_openid_share_widget_customize_text_color'));
|
22 |
+
|
23 |
+
$email_subject = esc_attr(get_option('mo_openid_share_email_subject'));
|
24 |
+
$email_body = get_option('mo_openid_share_email_body');
|
25 |
Â
$email_body = str_replace('##url##', $url, $email_body);
|
26 |
Â
|
27 |
Â
$orientation = 'hor';
|
55 |
Â
document.body.appendChild(e);
|
56 |
Â
}
|
57 |
Â
</script>
|
58 |
+
|
59 |
+
|
60 |
Â
<div class="mo-openid-app-icons circle ">
|
61 |
Â
<p style="color: #<?php echo $heading_color; ?>;"><?php
|
62 |
Â
if( $orientation == 'hor' ) {
|
66 |
Â
<?php
|
67 |
Â
if($custom_theme == 'custom'){
|
68 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
69 |
+
$link = esc_url('https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url);
|
70 |
+
?>
|
71 |
+
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-facebook" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
72 |
Â
<?php
|
73 |
Â
}
|
74 |
Â
|
75 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
76 |
Â
$link = esc_url(empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username);
|
77 |
Â
?>
|
78 |
+
<a rel='nofollow' title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-twitter" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
79 |
Â
<?php
|
80 |
Â
}
|
81 |
Â
|
82 |
Â
if( get_option('mo_openid_google_share_enable') ) {
|
83 |
Â
$link = esc_url('https://plus.google.com/share?url='.$url);
|
84 |
Â
?>
|
85 |
+
<a rel='nofollow' title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-google-plus" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;"></i></a>
|
86 |
Â
<?php
|
87 |
Â
}
|
88 |
Â
|
89 |
Â
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
90 |
Â
$link = esc_url('http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt);
|
91 |
Â
?>
|
92 |
+
<a rel='nofollow' title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-vk" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
93 |
Â
<?php
|
94 |
Â
}
|
95 |
Â
|
96 |
Â
if( get_option('mo_openid_tumblr_share_enable') ) {
|
97 |
+
$link = esc_url('http://www.tumblr.com/share/link?url='.$url.'&title='.$title.'&description='.$excerpt);
|
98 |
Â
?>
|
99 |
+
<a rel='nofollow' title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-tumblr" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
100 |
Â
<?php
|
101 |
Â
}
|
102 |
Â
|
103 |
Â
if( get_option('mo_openid_stumble_share_enable') ) {
|
104 |
Â
$link = esc_url('http://www.stumbleupon.com/submit?url='.$url.'&title='.$title);
|
105 |
Â
?>
|
106 |
+
<a rel='nofollow' title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-stumbleupon" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
107 |
Â
<?php
|
108 |
Â
}
|
109 |
Â
|
110 |
Â
if( get_option('mo_openid_linkedin_share_enable') ) {
|
111 |
Â
$link = esc_url('https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt);
|
112 |
Â
?>
|
113 |
+
<a rel='nofollow' title="LinkekIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-linkedin" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
114 |
Â
<?php
|
115 |
Â
}
|
116 |
Â
|
117 |
Â
if( get_option('mo_openid_reddit_share_enable') ) {
|
118 |
Â
$link = esc_url('http://www.reddit.com/submit?url='.$url.'&title='.$title);
|
119 |
Â
?>
|
120 |
+
<a rel='nofollow' title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-reddit" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
121 |
Â
<?php
|
122 |
Â
}
|
123 |
Â
|
124 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
125 |
Â
?>
|
126 |
+
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-pinterest" style="padding-top:3px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-10); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
127 |
Â
<?php
|
128 |
Â
}
|
129 |
Â
|
130 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
131 |
Â
$link = esc_url('https://getpocket.com/save?url='.$url.'&title='.$title);
|
132 |
Â
?>
|
133 |
+
<a rel='nofollow' title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-get-pocket" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
134 |
Â
<?php
|
135 |
Â
}
|
136 |
Â
|
137 |
Â
if( get_option('mo_openid_digg_share_enable') ) {
|
138 |
Â
$link = esc_url('http://digg.com/submit?url='.$url.'&title='.$title);
|
139 |
Â
?>
|
140 |
+
<a rel='nofollow' title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-digg" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
141 |
Â
<?php
|
142 |
Â
}
|
143 |
Â
|
144 |
Â
if( get_option('mo_openid_delicious_share_enable') ) {
|
145 |
Â
$link = esc_url('http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title);
|
146 |
Â
?>
|
147 |
+
<a rel='nofollow' title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-delicious" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
148 |
Â
<?php
|
149 |
Â
}
|
150 |
Â
|
151 |
Â
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
152 |
Â
$link = esc_url('http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url);
|
153 |
Â
?>
|
154 |
+
<a rel='nofollow' title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-odnoklassniki" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
155 |
Â
<?php
|
156 |
Â
}
|
157 |
Â
if( get_option('mo_openid_mail_share_enable') ) {
|
158 |
Â
?>
|
159 |
Â
<a rel='nofollow' title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
160 |
+
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-envelope" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
161 |
Â
<?php
|
162 |
Â
}
|
163 |
Â
if( get_option('mo_openid_print_share_enable') ) {
|
164 |
Â
?>
|
165 |
Â
<a rel='nofollow' title="Print this page" onclick="javascript:window.print()"class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
166 |
+
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-print" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
167 |
Â
<?php
|
168 |
Â
}
|
169 |
+
if( get_option('mo_openid_whatsapp_share_enable') && wp_is_mobile()) {
|
170 |
Â
|
171 |
+
?>
|
172 |
+
<a rel='nofollow' title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
173 |
+
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-whatsapp" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
174 |
+
<?php
|
175 |
+
}
|
176 |
+
else if( get_option('mo_openid_whatsapp_share_enable') ) {
|
177 |
Â
|
178 |
+
?>
|
179 |
+
<a rel='nofollow' title="Whatsapp" target ='_blank' href='https://web.whatsapp.com/send?text=<?php echo $url?>' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
180 |
+
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-whatsapp" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
181 |
+
<?php
|
182 |
+
}
|
183 |
Â
}
|
184 |
Â
|
185 |
Â
else if($custom_theme == 'customFont'){
|
186 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
187 |
+
$link = esc_url('https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url);
|
188 |
+
?>
|
189 |
+
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> mofa mofa-facebook" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
190 |
Â
<?php
|
191 |
Â
}
|
192 |
Â
|
193 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
194 |
Â
$link = esc_url(empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username);
|
195 |
Â
?>
|
196 |
+
<a rel='nofollow' title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> mofa mofa-twitter" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
197 |
Â
<?php
|
198 |
Â
}
|
199 |
Â
|
200 |
Â
if( get_option('mo_openid_google_share_enable') ) {
|
201 |
Â
$link = esc_url('https://plus.google.com/share?url='.$url);
|
202 |
Â
?>
|
203 |
+
<a rel='nofollow' title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> mofa mofa-google-plus" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
204 |
Â
<?php
|
205 |
Â
}
|
206 |
Â
|
207 |
Â
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
208 |
Â
$link = esc_url('http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt);
|
209 |
Â
?>
|
210 |
+
<a rel='nofollow' title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> mofa mofa-vk" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
211 |
Â
<?php
|
212 |
Â
}
|
213 |
Â
|
214 |
Â
if( get_option('mo_openid_tumblr_share_enable') ) {
|
215 |
Â
$link = esc_url('http://www.tumblr.com/share/link?url='.$url.'&title='.$title);
|
216 |
Â
?>
|
217 |
+
<a rel='nofollow' title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> mofa mofa-tumblr" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
218 |
Â
<?php
|
219 |
Â
}
|
220 |
Â
|
221 |
Â
if( get_option('mo_openid_stumble_share_enable') ) {
|
222 |
Â
$link = esc_url('http://www.stumbleupon.com/submit?url='.$url.'&title='.$title);
|
223 |
Â
?>
|
224 |
+
<a rel='nofollow' title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> mofa mofa-stumbleupon" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
225 |
Â
<?php
|
226 |
Â
}
|
227 |
Â
|
228 |
Â
if( get_option('mo_openid_linkedin_share_enable') ) {
|
229 |
Â
$link = esc_url('https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt);
|
230 |
Â
?>
|
231 |
+
<a rel='nofollow' title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> mofa mofa-linkedin" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
232 |
Â
<?php
|
233 |
Â
}
|
234 |
Â
|
235 |
Â
if( get_option('mo_openid_reddit_share_enable') ) {
|
236 |
Â
$link = esc_url('http://www.reddit.com/submit?url='.$url.'&title='.$title);
|
237 |
Â
?>
|
238 |
+
<a rel='nofollow' title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> mofa mofa-reddit" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
239 |
Â
<?php
|
240 |
Â
}
|
241 |
Â
|
242 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
243 |
Â
?>
|
244 |
+
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> mofa mofa-pinterest" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
245 |
Â
<?php
|
246 |
Â
}
|
247 |
Â
|
248 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
249 |
Â
$link = esc_url('https://getpocket.com/save?url='.$url.'&title='.$title);
|
250 |
Â
?>
|
251 |
+
<a rel='nofollow' title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> mofa mofa-get-pocket" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
252 |
Â
<?php
|
253 |
Â
}
|
254 |
Â
|
255 |
Â
if( get_option('mo_openid_digg_share_enable') ) {
|
256 |
Â
$link = esc_url('http://digg.com/submit?url='.$url.'&title='.$title);
|
257 |
Â
?>
|
258 |
+
<a rel='nofollow' title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> mofa mofa-digg" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
259 |
Â
<?php
|
260 |
Â
}
|
261 |
Â
|
262 |
Â
if( get_option('mo_openid_delicious_share_enable') ) {
|
263 |
Â
$link = esc_url('http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title);
|
264 |
Â
?>
|
265 |
+
<a rel='nofollow' title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> mofa mofa-delicious" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
266 |
Â
<?php
|
267 |
Â
}
|
268 |
Â
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
269 |
Â
$link = esc_url('http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url);
|
270 |
Â
?>
|
271 |
+
<a rel='nofollow' title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> mofa mofa-odnoklassniki" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
272 |
Â
<?php
|
273 |
Â
}
|
274 |
Â
if( get_option('mo_openid_mail_share_enable') ) {
|
275 |
Â
?>
|
276 |
Â
<a rel='nofollow' title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
277 |
+
<i class=" <?php echo $selected_theme; ?> mofa mofa-envelope" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
278 |
Â
<?php
|
279 |
Â
}
|
280 |
Â
if( get_option('mo_openid_print_share_enable') ) {
|
281 |
Â
?>
|
282 |
Â
<a rel='nofollow' title="Print this page" onclick="javascript:window.print()" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
283 |
+
<i class=" <?php echo $selected_theme; ?> mofa mofa-print" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
284 |
Â
<?php
|
285 |
Â
}
|
286 |
+
if( get_option('mo_openid_whatsapp_share_enable')&& wp_is_mobile() ) {
|
287 |
Â
|
288 |
+
?>
|
289 |
+
<a rel='nofollow' title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
290 |
+
<i class=" <?php echo $selected_theme; ?> mofa mofa-whatsapp" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
291 |
+
<?php
|
292 |
+
}
|
293 |
+
else if( get_option('mo_openid_whatsapp_share_enable') ) {
|
294 |
Â
|
295 |
+
?>
|
296 |
+
<a rel='nofollow' title="Whatsapp" target ='_blank' href='https://web.whatsapp.com/send?text=<?php echo $url?>' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
297 |
+
<i class=" <?php echo $selected_theme; ?> mofa mofa-whatsapp" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
298 |
+
<?php
|
299 |
+
}
|
300 |
+
}
|
301 |
Â
|
302 |
Â
else{
|
303 |
Â
|
304 |
Â
|
305 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
306 |
+
$link = esc_url('https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url);
|
307 |
+
?>
|
308 |
+
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Facebook' style= 'padding-top:2px; height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
309 |
Â
<?php
|
310 |
Â
}
|
311 |
Â
|
312 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
313 |
Â
$link = esc_url(empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username);
|
314 |
Â
?>
|
315 |
+
<a rel='nofollow' title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Twitter' style= 'padding-top:2px; height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/twitter.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
316 |
Â
<?php
|
317 |
Â
}
|
318 |
Â
|
319 |
Â
if( get_option('mo_openid_google_share_enable') ) {
|
320 |
Â
$link = esc_url('https://plus.google.com/share?url='.$url);
|
321 |
Â
?>
|
322 |
+
<a rel='nofollow' title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Google' style= 'padding-top:2px; height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color: <?php echo $selected_theme; ?>' src="<?php echo plugins_url( 'includes/images/icons/google.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
323 |
Â
<?php
|
324 |
Â
}
|
325 |
Â
|
326 |
Â
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
327 |
Â
$link = esc_url('http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt);
|
328 |
Â
?>
|
329 |
+
<a rel='nofollow' title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Vkontakte' style= 'padding-top:2px; height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color: <?php echo $selected_theme; ?>' src="<?php echo plugins_url( 'includes/images/icons/vk.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
330 |
Â
<?php
|
331 |
Â
}
|
332 |
Â
|
333 |
Â
if( get_option('mo_openid_tumblr_share_enable') ) {
|
334 |
Â
$link = esc_url('http://www.tumblr.com/share/link?url='.$url.'&title='.$title);
|
335 |
Â
?>
|
336 |
+
<a rel='nofollow' title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Tumblr' style= 'padding-top:2px; height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/tumblr.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
337 |
Â
<?php
|
338 |
Â
}
|
339 |
Â
|
340 |
Â
if( get_option('mo_openid_stumble_share_enable') ) {
|
341 |
Â
$link = esc_url('http://www.stumbleupon.com/submit?url='.$url.'&title='.$title);
|
342 |
Â
?>
|
343 |
+
<a rel='nofollow' title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='StumbleUpon' style= 'padding-top:2px; height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/stumble.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
344 |
Â
<?php
|
345 |
Â
}
|
346 |
Â
|
347 |
Â
if( get_option('mo_openid_linkedin_share_enable') ) {
|
348 |
Â
$link = esc_url('https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt);
|
349 |
Â
?>
|
350 |
+
<a rel='nofollow' title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='LinkedIn' style= 'padding-top:2px; height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/linkedin.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
351 |
Â
<?php
|
352 |
Â
}
|
353 |
Â
|
354 |
Â
if( get_option('mo_openid_reddit_share_enable') ) {
|
355 |
Â
$link = esc_url('http://www.reddit.com/submit?url='.$url.'&title='.$title);
|
356 |
Â
?>
|
357 |
+
<a rel='nofollow' title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Reddit' style= 'padding-top:2px; height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/reddit.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
358 |
Â
<?php
|
359 |
Â
}
|
360 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
361 |
Â
?>
|
362 |
+
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Pinterest' style= 'padding-top:2px; height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/pinterest.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
363 |
Â
<?php
|
364 |
Â
}
|
365 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
366 |
Â
$link = esc_url('https://getpocket.com/save?url='.$url.'&title='.$title);
|
367 |
Â
?>
|
368 |
+
<a rel='nofollow' title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Pocket' style= 'padding-top:2px; height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/pocket.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
369 |
Â
<?php
|
370 |
Â
}
|
371 |
Â
if( get_option('mo_openid_digg_share_enable') ) {
|
372 |
Â
$link = esc_url('http://digg.com/submit?url='.$url.'&title='.$title);
|
373 |
Â
?>
|
374 |
+
<a rel='nofollow' title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Digg' style= 'padding-top:2px; height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/digg.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
375 |
Â
<?php
|
376 |
Â
}
|
377 |
Â
if( get_option('mo_openid_delicious_share_enable') ) {
|
378 |
Â
$link = esc_url('http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title);
|
379 |
Â
?>
|
380 |
+
<a rel='nofollow' title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Delicious' style= 'padding-top:2px; height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/delicious.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
381 |
Â
<?php
|
382 |
Â
}
|
383 |
Â
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
384 |
Â
$link = esc_url('http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url);
|
385 |
Â
?>
|
386 |
+
<a rel='nofollow' title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Odnoklassniki' style= 'padding-top:2px; height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/odnoklassniki.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
387 |
Â
<?php
|
388 |
Â
}
|
389 |
Â
if( get_option('mo_openid_mail_share_enable') ) {
|
390 |
Â
?>
|
391 |
+
<a rel='nofollow' title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
392 |
+
<img alt='Email' style= 'padding-top:2px; height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/mail.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>">
|
393 |
Â
</a>
|
394 |
Â
<?php
|
395 |
Â
}
|
396 |
Â
if( get_option('mo_openid_print_share_enable') ) {
|
397 |
Â
?>
|
398 |
Â
<a rel='nofollow' title="Print this page" onclick="javascript:window.print()" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
399 |
+
<img alt='Print' style= 'padding-top:2px; height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/print.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>">
|
400 |
Â
</a>
|
401 |
Â
<?php
|
402 |
Â
}
|
403 |
+
if( get_option('mo_openid_whatsapp_share_enable') && wp_is_mobile()) {
|
404 |
Â
|
405 |
+
?>
|
406 |
+
<a rel='nofollow' title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
407 |
+
<img alt='Whatsapp' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/whatsapp.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" data-action="share/whatsapp/share"></a>
|
408 |
+
<?php
|
409 |
+
}
|
410 |
+
else if( get_option('mo_openid_whatsapp_share_enable') ) {
|
411 |
Â
|
412 |
+
?>
|
413 |
+
<a rel='nofollow'title="Whatsapp" target ='_blank' href='https://web.whatsapp.com/send?text=<?php echo $url?>' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
414 |
+
<img alt='Whatsapp' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/whatsapp.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" data-action="share/whatsapp/share"></a>
|
415 |
+
<?php
|
416 |
+
}
|
417 |
Â
}
|
418 |
Â
?></p>
|
419 |
Â
</div>
|
424 |
Â
<?php
|
425 |
Â
if($custom_theme == 'custom'){
|
426 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
427 |
+
$link = esc_url('https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url);
|
428 |
+
?>
|
429 |
+
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-facebook" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
430 |
Â
<?php
|
431 |
Â
}
|
432 |
Â
|
433 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
434 |
Â
$link = esc_url(empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username);
|
435 |
Â
?>
|
436 |
+
<a rel='nofollow' title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-twitter" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
437 |
Â
<?php
|
438 |
Â
}
|
439 |
Â
|
440 |
Â
if( get_option('mo_openid_google_share_enable') ) {
|
441 |
Â
$link = esc_url('https://plus.google.com/share?url='.$url);
|
442 |
Â
?>
|
443 |
+
<a rel='nofollow' title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-google-plus" style="margin-bottom:<?php echo $space_icons-4?>px!important; padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
444 |
Â
<?php
|
445 |
Â
}
|
446 |
Â
|
447 |
Â
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
448 |
Â
$link = esc_url('http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt);
|
449 |
Â
?>
|
450 |
+
<a rel='nofollow' title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-vk" style="margin-bottom:<?php echo $space_icons-4?>px!important; padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
451 |
Â
<?php
|
452 |
Â
}
|
453 |
Â
|
454 |
Â
if( get_option('mo_openid_tumblr_share_enable') ) {
|
455 |
Â
$link = esc_url('http://www.tumblr.com/share/link?url='.$url.'&title='.$title);
|
456 |
Â
?>
|
457 |
+
<a rel='nofollow' title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-tumblr" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
458 |
Â
<?php
|
459 |
Â
}
|
460 |
Â
|
461 |
Â
if( get_option('mo_openid_stumble_share_enable') ) {
|
462 |
Â
$link = esc_url('http://www.stumbleupon.com/submit?url='.$url.'&title='.$title);
|
463 |
Â
?>
|
464 |
+
<a rel='nofollow' title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-stumbleupon" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
465 |
Â
<?php
|
466 |
Â
}
|
467 |
Â
|
468 |
Â
if( get_option('mo_openid_linkedin_share_enable') ) {
|
469 |
+
$link = esc_url('https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt);
|
470 |
Â
?>
|
471 |
+
<a rel='nofollow' title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-linkedin" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
472 |
Â
<?php
|
473 |
Â
}
|
474 |
Â
|
475 |
Â
if( get_option('mo_openid_reddit_share_enable') ) {
|
476 |
Â
$link = esc_url('http://www.reddit.com/submit?url='.$url.'&title='.$title);
|
477 |
Â
?>
|
478 |
+
<a rel='nofollow' title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-reddit" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
479 |
Â
<?php
|
480 |
Â
}
|
481 |
Â
|
482 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
483 |
Â
?>
|
484 |
+
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-pinterest" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:3px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-10); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
485 |
Â
<?php
|
486 |
Â
}
|
487 |
Â
|
488 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
489 |
Â
$link = esc_url('https://getpocket.com/save?url='.$url.'&title='.$title);
|
490 |
Â
?>
|
491 |
+
<a rel='nofollow' title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-get-pocket" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
492 |
Â
<?php
|
493 |
Â
}
|
494 |
Â
|
495 |
Â
if( get_option('mo_openid_digg_share_enable') ) {
|
496 |
Â
$link = esc_url('http://digg.com/submit?url='.$url.'&title='.$title);
|
497 |
Â
?>
|
498 |
+
<a rel='nofollow' title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-digg" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
499 |
Â
<?php
|
500 |
Â
}
|
501 |
Â
|
502 |
Â
if( get_option('mo_openid_delicious_share_enable') ) {
|
503 |
Â
$link = esc_url('http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title);
|
504 |
Â
?>
|
505 |
+
<a rel='nofollow' title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-delicious" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
506 |
Â
<?php
|
507 |
Â
}
|
508 |
Â
|
509 |
Â
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
510 |
Â
$link = esc_url('http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url);
|
511 |
Â
?>
|
512 |
+
<a rel='nofollow' title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-odnoklassniki" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
513 |
Â
<?php
|
514 |
Â
}
|
515 |
Â
if( get_option('mo_openid_mail_share_enable') ) {
|
516 |
Â
?>
|
517 |
Â
<a rel='nofollow' title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link">
|
518 |
+
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-envelope" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
519 |
Â
<?php
|
520 |
Â
}
|
521 |
Â
if( get_option('mo_openid_print_share_enable') ) {
|
522 |
Â
?>
|
523 |
+
<a rel='nofollow' title="Print this page" onclick="javascript:window.print()"class="mo-openid-share-link">
|
524 |
+
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-print" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
525 |
Â
<?php
|
526 |
Â
}
|
527 |
+
if( get_option('mo_openid_whatsapp_share_enable')&& wp_is_mobile() ) {
|
528 |
Â
|
529 |
+
?>
|
530 |
+
<a rel='nofollow' title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link">
|
531 |
+
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-whatsapp" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
532 |
+
<?php
|
533 |
+
}
|
534 |
+
else if( get_option('mo_openid_whatsapp_share_enable') ) {
|
535 |
Â
|
536 |
+
?>
|
537 |
+
<a rel='nofollow' title="Whatsapp" target ='_blank' href='https://web.whatsapp.com/send?text=<?php echo $url?>' class="mo-openid-share-link">
|
538 |
+
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> mofa mofa-whatsapp" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
539 |
+
<?php
|
540 |
+
}
|
541 |
Â
}
|
542 |
Â
else if($custom_theme == 'customFont'){
|
543 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
544 |
+
$link = esc_url('https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url);
|
545 |
+
?>
|
546 |
+
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?> mofa mofa-facebook" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top : 4px !important;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
547 |
Â
<?php
|
548 |
Â
}
|
549 |
Â
|
550 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
551 |
Â
$link = esc_url(empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username);
|
552 |
Â
?>
|
553 |
+
<a rel='nofollow' title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> mofa mofa-twitter" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
554 |
Â
<?php
|
555 |
Â
}
|
556 |
Â
|
557 |
Â
if( get_option('mo_openid_google_share_enable') ) {
|
558 |
Â
$link = esc_url('https://plus.google.com/share?url='.$url);
|
559 |
Â
?>
|
560 |
+
<a rel='nofollow' title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?> mofa mofa-google-plus" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
561 |
Â
<?php
|
562 |
Â
}
|
563 |
Â
|
564 |
Â
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
565 |
Â
$link = esc_url('http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt);
|
566 |
Â
?>
|
567 |
+
<a rel='nofollow' title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?> mofa mofa-vk" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
568 |
Â
<?php
|
569 |
Â
}
|
570 |
Â
|
571 |
Â
if( get_option('mo_openid_tumblr_share_enable') ) {
|
572 |
Â
$link = esc_url('http://www.tumblr.com/share/link?url='.$url.'&title='.$title);
|
573 |
Â
?>
|
574 |
+
<a rel='nofollow' title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> mofa mofa-tumblr" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
575 |
Â
<?php
|
576 |
Â
}
|
577 |
Â
|
578 |
Â
if( get_option('mo_openid_stumble_share_enable') ) {
|
579 |
Â
$link = esc_url('http://www.stumbleupon.com/submit?url='.$url.'&title='.$title);
|
580 |
Â
?>
|
581 |
+
<a rel='nofollow' title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> mofa mofa-stumbleupon" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
582 |
Â
<?php
|
583 |
Â
}
|
584 |
Â
|
585 |
Â
if( get_option('mo_openid_linkedin_share_enable') ) {
|
586 |
Â
$link = esc_url('https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt);
|
587 |
Â
?>
|
588 |
+
<a rel='nofollow' title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> mofa mofa-linkedin" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px !important;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
589 |
Â
<?php
|
590 |
Â
}
|
591 |
Â
|
592 |
Â
if( get_option('mo_openid_reddit_share_enable') ) {
|
593 |
Â
$link = esc_url('http://www.reddit.com/submit?url='.$url.'&title='.$title);
|
594 |
Â
?>
|
595 |
+
<a rel='nofollow' title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> mofa mofa-reddit" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
596 |
Â
<?php
|
597 |
Â
}
|
598 |
Â
|
599 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
600 |
Â
?>
|
601 |
+
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> mofa mofa-pinterest" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-5; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
602 |
Â
<?php
|
603 |
Â
}
|
604 |
Â
|
605 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
606 |
Â
$link = esc_url('https://getpocket.com/save?url='.$url.'&title='.$title);
|
607 |
Â
?>
|
608 |
+
<a rel='nofollow' title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> mofa mofa-get-pocket" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
609 |
Â
<?php
|
610 |
Â
}
|
611 |
Â
|
612 |
Â
if( get_option('mo_openid_digg_share_enable') ) {
|
613 |
Â
$link = esc_url('http://digg.com/submit?url='.$url.'&title='.$title);
|
614 |
Â
?>
|
615 |
+
<a rel='nofollow' title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> mofa mofa-digg" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
616 |
Â
<?php
|
617 |
Â
}
|
618 |
Â
|
619 |
Â
if( get_option('mo_openid_delicious_share_enable') ) {
|
620 |
Â
$link = esc_url('http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title);
|
621 |
Â
?>
|
622 |
+
<a rel='nofollow' title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> mofa mofa-delicious" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
623 |
Â
<?php
|
624 |
Â
}
|
625 |
Â
|
626 |
Â
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
627 |
Â
$link = esc_url('http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url);
|
628 |
Â
?>
|
629 |
+
<a rel='nofollow' title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> mofa mofa-odnoklassniki" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
630 |
Â
<?php
|
631 |
Â
}
|
632 |
Â
if( get_option('mo_openid_mail_share_enable') ) {
|
633 |
Â
?>
|
634 |
Â
<a rel='nofollow' title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link">
|
635 |
+
<i class=" <?php echo $selected_theme; ?> mofa mofa-envelope" style=" padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
636 |
Â
<?php
|
637 |
Â
}
|
638 |
Â
if( get_option('mo_openid_print_share_enable') ) {
|
639 |
Â
?>
|
640 |
Â
<a rel='nofollow' title="Print this page" onclick="javascript:window.print()" class="mo-openid-share-link">
|
641 |
+
<i class=" <?php echo $selected_theme; ?> mofa mofa-print" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
642 |
Â
<?php
|
643 |
Â
}
|
644 |
+
if( get_option('mo_openid_whatsapp_share_enable') && wp_is_mobile()) {
|
645 |
Â
|
646 |
+
?>
|
647 |
+
<a rel='nofollow'title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link">
|
648 |
+
<i class=" <?php echo $selected_theme; ?> mofa mofa-whatsapp" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
649 |
+
<?php
|
650 |
+
}
|
651 |
+
else if( get_option('mo_openid_whatsapp_share_enable') ) {
|
652 |
Â
|
653 |
+
?>
|
654 |
+
<a rel='nofollow' title="Whatsapp" target ='_blank' href='https://web.whatsapp.com/send?text=<?php echo $url?>' class="mo-openid-share-link">
|
655 |
+
<i class=" <?php echo $selected_theme; ?> mofa mofa-whatsapp" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
656 |
+
<?php
|
657 |
+
}
|
658 |
Â
}
|
659 |
Â
else{
|
660 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
661 |
+
$link = esc_url('https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url);
|
662 |
+
?>
|
663 |
Â
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link"><img alt='Facebook' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color:white;' src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
664 |
Â
<?php
|
665 |
Â
}
|
715 |
Â
|
716 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
717 |
Â
?>
|
718 |
+
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" ><img alt='Pinterest' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/pinterest.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
719 |
Â
<?php
|
720 |
Â
}
|
721 |
Â
|
759 |
Â
<img alt='Print this page' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/print.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>"></a>
|
760 |
Â
<?php
|
761 |
Â
}
|
762 |
+
if( get_option('mo_openid_whatsapp_share_enable') && wp_is_mobile()) {
|
763 |
Â
|
764 |
+
?>
|
765 |
+
<a rel='nofollow' title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link">
|
766 |
+
<img alt='Whatsapp' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/whatsapp.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>"></a>
|
767 |
+
<?php
|
768 |
+
}
|
769 |
+
else if( get_option('mo_openid_whatsapp_share_enable')) {
|
770 |
+
?>
|
771 |
+
<a rel='nofollow' title="Whatsapp" target ='_blank' href='https://web.whatsapp.com/send?text=<?php echo $url?>' class="mo-openid-share-link">
|
772 |
+
<img alt='Whatsapp' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/whatsapp.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>"></a>
|
773 |
+
<?php
|
774 |
+
}
|
775 |
Â
}
|
776 |
Â
?></p>
|
777 |
Â
</div>
|
class-mo-openid-sso-customer.php
DELETED
@@ -1,450 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/** miniOrange enables user to log in through OpenID to apps such as Google, Salesforce etc.
|
3 |
-
Copyright (C) 2015 miniOrange
|
4 |
-
|
5 |
-
This program is free software: you can redistribute it and/or modify
|
6 |
-
it under the terms of the GNU General Public License as published by
|
7 |
-
the Free Software Foundation, either version 3 of the License, or
|
8 |
-
(at your option) any later version.
|
9 |
-
|
10 |
-
This program is distributed in the hope that it will be useful,
|
11 |
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
-
GNU General Public License for more details.
|
14 |
-
|
15 |
-
You should have received a copy of the GNU General Public License
|
16 |
-
along with this program. If not, see <http://www.gnu.org/licenses/>
|
17 |
-
* @package miniOrange OAuth
|
18 |
-
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
|
19 |
-
*/
|
20 |
-
/**
|
21 |
-
This library is miniOrange Authentication Service.
|
22 |
-
Contains Request Calls to Customer service.
|
23 |
-
|
24 |
-
**/
|
25 |
-
|
26 |
-
class CustomerOpenID {
|
27 |
-
|
28 |
-
public $email;
|
29 |
-
public $phone;
|
30 |
-
|
31 |
-
/*
|
32 |
-
The customer key and API key given below are used to send email OTP notifications through the miniOrange server and will be common for all the users. Along with that the user's OTP is also validated through these keys which are important to call our cloud OTP service. Since this is an integral part of our registration process, these keys are hard-coded and set here. These keys are used by three functions - send_otp_token (send OTP on email), validate_otp_token (validate OTP) and mo_openid_send_email_alert (feedback email).
|
33 |
-
*/
|
34 |
-
private $defaultCustomerKey = "16555";
|
35 |
-
private $defaultApiKey = "fFd2XcvTGDemZvbw1bcUesNJWEqKbbUq";
|
36 |
-
|
37 |
-
function create_customer(){
|
38 |
-
|
39 |
-
$url = get_option('mo_openid_host_name') . '/moas/rest/customer/add';
|
40 |
-
$current_user = wp_get_current_user();
|
41 |
-
$this->email = get_option('mo_openid_admin_email');
|
42 |
-
$password = get_option('mo_openid_admin_password');
|
43 |
-
|
44 |
-
$fields = array(
|
45 |
-
'areaOfInterest' => 'WP OpenID Connect Login Plugin',
|
46 |
-
'email' => $this->email,
|
47 |
-
'password' => $password
|
48 |
-
);
|
49 |
-
$field_string = json_encode($fields);
|
50 |
-
|
51 |
-
$headers = array("Content-Type"=>"application/json","charset"=>"UTF-8","Authorization"=>"Basic");
|
52 |
-
|
53 |
-
$args = array(
|
54 |
-
'method' => 'POST',
|
55 |
-
'body' => $field_string,
|
56 |
-
'timeout' => '5',
|
57 |
-
'redirection' => '5',
|
58 |
-
'httpversion' => '1.0',
|
59 |
-
'blocking' => true,
|
60 |
-
'headers' => $headers
|
61 |
-
);
|
62 |
-
$response = self::mo_openid_wp_remote_post($url, $args);
|
63 |
-
return $response['body'];
|
64 |
-
}
|
65 |
-
|
66 |
-
function get_customer_key() {
|
67 |
-
$url = get_option('mo_openid_host_name') . "/moas/rest/customer/key";
|
68 |
-
$email = get_option("mo_openid_admin_email");
|
69 |
-
$password = get_option("mo_openid_admin_password");
|
70 |
-
|
71 |
-
$fields = array(
|
72 |
-
'email' => $email,
|
73 |
-
'password' => $password
|
74 |
-
);
|
75 |
-
$field_string = json_encode( $fields );
|
76 |
-
|
77 |
-
$headers = array("Content-Type"=>"application/json","charset"=>"UTF-8","Authorization"=>"Basic");
|
78 |
-
$args = array(
|
79 |
-
'method' => 'POST',
|
80 |
-
'body' => $field_string,
|
81 |
-
'timeout' => '5',
|
82 |
-
'redirection' => '5',
|
83 |
-
'httpversion' => '1.0',
|
84 |
-
'blocking' => true,
|
85 |
-
'headers' => $headers
|
86 |
-
);
|
87 |
-
$response = self::mo_openid_wp_remote_post($url, $args);
|
88 |
-
return $response['body'];
|
89 |
-
|
90 |
-
}
|
91 |
-
|
92 |
-
function check_customer() {
|
93 |
-
$url = get_option('mo_openid_host_name') . "/moas/rest/customer/check-if-exists";
|
94 |
-
$email = get_option("mo_openid_admin_email");
|
95 |
-
|
96 |
-
|
97 |
-
$fields = array(
|
98 |
-
'email' => $email
|
99 |
-
);
|
100 |
-
$field_string = json_encode( $fields );
|
101 |
-
|
102 |
-
$headers = array("Content-Type"=>"application/json","charset"=>"UTF-8","Authorization"=>"Basic");
|
103 |
-
$args = array(
|
104 |
-
'method' => 'POST',
|
105 |
-
'body' => $field_string,
|
106 |
-
'timeout' => '5',
|
107 |
-
'redirection' => '5',
|
108 |
-
'httpversion' => '1.0',
|
109 |
-
'blocking' => true,
|
110 |
-
'headers' => $headers
|
111 |
-
);
|
112 |
-
$response = self::mo_openid_wp_remote_post($url, $args);
|
113 |
-
return $response['body'];
|
114 |
-
}
|
115 |
-
|
116 |
-
function get_timestamp() {
|
117 |
-
$url = get_option ( 'mo_openid_host_name' ) . '/moas/rest/mobile/get-timestamp';
|
118 |
-
$response = self::mo_openid_wp_remote_post($url);
|
119 |
-
return $response['body'];
|
120 |
-
|
121 |
-
}
|
122 |
-
|
123 |
-
function check_customer_valid(){
|
124 |
-
$url = get_option('mo_openid_host_name') . '/moas/api/customer/license';
|
125 |
-
$customerKey = get_option('mo_openid_admin_customer_key');
|
126 |
-
$apiKey = get_option('mo_openid_admin_api_key');
|
127 |
-
|
128 |
-
/* Current time in milliseconds since midnight, January 1, 1970 UTC. */
|
129 |
-
$currentTimeInMillis = self::get_timestamp();
|
130 |
-
$stringToHash = $customerKey . $currentTimeInMillis . $apiKey;
|
131 |
-
/* Creating the Hash using SHA-512 algorithm */
|
132 |
-
$hashValue = hash("sha512", $stringToHash);
|
133 |
-
|
134 |
-
$fields = array(
|
135 |
-
'customerId' => $customerKey,
|
136 |
-
'applicationName' => 'wp_social_login'
|
137 |
-
);
|
138 |
-
$field_string = json_encode($fields);
|
139 |
-
|
140 |
-
$headers = array(
|
141 |
-
"Content-Type" => "application/json",
|
142 |
-
"Customer-Key" => $customerKey,
|
143 |
-
"Timestamp" => $currentTimeInMillis,
|
144 |
-
"Authorization" => $hashValue
|
145 |
-
);
|
146 |
-
$args = array(
|
147 |
-
'method' => 'POST',
|
148 |
-
'body' => $field_string,
|
149 |
-
'timeout' => '5',
|
150 |
-
'redirection' => '5',
|
151 |
-
'httpversion' => '1.0',
|
152 |
-
'blocking' => true,
|
153 |
-
'headers' => $headers
|
154 |
-
);
|
155 |
-
$response = self::mo_openid_wp_remote_post($url, $args);
|
156 |
-
return $response['body'];
|
157 |
-
}
|
158 |
-
|
159 |
-
function validate_otp_token($transactionId,$otpToken){
|
160 |
-
$url = get_option('mo_openid_host_name') . '/moas/api/auth/validate';
|
161 |
-
|
162 |
-
$customerKey = $this->defaultCustomerKey;
|
163 |
-
$apiKey = $this->defaultApiKey;
|
164 |
-
|
165 |
-
$username = get_option('mo_openid_admin_email');
|
166 |
-
|
167 |
-
/* Current time in milliseconds since midnight, January 1, 1970 UTC. */
|
168 |
-
$currentTimeInMillis = self::get_timestamp();
|
169 |
-
$stringToHash = $customerKey . $currentTimeInMillis . $apiKey;
|
170 |
-
$hashValue = hash("sha512", $stringToHash);
|
171 |
-
|
172 |
-
|
173 |
-
$fields = '';
|
174 |
-
|
175 |
-
//*check for otp over sms/email
|
176 |
-
$fields = array(
|
177 |
-
'txId' => $transactionId,
|
178 |
-
'token' => $otpToken
|
179 |
-
);
|
180 |
-
|
181 |
-
$field_string = json_encode($fields);
|
182 |
-
|
183 |
-
$headers = array(
|
184 |
-
"Content-Type" => "application/json",
|
185 |
-
"Customer-Key" => $customerKey,
|
186 |
-
"Timestamp" => $currentTimeInMillis,
|
187 |
-
"Authorization" => $hashValue
|
188 |
-
);
|
189 |
-
$args = array(
|
190 |
-
'method' => 'POST',
|
191 |
-
'body' => $field_string,
|
192 |
-
'timeout' => '5',
|
193 |
-
'redirection' => '5',
|
194 |
-
'httpversion' => '1.0',
|
195 |
-
'blocking' => true,
|
196 |
-
'headers' => $headers
|
197 |
-
);
|
198 |
-
$response = self::mo_openid_wp_remote_post($url, $args);
|
199 |
-
return $response['body'];
|
200 |
-
}
|
201 |
-
|
202 |
-
function mo_openid_send_email_alert($email,$phone,$message){
|
203 |
-
|
204 |
-
// $hostname = Utilities::getHostname();
|
205 |
-
$hostname = get_site_option('mo_openid_host_name') ;
|
206 |
-
$url = $hostname.'/moas/api/notify/send';
|
207 |
-
|
208 |
-
// $customer_details = Utilities::getCustomerDetails();
|
209 |
-
$customerKey = $this->defaultCustomerKey;
|
210 |
-
$apiKey = $this->defaultApiKey;
|
211 |
-
|
212 |
-
$currentTimeInMillis = self::get_timestamp();
|
213 |
-
$stringToHash = $customerKey . $currentTimeInMillis . $apiKey;
|
214 |
-
$hashValue = hash("sha512", $stringToHash);
|
215 |
-
$fromEmail = $email;
|
216 |
-
$subject = "MiniOrange Social Login Plugin Feedback: ".$email;
|
217 |
-
$site_url=site_url();
|
218 |
-
|
219 |
-
global $user;
|
220 |
-
$user= wp_get_current_user();
|
221 |
-
|
222 |
-
$query =" MiniOrange Social Login [Free] ";
|
223 |
-
$content='<div >Hello, <br><br>First Name :
|
224 |
-
<br><br>Last Name :
|
225 |
-
<br><br>Company :
|
226 |
-
<br><br>Phone Number :'.$phone.'
|
227 |
-
<br><br><b>Email :<a href="mailto:'.$fromEmail.'" target="_blank">'.$fromEmail.'</a></b>
|
228 |
-
<br><br><b>Plugin Deactivated: '.$query.'</b>
|
229 |
-
<br><br><b>Reason: '.$message.'</b></div>';
|
230 |
-
|
231 |
-
|
232 |
-
$fields = array(
|
233 |
-
'customerKey' => $customerKey,
|
234 |
-
'sendEmail' => true,
|
235 |
-
'email' => array(
|
236 |
-
'customerKey' => $customerKey,
|
237 |
-
'fromEmail' => $fromEmail,
|
238 |
-
'bccEmail' => 'socialloginsupport@xecurify.com',
|
239 |
-
'fromName' => 'miniOrange',
|
240 |
-
'toEmail' => 'socialloginsupport@xecurify.com',
|
241 |
-
'toName' => 'socialloginsupport@xecurify.com',
|
242 |
-
'subject' => $subject,
|
243 |
-
'content' => $content
|
244 |
-
),
|
245 |
-
);
|
246 |
-
$field_string = json_encode($fields);
|
247 |
-
|
248 |
-
|
249 |
-
$headers = array(
|
250 |
-
"Content-Type" => "application/json",
|
251 |
-
"Customer-Key" => $customerKey,
|
252 |
-
"Timestamp" => $currentTimeInMillis,
|
253 |
-
"Authorization" => $hashValue
|
254 |
-
);
|
255 |
-
$args = array(
|
256 |
-
'method' => 'POST',
|
257 |
-
'body' => $field_string,
|
258 |
-
'timeout' => '5',
|
259 |
-
'redirection' => '5',
|
260 |
-
'httpversion' => '1.0',
|
261 |
-
'blocking' => true,
|
262 |
-
'headers' => $headers
|
263 |
-
);
|
264 |
-
$response = self::mo_openid_wp_remote_post($url, $args);
|
265 |
-
return $response['body'];
|
266 |
-
}
|
267 |
-
|
268 |
-
function submit_contact_us( $email, $phone, $query ) {
|
269 |
-
$url = get_option('mo_openid_host_name') . '/moas/rest/customer/contact-us';
|
270 |
-
$current_user = wp_get_current_user();
|
271 |
-
$company = get_option('mo_openid_admin_company_name') ? get_option('mo_openid_admin_company_name') : $_SERVER ['SERVER_NAME'];
|
272 |
-
$first_name = get_option('mo_openid_admin_first_name') ? get_option('mo_openid_admin_first_name') : $current_user->user_firstname;
|
273 |
-
$last_name = get_option('mo_openid_admin_last_name') ? get_option('mo_openid_admin_last_name') : $current_user->user_lastname;
|
274 |
-
$query = '[WP OpenID Connect Social Login Free Plugin] ' . $query;
|
275 |
-
$fields = array(
|
276 |
-
'firstName' => $first_name,
|
277 |
-
'lastName' => $last_name,
|
278 |
-
'company' => $company,
|
279 |
-
'email' => $email,
|
280 |
-
'ccEmail' => 'socialloginsupport@xecurify.com',
|
281 |
-
'phone' => $phone,
|
282 |
-
'query' => $query
|
283 |
-
);
|
284 |
-
$field_string = json_encode( $fields );
|
285 |
-
|
286 |
-
$headers = array("Content-Type"=>"application/json","charset"=>"UTF-8","Authorization"=>"Basic");
|
287 |
-
$args = array(
|
288 |
-
'method' => 'POST',
|
289 |
-
'body' => $field_string,
|
290 |
-
'timeout' => '5',
|
291 |
-
'redirection' => '5',
|
292 |
-
'httpversion' => '1.0',
|
293 |
-
'blocking' => true,
|
294 |
-
'headers' => $headers
|
295 |
-
);
|
296 |
-
$response = self::mo_openid_wp_remote_post($url, $args);
|
297 |
-
return $response['body'];
|
298 |
-
}
|
299 |
-
|
300 |
-
|
301 |
-
function forgot_password($email) {
|
302 |
-
|
303 |
-
$url = get_option('mo_openid_host_name') . '/moas/rest/customer/password-reset';
|
304 |
-
|
305 |
-
/* The customer Key provided to you */
|
306 |
-
$customerKey = get_option('mo_openid_admin_customer_key');
|
307 |
-
|
308 |
-
/* The customer API Key provided to you */
|
309 |
-
$apiKey = get_option('mo_openid_admin_api_key');
|
310 |
-
|
311 |
-
/* Current time in milliseconds since midnight, January 1, 1970 UTC. */
|
312 |
-
$currentTimeInMillis = round ( microtime ( true ) * 1000 );
|
313 |
-
$stringToHash = $customerKey . number_format ( $currentTimeInMillis, 0, '', '' ) . $apiKey;
|
314 |
-
$hashValue = hash("sha512", $stringToHash);
|
315 |
-
|
316 |
-
$fields = '';
|
317 |
-
|
318 |
-
//*check for otp over sms/email
|
319 |
-
$fields = array(
|
320 |
-
'email' => $email
|
321 |
-
);
|
322 |
-
|
323 |
-
$field_string = json_encode($fields);
|
324 |
-
|
325 |
-
$headers = array(
|
326 |
-
"Content-Type" => "application/json",
|
327 |
-
"Customer-Key" => $customerKey,
|
328 |
-
"Timestamp" => $currentTimeInMillis,
|
329 |
-
"Authorization" => $hashValue
|
330 |
-
);
|
331 |
-
$args = array(
|
332 |
-
'method' => 'POST',
|
333 |
-
'body' => $field_string,
|
334 |
-
'timeout' => '5',
|
335 |
-
'redirection' => '5',
|
336 |
-
'httpversion' => '1.0',
|
337 |
-
'blocking' => true,
|
338 |
-
'headers' => $headers
|
339 |
-
);
|
340 |
-
$response = self::mo_openid_wp_remote_post($url, $args);
|
341 |
-
return $response['body'];
|
342 |
-
}
|
343 |
-
|
344 |
-
function check_customer_ln($licience_type){
|
345 |
-
|
346 |
-
$url = get_option('mo_openid_host_name') . '/moas/rest/customer/license';
|
347 |
-
$customerKey = get_option ( 'mo_openid_admin_customer_key' );
|
348 |
-
$apiKey = get_option ( 'mo_openid_admin_api_key' );
|
349 |
-
|
350 |
-
$currentTimeInMillis = self::get_timestamp();
|
351 |
-
$stringToHash = $customerKey . $currentTimeInMillis . $apiKey;
|
352 |
-
$hashValue = hash("sha512", $stringToHash);
|
353 |
-
if($licience_type=="general") {
|
354 |
-
$fields = array(
|
355 |
-
'customerId' => $customerKey,
|
356 |
-
'applicationName' => 'wp_social_login_premium'
|
357 |
-
);
|
358 |
-
}
|
359 |
-
else if($licience_type=="extra_attributes_addon") {
|
360 |
-
$fields = array(
|
361 |
-
'customerId' => $customerKey,
|
362 |
-
'applicationName' => 'wp_social_login_extra_attributes_addon'
|
363 |
-
);
|
364 |
-
}
|
365 |
-
$field_string = json_encode($fields);
|
366 |
-
|
367 |
-
$headers = array(
|
368 |
-
"Content-Type" => "application/json",
|
369 |
-
"Customer-Key" => $customerKey,
|
370 |
-
"Timestamp" => $currentTimeInMillis,
|
371 |
-
"Authorization" => $hashValue
|
372 |
-
);
|
373 |
-
$args = array(
|
374 |
-
'method' => 'POST',
|
375 |
-
'body' => $field_string,
|
376 |
-
'timeout' => '5',
|
377 |
-
'redirection' => '5',
|
378 |
-
'httpversion' => '1.0',
|
379 |
-
'blocking' => true,
|
380 |
-
'headers' => $headers
|
381 |
-
);
|
382 |
-
$response = self::mo_openid_wp_remote_post($url, $args);
|
383 |
-
return $response['body'];
|
384 |
-
}
|
385 |
-
|
386 |
-
function mo_openid_vl($code,$active) {
|
387 |
-
if($active)
|
388 |
-
$url = get_option ( 'mo_openid_host_name' ) . '/moas/api/backupcode/check';
|
389 |
-
else
|
390 |
-
$url = get_option ( 'mo_openid_host_name' ) . '/moas/api/backupcode/verify';
|
391 |
-
|
392 |
-
|
393 |
-
/* The customer Key provided to you */
|
394 |
-
$customerKey = get_option ( 'mo_openid_admin_customer_key' );
|
395 |
-
|
396 |
-
/* The customer API Key provided to you */
|
397 |
-
$apiKey = get_option ( 'mo_openid_admin_api_key' );
|
398 |
-
|
399 |
-
$currentTimeInMillis = self::get_timestamp();
|
400 |
-
$stringToHash = $customerKey . $currentTimeInMillis . $apiKey;
|
401 |
-
$hashValue = hash ( "sha512", $stringToHash );
|
402 |
-
|
403 |
-
// *check for otp over sms/email
|
404 |
-
|
405 |
-
$fields = array (
|
406 |
-
'code' => $code ,
|
407 |
-
'customerKey' => $customerKey,
|
408 |
-
'additionalFields' => array(
|
409 |
-
'field1' => home_url()
|
410 |
-
)
|
411 |
-
|
412 |
-
);
|
413 |
-
|
414 |
-
$field_string = json_encode ( $fields );
|
415 |
-
|
416 |
-
$headers = array(
|
417 |
-
"Content-Type" => "application/json",
|
418 |
-
"Customer-Key" => $customerKey,
|
419 |
-
"Timestamp" => $currentTimeInMillis,
|
420 |
-
"Authorization" => $hashValue
|
421 |
-
);
|
422 |
-
$args = array(
|
423 |
-
'method' => 'POST',
|
424 |
-
'body' => $field_string,
|
425 |
-
'timeout' => '5',
|
426 |
-
'redirection' => '5',
|
427 |
-
'httpversion' => '1.0',
|
428 |
-
'blocking' => true,
|
429 |
-
'headers' => $headers
|
430 |
-
);
|
431 |
-
$response = self::mo_openid_wp_remote_post($url, $args);
|
432 |
-
return $response['body'];
|
433 |
-
|
434 |
-
}
|
435 |
-
|
436 |
-
function mo_openid_wp_remote_post($url, $args = array()){
|
437 |
-
|
438 |
-
$response = wp_remote_post($url, $args);
|
439 |
-
if(!is_wp_error($response)){
|
440 |
-
return $response;
|
441 |
-
} else {
|
442 |
-
$show_error = new Miniorange_OpenID_SSO();
|
443 |
-
update_option('mo_openid_message', 'Unable to connect to the Internet. Please try again.');
|
444 |
-
$show_error->mo_openid_success_message();
|
445 |
-
}
|
446 |
-
}
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
}?>
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
class-mo-openid-sso-shortcode-buttons.php
CHANGED
@@ -2,8 +2,6 @@
|
|
2 |
Â
|
3 |
Â
function count_convert($count)
|
4 |
Â
{
|
5 |
-
if($count=="")
|
6 |
-
$count=0;
|
7 |
Â
if($count>=1000000){
|
8 |
Â
$count=$count/1000000;
|
9 |
Â
$count=$count."M";
|
@@ -18,6 +16,7 @@ function count_convert($count)
|
|
18 |
Â
|
19 |
Â
//shortcode for horizontal sharing
|
20 |
Â
function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
Â
|
|
21 |
Â
$html = '';
|
22 |
Â
$selected_theme = isset( $atts['shape'] )? esc_attr($atts['shape']) : esc_attr(get_option('mo_openid_share_theme'));
|
23 |
Â
$selected_direction = esc_attr(get_option('mo_openid_share_widget_customize_direction'));
|
@@ -31,6 +30,7 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
31 |
Â
$twitter_username = get_option('mo_openid_share_twitter_username');
|
32 |
Â
$url = isset( $atts['url'])? esc_url($atts['url']) : esc_url(get_permalink());
|
33 |
Â
$sharing_counts = isset( $atts['sharecnt'] )? esc_attr($atts['sharecnt']) : esc_attr(get_option('mo_openid_share_count'));
|
Â
|
|
34 |
Â
if(!$url) {
|
35 |
Â
$url = esc_attr(get_site_url());
|
36 |
Â
}
|
@@ -52,10 +52,10 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
52 |
Â
$email_body = get_option('mo_openid_share_email_body');
|
53 |
Â
$email_body = str_replace('##url##', $url, $email_body);
|
54 |
Â
|
55 |
-
if($custom_theme == '
|
56 |
Â
$custom_theme = 'custom';
|
57 |
Â
}
|
58 |
-
if($custom_theme == '
|
59 |
Â
$custom_theme = 'customFont';
|
60 |
Â
}
|
61 |
Â
|
@@ -69,35 +69,37 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
69 |
Â
$html .= "<div class='horizontal'>";
|
70 |
Â
if($custom_theme == 'custom'){
|
71 |
Â
if($sharing_counts) {
|
72 |
-
$html.="<div class='
|
73 |
Â
}
|
74 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
75 |
Â
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
76 |
Â
if ($sharing_counts){
|
77 |
Â
if(get_option('mo_openid_Facebook_share_count_api')!="") {
|
78 |
Â
$count = get_transient('facebook');
|
79 |
-
if ($count
|
80 |
-
$content = file_get_contents("https://graph.facebook.com/v3.3/?id=" . $url . "&fields=engagement&access_token="
|
81 |
-
$content
|
82 |
-
$content
|
83 |
-
$count
|
84 |
Â
set_transient('facebook', $count, 3600);
|
85 |
Â
}
|
86 |
Â
}
|
87 |
Â
$html .= "<li>";}
|
88 |
-
$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. "
|
Â
|
|
89 |
Â
}
|
90 |
Â
|
91 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
Â
|
|
92 |
Â
$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;
|
93 |
-
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. "
|
94 |
Â
}
|
95 |
Â
|
96 |
Â
if( get_option('mo_openid_google_share_enable') ) {
|
97 |
Â
if ($sharing_counts){
|
98 |
Â
$html .= "<li>";}
|
99 |
Â
$link = 'https://plus.google.com/share?url='.$url;
|
100 |
-
$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. "
|
101 |
Â
}
|
102 |
Â
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
103 |
Â
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
@@ -113,11 +115,12 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
113 |
Â
}
|
114 |
Â
$html .= "<li>";
|
115 |
Â
}
|
116 |
-
$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. "
|
117 |
Â
}
|
118 |
Â
if( get_option('mo_openid_tumblr_share_enable') ) {
|
119 |
Â
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
120 |
-
|
Â
|
|
121 |
Â
}
|
122 |
Â
if( get_option('mo_openid_stumble_share_enable') ) {
|
123 |
Â
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
@@ -133,14 +136,14 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
133 |
Â
}
|
134 |
Â
$html .= "<li>";
|
135 |
Â
}
|
136 |
-
$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. "
|
137 |
Â
}
|
138 |
Â
if( get_option('mo_openid_linkedin_share_enable') ) {
|
139 |
Â
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
140 |
Â
if ($sharing_counts){
|
141 |
Â
$html .= "<li>";
|
142 |
Â
}
|
143 |
-
$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. "
|
144 |
Â
}
|
145 |
Â
|
146 |
Â
if( get_option('mo_openid_reddit_share_enable') ) {
|
@@ -148,13 +151,13 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
148 |
Â
if ($sharing_counts){
|
149 |
Â
$html .= "<li>";
|
150 |
Â
}
|
151 |
-
$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. "
|
152 |
Â
}
|
153 |
Â
|
154 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
155 |
Â
if ($sharing_counts){
|
156 |
Â
$count = get_transient( 'pinterest' );
|
157 |
-
if($count
|
158 |
Â
$content_pint = file_get_contents("https://widgets.pinterest.com/v1/urls/count.json?source=6&url=".$url);
|
159 |
Â
$body = preg_replace( '/^receiveCount\((.*)\)$/', '\\1', $content_pint );
|
160 |
Â
$count=explode(":",$body);
|
@@ -164,38 +167,38 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
164 |
Â
}
|
165 |
Â
$html .= "<li>";
|
166 |
Â
}
|
167 |
-
$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. "
|
168 |
Â
}
|
169 |
Â
|
170 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
171 |
Â
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
172 |
-
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. "
|
173 |
Â
}
|
174 |
Â
if( get_option('mo_openid_digg_share_enable') ) {
|
175 |
Â
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
176 |
-
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. "
|
177 |
Â
}
|
178 |
Â
if( get_option('mo_openid_delicious_share_enable') ) {
|
179 |
Â
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
180 |
-
if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Delicious' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. "
|
181 |
Â
}
|
182 |
Â
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
183 |
Â
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
184 |
-
if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Odnoklassniki' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. "
|
185 |
Â
}
|
186 |
Â
if( get_option('mo_openid_mail_share_enable') ) {
|
187 |
-
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. "
|
188 |
Â
}
|
189 |
Â
if( get_option('mo_openid_print_share_enable') ) {
|
190 |
-
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. "
|
191 |
Â
}
|
192 |
Â
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
193 |
Â
|
194 |
Â
if(!wp_is_mobile()){
|
195 |
-
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. '
|
196 |
Â
}
|
197 |
Â
else{
|
198 |
-
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. '
|
199 |
Â
|
200 |
Â
}
|
201 |
Â
}
|
@@ -207,34 +210,36 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
207 |
Â
|
208 |
Â
else if($custom_theme == 'customFont') {
|
209 |
Â
if ($sharing_counts) {
|
210 |
-
$html .= "<div class='
|
211 |
Â
}
|
212 |
Â
if (get_option('mo_openid_facebook_share_enable')) {
|
213 |
Â
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href=' . $url;
|
214 |
Â
if ($sharing_counts){
|
215 |
Â
if(get_option('mo_openid_Facebook_share_count_api')!="") {
|
216 |
Â
$count = get_transient('facebook');
|
217 |
-
if ($count
|
218 |
-
$content = file_get_contents("https://graph.facebook.com/v3.3/?id=" . $url . "&fields=engagement&access_token="
|
219 |
-
$content
|
220 |
-
$content
|
221 |
-
$count
|
222 |
Â
set_transient('facebook', $count, 3600);
|
223 |
Â
}
|
224 |
Â
}
|
225 |
-
$html .= "<li style='line-height: 0.0px'>";
|
Â
|
|
Â
|
|
226 |
Â
}
|
227 |
Â
|
228 |
Â
if (get_option('mo_openid_twitter_share_enable')) {
|
229 |
Â
$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;
|
230 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . "
|
231 |
Â
}
|
232 |
Â
|
233 |
Â
if (get_option('mo_openid_google_share_enable')) {
|
234 |
Â
|
235 |
Â
$link = 'https://plus.google.com/share?url=' . $url;
|
236 |
Â
if ($sharing_counts){
|
237 |
-
$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Google' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class='
|
238 |
Â
}
|
239 |
Â
if (get_option('mo_openid_vkontakte_share_enable')) {
|
240 |
Â
$link = 'http://vk.com/share.php?url=' . $url . '&title=' . $title . '&description=' . $excerpt;
|
@@ -248,11 +253,11 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
248 |
Â
$count=count_convert($count);
|
249 |
Â
set_transient('vkontakte', $count, 3600);
|
250 |
Â
}
|
251 |
-
$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 - 6) . "px !important'><i class=' " . $selected_theme . "
|
252 |
Â
}
|
253 |
Â
if (get_option('mo_openid_tumblr_share_enable')) {
|
254 |
Â
$link = 'http://www.tumblr.com/share/link?url=' . $url . '&title=' . $title;
|
255 |
-
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 - 6) . "px !important'><i class=' " . $selected_theme . "
|
256 |
Â
}
|
257 |
Â
if (get_option('mo_openid_stumble_share_enable')) {
|
258 |
Â
$link = 'http://www.stumbleupon.com/submit?url=' . $url . '&title=' . $title;
|
@@ -268,15 +273,15 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
268 |
Â
}
|
269 |
Â
$html .= "<li style='line-height: 0.0px'>";
|
270 |
Â
}
|
271 |
-
$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 . "
|
272 |
Â
}
|
273 |
Â
if (get_option('mo_openid_linkedin_share_enable')) {
|
274 |
Â
$link = 'https://www.linkedin.com/shareArticle?mini=true&title=' . $title . '&url=' . $url . '&summary=' . $excerpt;
|
275 |
-
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 . "
|
276 |
Â
}
|
277 |
Â
if (get_option('mo_openid_reddit_share_enable')) {
|
278 |
Â
$link = 'http://www.reddit.com/submit?url=' . $url . '&title=' . $title;
|
279 |
-
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 . "
|
280 |
Â
}
|
281 |
Â
if (get_option('mo_openid_pinterest_share_enable')) {
|
282 |
Â
if ($sharing_counts){
|
@@ -289,36 +294,36 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
289 |
Â
$count=count_convert($count[0]);
|
290 |
Â
set_transient('pinterest', $count, 3600);
|
291 |
Â
}
|
292 |
-
$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 . "
|
293 |
Â
}
|
294 |
Â
|
295 |
Â
if (get_option('mo_openid_pocket_share_enable')) {
|
296 |
Â
$link = 'https://getpocket.com/save?url=' . $url . '&title=' . $title;
|
297 |
-
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 . "
|
298 |
Â
}
|
299 |
Â
if (get_option('mo_openid_digg_share_enable')) {
|
300 |
Â
$link = 'http://digg.com/submit?url=' . $url . '&title=' . $title;
|
301 |
-
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 . "
|
302 |
Â
}
|
303 |
Â
if (get_option('mo_openid_delicious_share_enable')) {
|
304 |
Â
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url=' . $url . '&title=' . $title;
|
305 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Delicious' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . "
|
306 |
Â
}
|
307 |
Â
if (get_option('mo_openid_odnoklassniki_share_enable')) {
|
308 |
Â
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments=' . $excerpt . '&st._surl=' . $url;
|
309 |
-
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Odnoklassniki' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . "
|
310 |
Â
}
|
311 |
Â
if (get_option('mo_openid_mail_share_enable')) {
|
312 |
-
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 . "
|
313 |
Â
}
|
314 |
Â
if (get_option('mo_openid_print_share_enable')) {
|
315 |
-
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 . "
|
316 |
Â
}
|
317 |
Â
if (get_option('mo_openid_whatsapp_share_enable')) {
|
318 |
Â
if (wp_is_mobile()) {
|
319 |
-
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 . '
|
320 |
Â
} else {
|
321 |
-
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 . '
|
322 |
Â
}
|
323 |
Â
}
|
324 |
Â
if ($sharing_counts) {
|
@@ -330,7 +335,7 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
330 |
Â
else {
|
331 |
Â
|
332 |
Â
if ($sharing_counts) {
|
333 |
-
$html .= "<div class='
|
334 |
Â
}
|
335 |
Â
|
336 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
@@ -338,15 +343,17 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
338 |
Â
if ($sharing_counts){
|
339 |
Â
if(get_option('mo_openid_Facebook_share_count_api')!="") {
|
340 |
Â
$count = get_transient('facebook');
|
341 |
-
if ($count
|
342 |
-
$content = file_get_contents("https://graph.facebook.com/v3.3/?id=" . $url . "&fields=engagement&access_token="
|
343 |
-
$content
|
344 |
-
$content
|
345 |
-
$count
|
346 |
Â
set_transient('facebook', $count, 3600);
|
347 |
Â
}
|
348 |
Â
}
|
349 |
-
$html .= "<li style='line-height: 0.0px'>";
|
Â
|
|
Â
|
|
350 |
Â
}
|
351 |
Â
|
352 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
@@ -414,7 +421,7 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
414 |
Â
$count=count_convert($count[0]);
|
415 |
Â
set_transient('pinterest', $count, 3600);
|
416 |
Â
}
|
417 |
-
$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) . "px !important'><img alt='Pinterest' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/
|
418 |
Â
}
|
419 |
Â
|
420 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
@@ -498,7 +505,7 @@ function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt =
|
|
498 |
Â
$top_offset = isset( $atts['topoffset'] )? esc_attr($atts['topoffset']) : '100';
|
499 |
Â
|
500 |
Â
|
501 |
-
$twitter_username = get_option('mo_openid_share_twitter_username');
|
502 |
Â
$url = isset( $atts['url'])? esc_url($atts['url']) : esc_url("http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]");
|
503 |
Â
|
504 |
Â
$email_subject = esc_attr(get_option('mo_openid_share_email_subject'));
|
@@ -523,79 +530,79 @@ function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt =
|
|
523 |
Â
|
524 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
525 |
Â
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
526 |
-
$html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $link . '"' .", 1000, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. "
|
527 |
Â
}
|
528 |
Â
|
529 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
530 |
Â
$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;
|
531 |
-
$html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. "
|
532 |
Â
|
533 |
Â
}
|
534 |
Â
|
535 |
Â
if( get_option('mo_openid_google_share_enable') ) {
|
536 |
Â
$link = "https://plus.google.com/share?url=".$url;
|
537 |
-
$html .= "<a rel='nofollow' title='Google' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. "
|
538 |
Â
|
539 |
Â
}
|
540 |
Â
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
541 |
Â
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
542 |
-
$html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. "
|
543 |
Â
}
|
544 |
Â
if( get_option('mo_openid_tumblr_share_enable') ) {
|
545 |
Â
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
546 |
-
$html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. "
|
547 |
Â
}
|
548 |
Â
if( get_option('mo_openid_stumble_share_enable') ) {
|
549 |
Â
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
550 |
-
$html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. "
|
551 |
Â
}
|
552 |
Â
if( get_option('mo_openid_linkedin_share_enable') ) {
|
553 |
Â
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
554 |
Â
|
555 |
Â
|
556 |
-
$html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. "
|
557 |
Â
|
558 |
Â
}
|
559 |
Â
|
560 |
Â
if( get_option('mo_openid_reddit_share_enable') ) {
|
561 |
Â
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
562 |
-
$html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. "
|
563 |
Â
}
|
564 |
Â
|
565 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
566 |
-
$html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. "
|
567 |
Â
|
568 |
Â
}
|
569 |
Â
|
570 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
571 |
Â
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
572 |
-
$html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. "
|
573 |
Â
}
|
574 |
Â
|
575 |
Â
if( get_option('mo_openid_digg_share_enable') ) {
|
576 |
Â
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
577 |
-
$html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. "
|
578 |
Â
}
|
579 |
Â
if( get_option('mo_openid_delicious_share_enable') ) {
|
580 |
Â
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
581 |
-
$html .= "<a rel='nofollow' title='Delicious' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. "
|
582 |
Â
}
|
583 |
Â
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
584 |
Â
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
585 |
-
$html .= "<a rel='nofollow' title='Odnoklassniki' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. "
|
586 |
Â
}
|
587 |
Â
if( get_option('mo_openid_mail_share_enable') ) {
|
588 |
-
$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. "
|
589 |
Â
}
|
590 |
Â
if( get_option('mo_openid_print_share_enable') ) {
|
591 |
-
$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. "
|
592 |
Â
}
|
593 |
Â
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
594 |
Â
if(wp_is_mobile()){
|
595 |
-
$html .= '<a rel="nofollow" title="Whatsapp" href="whatsapp://send?text=' . $url ."\" class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. "
|
596 |
Â
}
|
597 |
Â
else{
|
598 |
-
$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. "
|
599 |
Â
}
|
600 |
Â
}
|
601 |
Â
|
@@ -606,71 +613,71 @@ function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt =
|
|
606 |
Â
|
607 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
608 |
Â
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
609 |
-
$html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='
|
610 |
Â
}
|
611 |
Â
|
612 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
613 |
Â
$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;
|
614 |
-
$html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='
|
615 |
Â
}
|
616 |
Â
|
617 |
Â
if( get_option('mo_openid_google_share_enable') ) {
|
618 |
Â
|
619 |
Â
$link = 'https://plus.google.com/share?url='.$url;
|
620 |
-
$html .= "<a rel='nofollow' title='Google' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link'><i class='
|
621 |
Â
}
|
622 |
Â
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
623 |
Â
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
624 |
-
$html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='
|
625 |
Â
}
|
626 |
Â
if( get_option('mo_openid_tumblr_share_enable') ) {
|
627 |
Â
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
628 |
-
$html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='
|
629 |
Â
}
|
630 |
Â
if( get_option('mo_openid_stumble_share_enable') ) {
|
631 |
Â
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
632 |
-
$html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='
|
633 |
Â
}
|
634 |
Â
if( get_option('mo_openid_linkedin_share_enable') ) {
|
635 |
Â
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
636 |
-
$html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='
|
637 |
Â
}
|
638 |
Â
if( get_option('mo_openid_reddit_share_enable') ) {
|
639 |
Â
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
640 |
-
$html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='
|
641 |
Â
}
|
642 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
643 |
-
$html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' ><i class='
|
644 |
Â
}
|
645 |
Â
|
646 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
647 |
Â
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
648 |
-
$html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='
|
649 |
Â
}
|
650 |
Â
if( get_option('mo_openid_digg_share_enable') ) {
|
651 |
Â
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
652 |
-
$html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='
|
653 |
Â
}
|
654 |
Â
if( get_option('mo_openid_delicious_share_enable') ) {
|
655 |
Â
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
656 |
-
$html .= "<a rel='nofollow' title='Delicious' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='
|
657 |
Â
}
|
658 |
Â
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
659 |
Â
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
660 |
-
$html .= "<a rel='nofollow' title='Odnoklassniki' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='
|
661 |
Â
}
|
662 |
Â
if( get_option('mo_openid_mail_share_enable') ) {
|
663 |
-
$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='
|
664 |
Â
}
|
665 |
Â
if( get_option('mo_openid_print_share_enable') ) {
|
666 |
-
$html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' ><i class='
|
667 |
Â
}
|
668 |
Â
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
669 |
Â
if(wp_is_mobile()){
|
670 |
-
$html .= '<a rel="nofollow" title="Whatsapp" href="whatsapp://send?text=' . $url ."\" class='mo-openid-share-link' ><i class='
|
671 |
Â
}
|
672 |
Â
else{
|
673 |
-
$html .= '<a rel="nofollow" title="Whatsapp" target ="_blank" href="https://web.whatsapp.com/send?text=' . $url ."\" class='mo-openid-share-link' ><i class='
|
674 |
Â
}
|
675 |
Â
}
|
676 |
Â
|
@@ -715,7 +722,7 @@ function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt =
|
|
715 |
Â
$html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Reddit' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/reddit.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
716 |
Â
}
|
717 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
718 |
-
$html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link'><img alt='Pinterest' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/
|
719 |
Â
}
|
720 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
721 |
Â
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
2 |
Â
|
3 |
Â
function count_convert($count)
|
4 |
Â
{
|
Â
|
|
Â
|
|
5 |
Â
if($count>=1000000){
|
6 |
Â
$count=$count/1000000;
|
7 |
Â
$count=$count."M";
|
16 |
Â
|
17 |
Â
//shortcode for horizontal sharing
|
18 |
Â
function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
19 |
+
|
20 |
Â
$html = '';
|
21 |
Â
$selected_theme = isset( $atts['shape'] )? esc_attr($atts['shape']) : esc_attr(get_option('mo_openid_share_theme'));
|
22 |
Â
$selected_direction = esc_attr(get_option('mo_openid_share_widget_customize_direction'));
|
30 |
Â
$twitter_username = get_option('mo_openid_share_twitter_username');
|
31 |
Â
$url = isset( $atts['url'])? esc_url($atts['url']) : esc_url(get_permalink());
|
32 |
Â
$sharing_counts = isset( $atts['sharecnt'] )? esc_attr($atts['sharecnt']) : esc_attr(get_option('mo_openid_share_count'));
|
33 |
+
|
34 |
Â
if(!$url) {
|
35 |
Â
$url = esc_attr(get_site_url());
|
36 |
Â
}
|
52 |
Â
$email_body = get_option('mo_openid_share_email_body');
|
53 |
Â
$email_body = str_replace('##url##', $url, $email_body);
|
54 |
Â
|
55 |
+
if($custom_theme == 'custom'){
|
56 |
Â
$custom_theme = 'custom';
|
57 |
Â
}
|
58 |
+
if($custom_theme == 'customFont'){
|
59 |
Â
$custom_theme = 'customFont';
|
60 |
Â
}
|
61 |
Â
|
69 |
Â
$html .= "<div class='horizontal'>";
|
70 |
Â
if($custom_theme == 'custom'){
|
71 |
Â
if($sharing_counts) {
|
72 |
+
$html.= "<div class='mo_openid_sharecount'><ul class='mo_openid_share_count_icon'>";
|
73 |
Â
}
|
74 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
75 |
Â
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
76 |
Â
if ($sharing_counts){
|
77 |
Â
if(get_option('mo_openid_Facebook_share_count_api')!="") {
|
78 |
Â
$count = get_transient('facebook');
|
79 |
+
if ($count===false) {
|
80 |
+
$content = file_get_contents("https://graph.facebook.com/v3.3/?id=" . $url . "&fields=engagement&access_token=".get_option('mo_openid_Facebook_share_count_api'));
|
81 |
+
$content=explode('share_count":',$content);
|
82 |
+
$content=explode(',',$content[1]);
|
83 |
+
$count=$content[0];
|
84 |
Â
set_transient('facebook', $count, 3600);
|
85 |
Â
}
|
86 |
Â
}
|
87 |
Â
$html .= "<li>";}
|
88 |
+
$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. " mofa mofa-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>";};
|
89 |
+
|
90 |
Â
}
|
91 |
Â
|
92 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
93 |
+
|
94 |
Â
$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;
|
95 |
+
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. " mofa mofa-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>";};
|
96 |
Â
}
|
97 |
Â
|
98 |
Â
if( get_option('mo_openid_google_share_enable') ) {
|
99 |
Â
if ($sharing_counts){
|
100 |
Â
$html .= "<li>";}
|
101 |
Â
$link = 'https://plus.google.com/share?url='.$url;
|
102 |
+
$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. " mofa mofa-google-plus' 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>";};
|
103 |
Â
}
|
104 |
Â
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
105 |
Â
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
115 |
Â
}
|
116 |
Â
$html .= "<li>";
|
117 |
Â
}
|
118 |
+
$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. " mofa mofa-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 .= "<span style='margin-left : " . ($spaceBetweenIcons) . "px !important'>$count</span></li>";};
|
119 |
Â
}
|
120 |
Â
if( get_option('mo_openid_tumblr_share_enable') ) {
|
121 |
Â
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
122 |
+
|
123 |
+
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. " mofa mofa-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>";};
|
124 |
Â
}
|
125 |
Â
if( get_option('mo_openid_stumble_share_enable') ) {
|
126 |
Â
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
136 |
Â
}
|
137 |
Â
$html .= "<li>";
|
138 |
Â
}
|
139 |
+
$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. " mofa mofa-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 .= "<span style='margin-left : " . ($spaceBetweenIcons) . "px !important'>$count</span></li>";};
|
140 |
Â
}
|
141 |
Â
if( get_option('mo_openid_linkedin_share_enable') ) {
|
142 |
Â
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
143 |
Â
if ($sharing_counts){
|
144 |
Â
$html .= "<li>";
|
145 |
Â
}
|
146 |
+
$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. " mofa mofa-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>";};
|
147 |
Â
}
|
148 |
Â
|
149 |
Â
if( get_option('mo_openid_reddit_share_enable') ) {
|
151 |
Â
if ($sharing_counts){
|
152 |
Â
$html .= "<li>";
|
153 |
Â
}
|
154 |
+
$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. " mofa mofa-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>";};
|
155 |
Â
}
|
156 |
Â
|
157 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
158 |
Â
if ($sharing_counts){
|
159 |
Â
$count = get_transient( 'pinterest' );
|
160 |
+
if($count==false) {
|
161 |
Â
$content_pint = file_get_contents("https://widgets.pinterest.com/v1/urls/count.json?source=6&url=".$url);
|
162 |
Â
$body = preg_replace( '/^receiveCount\((.*)\)$/', '\\1', $content_pint );
|
163 |
Â
$count=explode(":",$body);
|
167 |
Â
}
|
168 |
Â
$html .= "<li>";
|
169 |
Â
}
|
170 |
+
$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. " mofa mofa-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 .= "<span style='margin-left : " . ($spaceBetweenIcons) . "px !important'>$count</span></li>";};
|
171 |
Â
}
|
172 |
Â
|
173 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
174 |
Â
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
175 |
+
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. " mofa mofa-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>";};
|
176 |
Â
}
|
177 |
Â
if( get_option('mo_openid_digg_share_enable') ) {
|
178 |
Â
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
179 |
+
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. " mofa mofa-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>";};
|
180 |
Â
}
|
181 |
Â
if( get_option('mo_openid_delicious_share_enable') ) {
|
182 |
Â
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
183 |
+
if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Delicious' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " mofa mofa-delicious' 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>";};
|
184 |
Â
}
|
185 |
Â
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
186 |
Â
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
187 |
+
if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Odnoklassniki' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " mofa mofa-odnoklassniki' 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>";};
|
188 |
Â
}
|
189 |
Â
if( get_option('mo_openid_mail_share_enable') ) {
|
190 |
+
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. " mofa mofa-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>";};
|
191 |
Â
}
|
192 |
Â
if( get_option('mo_openid_print_share_enable') ) {
|
193 |
+
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. " mofa mofa-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>";};
|
194 |
Â
}
|
195 |
Â
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
196 |
Â
|
197 |
Â
if(!wp_is_mobile()){
|
198 |
+
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. ' mofa mofa-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>";};
|
199 |
Â
}
|
200 |
Â
else{
|
201 |
+
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. ' mofa mofa-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>";};
|
202 |
Â
|
203 |
Â
}
|
204 |
Â
}
|
210 |
Â
|
211 |
Â
else if($custom_theme == 'customFont') {
|
212 |
Â
if ($sharing_counts) {
|
213 |
+
$html .= "<div class='mo_openid_sharecount'><ul class='mo_openid_share_count_icon'>";
|
214 |
Â
}
|
215 |
Â
if (get_option('mo_openid_facebook_share_enable')) {
|
216 |
Â
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href=' . $url;
|
217 |
Â
if ($sharing_counts){
|
218 |
Â
if(get_option('mo_openid_Facebook_share_count_api')!="") {
|
219 |
Â
$count = get_transient('facebook');
|
220 |
+
if ($count===false) {
|
221 |
+
$content = file_get_contents("https://graph.facebook.com/v3.3/?id=" . $url . "&fields=engagement&access_token=".get_option('mo_openid_Facebook_share_count_api'));
|
222 |
+
$content=explode('share_count":',$content);
|
223 |
+
$content=explode(',',$content[1]);
|
224 |
+
$count=$content[0];
|
225 |
Â
set_transient('facebook', $count, 3600);
|
226 |
Â
}
|
227 |
Â
}
|
228 |
+
$html .= "<li style='line-height: 0.0px'>";
|
229 |
+
}
|
230 |
+
$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 . " mofa mofa-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>";};
|
231 |
Â
}
|
232 |
Â
|
233 |
Â
if (get_option('mo_openid_twitter_share_enable')) {
|
234 |
Â
$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;
|
235 |
+
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " mofa mofa-twitter' 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>";};
|
236 |
Â
}
|
237 |
Â
|
238 |
Â
if (get_option('mo_openid_google_share_enable')) {
|
239 |
Â
|
240 |
Â
$link = 'https://plus.google.com/share?url=' . $url;
|
241 |
Â
if ($sharing_counts){
|
242 |
+
$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Google' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class='mofa mofa-google-plus' 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 |
Â
if (get_option('mo_openid_vkontakte_share_enable')) {
|
245 |
Â
$link = 'http://vk.com/share.php?url=' . $url . '&title=' . $title . '&description=' . $excerpt;
|
253 |
Â
$count=count_convert($count);
|
254 |
Â
set_transient('vkontakte', $count, 3600);
|
255 |
Â
}
|
256 |
+
$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 - 6) . "px !important'><i class=' " . $selected_theme . " mofa mofa-vk' 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 .= "<span style='margin-left : " . ($spaceBetweenIcons) . "px !important'>$count</span></li>";};
|
257 |
Â
}
|
258 |
Â
if (get_option('mo_openid_tumblr_share_enable')) {
|
259 |
Â
$link = 'http://www.tumblr.com/share/link?url=' . $url . '&title=' . $title;
|
260 |
+
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 - 6) . "px !important'><i class=' " . $selected_theme . " mofa mofa-tumblr' 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>";};
|
261 |
Â
}
|
262 |
Â
if (get_option('mo_openid_stumble_share_enable')) {
|
263 |
Â
$link = 'http://www.stumbleupon.com/submit?url=' . $url . '&title=' . $title;
|
273 |
Â
}
|
274 |
Â
$html .= "<li style='line-height: 0.0px'>";
|
275 |
Â
}
|
276 |
+
$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 . " mofa mofa-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 .= "<span style='margin-left : " . ($spaceBetweenIcons) . "px !important'>$count</span></li>";};
|
277 |
Â
}
|
278 |
Â
if (get_option('mo_openid_linkedin_share_enable')) {
|
279 |
Â
$link = 'https://www.linkedin.com/shareArticle?mini=true&title=' . $title . '&url=' . $url . '&summary=' . $excerpt;
|
280 |
+
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 . " mofa mofa-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>";};
|
281 |
Â
}
|
282 |
Â
if (get_option('mo_openid_reddit_share_enable')) {
|
283 |
Â
$link = 'http://www.reddit.com/submit?url=' . $url . '&title=' . $title;
|
284 |
+
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 . " mofa mofa-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>";};
|
285 |
Â
}
|
286 |
Â
if (get_option('mo_openid_pinterest_share_enable')) {
|
287 |
Â
if ($sharing_counts){
|
294 |
Â
$count=count_convert($count[0]);
|
295 |
Â
set_transient('pinterest', $count, 3600);
|
296 |
Â
}
|
297 |
+
$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 . " mofa mofa-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 .= "<span style='margin-left : " . ($spaceBetweenIcons) . "px !important'>$count</span></li>";};
|
298 |
Â
}
|
299 |
Â
|
300 |
Â
if (get_option('mo_openid_pocket_share_enable')) {
|
301 |
Â
$link = 'https://getpocket.com/save?url=' . $url . '&title=' . $title;
|
302 |
+
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 . " mofa mofa-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>";};
|
303 |
Â
}
|
304 |
Â
if (get_option('mo_openid_digg_share_enable')) {
|
305 |
Â
$link = 'http://digg.com/submit?url=' . $url . '&title=' . $title;
|
306 |
+
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 . " mofa mofa-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>";};
|
307 |
Â
}
|
308 |
Â
if (get_option('mo_openid_delicious_share_enable')) {
|
309 |
Â
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url=' . $url . '&title=' . $title;
|
310 |
+
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Delicious' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " mofa mofa-delicious' 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>";};
|
311 |
Â
}
|
312 |
Â
if (get_option('mo_openid_odnoklassniki_share_enable')) {
|
313 |
Â
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments=' . $excerpt . '&st._surl=' . $url;
|
314 |
+
if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Odnoklassniki' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " mofa mofa-odnoklassniki' 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>";};
|
315 |
Â
}
|
316 |
Â
if (get_option('mo_openid_mail_share_enable')) {
|
317 |
+
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 . " mofa mofa-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>";};
|
318 |
Â
}
|
319 |
Â
if (get_option('mo_openid_print_share_enable')) {
|
320 |
+
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 . " mofa mofa-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>";};
|
321 |
Â
}
|
322 |
Â
if (get_option('mo_openid_whatsapp_share_enable')) {
|
323 |
Â
if (wp_is_mobile()) {
|
324 |
+
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 . ' mofa mofa-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>";};
|
325 |
Â
} else {
|
326 |
+
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 . ' mofa mofa-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>";};
|
327 |
Â
}
|
328 |
Â
}
|
329 |
Â
if ($sharing_counts) {
|
335 |
Â
else {
|
336 |
Â
|
337 |
Â
if ($sharing_counts) {
|
338 |
+
$html .= "<div class='mo_openid_sharecount'><ul class='mo_openid_share_count_icon'>";
|
339 |
Â
}
|
340 |
Â
|
341 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
343 |
Â
if ($sharing_counts){
|
344 |
Â
if(get_option('mo_openid_Facebook_share_count_api')!="") {
|
345 |
Â
$count = get_transient('facebook');
|
346 |
+
if ($count===false) {
|
347 |
+
$content = file_get_contents("https://graph.facebook.com/v3.3/?id=" . $url . "&fields=engagement&access_token=".get_option('mo_openid_Facebook_share_count_api'));
|
348 |
+
$content=explode('share_count":',$content);
|
349 |
+
$content=explode(',',$content[1]);
|
350 |
+
$count=$content[0];
|
351 |
Â
set_transient('facebook', $count, 3600);
|
352 |
Â
}
|
353 |
Â
}
|
354 |
+
$html .= "<li style='line-height: 0.0px'>";
|
355 |
+
}
|
356 |
+
$html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 400);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Facebook' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/facebook.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></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>";};
|
357 |
Â
}
|
358 |
Â
|
359 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
421 |
Â
$count=count_convert($count[0]);
|
422 |
Â
set_transient('pinterest', $count, 3600);
|
423 |
Â
}
|
424 |
+
$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) . "px !important'><img alt='Pinterest' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/pinterest.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>"; if($sharing_counts){$html .= "<span style='margin-left : " . ($spaceBetweenIcons) . "px !important'>$count</span></li>";};
|
425 |
Â
}
|
426 |
Â
|
427 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
505 |
Â
$top_offset = isset( $atts['topoffset'] )? esc_attr($atts['topoffset']) : '100';
|
506 |
Â
|
507 |
Â
|
508 |
+
$twitter_username = esc_attr(get_option('mo_openid_share_twitter_username'));
|
509 |
Â
$url = isset( $atts['url'])? esc_url($atts['url']) : esc_url("http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]");
|
510 |
Â
|
511 |
Â
$email_subject = esc_attr(get_option('mo_openid_share_email_subject'));
|
530 |
Â
|
531 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
532 |
Â
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
533 |
+
$html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $link . '"' .", 1000, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " mofa mofa-facebook' 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>";
|
534 |
Â
}
|
535 |
Â
|
536 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
537 |
Â
$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;
|
538 |
+
$html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " mofa mofa-twitter' 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>";
|
539 |
Â
|
540 |
Â
}
|
541 |
Â
|
542 |
Â
if( get_option('mo_openid_google_share_enable') ) {
|
543 |
Â
$link = "https://plus.google.com/share?url=".$url;
|
544 |
+
$html .= "<a rel='nofollow' title='Google' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " mofa mofa-google-plus' 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>";
|
545 |
Â
|
546 |
Â
}
|
547 |
Â
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
548 |
Â
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
549 |
+
$html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " mofa mofa-vk' 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>";
|
550 |
Â
}
|
551 |
Â
if( get_option('mo_openid_tumblr_share_enable') ) {
|
552 |
Â
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
553 |
+
$html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " mofa mofa-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>";
|
554 |
Â
}
|
555 |
Â
if( get_option('mo_openid_stumble_share_enable') ) {
|
556 |
Â
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
557 |
+
$html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " mofa mofa-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>";
|
558 |
Â
}
|
559 |
Â
if( get_option('mo_openid_linkedin_share_enable') ) {
|
560 |
Â
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
561 |
Â
|
562 |
Â
|
563 |
+
$html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " mofa mofa-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>";
|
564 |
Â
|
565 |
Â
}
|
566 |
Â
|
567 |
Â
if( get_option('mo_openid_reddit_share_enable') ) {
|
568 |
Â
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
569 |
+
$html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " mofa mofa-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>";
|
570 |
Â
}
|
571 |
Â
|
572 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
573 |
+
$html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " mofa mofa-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>";
|
574 |
Â
|
575 |
Â
}
|
576 |
Â
|
577 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
578 |
Â
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
579 |
+
$html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " mofa mofa-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>";
|
580 |
Â
}
|
581 |
Â
|
582 |
Â
if( get_option('mo_openid_digg_share_enable') ) {
|
583 |
Â
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
584 |
+
$html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " mofa mofa-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>";
|
585 |
Â
}
|
586 |
Â
if( get_option('mo_openid_delicious_share_enable') ) {
|
587 |
Â
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
588 |
+
$html .= "<a rel='nofollow' title='Delicious' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " mofa mofa-delicious' 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>";
|
589 |
Â
}
|
590 |
Â
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
591 |
Â
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
592 |
+
$html .= "<a rel='nofollow' title='Odnoklassniki' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " mofa mofa-odnoklassniki' 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>";
|
593 |
Â
}
|
594 |
Â
if( get_option('mo_openid_mail_share_enable') ) {
|
595 |
+
$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. " mofa mofa-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>";
|
596 |
Â
}
|
597 |
Â
if( get_option('mo_openid_print_share_enable') ) {
|
598 |
+
$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. " mofa mofa-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>";
|
599 |
Â
}
|
600 |
Â
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
601 |
Â
if(wp_is_mobile()){
|
602 |
+
$html .= '<a rel="nofollow" title="Whatsapp" href="whatsapp://send?text=' . $url ."\" class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " mofa mofa-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>";
|
603 |
Â
}
|
604 |
Â
else{
|
605 |
+
$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. " mofa mofa-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>";
|
606 |
Â
}
|
607 |
Â
}
|
608 |
Â
|
613 |
Â
|
614 |
Â
if( get_option('mo_openid_facebook_share_enable') ) {
|
615 |
Â
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
616 |
+
$html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mofa mofa-facebook' 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>";
|
617 |
Â
}
|
618 |
Â
|
619 |
Â
if( get_option('mo_openid_twitter_share_enable') ) {
|
620 |
Â
$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;
|
621 |
+
$html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mofa mofa-twitter' 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>";
|
622 |
Â
}
|
623 |
Â
|
624 |
Â
if( get_option('mo_openid_google_share_enable') ) {
|
625 |
Â
|
626 |
Â
$link = 'https://plus.google.com/share?url='.$url;
|
627 |
+
$html .= "<a rel='nofollow' title='Google' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link'><i class='mofa mofa-google-plus' 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>";
|
628 |
Â
}
|
629 |
Â
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
630 |
Â
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
631 |
+
$html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mofa mofa-vk' 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>";
|
632 |
Â
}
|
633 |
Â
if( get_option('mo_openid_tumblr_share_enable') ) {
|
634 |
Â
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
635 |
+
$html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mofa mofa-tumblr' 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>";
|
636 |
Â
}
|
637 |
Â
if( get_option('mo_openid_stumble_share_enable') ) {
|
638 |
Â
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
639 |
+
$html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mofa mofa-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>";
|
640 |
Â
}
|
641 |
Â
if( get_option('mo_openid_linkedin_share_enable') ) {
|
642 |
Â
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
643 |
+
$html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mofa mofa-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>";
|
644 |
Â
}
|
645 |
Â
if( get_option('mo_openid_reddit_share_enable') ) {
|
646 |
Â
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
647 |
+
$html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mofa mofa-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>";
|
648 |
Â
}
|
649 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
650 |
+
$html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' ><i class='mofa mofa-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>";
|
651 |
Â
}
|
652 |
Â
|
653 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
654 |
Â
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
655 |
+
$html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mofa mofa-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>";
|
656 |
Â
}
|
657 |
Â
if( get_option('mo_openid_digg_share_enable') ) {
|
658 |
Â
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
659 |
+
$html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mofa mofa-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>";
|
660 |
Â
}
|
661 |
Â
if( get_option('mo_openid_delicious_share_enable') ) {
|
662 |
Â
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
663 |
+
$html .= "<a rel='nofollow' title='Delicious' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mofa mofa-delicious' 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>";
|
664 |
Â
}
|
665 |
Â
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
666 |
Â
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
667 |
+
$html .= "<a rel='nofollow' title='Odnoklassniki' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mofa mofa-odnoklassniki' 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>";
|
668 |
Â
}
|
669 |
Â
if( get_option('mo_openid_mail_share_enable') ) {
|
670 |
+
$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='mofa mofa-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>";
|
671 |
Â
}
|
672 |
Â
if( get_option('mo_openid_print_share_enable') ) {
|
673 |
+
$html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' ><i class='mofa mofa-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>";
|
674 |
Â
}
|
675 |
Â
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
676 |
Â
if(wp_is_mobile()){
|
677 |
+
$html .= '<a rel="nofollow" title="Whatsapp" href="whatsapp://send?text=' . $url ."\" class='mo-openid-share-link' ><i class='mofa mofa-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>";
|
678 |
Â
}
|
679 |
Â
else{
|
680 |
+
$html .= '<a rel="nofollow" title="Whatsapp" target ="_blank" href="https://web.whatsapp.com/send?text=' . $url ."\" class='mo-openid-share-link' ><i class='mofa mofa-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>";
|
681 |
Â
}
|
682 |
Â
}
|
683 |
Â
|
722 |
Â
$html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Reddit' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/reddit.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
723 |
Â
}
|
724 |
Â
if( get_option('mo_openid_pinterest_share_enable') ) {
|
725 |
+
$html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link'><img alt='Pinterest' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/pinterest.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
726 |
Â
}
|
727 |
Â
if( get_option('mo_openid_pocket_share_enable') ) {
|
728 |
Â
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
class-mo-openid-twitter-oauth.php
DELETED
@@ -1,183 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Mo_Openid_Twitter_OAuth
|
4 |
-
{
|
5 |
-
var $key = '';
|
6 |
-
var $secret = '';
|
7 |
-
|
8 |
-
var $request_token = "https://twitter.com/oauth/request_token";
|
9 |
-
var $access_token = "https://twitter.com/oauth/access_token";
|
10 |
-
var $profile = "https://api.twitter.com/1.1/account/verify_credentials.json";
|
11 |
-
|
12 |
-
function __construct($client_key,$client_secret)
|
13 |
-
{
|
14 |
-
$this->key = $client_key; // consumer key from twitter
|
15 |
-
$this->secret = $client_secret; // secret from twitter
|
16 |
-
}
|
17 |
-
|
18 |
-
function mo_twitter_get_request_token()
|
19 |
-
{
|
20 |
-
// Default params
|
21 |
-
$params = array(
|
22 |
-
"oauth_version" => "1.0",
|
23 |
-
"oauth_nonce" => time(),
|
24 |
-
"oauth_timestamp" => time(),
|
25 |
-
"oauth_consumer_key" => $this->key,
|
26 |
-
"oauth_signature_method" => "HMAC-SHA1"
|
27 |
-
);
|
28 |
-
|
29 |
-
// BUILD SIGNATURE
|
30 |
-
// encode params keys, values, join and then sort.
|
31 |
-
$keys = $this->mo_twitter_url_encode_rfc3986(array_keys($params));
|
32 |
-
$values = $this->mo_twitter_url_encode_rfc3986(array_values($params));
|
33 |
-
$params = array_combine($keys, $values);
|
34 |
-
uksort($params, 'strcmp');
|
35 |
-
|
36 |
-
// convert params to string
|
37 |
-
foreach ($params as $k => $v) {
|
38 |
-
$pairs[] = $this->mo_twitter_url_encode_rfc3986($k).'='.$this->mo_twitter_url_encode_rfc3986($v);
|
39 |
-
}
|
40 |
-
$concatenatedParams = implode('&', $pairs);
|
41 |
-
|
42 |
-
// form base string (first key)
|
43 |
-
$baseString= "GET&".$this->mo_twitter_url_encode_rfc3986($this->request_token)."&".$this->mo_twitter_url_encode_rfc3986($concatenatedParams);
|
44 |
-
// form secret (second key)
|
45 |
-
$secret = $this->mo_twitter_url_encode_rfc3986($this->secret)."&";
|
46 |
-
// make signature and append to params
|
47 |
-
$params['oauth_signature'] = $this->mo_twitter_url_encode_rfc3986(base64_encode(hash_hmac('sha1', $baseString, $secret, TRUE)));
|
48 |
-
|
49 |
-
// BUILD URL
|
50 |
-
// Resort
|
51 |
-
uksort($params, 'strcmp');
|
52 |
-
// convert params to string
|
53 |
-
foreach ($params as $k => $v) {$urlPairs[] = $k."=".$v;}
|
54 |
-
$concatenatedUrlParams = implode('&', $urlPairs);
|
55 |
-
// form url
|
56 |
-
$url = $this->request_token."?".$concatenatedUrlParams;
|
57 |
-
|
58 |
-
// Send to cURL
|
59 |
-
return $this->mo_twitter_http($url);
|
60 |
-
}
|
61 |
-
|
62 |
-
function mo_twitter_get_access_token($oauth_verifier,$twitter_oauth_token)
|
63 |
-
{
|
64 |
-
$params = array(
|
65 |
-
"oauth_version" => "1.0",
|
66 |
-
"oauth_nonce" => time(),
|
67 |
-
"oauth_timestamp" => time(),
|
68 |
-
"oauth_consumer_key" => $this->key,
|
69 |
-
"oauth_token" => $twitter_oauth_token,
|
70 |
-
"oauth_signature_method" => "HMAC-SHA1"
|
71 |
-
);
|
72 |
-
|
73 |
-
$keys = $this->mo_twitter_url_encode_rfc3986(array_keys($params));
|
74 |
-
$values = $this->mo_twitter_url_encode_rfc3986(array_values($params));
|
75 |
-
$params = array_combine($keys, $values);
|
76 |
-
uksort($params, 'strcmp');
|
77 |
-
|
78 |
-
foreach ($params as $k => $v) {
|
79 |
-
$pairs[] = $this->mo_twitter_url_encode_rfc3986($k).'='.$this->mo_twitter_url_encode_rfc3986($v);
|
80 |
-
}
|
81 |
-
$concatenatedParams = implode('&', $pairs);
|
82 |
-
|
83 |
-
$baseString= "GET&".$this->mo_twitter_url_encode_rfc3986($this->access_token)."&".$this->mo_twitter_url_encode_rfc3986($concatenatedParams);
|
84 |
-
$secret = $this->mo_twitter_url_encode_rfc3986($this->secret)."&";
|
85 |
-
$params['oauth_signature'] = $this->mo_twitter_url_encode_rfc3986(base64_encode(hash_hmac('sha1', $baseString, $secret, TRUE)));
|
86 |
-
|
87 |
-
uksort($params, 'strcmp');
|
88 |
-
foreach ($params as $k => $v) {$urlPairs[] = $k."=".$v;}
|
89 |
-
$concatenatedUrlParams = implode('&', $urlPairs);
|
90 |
-
$url = $this->access_token."?".$concatenatedUrlParams;
|
91 |
-
$postData = 'oauth_verifier=' .$oauth_verifier;
|
92 |
-
|
93 |
-
return $this->mo_twitter_http($url,$postData);
|
94 |
-
}
|
95 |
-
|
96 |
-
function mo_twitter_get_profile_signature($oauth_token,$oauth_token_secret,$screen_name)
|
97 |
-
{
|
98 |
-
$params = array(
|
99 |
-
"oauth_version" => "1.0",
|
100 |
-
"oauth_nonce" => time(),
|
101 |
-
"oauth_timestamp" => time(),
|
102 |
-
"oauth_consumer_key" => $this->key,
|
103 |
-
"oauth_token" => $oauth_token,
|
104 |
-
"oauth_signature_method" => "HMAC-SHA1",
|
105 |
-
"screen_name" => $screen_name,
|
106 |
-
"include_email" => "true"
|
107 |
-
);
|
108 |
-
|
109 |
-
$keys = $this->mo_twitter_url_encode_rfc3986(array_keys($params));
|
110 |
-
$values = $this->mo_twitter_url_encode_rfc3986(array_values($params));
|
111 |
-
$params = array_combine($keys, $values);
|
112 |
-
uksort($params, 'strcmp');
|
113 |
-
|
114 |
-
foreach ($params as $k => $v) {
|
115 |
-
$pairs[] = $this->mo_twitter_url_encode_rfc3986($k).'='.$this->mo_twitter_url_encode_rfc3986($v);
|
116 |
-
}
|
117 |
-
$concatenatedParams = implode('&', $pairs);
|
118 |
-
|
119 |
-
$baseString= "GET&".$this->mo_twitter_url_encode_rfc3986($this->profile)."&".$this->mo_twitter_url_encode_rfc3986($concatenatedParams);
|
120 |
-
|
121 |
-
$secret = $this->mo_twitter_url_encode_rfc3986($this->secret)."&". $this->mo_twitter_url_encode_rfc3986($oauth_token_secret);
|
122 |
-
$params['oauth_signature'] = $this->mo_twitter_url_encode_rfc3986(base64_encode(hash_hmac('sha1', $baseString, $secret, TRUE)));
|
123 |
-
|
124 |
-
uksort($params, 'strcmp');
|
125 |
-
foreach ($params as $k => $v) {$urlPairs[] = $k."=".$v;}
|
126 |
-
$concatenatedUrlParams = implode('&', $urlPairs);
|
127 |
-
$url = $this->profile."?".$concatenatedUrlParams;
|
128 |
-
|
129 |
-
$args = array();
|
130 |
-
|
131 |
-
$get_response = wp_remote_get($url,$args);
|
132 |
-
|
133 |
-
$profile_json_output = json_decode($get_response['body'], true);
|
134 |
-
|
135 |
-
return $profile_json_output;
|
136 |
-
}
|
137 |
-
|
138 |
-
function mo_twitter_http($url, $post_data = null)
|
139 |
-
{
|
140 |
-
|
141 |
-
if(isset($post_data))
|
142 |
-
{
|
143 |
-
|
144 |
-
$args = array(
|
145 |
-
'method' => 'POST',
|
146 |
-
'body' => $post_data,
|
147 |
-
'timeout' => '5',
|
148 |
-
'redirection' => '5',
|
149 |
-
'httpversion' => '1.0',
|
150 |
-
'blocking' => true
|
151 |
-
);
|
152 |
-
|
153 |
-
$post_response = wp_remote_post($url,$args);
|
154 |
-
|
155 |
-
return $post_response['body'];
|
156 |
-
|
157 |
-
}
|
158 |
-
$args = array();
|
159 |
-
|
160 |
-
$get_response = wp_remote_get($url,$args);
|
161 |
-
$response = $get_response['body'];
|
162 |
-
mo_openid_start_session();
|
163 |
-
|
164 |
-
$dirs = explode('&', $response);
|
165 |
-
$dirs1 = explode('=', $dirs[0]);
|
166 |
-
return $dirs1[1];
|
167 |
-
|
168 |
-
}
|
169 |
-
|
170 |
-
function mo_twitter_url_encode_rfc3986($input)
|
171 |
-
{
|
172 |
-
if (is_array($input)) {
|
173 |
-
return array_map(array('Mo_Openid_Twitter_OAuth', 'mo_twitter_url_encode_rfc3986'), $input);
|
174 |
-
}
|
175 |
-
else if (is_scalar($input)) {
|
176 |
-
return str_replace('+',' ',str_replace('%7E', '~', rawurlencode($input)));
|
177 |
-
}
|
178 |
-
else{
|
179 |
-
return '';
|
180 |
-
}
|
181 |
-
}
|
182 |
-
}
|
183 |
-
?>
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
includes/css/bootstrap-social.css
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
Â
* https://github.com/lipis/bootstrap-social
|
8 |
Â
*/
|
9 |
Â
|
10 |
-
.btn-social{position:relative;padding-left:44px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btn-social>:first-child{position:absolute;left:5px;top:0;bottom:0;width:32px;line-height:34px;font-size:1.6em;text-align:center;border-right:1px solid rgba(22, 22, 22, 0.1);}
|
11 |
Â
.btn-social.btn-lg{padding-left:61px}.btn-social.btn-lg>:first-child{line-height:45px;width:45px;font-size:1.8em}
|
12 |
Â
.btn-social.btn-sm{padding-left:38px}.btn-social.btn-sm>:first-child{line-height:28px;width:28px;font-size:1.4em}
|
13 |
Â
.btn-social.btn-xs{padding-left:30px}.btn-social.btn-xs>:first-child{line-height:20px;width:20px;font-size:1.2em}
|
@@ -91,6 +91,10 @@
|
|
91 |
Â
.btn-vimeo:active,.btn-vimeo.active,.open>.dropdown-toggle.btn-vimeo{background-image:none}
|
92 |
Â
.btn-vimeo.disabled,.btn-vimeo[disabled],fieldset[disabled] .btn-vimeo,.btn-vimeo.disabled:hover,.btn-vimeo[disabled]:hover,fieldset[disabled] .btn-vimeo:hover,.btn-vimeo.disabled:focus,.btn-vimeo[disabled]:focus,fieldset[disabled] .btn-vimeo:focus,.btn-vimeo.disabled:active,.btn-vimeo[disabled]:active,fieldset[disabled] .btn-vimeo:active,.btn-vimeo.disabled.active,.btn-vimeo[disabled].active,fieldset[disabled] .btn-vimeo.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}
|
93 |
Â
.btn-vimeo .badge{color:#1ab7ea;background-color:#fff}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
94 |
Â
.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;}.btn-vk:hover,.btn-vk:focus,.btn-vk:active,.btn-vk.active,.open>.dropdown-toggle.btn-vk{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#466482,#466482) !important;}
|
95 |
Â
.btn-vk:active,.btn-vk.active,.open>.dropdown-toggle.btn-vk{background-image:none}
|
96 |
Â
.btn-vk.disabled,.btn-vk[disabled],fieldset[disabled] .btn-vk,.btn-vk.disabled:hover,.btn-vk[disabled]:hover,fieldset[disabled] .btn-vk:hover,.btn-vk.disabled:focus,.btn-vk[disabled]:focus,fieldset[disabled] .btn-vk:focus,.btn-vk.disabled:active,.btn-vk[disabled]:active,fieldset[disabled] .btn-vk:active,.btn-vk.disabled.active,.btn-vk[disabled].active,fieldset[disabled] .btn-vk.active{background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}
|
@@ -98,4 +102,16 @@
|
|
98 |
Â
.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;}.btn-yahoo:hover,.btn-yahoo:focus,.btn-yahoo:active,.btn-yahoo.active,.open>.dropdown-toggle.btn-yahoo{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#500a6f,#500a6f) !important;}
|
99 |
Â
.btn-yahoo:active,.btn-yahoo.active,.open>.dropdown-toggle.btn-yahoo{background-image:none}
|
100 |
Â
.btn-yahoo.disabled,.btn-yahoo[disabled],fieldset[disabled] .btn-yahoo,.btn-yahoo.disabled:hover,.btn-yahoo[disabled]:hover,fieldset[disabled] .btn-yahoo:hover,.btn-yahoo.disabled:focus,.btn-yahoo[disabled]:focus,fieldset[disabled] .btn-yahoo:focus,.btn-yahoo.disabled:active,.btn-yahoo[disabled]:active,fieldset[disabled] .btn-yahoo:active,.btn-yahoo.disabled.active,.btn-yahoo[disabled].active,fieldset[disabled] .btn-yahoo.active{background-color:#720e9e;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#720e9e,#720e9e) !important;}
|
101 |
-
.btn-yahoo .badge{color:#720e9e;background-color:#fff}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
7 |
Â
* https://github.com/lipis/bootstrap-social
|
8 |
Â
*/
|
9 |
Â
|
10 |
+
.btn-social{position:relative;padding-left:44px !important;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btn-social>:first-child{position:absolute;left:5px;top:0;bottom:0;width:32px;line-height:34px;font-size:1.6em;text-align:center;border-right:1px solid rgba(22, 22, 22, 0.1);}
|
11 |
Â
.btn-social.btn-lg{padding-left:61px}.btn-social.btn-lg>:first-child{line-height:45px;width:45px;font-size:1.8em}
|
12 |
Â
.btn-social.btn-sm{padding-left:38px}.btn-social.btn-sm>:first-child{line-height:28px;width:28px;font-size:1.4em}
|
13 |
Â
.btn-social.btn-xs{padding-left:30px}.btn-social.btn-xs>:first-child{line-height:20px;width:20px;font-size:1.2em}
|
91 |
Â
.btn-vimeo:active,.btn-vimeo.active,.open>.dropdown-toggle.btn-vimeo{background-image:none}
|
92 |
Â
.btn-vimeo.disabled,.btn-vimeo[disabled],fieldset[disabled] .btn-vimeo,.btn-vimeo.disabled:hover,.btn-vimeo[disabled]:hover,fieldset[disabled] .btn-vimeo:hover,.btn-vimeo.disabled:focus,.btn-vimeo[disabled]:focus,fieldset[disabled] .btn-vimeo:focus,.btn-vimeo.disabled:active,.btn-vimeo[disabled]:active,fieldset[disabled] .btn-vimeo:active,.btn-vimeo.disabled.active,.btn-vimeo[disabled].active,fieldset[disabled] .btn-vimeo.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}
|
93 |
Â
.btn-vimeo .badge{color:#1ab7ea;background-color:#fff}
|
94 |
+
.btn-kakao{color:#fff !important;background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}.btn-kakao:hover,.btn-kakao:focus,.btn-kakao:active,.btn-kakao.active,.open>.dropdown-toggle.btn-kakao{color:#fff;background-color:#1295bf;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1295bf,#1295bf) !important;}
|
95 |
+
.btn-kakao:active,.btn-kakao.active,.open>.dropdown-toggle.btn-kakao{background-image:none}
|
96 |
+
.btn-kakao.disabled,.btn-kakao[disabled],fieldset[disabled] .btn-kakao,.btn-kakao.disabled:hover,.btn-kakao[disabled]:hover,fieldset[disabled] .btn-kakao:hover,.btn-kakao.disabled:focus,.btn-kakao[disabled]:focus,fieldset[disabled] .btn-kakao:focus,.btn-kakao.disabled:active,.btn-kakao[disabled]:active,fieldset[disabled] .btn-kakao:active,.btn-kakao.disabled.active,.btn-kakao[disabled].active,fieldset[disabled] .btn-kakao.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}
|
97 |
+
.btn-kakao .badge{color:#1ab7ea;background-color:#fff}
|
98 |
Â
.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;}.btn-vk:hover,.btn-vk:focus,.btn-vk:active,.btn-vk.active,.open>.dropdown-toggle.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 |
Â
.btn-vk:active,.btn-vk.active,.open>.dropdown-toggle.btn-vk{background-image:none}
|
100 |
Â
.btn-vk.disabled,.btn-vk[disabled],fieldset[disabled] .btn-vk,.btn-vk.disabled:hover,.btn-vk[disabled]:hover,fieldset[disabled] .btn-vk:hover,.btn-vk.disabled:focus,.btn-vk[disabled]:focus,fieldset[disabled] .btn-vk:focus,.btn-vk.disabled:active,.btn-vk[disabled]:active,fieldset[disabled] .btn-vk:active,.btn-vk.disabled.active,.btn-vk[disabled].active,fieldset[disabled] .btn-vk.active{background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}
|
102 |
Â
.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;}.btn-yahoo:hover,.btn-yahoo:focus,.btn-yahoo:active,.btn-yahoo.active,.open>.dropdown-toggle.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 |
Â
.btn-yahoo:active,.btn-yahoo.active,.open>.dropdown-toggle.btn-yahoo{background-image:none}
|
104 |
Â
.btn-yahoo.disabled,.btn-yahoo[disabled],fieldset[disabled] .btn-yahoo,.btn-yahoo.disabled:hover,.btn-yahoo[disabled]:hover,fieldset[disabled] .btn-yahoo:hover,.btn-yahoo.disabled:focus,.btn-yahoo[disabled]:focus,fieldset[disabled] .btn-yahoo:focus,.btn-yahoo.disabled:active,.btn-yahoo[disabled]:active,fieldset[disabled] .btn-yahoo:active,.btn-yahoo.disabled.active,.btn-yahoo[disabled].active,fieldset[disabled] .btn-yahoo.active{background-color:#720e9e;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#720e9e,#720e9e) !important;}
|
105 |
+
.btn-yahoo .badge{color:#720e9e;background-color:#fff}
|
106 |
+
.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;}.btn-wordpress:hover,.btn-wordpress:focus,.btn-wordpress:active,.btn-wordpress.active,.open>.dropdown-toggle.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 |
+
.btn-wordpress:active,.btn-wordpress.active,.open>.dropdown-toggle.btn-wordpress{background-image:none}
|
108 |
+
.btn-wordpress.disabled,.btn-wordpress[disabled],fieldset[disabled] .btn-wordpress,.btn-wordpress.disabled:hover,.btn-wordpress[disabled]:hover,fieldset[disabled] .btn-wordpress:hover,.btn-wordpress.disabled:focus,.btn-wordpress[disabled]:focus,fieldset[disabled] .btn-wordpress:focus,.btn-wordpress.disabled:active,.btn-wordpress[disabled]:active,fieldset[disabled] .btn-wordpress:active,.btn-wordpress.disabled.active,.btn-wordpress[disabled].active,fieldset[disabled] .btn-wordpress.active{background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}
|
109 |
+
.btn-wordpress .badge{color:#587ea3;background-color:#fff}
|
110 |
+
.btn-disqus{color:#fff !important;background-color:#55acee;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#55acee,#55acee) !important;}.btn-disqus:hover,.btn-disqus:focus,.btn-disqus:active,.btn-disqus.active,.open>.dropdown-toggle.btn-disqus{color:#fff;background-color:#2795e9;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2795e9,#2795e9) !important;}
|
111 |
+
.btn-disqus:active,.btn-disqus.active,.open>.dropdown-toggle.btn-disqus{background-image:none}
|
112 |
+
.btn-disqus.disabled,.btn-disqus[disabled],fieldset[disabled] .btn-disqus,.btn-disqus.disabled:hover,.btn-disqus[disabled]:hover,fieldset[disabled] .btn-disqus:hover,.btn-disqus.disabled:focus,.btn-disqus[disabled]:focus,fieldset[disabled] .btn-disqus:focus,.btn-disqus.disabled:active,.btn-disqus[disabled]:active,fieldset[disabled] .btn-disqus:active,.btn-disqus.disabled.active,.btn-disqus[disabled].active,fieldset[disabled] .btn-disqus.active{background-color:#55acee;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#55acee,#55acee) !important;}
|
113 |
+
.btn-disqus .badge{color:#55acee;background-color:#fff}
|
114 |
+
.btn-twitch{color:#fff !important;background-color:#720e9e;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#720e9e,#720e9e) !important;}.btn-twitch:hover,.btn-twitch:focus,.btn-twitch:active,.btn-twitch.active,.open>.dropdown-toggle.btn-twitch{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#500a6f,#500a6f) !important;}
|
115 |
+
.btn-twitch:active,.btn-twitch.active,.open>.dropdown-toggle.btn-twitch{background-image:none}
|
116 |
+
.btn-twitch.disabled,.btn-twitch[disabled],fieldset[disabled] .btn-twitch,.btn-twitch.disabled:hover,.btn-twitch[disabled]:hover,fieldset[disabled] .btn-twitch:hover,.btn-twitch.disabled:focus,.btn-twitch[disabled]:focus,fieldset[disabled] .btn-twitch:focus,.btn-twitch.disabled:active,.btn-twitch[disabled]:active,fieldset[disabled] .btn-twitch:active,.btn-twitch.disabled.active,.btn-twitch[disabled].active,fieldset[disabled] .btn-twitch.active{background-color:#720e9e;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#720e9e,#720e9e) !important;}
|
117 |
+
.btn-twitch .badge{color:#720e9e;background-color:#fff}
|
includes/css/bootstrap-tour-standalone.css
DELETED
@@ -1,762 +0,0 @@
|
|
1 |
-
/* ========================================================================
|
2 |
-
* bootstrap-tour - v0.12.0
|
3 |
-
* http://bootstraptour.com
|
4 |
-
* ========================================================================
|
5 |
-
* Copyright 2012-2017 Ulrich Sossou
|
6 |
-
*
|
7 |
-
* ========================================================================
|
8 |
-
* Licensed under the MIT License (the "License");
|
9 |
-
* you may not use this file except in compliance with the License.
|
10 |
-
* You may obtain a copy of the License at
|
11 |
-
*
|
12 |
-
* https://opensource.org/licenses/MIT
|
13 |
-
*
|
14 |
-
* Unless required by applicable law or agreed to in writing, software
|
15 |
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
16 |
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17 |
-
* See the License for the specific language governing permissions and
|
18 |
-
* limitations under the License.
|
19 |
-
* ========================================================================
|
20 |
-
*/
|
21 |
-
|
22 |
-
.mo2f_tour_btn {
|
23 |
-
display: inline-block;
|
24 |
-
font-weight: normal;
|
25 |
-
text-align: center;
|
26 |
-
white-space: nowrap;
|
27 |
-
vertical-align: middle;
|
28 |
-
user-select: none;
|
29 |
-
border: 1px solid transparent;
|
30 |
-
padding: 0.5rem 0.75rem;
|
31 |
-
font-size: 1rem;
|
32 |
-
line-height: 1.25;
|
33 |
-
border-radius: 0.25rem;
|
34 |
-
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
|
35 |
-
.mo2f_tour_btn:focus, .mo2f_tour_btn:hover {
|
36 |
-
text-decoration: none; }
|
37 |
-
.mo2f_tour_btn:focus, .mo2f_tour_btn.focus {
|
38 |
-
outline: 0;
|
39 |
-
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); }
|
40 |
-
.mo2f_tour_btn.disabled, .mo2f_tour_btn:disabled {
|
41 |
-
opacity: .65; }
|
42 |
-
.mo2f_tour_btn:active, .mo2f_tour_btn.active {
|
43 |
-
background-image: none; }
|
44 |
-
|
45 |
-
a.mo2f_tour_btn.disabled,
|
46 |
-
fieldset[disabled] a.mo2f_tour_btn {
|
47 |
-
pointer-events: none; }
|
48 |
-
|
49 |
-
.mo2f_tour_btn-primary {
|
50 |
-
color: #fff;
|
51 |
-
background-color: #007bff;
|
52 |
-
border-color: #007bff; }
|
53 |
-
.mo2f_tour_btn-primary:hover {
|
54 |
-
color: #fff;
|
55 |
-
background-color: #0069d9;
|
56 |
-
border-color: #0062cc; }
|
57 |
-
.mo2f_tour_btn-primary:focus, .mo2f_tour_btn-primary.focus {
|
58 |
-
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5); }
|
59 |
-
.mo2f_tour_btn-primary.disabled, .mo2f_tour_btn-primary:disabled {
|
60 |
-
background-color: #007bff;
|
61 |
-
border-color: #007bff; }
|
62 |
-
.mo2f_tour_btn-primary:active, .mo2f_tour_btn-primary.active,
|
63 |
-
.show > .mo2f_tour_btn-primary.dropdown-toggle {
|
64 |
-
background-color: #0069d9;
|
65 |
-
background-image: none;
|
66 |
-
border-color: #0062cc; }
|
67 |
-
|
68 |
-
.mo2f_tour_btn-secondary {
|
69 |
-
color: #fff;
|
70 |
-
background-color: #007902;
|
71 |
-
border-color: #868e96;
|
72 |
-
}
|
73 |
-
.mo2f_tour_btn_end-secondary {
|
74 |
-
background: #00A0D2;
|
75 |
-
border-color: #0073AA;
|
76 |
-
box-shadow: 0 1px 0 rgba(120, 200, 230, .5) inset, 0 1px 0 rgba(0, 0, 0, .15);
|
77 |
-
color: #FFF;
|
78 |
-
text-decoration: none;
|
79 |
-
cursor: pointer;
|
80 |
-
border-width: 1px;
|
81 |
-
border-style: solid;
|
82 |
-
border-radius: 3px;
|
83 |
-
white-space: nowrap;
|
84 |
-
box-sizing: border-box;
|
85 |
-
line-height: 28px;
|
86 |
-
padding: 0 12px;
|
87 |
-
font-size: 13px
|
88 |
-
}
|
89 |
-
.mo2f_tour_btn_next-success {
|
90 |
-
background: #00A0D2;
|
91 |
-
background-color:#5cb85c;border-color:#4cae4c;
|
92 |
-
box-shadow: 0 1px 0 rgba(120, 200, 230, .5) inset, 0 1px 0 rgba(0, 0, 0, .15);
|
93 |
-
color: #FFF;
|
94 |
-
text-decoration: none;
|
95 |
-
cursor: pointer;
|
96 |
-
border-width: 1px;
|
97 |
-
border-style: solid;
|
98 |
-
border-radius: 3px;
|
99 |
-
white-space: nowrap;
|
100 |
-
box-sizing: border-box;
|
101 |
-
line-height: 28px;
|
102 |
-
padding: 0 12px;
|
103 |
-
font-size: 13px;
|
104 |
-
}
|
105 |
-
.mo2f_tour_btn-secondary:hover {
|
106 |
-
color: #fff;
|
107 |
-
background-color: #727b84;
|
108 |
-
border-color: #6c757d; }
|
109 |
-
|
110 |
-
.mo2f_tour_btn-secondary:focus, .mo2f_tour_btn-secondary.focus {
|
111 |
-
box-shadow: 0 0 0 3px rgba(134, 142, 150, 0.5); }
|
112 |
-
.mo2f_tour_btn-secondary.disabled, .mo2f_tour_btn-secondary:disabled {
|
113 |
-
background-color: #868e96;
|
114 |
-
border-color: #868e96; }
|
115 |
-
.mo2f_tour_btn-secondary:active, .mo2f_tour_btn-secondary.active,
|
116 |
-
.show > .mo2f_tour_btn-secondary.dropdown-toggle {
|
117 |
-
background-color: #727b84;
|
118 |
-
background-image: none;
|
119 |
-
border-color: #6c757d; }
|
120 |
-
|
121 |
-
.mo2f_tour_btn-success {
|
122 |
-
color: #fff;
|
123 |
-
background-color: #28a745;
|
124 |
-
border-color: #28a745; }
|
125 |
-
.mo2f_tour_btn-success:hover {
|
126 |
-
color: #fff;
|
127 |
-
background-color: #218838;
|
128 |
-
border-color: #1e7e34; }
|
129 |
-
.mo2f_tour_btn-success:focus, .mo2f_tour_btn-success.focus {
|
130 |
-
box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.5); }
|
131 |
-
.mo2f_tour_btn-success.disabled, .mo2f_tour_btn-success:disabled {
|
132 |
-
background-color: #28a745;
|
133 |
-
border-color: #28a745; }
|
134 |
-
.mo2f_tour_btn-success:active, .mo2f_tour_btn-success.active,
|
135 |
-
.show > .mo2f_tour_btn-success.dropdown-toggle {
|
136 |
-
background-color: #218838;
|
137 |
-
background-image: none;
|
138 |
-
border-color: #1e7e34; }
|
139 |
-
|
140 |
-
.mo2f_tour_btn-info {
|
141 |
-
color: #fff;
|
142 |
-
background-color: #17a2b8;
|
143 |
-
border-color: #17a2b8; }
|
144 |
-
.mo2f_tour_btn-info:hover {
|
145 |
-
color: #fff;
|
146 |
-
background-color: #138496;
|
147 |
-
border-color: #117a8b; }
|
148 |
-
.mo2f_tour_btn-info:focus, .mo2f_tour_btn-info.focus {
|
149 |
-
box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.5); }
|
150 |
-
.mo2f_tour_btn-info.disabled, .mo2f_tour_btn-info:disabled {
|
151 |
-
background-color: #17a2b8;
|
152 |
-
border-color: #17a2b8; }
|
153 |
-
.mo2f_tour_btn-info:active, .mo2f_tour_btn-info.active,
|
154 |
-
.show > .mo2f_tour_btn-info.dropdown-toggle {
|
155 |
-
background-color: #138496;
|
156 |
-
background-image: none;
|
157 |
-
border-color: #117a8b; }
|
158 |
-
|
159 |
-
.mo2f_tour_btn-warning {
|
160 |
-
color: #111;
|
161 |
-
background-color: #ffc107;
|
162 |
-
border-color: #ffc107; }
|
163 |
-
.mo2f_tour_btn-warning:hover {
|
164 |
-
color: #111;
|
165 |
-
background-color: #e0a800;
|
166 |
-
border-color: #d39e00; }
|
167 |
-
.mo2f_tour_btn-warning:focus, .mo2f_tour_btn-warning.focus {
|
168 |
-
box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.5); }
|
169 |
-
.mo2f_tour_btn-warning.disabled, .mo2f_tour_btn-warning:disabled {
|
170 |
-
background-color: #ffc107;
|
171 |
-
border-color: #ffc107; }
|
172 |
-
.mo2f_tour_btn-warning:active, .mo2f_tour_btn-warning.active,
|
173 |
-
.show > .mo2f_tour_btn-warning.dropdown-toggle {
|
174 |
-
background-color: #e0a800;
|
175 |
-
background-image: none;
|
176 |
-
border-color: #d39e00; }
|
177 |
-
|
178 |
-
.mo2f_tour_btn-danger {
|
179 |
-
color: #fff;
|
180 |
-
background-color: #dc3545;
|
181 |
-
border-color: #dc3545; }
|
182 |
-
.mo2f_tour_btn-danger:hover {
|
183 |
-
color: #fff;
|
184 |
-
background-color: #c82333;
|
185 |
-
border-color: #bd2130; }
|
186 |
-
.mo2f_tour_btn-danger:focus, .mo2f_tour_btn-danger.focus {
|
187 |
-
box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.5); }
|
188 |
-
.mo2f_tour_btn-danger.disabled, .mo2f_tour_btn-danger:disabled {
|
189 |
-
background-color: #dc3545;
|
190 |
-
border-color: #dc3545; }
|
191 |
-
.mo2f_tour_btn-danger:active, .mo2f_tour_btn-danger.active,
|
192 |
-
.show > .mo2f_tour_btn-danger.dropdown-toggle {
|
193 |
-
background-color: #c82333;
|
194 |
-
background-image: none;
|
195 |
-
border-color: #bd2130; }
|
196 |
-
|
197 |
-
.mo2f_tour_btn-light {
|
198 |
-
color: #111;
|
199 |
-
background-color: #f8f9fa;
|
200 |
-
border-color: #f8f9fa; }
|
201 |
-
.mo2f_tour_btn-light:hover {
|
202 |
-
color: #111;
|
203 |
-
background-color: #e2e6ea;
|
204 |
-
border-color: #dae0e5; }
|
205 |
-
.mo2f_tour_btn-light:focus, .mo2f_tour_btn-light.focus {
|
206 |
-
box-shadow: 0 0 0 3px rgba(248, 249, 250, 0.5); }
|
207 |
-
.mo2f_tour_btn-light.disabled, .mo2f_tour_btn-light:disabled {
|
208 |
-
background-color: #f8f9fa;
|
209 |
-
border-color: #f8f9fa; }
|
210 |
-
.mo2f_tour_btn-light:active, .mo2f_tour_btn-light.active,
|
211 |
-
.show > .mo2f_tour_btn-light.dropdown-toggle {
|
212 |
-
background-color: #e2e6ea;
|
213 |
-
background-image: none;
|
214 |
-
border-color: #dae0e5; }
|
215 |
-
|
216 |
-
.mo2f_tour_btn-dark {
|
217 |
-
color: #fff;
|
218 |
-
background-color: #343a40;
|
219 |
-
border-color: #343a40; }
|
220 |
-
.mo2f_tour_btn-dark:hover {
|
221 |
-
color: #fff;
|
222 |
-
background-color: #23272b;
|
223 |
-
border-color: #1d2124; }
|
224 |
-
.mo2f_tour_btn-dark:focus, .mo2f_tour_btn-dark.focus {
|
225 |
-
box-shadow: 0 0 0 3px rgba(52, 58, 64, 0.5); }
|
226 |
-
.mo2f_tour_btn-dark.disabled, .mo2f_tour_btn-dark:disabled {
|
227 |
-
background-color: #343a40;
|
228 |
-
border-color: #343a40; }
|
229 |
-
.mo2f_tour_btn-dark:active, .mo2f_tour_btn-dark.active,
|
230 |
-
.show > .mo2f_tour_btn-dark.dropdown-toggle {
|
231 |
-
background-color: #23272b;
|
232 |
-
background-image: none;
|
233 |
-
border-color: #1d2124; }
|
234 |
-
|
235 |
-
.mo2f_tour_btn-outline-primary {
|
236 |
-
color: #007bff;
|
237 |
-
background-color: transparent;
|
238 |
-
background-image: none;
|
239 |
-
border-color: #007bff; }
|
240 |
-
.mo2f_tour_btn-outline-primary:hover {
|
241 |
-
color: #fff;
|
242 |
-
background-color: #007bff;
|
243 |
-
border-color: #007bff; }
|
244 |
-
.mo2f_tour_btn-outline-primary:focus, .mo2f_tour_btn-outline-primary.focus {
|
245 |
-
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5); }
|
246 |
-
.mo2f_tour_btn-outline-primary.disabled, .mo2f_tour_btn-outline-primary:disabled {
|
247 |
-
color: #007bff;
|
248 |
-
background-color: transparent; }
|
249 |
-
.mo2f_tour_btn-outline-primary:active, .mo2f_tour_btn-outline-primary.active,
|
250 |
-
.show > .mo2f_tour_btn-outline-primary.dropdown-toggle {
|
251 |
-
color: #fff;
|
252 |
-
background-color: #007bff;
|
253 |
-
border-color: #007bff; }
|
254 |
-
|
255 |
-
.mo2f_tour_btn-outline-secondary {
|
256 |
-
color: #868e96;
|
257 |
-
background-color: transparent;
|
258 |
-
background-image: none;
|
259 |
-
border-color: #868e96; }
|
260 |
-
.mo2f_tour_btn-outline-secondary:hover {
|
261 |
-
color: #fff;
|
262 |
-
background-color: #868e96;
|
263 |
-
border-color: #868e96; }
|
264 |
-
.mo2f_tour_btn-outline-secondary:focus, .mo2f_tour_btn-outline-secondary.focus {
|
265 |
-
box-shadow: 0 0 0 3px rgba(134, 142, 150, 0.5); }
|
266 |
-
.mo2f_tour_btn-outline-secondary.disabled, .mo2f_tour_btn-outline-secondary:disabled {
|
267 |
-
color: #868e96;
|
268 |
-
background-color: transparent; }
|
269 |
-
.mo2f_tour_btn-outline-secondary:active, .mo2f_tour_btn-outline-secondary.active,
|
270 |
-
.show > .mo2f_tour_btn-outline-secondary.dropdown-toggle {
|
271 |
-
color: #fff;
|
272 |
-
background-color: #868e96;
|
273 |
-
border-color: #868e96; }
|
274 |
-
|
275 |
-
.mo2f_tour_btn-outline-success {
|
276 |
-
color: #28a745;
|
277 |
-
background-color: transparent;
|
278 |
-
background-image: none;
|
279 |
-
border-color: #28a745; }
|
280 |
-
.mo2f_tour_btn-outline-success:hover {
|
281 |
-
color: #fff;
|
282 |
-
background-color: #28a745;
|
283 |
-
border-color: #28a745; }
|
284 |
-
.mo2f_tour_btn-outline-success:focus, .mo2f_tour_btn-outline-success.focus {
|
285 |
-
box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.5); }
|
286 |
-
.mo2f_tour_btn-outline-success.disabled, .mo2f_tour_btn-outline-success:disabled {
|
287 |
-
color: #28a745;
|
288 |
-
background-color: transparent; }
|
289 |
-
.mo2f_tour_btn-outline-success:active, .mo2f_tour_btn-outline-success.active,
|
290 |
-
.show > .mo2f_tour_btn-outline-success.dropdown-toggle {
|
291 |
-
color: #fff;
|
292 |
-
background-color: #28a745;
|
293 |
-
border-color: #28a745; }
|
294 |
-
|
295 |
-
.mo2f_tour_btn-outline-info {
|
296 |
-
color: #17a2b8;
|
297 |
-
background-color: transparent;
|
298 |
-
background-image: none;
|
299 |
-
border-color: #17a2b8; }
|
300 |
-
.mo2f_tour_btn-outline-info:hover {
|
301 |
-
color: #fff;
|
302 |
-
background-color: #17a2b8;
|
303 |
-
border-color: #17a2b8; }
|
304 |
-
.mo2f_tour_btn-outline-info:focus, .mo2f_tour_btn-outline-info.focus {
|
305 |
-
box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.5); }
|
306 |
-
.mo2f_tour_btn-outline-info.disabled, .mo2f_tour_btn-outline-info:disabled {
|
307 |
-
color: #17a2b8;
|
308 |
-
background-color: transparent; }
|
309 |
-
.mo2f_tour_btn-outline-info:active, .mo2f_tour_btn-outline-info.active,
|
310 |
-
.show > .mo2f_tour_btn-outline-info.dropdown-toggle {
|
311 |
-
color: #fff;
|
312 |
-
background-color: #17a2b8;
|
313 |
-
border-color: #17a2b8; }
|
314 |
-
|
315 |
-
.mo2f_tour_btn-outline-warning {
|
316 |
-
color: #ffc107;
|
317 |
-
background-color: transparent;
|
318 |
-
background-image: none;
|
319 |
-
border-color: #ffc107; }
|
320 |
-
.mo2f_tour_btn-outline-warning:hover {
|
321 |
-
color: #fff;
|
322 |
-
background-color: #ffc107;
|
323 |
-
border-color: #ffc107; }
|
324 |
-
.mo2f_tour_btn-outline-warning:focus, .mo2f_tour_btn-outline-warning.focus {
|
325 |
-
box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.5); }
|
326 |
-
.mo2f_tour_btn-outline-warning.disabled, .mo2f_tour_btn-outline-warning:disabled {
|
327 |
-
color: #ffc107;
|
328 |
-
background-color: transparent; }
|
329 |
-
.mo2f_tour_btn-outline-warning:active, .mo2f_tour_btn-outline-warning.active,
|
330 |
-
.show > .mo2f_tour_btn-outline-warning.dropdown-toggle {
|
331 |
-
color: #fff;
|
332 |
-
background-color: #ffc107;
|
333 |
-
border-color: #ffc107; }
|
334 |
-
|
335 |
-
.mo2f_tour_btn-outline-danger {
|
336 |
-
color: #dc3545;
|
337 |
-
background-color: transparent;
|
338 |
-
background-image: none;
|
339 |
-
border-color: #dc3545; }
|
340 |
-
.mo2f_tour_btn-outline-danger:hover {
|
341 |
-
color: #fff;
|
342 |
-
background-color: #dc3545;
|
343 |
-
border-color: #dc3545; }
|
344 |
-
.mo2f_tour_btn-outline-danger:focus, .mo2f_tour_btn-outline-danger.focus {
|
345 |
-
box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.5); }
|
346 |
-
.mo2f_tour_btn-outline-danger.disabled, .mo2f_tour_btn-outline-danger:disabled {
|
347 |
-
color: #dc3545;
|
348 |
-
background-color: transparent; }
|
349 |
-
.mo2f_tour_btn-outline-danger:active, .mo2f_tour_btn-outline-danger.active,
|
350 |
-
.show > .mo2f_tour_btn-outline-danger.dropdown-toggle {
|
351 |
-
color: #fff;
|
352 |
-
background-color: #dc3545;
|
353 |
-
border-color: #dc3545; }
|
354 |
-
|
355 |
-
.mo2f_tour_btn-outline-light {
|
356 |
-
color: #f8f9fa;
|
357 |
-
background-color: transparent;
|
358 |
-
background-image: none;
|
359 |
-
border-color: #f8f9fa; }
|
360 |
-
.mo2f_tour_btn-outline-light:hover {
|
361 |
-
color: #fff;
|
362 |
-
background-color: #f8f9fa;
|
363 |
-
border-color: #f8f9fa; }
|
364 |
-
.mo2f_tour_btn-outline-light:focus, .mo2f_tour_btn-outline-light.focus {
|
365 |
-
box-shadow: 0 0 0 3px rgba(248, 249, 250, 0.5); }
|
366 |
-
.mo2f_tour_btn-outline-light.disabled, .mo2f_tour_btn-outline-light:disabled {
|
367 |
-
color: #f8f9fa;
|
368 |
-
background-color: transparent; }
|
369 |
-
.mo2f_tour_btn-outline-light:active, .mo2f_tour_btn-outline-light.active,
|
370 |
-
.show > .mo2f_tour_btn-outline-light.dropdown-toggle {
|
371 |
-
color: #fff;
|
372 |
-
background-color: #f8f9fa;
|
373 |
-
border-color: #f8f9fa; }
|
374 |
-
|
375 |
-
.mo2f_tour_btn-outline-dark {
|
376 |
-
color: #343a40;
|
377 |
-
background-color: transparent;
|
378 |
-
background-image: none;
|
379 |
-
border-color: #343a40; }
|
380 |
-
.mo2f_tour_btn-outline-dark:hover {
|
381 |
-
color: #fff;
|
382 |
-
background-color: #343a40;
|
383 |
-
border-color: #343a40; }
|
384 |
-
.mo2f_tour_btn-outline-dark:focus, .mo2f_tour_btn-outline-dark.focus {
|
385 |
-
box-shadow: 0 0 0 3px rgba(52, 58, 64, 0.5); }
|
386 |
-
.mo2f_tour_btn-outline-dark.disabled, .mo2f_tour_btn-outline-dark:disabled {
|
387 |
-
color: #343a40;
|
388 |
-
background-color: transparent; }
|
389 |
-
.mo2f_tour_btn-outline-dark:active, .mo2f_tour_btn-outline-dark.active,
|
390 |
-
.show > .mo2f_tour_btn-outline-dark.dropdown-toggle {
|
391 |
-
color: #fff;
|
392 |
-
background-color: #343a40;
|
393 |
-
border-color: #343a40; }
|
394 |
-
|
395 |
-
.mo2f_tour_btn-link {
|
396 |
-
font-weight: normal;
|
397 |
-
color: #007bff;
|
398 |
-
border-radius: 0; }
|
399 |
-
.mo2f_tour_btn-link, .mo2f_tour_btn-link:active, .mo2f_tour_btn-link.active, .mo2f_tour_btn-link:disabled {
|
400 |
-
background-color: transparent; }
|
401 |
-
.mo2f_tour_btn-link, .mo2f_tour_btn-link:focus, .mo2f_tour_btn-link:active {
|
402 |
-
border-color: transparent;
|
403 |
-
box-shadow: none; }
|
404 |
-
.mo2f_tour_btn-link:hover {
|
405 |
-
border-color: transparent; }
|
406 |
-
.mo2f_tour_btn-link:focus, .mo2f_tour_btn-link:hover {
|
407 |
-
color: #0056b3;
|
408 |
-
text-decoration: underline;
|
409 |
-
background-color: transparent; }
|
410 |
-
.mo2f_tour_btn-link:disabled {
|
411 |
-
color: #868e96; }
|
412 |
-
.mo2f_tour_btn-link:disabled:focus, .mo2f_tour_btn-link:disabled:hover {
|
413 |
-
text-decoration: none; }
|
414 |
-
|
415 |
-
.mo2f_tour_btn-lg, .mo2f_tour_btn-group-lg > .mo2f_tour_btn {
|
416 |
-
padding: 0.5rem 1rem;
|
417 |
-
font-size: 1.25rem;
|
418 |
-
line-height: 1.5;
|
419 |
-
border-radius: 0.3rem; }
|
420 |
-
|
421 |
-
.mo2f_tour_btn-sm, .mo2f_tour_btn-group-sm > .mo2f_tour_btn {
|
422 |
-
padding: 0.25rem 0.5rem;
|
423 |
-
font-size: 0.875rem;
|
424 |
-
line-height: 1.5;
|
425 |
-
border-radius: 0.2rem; }
|
426 |
-
|
427 |
-
.mo2f_tour_btn-block {
|
428 |
-
display: block;
|
429 |
-
width: 100%; }
|
430 |
-
|
431 |
-
.mo2f_tour_btn-block + .mo2f_tour_btn-block {
|
432 |
-
margin-top: 0.5rem; }
|
433 |
-
|
434 |
-
input[type="submit"].mo2f_tour_btn-block,
|
435 |
-
input[type="reset"].mo2f_tour_btn-block,
|
436 |
-
input[type="button"].mo2f_tour_btn-block {
|
437 |
-
width: 100%; }
|
438 |
-
|
439 |
-
.fade {
|
440 |
-
opacity: 0;
|
441 |
-
transition: opacity 0.15s linear; }
|
442 |
-
.fade.show {
|
443 |
-
opacity: 1; }
|
444 |
-
|
445 |
-
.mo2f_collapse {
|
446 |
-
display: none; }
|
447 |
-
.mo2f_collapse.show {
|
448 |
-
display: block; }
|
449 |
-
|
450 |
-
tr.mo2f_collapse.show {
|
451 |
-
display: table-row; }
|
452 |
-
|
453 |
-
tbody.mo2f_collapse.show {
|
454 |
-
display: table-row-group; }
|
455 |
-
|
456 |
-
.collapsing {
|
457 |
-
position: relative;
|
458 |
-
height: 0;
|
459 |
-
overflow: hidden;
|
460 |
-
transition: height 0.35s ease; }
|
461 |
-
|
462 |
-
.mo2f_tour_btn-group,
|
463 |
-
.mo2f_tour_btn-group-vertical {
|
464 |
-
position: relative;
|
465 |
-
display: inline-flex;
|
466 |
-
vertical-align: middle; }
|
467 |
-
.mo2f_tour_btn-group > .mo2f_tour_btn,
|
468 |
-
.mo2f_tour_btn-group-vertical > .mo2f_tour_btn {
|
469 |
-
position: relative;
|
470 |
-
flex: 0 1 auto;
|
471 |
-
margin-bottom: 0; }
|
472 |
-
.mo2f_tour_btn-group > .mo2f_tour_btn:hover,
|
473 |
-
.mo2f_tour_btn-group-vertical > .mo2f_tour_btn:hover {
|
474 |
-
z-index: 2; }
|
475 |
-
.mo2f_tour_btn-group > .mo2f_tour_btn:focus, .mo2f_tour_btn-group > .mo2f_tour_btn:active, .mo2f_tour_btn-group > .mo2f_tour_btn.active,
|
476 |
-
.mo2f_tour_btn-group-vertical > .mo2f_tour_btn:focus,
|
477 |
-
.mo2f_tour_btn-group-vertical > .mo2f_tour_btn:active,
|
478 |
-
.mo2f_tour_btn-group-vertical > .mo2f_tour_btn.active {
|
479 |
-
z-index: 2; }
|
480 |
-
.mo2f_tour_btn-group .mo2f_tour_btn + .mo2f_tour_btn,
|
481 |
-
.mo2f_tour_btn-group .mo2f_tour_btn + .mo2f_tour_btn-group,
|
482 |
-
.mo2f_tour_btn-group .mo2f_tour_btn-group + .mo2f_tour_btn,
|
483 |
-
.mo2f_tour_btn-group .mo2f_tour_btn-group + .mo2f_tour_btn-group,
|
484 |
-
.mo2f_tour_btn-group-vertical .mo2f_tour_btn + .mo2f_tour_btn,
|
485 |
-
.mo2f_tour_btn-group-vertical .mo2f_tour_btn + .mo2f_tour_btn-group,
|
486 |
-
.mo2f_tour_btn-group-vertical .mo2f_tour_btn-group + .mo2f_tour_btn,
|
487 |
-
.mo2f_tour_btn-group-vertical .mo2f_tour_btn-group + .mo2f_tour_btn-group {
|
488 |
-
margin-left: -1px; }
|
489 |
-
|
490 |
-
.mo2f_tour_btn-toolbar {
|
491 |
-
display: flex;
|
492 |
-
flex-wrap: wrap;
|
493 |
-
justify-content: flex-start; }
|
494 |
-
.mo2f_tour_btn-toolbar .input-group {
|
495 |
-
width: auto; }
|
496 |
-
|
497 |
-
.mo2f_tour_btn-group > .mo2f_tour_btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
|
498 |
-
border-radius: 0; }
|
499 |
-
|
500 |
-
.mo2f_tour_btn-group > .mo2f_tour_btn:first-child {
|
501 |
-
margin-left: 0; }
|
502 |
-
.mo2f_tour_btn-group > .mo2f_tour_btn:first-child:not(:last-child):not(.dropdown-toggle) {
|
503 |
-
border-top-right-radius: 0;
|
504 |
-
border-bottom-right-radius: 0; }
|
505 |
-
|
506 |
-
.mo2f_tour_btn-group > .mo2f_tour_btn:last-child:not(:first-child),
|
507 |
-
.mo2f_tour_btn-group > .dropdown-toggle:not(:first-child) {
|
508 |
-
border-top-left-radius: 0;
|
509 |
-
border-bottom-left-radius: 0; }
|
510 |
-
|
511 |
-
.mo2f_tour_btn-group > .mo2f_tour_btn-group {
|
512 |
-
float: left; }
|
513 |
-
|
514 |
-
.mo2f_tour_btn-group > .mo2f_tour_btn-group:not(:first-child):not(:last-child) > .mo2f_tour_btn {
|
515 |
-
border-radius: 0; }
|
516 |
-
|
517 |
-
.mo2f_tour_btn-group > .mo2f_tour_btn-group:first-child:not(:last-child) > .mo2f_tour_btn:last-child,
|
518 |
-
.mo2f_tour_btn-group > .mo2f_tour_btn-group:first-child:not(:last-child) > .dropdown-toggle {
|
519 |
-
border-top-right-radius: 0;
|
520 |
-
border-bottom-right-radius: 0; }
|
521 |
-
|
522 |
-
.mo2f_tour_btn-group > .mo2f_tour_btn-group:last-child:not(:first-child) > .mo2f_tour_btn:first-child {
|
523 |
-
border-top-left-radius: 0;
|
524 |
-
border-bottom-left-radius: 0; }
|
525 |
-
|
526 |
-
.mo2f_tour_btn + .dropdown-toggle-split {
|
527 |
-
padding-right: 0.5625rem;
|
528 |
-
padding-left: 0.5625rem; }
|
529 |
-
.mo2f_tour_btn + .dropdown-toggle-split::after {
|
530 |
-
margin-left: 0; }
|
531 |
-
|
532 |
-
.mo2f_tour_btn-sm + .dropdown-toggle-split, .mo2f_tour_btn-group-sm > .mo2f_tour_btn + .dropdown-toggle-split {
|
533 |
-
padding-right: 0.375rem;
|
534 |
-
padding-left: 0.375rem; }
|
535 |
-
|
536 |
-
.mo2f_tour_btn-lg + .dropdown-toggle-split, .mo2f_tour_btn-group-lg > .mo2f_tour_btn + .dropdown-toggle-split {
|
537 |
-
padding-right: 0.75rem;
|
538 |
-
padding-left: 0.75rem; }
|
539 |
-
|
540 |
-
.mo2f_tour_btn-group-vertical {
|
541 |
-
display: inline-flex;
|
542 |
-
flex-direction: column;
|
543 |
-
align-items: flex-start;
|
544 |
-
justify-content: center; }
|
545 |
-
.mo2f_tour_btn-group-vertical .mo2f_tour_btn,
|
546 |
-
.mo2f_tour_btn-group-vertical .mo2f_tour_btn-group {
|
547 |
-
width: 100%; }
|
548 |
-
.mo2f_tour_btn-group-vertical > .mo2f_tour_btn + .mo2f_tour_btn,
|
549 |
-
.mo2f_tour_btn-group-vertical > .mo2f_tour_btn + .mo2f_tour_btn-group,
|
550 |
-
.mo2f_tour_btn-group-vertical > .mo2f_tour_btn-group + .mo2f_tour_btn,
|
551 |
-
.mo2f_tour_btn-group-vertical > .mo2f_tour_btn-group + .mo2f_tour_btn-group {
|
552 |
-
margin-top: -1px;
|
553 |
-
margin-left: 0; }
|
554 |
-
|
555 |
-
.mo2f_tour_btn-group-vertical > .mo2f_tour_btn:not(:first-child):not(:last-child) {
|
556 |
-
border-radius: 0; }
|
557 |
-
|
558 |
-
.mo2f_tour_btn-group-vertical > .mo2f_tour_btn:first-child:not(:last-child) {
|
559 |
-
border-bottom-right-radius: 0;
|
560 |
-
border-bottom-left-radius: 0; }
|
561 |
-
|
562 |
-
.mo2f_tour_btn-group-vertical > .mo2f_tour_btn:last-child:not(:first-child) {
|
563 |
-
border-top-left-radius: 0;
|
564 |
-
border-top-right-radius: 0; }
|
565 |
-
|
566 |
-
.mo2f_tour_btn-group-vertical > .mo2f_tour_btn-group:not(:first-child):not(:last-child) > .mo2f_tour_btn {
|
567 |
-
border-radius: 0; }
|
568 |
-
|
569 |
-
.mo2f_tour_btn-group-vertical > .mo2f_tour_btn-group:first-child:not(:last-child) > .mo2f_tour_btn:last-child,
|
570 |
-
.mo2f_tour_btn-group-vertical > .mo2f_tour_btn-group:first-child:not(:last-child) > .dropdown-toggle {
|
571 |
-
border-bottom-right-radius: 0;
|
572 |
-
border-bottom-left-radius: 0; }
|
573 |
-
|
574 |
-
.mo2f_tour_btn-group-vertical > .mo2f_tour_btn-group:last-child:not(:first-child) > .mo2f_tour_btn:first-child {
|
575 |
-
border-top-left-radius: 0;
|
576 |
-
border-top-right-radius: 0; }
|
577 |
-
|
578 |
-
[data-toggle="buttons"] > .mo2f_tour_btn input[type="radio"],
|
579 |
-
[data-toggle="buttons"] > .mo2f_tour_btn input[type="checkbox"],
|
580 |
-
[data-toggle="buttons"] > .mo2f_tour_btn-group > .mo2f_tour_btn input[type="radio"],
|
581 |
-
[data-toggle="buttons"] > .mo2f_tour_btn-group > .btn input[type="checkbox"] {
|
582 |
-
position: absolute;
|
583 |
-
clip: rect(0, 0, 0, 0);
|
584 |
-
pointer-events: none; }
|
585 |
-
|
586 |
-
.mo2f_popover {
|
587 |
-
position: absolute;
|
588 |
-
top: 0;
|
589 |
-
left: 0;
|
590 |
-
z-index: 1060;
|
591 |
-
display: block;
|
592 |
-
max-width: 276px;
|
593 |
-
padding: 1px;
|
594 |
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
595 |
-
font-style: normal;
|
596 |
-
font-weight: normal;
|
597 |
-
line-height: 1.5;
|
598 |
-
text-align: left;
|
599 |
-
text-align: start;
|
600 |
-
text-decoration: none;
|
601 |
-
text-shadow: none;
|
602 |
-
text-transform: none;
|
603 |
-
letter-spacing: normal;
|
604 |
-
word-break: normal;
|
605 |
-
word-spacing: normal;
|
606 |
-
white-space: normal;
|
607 |
-
line-break: auto;
|
608 |
-
font-size: 0.875rem;
|
609 |
-
word-wrap: break-word;
|
610 |
-
background-color: #fff;
|
611 |
-
background-clip: padding-box;
|
612 |
-
border: 1px solid rgba(0, 0, 0, 0.2);
|
613 |
-
border-radius: 0.3rem; }
|
614 |
-
.mo2f_popover .mo2f_arrow {
|
615 |
-
position: absolute;
|
616 |
-
display: block;
|
617 |
-
width: 10px;
|
618 |
-
height: 5px;
|
619 |
-
|
620 |
-
}
|
621 |
-
.mo2f_popover .mo2f_arrow::before,
|
622 |
-
.mo2f_popover .mo2f_arrow::after {
|
623 |
-
position: absolute;
|
624 |
-
display: block;
|
625 |
-
border-color:transparent;
|
626 |
-
border-style: solid; }
|
627 |
-
.mo2f_popover .mo2f_arrow::before {
|
628 |
-
content: "";
|
629 |
-
border-width: 11px;
|
630 |
-
}
|
631 |
-
.mo2f_popover .mo2f_arrow::after {
|
632 |
-
content: "";
|
633 |
-
border-width: 11px;
|
634 |
-
|
635 |
-
}
|
636 |
-
.mo2f_popover.bs-mo2f_popover-top, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="top"] {
|
637 |
-
margin-bottom: 10px; }
|
638 |
-
.mo2f_popover.bs-mo2f_popover-top .mo2f_arrow, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="top"] .mo2f_arrow {
|
639 |
-
bottom: 0; }
|
640 |
-
.mo2f_popover.bs-mo2f_popover-top .mo2f_arrow::before, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="top"] .mo2f_arrow::before,
|
641 |
-
.mo2f_popover.bs-mo2f_popover-top .mo2f_arrow::after, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="top"] .mo2f_arrow::after {
|
642 |
-
|
643 |
-
border-bottom-width: 0; }
|
644 |
-
.mo2f_popover.bs-mo2f_popover-top .mo2f_arrow::before, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="top"] .mo2f_arrow::before {
|
645 |
-
bottom: -11px;
|
646 |
-
margin-left: -6px;
|
647 |
-
border-top-color: rgba(0, 0, 0, 0.25); }
|
648 |
-
.mo2f_popover.bs-mo2f_popover-top .mo2f_arrow::after, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="top"] .mo2f_arrow::after {
|
649 |
-
bottom: -10px;
|
650 |
-
margin-left: -6px;
|
651 |
-
border-top-color: #fff;
|
652 |
-
}
|
653 |
-
.mo2f_popover.bs-mo2f_popover-right, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="right"] {
|
654 |
-
|
655 |
-
margin-left: 10px; }
|
656 |
-
.mo2f_popover.bs-mo2f_popover-right .mo2f_arrow, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="right"] .mo2f_arrow {
|
657 |
-
left: 0; }
|
658 |
-
.mo2f_popover.bs-mo2f_popover-right .mo2f_arrow::before, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="right"] .mo2f_arrow::before,
|
659 |
-
.mo2f_popover.bs-mo2f_popover-right .mo2f_arrow::after, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="right"] .mo2f_arrow::after {
|
660 |
-
margin-top: -8px;
|
661 |
-
border-left-width: 0;
|
662 |
-
}
|
663 |
-
.mo2f_popover.bs-mo2f_popover-right .mo2f_arrow::before, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="right"] .mo2f_arrow::before {
|
664 |
-
left: -11px;
|
665 |
-
border-right-color: rgba(0, 0, 0, 0.25); }
|
666 |
-
.mo2f_popover.bs-mo2f_popover-right .mo2f_arrow::after, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="right"] .mo2f_arrow::after {
|
667 |
-
left: -10px;
|
668 |
-
border-right-color: #fff;
|
669 |
-
}
|
670 |
-
.mo2f_popover.bs-mo2f_popover-bottom, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="bottom"] {
|
671 |
-
margin-top: 10px; }
|
672 |
-
.mo2f_popover.bs-mo2f_popover-bottom .mo2f_arrow, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="bottom"] .mo2f_arrow {
|
673 |
-
top: 0; }
|
674 |
-
.mo2f_popover.bs-mo2f_popover-bottom .mo2f_arrow::before, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="bottom"] .mo2f_arrow::before,
|
675 |
-
.mo2f_popover.bs-mo2f_popover-bottom .mo2f_arrow::after, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="bottom"] .mo2f_arrow::after {
|
676 |
-
margin-left: -7px;
|
677 |
-
border-top-width: 0;
|
678 |
-
|
679 |
-
}
|
680 |
-
.mo2f_popover.bs-mo2f_popover-bottom .mo2f_arrow::before, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="bottom"] .mo2f_arrow::before {
|
681 |
-
top: -11px;
|
682 |
-
border-bottom-color: rgba(0, 0, 0, 0.25); }
|
683 |
-
.mo2f_popover.bs-mo2f_popover-bottom .mo2f_arrow::after, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="bottom"] .mo2f_arrow::after {
|
684 |
-
top: -10px;
|
685 |
-
border-bottom-color: #fff;
|
686 |
-
|
687 |
-
}
|
688 |
-
.mo2f_popover.bs-mo2f_popover-bottom .mo2f_popover-header::before, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="bottom"] .mo2f_popover-header::before {
|
689 |
-
position: absolute;
|
690 |
-
top: 0;
|
691 |
-
left: 50%;
|
692 |
-
display: block;
|
693 |
-
width: 20px;
|
694 |
-
margin-left: -10px;
|
695 |
-
content: "";
|
696 |
-
border-bottom: 1px solid #f7f7f7; }
|
697 |
-
.mo2f_popover.bs-mo2f_popover-left, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="left"] {
|
698 |
-
margin-right: 10px; }
|
699 |
-
.mo2f_popover.bs-mo2f_popover-left .mo2f_arrow, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="left"] .mo2f_arrow {
|
700 |
-
right: 0;
|
701 |
-
|
702 |
-
}
|
703 |
-
.mo2f_popover.bs-mo2f_popover-left .mo2f_arrow::before, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="left"] .mo2f_arrow::before,
|
704 |
-
.mo2f_popover.bs-mo2f_popover-left .mo2f_arrow::after, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="left"] .mo2f_arrow::after {
|
705 |
-
margin-top: -8px;
|
706 |
-
border-right-width: 0;
|
707 |
-
}
|
708 |
-
.mo2f_popover.bs-mo2f_popover-left .mo2f_arrow::before, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="left"] .mo2f_arrow::before {
|
709 |
-
right: -11px;
|
710 |
-
border-left-color: rgba(0, 0, 0, 0.25); }
|
711 |
-
.mo2f_popover.bs-mo2f_popover-left .mo2f_arrow::after, .mo2f_popover.bs-mo2f_popover-auto[x-placement^="left"] .mo2f_arrow::after {
|
712 |
-
right: -10px;
|
713 |
-
border-left-color: #fff;
|
714 |
-
}
|
715 |
-
|
716 |
-
.mo2f_popover-header {
|
717 |
-
padding: 8px 14px;
|
718 |
-
margin-bottom: 0;
|
719 |
-
font-size: 1rem;
|
720 |
-
color: #FFF;
|
721 |
-
background-color: #000;
|
722 |
-
border-bottom: 1px solid #ebebeb;
|
723 |
-
border-top-left-radius: calc(0.3rem - 1px);
|
724 |
-
border-top-right-radius: calc(0.3rem - 1px);
|
725 |
-
}
|
726 |
-
.mo2f_popover-header:empty {
|
727 |
-
display: none; }
|
728 |
-
|
729 |
-
.mo2f_popover-body {
|
730 |
-
padding: 9px 14px;
|
731 |
-
color: #212529; }
|
732 |
-
|
733 |
-
.tour-backdrop {
|
734 |
-
background-color: #000;
|
735 |
-
filter: alpha(opacity=80);
|
736 |
-
opacity: .4;
|
737 |
-
position: absolute;
|
738 |
-
z-index: 1100; }
|
739 |
-
|
740 |
-
.mo2f_popover[class*="tour-"] {
|
741 |
-
z-index: 1102; }
|
742 |
-
.mo2f_popover[class*="tour-"] .mo2f_popover-navigation {
|
743 |
-
overflow: hidden;
|
744 |
-
padding: 9px 14px; }
|
745 |
-
.mo2f_popover[class*="tour-"] .mo2f_popover-navigation *[data-role="end"] {
|
746 |
-
float: right; }
|
747 |
-
.mo2f_popover[class*="tour-"] .mo2f_popover-navigation *[data-role="prev"],
|
748 |
-
.mo2f_popover[class*="tour-"] .mo2f_popover-navigation *[data-role="next"],
|
749 |
-
.mo2f_popover[class*="tour-"] .mo2f_popover-navigation *[data-role="end"] {
|
750 |
-
cursor: pointer; }
|
751 |
-
.mo2f_popover[class*="tour-"] .mo2f_popover-navigation *[data-role="prev"].disabled,
|
752 |
-
.mo2f_popover[class*="tour-"] .mo2f_popover-navigation *[data-role="next"].disabled,
|
753 |
-
.mo2f_popover[class*="tour-"] .mo2f_popover-navigation *[data-role="end"].disabled {
|
754 |
-
cursor: default; }
|
755 |
-
.mo2f_popover[class*="tour-"].orphan {
|
756 |
-
left: 50%;
|
757 |
-
margin-top: 0;
|
758 |
-
position: fixed;
|
759 |
-
top: 50%;
|
760 |
-
transform: translate(-50%, -50%); }
|
761 |
-
.mo2f_popover[class*="tour-"].orphan .mo2f_arrow {
|
762 |
-
display: none; }
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
includes/css/bootstrap.min-preview.css
CHANGED
@@ -4,8 +4,11 @@
|
|
4 |
Â
width: 90%;
|
5 |
Â
}
|
6 |
Â
|
7 |
-
|
8 |
-
|
Â
|
|
Â
|
|
Â
|
|
9 |
Â
|
10 |
Â
.btn {
|
11 |
Â
display: inline-block;
|
4 |
Â
width: 90%;
|
5 |
Â
}
|
6 |
Â
|
7 |
+
.btn-block-inline {
|
8 |
+
display: inline-block;
|
9 |
+
width: 90%;
|
10 |
+
margin-left: 10px;
|
11 |
+
}
|
12 |
Â
|
13 |
Â
.btn {
|
14 |
Â
display: inline-block;
|
includes/css/bootstrap.min.css
CHANGED
@@ -549,3 +549,4 @@ p .button {
|
|
549 |
Â
box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
|
550 |
Â
vertical-align: top;
|
551 |
Â
}
|
Â
|
549 |
Â
box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
|
550 |
Â
vertical-align: top;
|
551 |
Â
}
|
552 |
+
|
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}.fa{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}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-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)}.fa-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 .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-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}.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}
|
includes/css/mo-font-awesome.css
ADDED
@@ -0,0 +1,2191 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
*/
|
5 |
+
/* FONT PATH
|
6 |
+
* -------------------------- */
|
7 |
+
@font-face {
|
8 |
+
font-family: 'FontAwesome';
|
9 |
+
src: url('../fonts/fontawesome-webfont.eot?v=4.6.2');
|
10 |
+
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');
|
11 |
+
font-weight: normal;
|
12 |
+
font-style: normal;
|
13 |
+
}
|
14 |
+
.fa {
|
15 |
+
display: inline-block;
|
16 |
+
font: normal normal normal 14px/1 FontAwesome;
|
17 |
+
font-size: inherit;
|
18 |
+
text-rendering: auto;
|
19 |
+
-webkit-font-smoothing: antialiased;
|
20 |
+
-moz-osx-font-smoothing: grayscale;
|
21 |
+
}
|
22 |
+
/* makes the font 33% larger relative to the icon container */
|
23 |
+
.fa-lg {
|
24 |
+
font-size: 1.33333333em;
|
25 |
+
line-height: 0.75em;
|
26 |
+
vertical-align: -15%;
|
27 |
+
}
|
28 |
+
.fa-2x {
|
29 |
+
font-size: 2em;
|
30 |
+
}
|
31 |
+
.fa-3x {
|
32 |
+
font-size: 3em;
|
33 |
+
}
|
34 |
+
.fa-4x {
|
35 |
+
font-size: 4em;
|
36 |
+
}
|
37 |
+
.fa-5x {
|
38 |
+
font-size: 5em;
|
39 |
+
}
|
40 |
+
.fa-fw {
|
41 |
+
width: 1.28571429em;
|
42 |
+
text-align: center;
|
43 |
+
}
|
44 |
+
.fa-ul {
|
45 |
+
padding-left: 0;
|
46 |
+
margin-left: 2.14285714em;
|
47 |
+
list-style-type: none;
|
48 |
+
}
|
49 |
+
.fa-ul > li {
|
50 |
+
position: relative;
|
51 |
+
}
|
52 |
+
.fa-li {
|
53 |
+
position: absolute;
|
54 |
+
left: -2.14285714em;
|
55 |
+
width: 2.14285714em;
|
56 |
+
top: 0.14285714em;
|
57 |
+
text-align: center;
|
58 |
+
}
|
59 |
+
.fa-li.fa-lg {
|
60 |
+
left: -1.85714286em;
|
61 |
+
}
|
62 |
+
.fa-border {
|
63 |
+
padding: .2em .25em .15em;
|
64 |
+
border: solid 0.08em #eeeeee;
|
65 |
+
border-radius: .1em;
|
66 |
+
}
|
67 |
+
.fa-pull-left {
|
68 |
+
float: left;
|
69 |
+
}
|
70 |
+
.fa-pull-right {
|
71 |
+
float: right;
|
72 |
+
}
|
73 |
+
.fa.fa-pull-left {
|
74 |
+
margin-right: .3em;
|
75 |
+
}
|
76 |
+
.fa.fa-pull-right {
|
77 |
+
margin-left: .3em;
|
78 |
+
}
|
79 |
+
/* Deprecated as of 4.4.0 */
|
80 |
+
.pull-right {
|
81 |
+
float: right;
|
82 |
+
}
|
83 |
+
.pull-left {
|
84 |
+
float: left;
|
85 |
+
}
|
86 |
+
.fa.pull-left {
|
87 |
+
margin-right: .3em;
|
88 |
+
}
|
89 |
+
.fa.pull-right {
|
90 |
+
margin-left: .3em;
|
91 |
+
}
|
92 |
+
.fa-spin {
|
93 |
+
-webkit-animation: fa-spin 2s infinite linear;
|
94 |
+
animation: fa-spin 2s infinite linear;
|
95 |
+
}
|
96 |
+
.fa-pulse {
|
97 |
+
-webkit-animation: fa-spin 1s infinite steps(8);
|
98 |
+
animation: fa-spin 1s infinite steps(8);
|
99 |
+
}
|
100 |
+
@-webkit-keyframes fa-spin {
|
101 |
+
0% {
|
102 |
+
-webkit-transform: rotate(0deg);
|
103 |
+
transform: rotate(0deg);
|
104 |
+
}
|
105 |
+
100% {
|
106 |
+
-webkit-transform: rotate(359deg);
|
107 |
+
transform: rotate(359deg);
|
108 |
+
}
|
109 |
+
}
|
110 |
+
@keyframes fa-spin {
|
111 |
+
0% {
|
112 |
+
-webkit-transform: rotate(0deg);
|
113 |
+
transform: rotate(0deg);
|
114 |
+
}
|
115 |
+
100% {
|
116 |
+
-webkit-transform: rotate(359deg);
|
117 |
+
transform: rotate(359deg);
|
118 |
+
}
|
119 |
+
}
|
120 |
+
.fa-rotate-90 {
|
121 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
|
122 |
+
-webkit-transform: rotate(90deg);
|
123 |
+
-ms-transform: rotate(90deg);
|
124 |
+
transform: rotate(90deg);
|
125 |
+
}
|
126 |
+
.fa-rotate-180 {
|
127 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
|
128 |
+
-webkit-transform: rotate(180deg);
|
129 |
+
-ms-transform: rotate(180deg);
|
130 |
+
transform: rotate(180deg);
|
131 |
+
}
|
132 |
+
.fa-rotate-270 {
|
133 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
|
134 |
+
-webkit-transform: rotate(270deg);
|
135 |
+
-ms-transform: rotate(270deg);
|
136 |
+
transform: rotate(270deg);
|
137 |
+
}
|
138 |
+
.fa-flip-horizontal {
|
139 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
|
140 |
+
-webkit-transform: scale(-1, 1);
|
141 |
+
-ms-transform: scale(-1, 1);
|
142 |
+
transform: scale(-1, 1);
|
143 |
+
}
|
144 |
+
.fa-flip-vertical {
|
145 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
|
146 |
+
-webkit-transform: scale(1, -1);
|
147 |
+
-ms-transform: scale(1, -1);
|
148 |
+
transform: scale(1, -1);
|
149 |
+
}
|
150 |
+
:root .fa-rotate-90,
|
151 |
+
:root .fa-rotate-180,
|
152 |
+
:root .fa-rotate-270,
|
153 |
+
:root .fa-flip-horizontal,
|
154 |
+
:root .fa-flip-vertical {
|
155 |
+
filter: none;
|
156 |
+
}
|
157 |
+
.fa-stack {
|
158 |
+
position: relative;
|
159 |
+
display: inline-block;
|
160 |
+
width: 2em;
|
161 |
+
height: 2em;
|
162 |
+
line-height: 2em;
|
163 |
+
vertical-align: middle;
|
164 |
+
}
|
165 |
+
.fa-stack-1x,
|
166 |
+
.fa-stack-2x {
|
167 |
+
position: absolute;
|
168 |
+
left: 0;
|
169 |
+
width: 100%;
|
170 |
+
text-align: center;
|
171 |
+
}
|
172 |
+
.fa-stack-1x {
|
173 |
+
line-height: inherit;
|
174 |
+
}
|
175 |
+
.fa-stack-2x {
|
176 |
+
font-size: 2em;
|
177 |
+
}
|
178 |
+
.fa-inverse {
|
179 |
+
color: #ffffff;
|
180 |
+
}
|
181 |
+
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
182 |
+
readers do not read off random characters that represent icons */
|
183 |
+
.fa-glass:before {
|
184 |
+
content: "\f000";
|
185 |
+
}
|
186 |
+
.fa-music:before {
|
187 |
+
content: "\f001";
|
188 |
+
}
|
189 |
+
.fa-search:before {
|
190 |
+
content: "\f002";
|
191 |
+
}
|
192 |
+
.fa-envelope-o:before {
|
193 |
+
content: "\f003";
|
194 |
+
}
|
195 |
+
.fa-heart:before {
|
196 |
+
content: "\f004";
|
197 |
+
}
|
198 |
+
.fa-star:before {
|
199 |
+
content: "\f005";
|
200 |
+
}
|
201 |
+
.fa-star-o:before {
|
202 |
+
content: "\f006";
|
203 |
+
}
|
204 |
+
.fa-user:before {
|
205 |
+
content: "\f007";
|
206 |
+
}
|
207 |
+
.fa-film:before {
|
208 |
+
content: "\f008";
|
209 |
+
}
|
210 |
+
.fa-th-large:before {
|
211 |
+
content: "\f009";
|
212 |
+
}
|
213 |
+
.fa-th:before {
|
214 |
+
content: "\f00a";
|
215 |
+
}
|
216 |
+
.fa-th-list:before {
|
217 |
+
content: "\f00b";
|
218 |
+
}
|
219 |
+
.fa-check:before {
|
220 |
+
content: "\f00c";
|
221 |
+
}
|
222 |
+
.fa-remove:before,
|
223 |
+
.fa-close:before,
|
224 |
+
.fa-times:before {
|
225 |
+
content: "\f00d";
|
226 |
+
}
|
227 |
+
.fa-search-plus:before {
|
228 |
+
content: "\f00e";
|
229 |
+
}
|
230 |
+
.fa-search-minus:before {
|
231 |
+
content: "\f010";
|
232 |
+
}
|
233 |
+
.fa-power-off:before {
|
234 |
+
content: "\f011";
|
235 |
+
}
|
236 |
+
.fa-signal:before {
|
237 |
+
content: "\f012";
|
238 |
+
}
|
239 |
+
.fa-gear:before,
|
240 |
+
.fa-cog:before {
|
241 |
+
content: "\f013";
|
242 |
+
}
|
243 |
+
.fa-trash-o:before {
|
244 |
+
content: "\f014";
|
245 |
+
}
|
246 |
+
.fa-home:before {
|
247 |
+
content: "\f015";
|
248 |
+
}
|
249 |
+
.fa-file-o:before {
|
250 |
+
content: "\f016";
|
251 |
+
}
|
252 |
+
.fa-clock-o:before {
|
253 |
+
content: "\f017";
|
254 |
+
}
|
255 |
+
.fa-road:before {
|
256 |
+
content: "\f018";
|
257 |
+
}
|
258 |
+
.fa-download:before {
|
259 |
+
content: "\f019";
|
260 |
+
}
|
261 |
+
.fa-arrow-circle-o-down:before {
|
262 |
+
content: "\f01a";
|
263 |
+
}
|
264 |
+
.fa-arrow-circle-o-up:before {
|
265 |
+
content: "\f01b";
|
266 |
+
}
|
267 |
+
.fa-inbox:before {
|
268 |
+
content: "\f01c";
|
269 |
+
}
|
270 |
+
.fa-play-circle-o:before {
|
271 |
+
content: "\f01d";
|
272 |
+
}
|
273 |
+
.fa-rotate-right:before,
|
274 |
+
.fa-repeat:before {
|
275 |
+
content: "\f01e";
|
276 |
+
}
|
277 |
+
.fa-refresh:before {
|
278 |
+
content: "\f021";
|
279 |
+
}
|
280 |
+
.fa-list-alt:before {
|
281 |
+
content: "\f022";
|
282 |
+
}
|
283 |
+
.fa-lock:before {
|
284 |
+
content: "\f023";
|
285 |
+
}
|
286 |
+
.fa-flag:before {
|
287 |
+
content: "\f024";
|
288 |
+
}
|
289 |
+
.fa-headphones:before {
|
290 |
+
content: "\f025";
|
291 |
+
}
|
292 |
+
.fa-volume-off:before {
|
293 |
+
content: "\f026";
|
294 |
+
}
|
295 |
+
.fa-volume-down:before {
|
296 |
+
content: "\f027";
|
297 |
+
}
|
298 |
+
.fa-volume-up:before {
|
299 |
+
content: "\f028";
|
300 |
+
}
|
301 |
+
.fa-qrcode:before {
|
302 |
+
content: "\f029";
|
303 |
+
}
|
304 |
+
.fa-barcode:before {
|
305 |
+
content: "\f02a";
|
306 |
+
}
|
307 |
+
.fa-tag:before {
|
308 |
+
content: "\f02b";
|
309 |
+
}
|
310 |
+
.fa-tags:before {
|
311 |
+
content: "\f02c";
|
312 |
+
}
|
313 |
+
.fa-book:before {
|
314 |
+
content: "\f02d";
|
315 |
+
}
|
316 |
+
.fa-bookmark:before {
|
317 |
+
content: "\f02e";
|
318 |
+
}
|
319 |
+
.fa-print:before {
|
320 |
+
content: "\f02f";
|
321 |
+
}
|
322 |
+
.fa-camera:before {
|
323 |
+
content: "\f030";
|
324 |
+
}
|
325 |
+
.fa-font:before {
|
326 |
+
content: "\f031";
|
327 |
+
}
|
328 |
+
.fa-bold:before {
|
329 |
+
content: "\f032";
|
330 |
+
}
|
331 |
+
.fa-italic:before {
|
332 |
+
content: "\f033";
|
333 |
+
}
|
334 |
+
.fa-text-height:before {
|
335 |
+
content: "\f034";
|
336 |
+
}
|
337 |
+
.fa-text-width:before {
|
338 |
+
content: "\f035";
|
339 |
+
}
|
340 |
+
.fa-align-left:before {
|
341 |
+
content: "\f036";
|
342 |
+
}
|
343 |
+
.fa-align-center:before {
|
344 |
+
content: "\f037";
|
345 |
+
}
|
346 |
+
.fa-align-right:before {
|
347 |
+
content: "\f038";
|
348 |
+
}
|
349 |
+
.fa-align-justify:before {
|
350 |
+
content: "\f039";
|
351 |
+
}
|
352 |
+
.fa-list:before {
|
353 |
+
content: "\f03a";
|
354 |
+
}
|
355 |
+
.fa-dedent:before,
|
356 |
+
.fa-outdent:before {
|
357 |
+
content: "\f03b";
|
358 |
+
}
|
359 |
+
.fa-indent:before {
|
360 |
+
content: "\f03c";
|
361 |
+
}
|
362 |
+
.fa-video-camera:before {
|
363 |
+
content: "\f03d";
|
364 |
+
}
|
365 |
+
.fa-photo:before,
|
366 |
+
.fa-image:before,
|
367 |
+
.fa-picture-o:before {
|
368 |
+
content: "\f03e";
|
369 |
+
}
|
370 |
+
.fa-pencil:before {
|
371 |
+
content: "\f040";
|
372 |
+
}
|
373 |
+
.fa-map-marker:before {
|
374 |
+
content: "\f041";
|
375 |
+
}
|
376 |
+
.fa-adjust:before {
|
377 |
+
content: "\f042";
|
378 |
+
}
|
379 |
+
.fa-tint:before {
|
380 |
+
content: "\f043";
|
381 |
+
}
|
382 |
+
.fa-edit:before,
|
383 |
+
.fa-pencil-square-o:before {
|
384 |
+
content: "\f044";
|
385 |
+
}
|
386 |
+
.fa-share-square-o:before {
|
387 |
+
content: "\f045";
|
388 |
+
}
|
389 |
+
.fa-check-square-o:before {
|
390 |
+
content: "\f046";
|
391 |
+
}
|
392 |
+
.fa-arrows:before {
|
393 |
+
content: "\f047";
|
394 |
+
}
|
395 |
+
.fa-step-backward:before {
|
396 |
+
content: "\f048";
|
397 |
+
}
|
398 |
+
.fa-fast-backward:before {
|
399 |
+
content: "\f049";
|
400 |
+
}
|
401 |
+
.fa-backward:before {
|
402 |
+
content: "\f04a";
|
403 |
+
}
|
404 |
+
.fa-play:before {
|
405 |
+
content: "\f04b";
|
406 |
+
}
|
407 |
+
.fa-pause:before {
|
408 |
+
content: "\f04c";
|
409 |
+
}
|
410 |
+
.fa-stop:before {
|
411 |
+
content: "\f04d";
|
412 |
+
}
|
413 |
+
.fa-forward:before {
|
414 |
+
content: "\f04e";
|
415 |
+
}
|
416 |
+
.fa-fast-forward:before {
|
417 |
+
content: "\f050";
|
418 |
+
}
|
419 |
+
.fa-step-forward:before {
|
420 |
+
content: "\f051";
|
421 |
+
}
|
422 |
+
.fa-eject:before {
|
423 |
+
content: "\f052";
|
424 |
+
}
|
425 |
+
.fa-chevron-left:before {
|
426 |
+
content: "\f053";
|
427 |
+
}
|
428 |
+
.fa-chevron-right:before {
|
429 |
+
content: "\f054";
|
430 |
+
}
|
431 |
+
.fa-plus-circle:before {
|
432 |
+
content: "\f055";
|
433 |
+
}
|
434 |
+
.fa-minus-circle:before {
|
435 |
+
content: "\f056";
|
436 |
+
}
|
437 |
+
.fa-times-circle:before {
|
438 |
+
content: "\f057";
|
439 |
+
}
|
440 |
+
.fa-check-circle:before {
|
441 |
+
content: "\f058";
|
442 |
+
}
|
443 |
+
.fa-question-circle:before {
|
444 |
+
content: "\f059";
|
445 |
+
}
|
446 |
+
.fa-info-circle:before {
|
447 |
+
content: "\f05a";
|
448 |
+
}
|
449 |
+
.fa-crosshairs:before {
|
450 |
+
content: "\f05b";
|
451 |
+
}
|
452 |
+
.fa-times-circle-o:before {
|
453 |
+
content: "\f05c";
|
454 |
+
}
|
455 |
+
.fa-check-circle-o:before {
|
456 |
+
content: "\f05d";
|
457 |
+
}
|
458 |
+
.fa-ban:before {
|
459 |
+
content: "\f05e";
|
460 |
+
}
|
461 |
+
.fa-arrow-left:before {
|
462 |
+
content: "\f060";
|
463 |
+
}
|
464 |
+
.fa-arrow-right:before {
|
465 |
+
content: "\f061";
|
466 |
+
}
|
467 |
+
.fa-arrow-up:before {
|
468 |
+
content: "\f062";
|
469 |
+
}
|
470 |
+
.fa-arrow-down:before {
|
471 |
+
content: "\f063";
|
472 |
+
}
|
473 |
+
.fa-mail-forward:before,
|
474 |
+
.fa-share:before {
|
475 |
+
content: "\f064";
|
476 |
+
}
|
477 |
+
.fa-expand:before {
|
478 |
+
content: "\f065";
|
479 |
+
}
|
480 |
+
.fa-compress:before {
|
481 |
+
content: "\f066";
|
482 |
+
}
|
483 |
+
.fa-plus:before {
|
484 |
+
content: "\f067";
|
485 |
+
}
|
486 |
+
.fa-minus:before {
|
487 |
+
content: "\f068";
|
488 |
+
}
|
489 |
+
.fa-asterisk:before {
|
490 |
+
content: "\f069";
|
491 |
+
}
|
492 |
+
.fa-exclamation-circle:before {
|
493 |
+
content: "\f06a";
|
494 |
+
}
|
495 |
+
.fa-gift:before {
|
496 |
+
content: "\f06b";
|
497 |
+
}
|
498 |
+
.fa-leaf:before {
|
499 |
+
content: "\f06c";
|
500 |
+
}
|
501 |
+
.fa-fire:before {
|
502 |
+
content: "\f06d";
|
503 |
+
}
|
504 |
+
.fa-eye:before {
|
505 |
+
content: "\f06e";
|
506 |
+
}
|
507 |
+
.fa-eye-slash:before {
|
508 |
+
content: "\f070";
|
509 |
+
}
|
510 |
+
.fa-warning:before,
|
511 |
+
.fa-exclamation-triangle:before {
|
512 |
+
content: "\f071";
|
513 |
+
}
|
514 |
+
.fa-plane:before {
|
515 |
+
content: "\f072";
|
516 |
+
}
|
517 |
+
.fa-calendar:before {
|
518 |
+
content: "\f073";
|
519 |
+
}
|
520 |
+
.fa-random:before {
|
521 |
+
content: "\f074";
|
522 |
+
}
|
523 |
+
.fa-comment:before {
|
524 |
+
content: "\f075";
|
525 |
+
}
|
526 |
+
.fa-magnet:before {
|
527 |
+
content: "\f076";
|
528 |
+
}
|
529 |
+
.fa-chevron-up:before {
|
530 |
+
content: "\f077";
|
531 |
+
}
|
532 |
+
.fa-chevron-down:before {
|
533 |
+
content: "\f078";
|
534 |
+
}
|
535 |
+
.fa-retweet:before {
|
536 |
+
content: "\f079";
|
537 |
+
}
|
538 |
+
.fa-shopping-cart:before {
|
539 |
+
content: "\f07a";
|
540 |
+
}
|
541 |
+
.fa-folder:before {
|
542 |
+
content: "\f07b";
|
543 |
+
}
|
544 |
+
.fa-folder-open:before {
|
545 |
+
content: "\f07c";
|
546 |
+
}
|
547 |
+
.fa-arrows-v:before {
|
548 |
+
content: "\f07d";
|
549 |
+
}
|
550 |
+
.fa-arrows-h:before {
|
551 |
+
content: "\f07e";
|
552 |
+
}
|
553 |
+
.fa-bar-chart-o:before,
|
554 |
+
.fa-bar-chart:before {
|
555 |
+
content: "\f080";
|
556 |
+
}
|
557 |
+
.fa-twitter-square:before {
|
558 |
+
content: "\f081";
|
559 |
+
}
|
560 |
+
.fa-facebook-square:before {
|
561 |
+
content: "\f082";
|
562 |
+
}
|
563 |
+
.fa-camera-retro:before {
|
564 |
+
content: "\f083";
|
565 |
+
}
|
566 |
+
.fa-key:before {
|
567 |
+
content: "\f084";
|
568 |
+
}
|
569 |
+
.fa-gears:before,
|
570 |
+
.fa-cogs:before {
|
571 |
+
content: "\f085";
|
572 |
+
}
|
573 |
+
.fa-comments:before {
|
574 |
+
content: "\f086";
|
575 |
+
}
|
576 |
+
.fa-thumbs-o-up:before {
|
577 |
+
content: "\f087";
|
578 |
+
}
|
579 |
+
.fa-thumbs-o-down:before {
|
580 |
+
content: "\f088";
|
581 |
+
}
|
582 |
+
.fa-star-half:before {
|
583 |
+
content: "\f089";
|
584 |
+
}
|
585 |
+
.fa-heart-o:before {
|
586 |
+
content: "\f08a";
|
587 |
+
}
|
588 |
+
.fa-sign-out:before {
|
589 |
+
content: "\f08b";
|
590 |
+
}
|
591 |
+
.fa-linkedin-square:before {
|
592 |
+
content: "\f08c";
|
593 |
+
}
|
594 |
+
.fa-thumb-tack:before {
|
595 |
+
content: "\f08d";
|
596 |
+
}
|
597 |
+
.fa-external-link:before {
|
598 |
+
content: "\f08e";
|
599 |
+
}
|
600 |
+
.fa-sign-in:before {
|
601 |
+
content: "\f090";
|
602 |
+
}
|
603 |
+
.fa-trophy:before {
|
604 |
+
content: "\f091";
|
605 |
+
}
|
606 |
+
.fa-github-square:before {
|
607 |
+
content: "\f092";
|
608 |
+
}
|
609 |
+
.fa-upload:before {
|
610 |
+
content: "\f093";
|
611 |
+
}
|
612 |
+
.fa-lemon-o:before {
|
613 |
+
content: "\f094";
|
614 |
+
}
|
615 |
+
.fa-phone:before {
|
616 |
+
content: "\f095";
|
617 |
+
}
|
618 |
+
.fa-square-o:before {
|
619 |
+
content: "\f096";
|
620 |
+
}
|
621 |
+
.fa-bookmark-o:before {
|
622 |
+
content: "\f097";
|
623 |
+
}
|
624 |
+
.fa-phone-square:before {
|
625 |
+
content: "\f098";
|
626 |
+
}
|
627 |
+
.fa-twitter:before {
|
628 |
+
content: "\f099";
|
629 |
+
}
|
630 |
+
.fa-facebook-f:before,
|
631 |
+
.fa-facebook:before {
|
632 |
+
content: "\f09a";
|
633 |
+
}
|
634 |
+
.fa-github:before {
|
635 |
+
content: "\f09b";
|
636 |
+
}
|
637 |
+
.fa-unlock:before {
|
638 |
+
content: "\f09c";
|
639 |
+
}
|
640 |
+
.fa-credit-card:before {
|
641 |
+
content: "\f09d";
|
642 |
+
}
|
643 |
+
.fa-feed:before,
|
644 |
+
.fa-rss:before {
|
645 |
+
content: "\f09e";
|
646 |
+
}
|
647 |
+
.fa-hdd-o:before {
|
648 |
+
content: "\f0a0";
|
649 |
+
}
|
650 |
+
.fa-bullhorn:before {
|
651 |
+
content: "\f0a1";
|
652 |
+
}
|
653 |
+
.fa-bell:before {
|
654 |
+
content: "\f0f3";
|
655 |
+
}
|
656 |
+
.fa-certificate:before {
|
657 |
+
content: "\f0a3";
|
658 |
+
}
|
659 |
+
.fa-hand-o-right:before {
|
660 |
+
content: "\f0a4";
|
661 |
+
}
|
662 |
+
.fa-hand-o-left:before {
|
663 |
+
content: "\f0a5";
|
664 |
+
}
|
665 |
+
.fa-hand-o-up:before {
|
666 |
+
content: "\f0a6";
|
667 |
+
}
|
668 |
+
.fa-hand-o-down:before {
|
669 |
+
content: "\f0a7";
|
670 |
+
}
|
671 |
+
.fa-arrow-circle-left:before {
|
672 |
+
content: "\f0a8";
|
673 |
+
}
|
674 |
+
.fa-arrow-circle-right:before {
|
675 |
+
content: "\f0a9";
|
676 |
+
}
|
677 |
+
.fa-arrow-circle-up:before {
|
678 |
+
content: "\f0aa";
|
679 |
+
}
|
680 |
+
.fa-arrow-circle-down:before {
|
681 |
+
content: "\f0ab";
|
682 |
+
}
|
683 |
+
.fa-globe:before {
|
684 |
+
content: "\f0ac";
|
685 |
+
}
|
686 |
+
.fa-wrench:before {
|
687 |
+
content: "\f0ad";
|
688 |
+
}
|
689 |
+
.fa-tasks:before {
|
690 |
+
content: "\f0ae";
|
691 |
+
}
|
692 |
+
.fa-filter:before {
|
693 |
+
content: "\f0b0";
|
694 |
+
}
|
695 |
+
.fa-briefcase:before {
|
696 |
+
content: "\f0b1";
|
697 |
+
}
|
698 |
+
.fa-arrows-alt:before {
|
699 |
+
content: "\f0b2";
|
700 |
+
}
|
701 |
+
.fa-group:before,
|
702 |
+
.fa-users:before {
|
703 |
+
content: "\f0c0";
|
704 |
+
}
|
705 |
+
.fa-chain:before,
|
706 |
+
.fa-link:before {
|
707 |
+
content: "\f0c1";
|
708 |
+
}
|
709 |
+
.fa-cloud:before {
|
710 |
+
content: "\f0c2";
|
711 |
+
}
|
712 |
+
.fa-flask:before {
|
713 |
+
content: "\f0c3";
|
714 |
+
}
|
715 |
+
.fa-cut:before,
|
716 |
+
.fa-scissors:before {
|
717 |
+
content: "\f0c4";
|
718 |
+
}
|
719 |
+
.fa-copy:before,
|
720 |
+
.fa-files-o:before {
|
721 |
+
content: "\f0c5";
|
722 |
+
}
|
723 |
+
.fa-paperclip:before {
|
724 |
+
content: "\f0c6";
|
725 |
+
}
|
726 |
+
.fa-save:before,
|
727 |
+
.fa-floppy-o:before {
|
728 |
+
content: "\f0c7";
|
729 |
+
}
|
730 |
+
.fa-square:before {
|
731 |
+
content: "\f0c8";
|
732 |
+
}
|
733 |
+
.fa-navicon:before,
|
734 |
+
.fa-reorder:before,
|
735 |
+
.fa-bars:before {
|
736 |
+
content: "\f0c9";
|
737 |
+
}
|
738 |
+
.fa-list-ul:before {
|
739 |
+
content: "\f0ca";
|
740 |
+
}
|
741 |
+
.fa-list-ol:before {
|
742 |
+
content: "\f0cb";
|
743 |
+
}
|
744 |
+
.fa-strikethrough:before {
|
745 |
+
content: "\f0cc";
|
746 |
+
}
|
747 |
+
.fa-underline:before {
|
748 |
+
content: "\f0cd";
|
749 |
+
}
|
750 |
+
.fa-table:before {
|
751 |
+
content: "\f0ce";
|
752 |
+
}
|
753 |
+
.fa-magic:before {
|
754 |
+
content: "\f0d0";
|
755 |
+
}
|
756 |
+
.fa-truck:before {
|
757 |
+
content: "\f0d1";
|
758 |
+
}
|
759 |
+
.fa-pinterest:before {
|
760 |
+
content: "\f0d2";
|
761 |
+
}
|
762 |
+
.fa-pinterest-square:before {
|
763 |
+
content: "\f0d3";
|
764 |
+
}
|
765 |
+
.fa-google-plus-square:before {
|
766 |
+
content: "\f0d4";
|
767 |
+
}
|
768 |
+
.fa-google-plus:before {
|
769 |
+
content: "\f0d5";
|
770 |
+
}
|
771 |
+
.fa-money:before {
|
772 |
+
content: "\f0d6";
|
773 |
+
}
|
774 |
+
.fa-caret-down:before {
|
775 |
+
content: "\f0d7";
|
776 |
+
}
|
777 |
+
.fa-caret-up:before {
|
778 |
+
content: "\f0d8";
|
779 |
+
}
|
780 |
+
.fa-caret-left:before {
|
781 |
+
content: "\f0d9";
|
782 |
+
}
|
783 |
+
.fa-caret-right:before {
|
784 |
+
content: "\f0da";
|
785 |
+
}
|
786 |
+
.fa-columns:before {
|
787 |
+
content: "\f0db";
|
788 |
+
}
|
789 |
+
.fa-unsorted:before,
|
790 |
+
.fa-sort:before {
|
791 |
+
content: "\f0dc";
|
792 |
+
}
|
793 |
+
.fa-sort-down:before,
|
794 |
+
.fa-sort-desc:before {
|
795 |
+
content: "\f0dd";
|
796 |
+
}
|
797 |
+
.fa-sort-up:before,
|
798 |
+
.fa-sort-asc:before {
|
799 |
+
content: "\f0de";
|
800 |
+
}
|
801 |
+
.fa-envelope:before {
|
802 |
+
content: "\f0e0";
|
803 |
+
}
|
804 |
+
.fa-linkedin:before {
|
805 |
+
content: "\f0e1";
|
806 |
+
}
|
807 |
+
.fa-rotate-left:before,
|
808 |
+
.fa-undo:before {
|
809 |
+
content: "\f0e2";
|
810 |
+
}
|
811 |
+
.fa-legal:before,
|
812 |
+
.fa-gavel:before {
|
813 |
+
content: "\f0e3";
|
814 |
+
}
|
815 |
+
.fa-dashboard:before,
|
816 |
+
.fa-tachometer:before {
|
817 |
+
content: "\f0e4";
|
818 |
+
}
|
819 |
+
.fa-comment-o:before {
|
820 |
+
content: "\f0e5";
|
821 |
+
}
|
822 |
+
.fa-comments-o:before {
|
823 |
+
content: "\f0e6";
|
824 |
+
}
|
825 |
+
.fa-flash:before,
|
826 |
+
.fa-bolt:before {
|
827 |
+
content: "\f0e7";
|
828 |
+
}
|
829 |
+
.fa-sitemap:before {
|
830 |
+
content: "\f0e8";
|
831 |
+
}
|
832 |
+
.fa-umbrella:before {
|
833 |
+
content: "\f0e9";
|
834 |
+
}
|
835 |
+
.fa-paste:before,
|
836 |
+
.fa-clipboard:before {
|
837 |
+
content: "\f0ea";
|
838 |
+
}
|
839 |
+
.fa-lightbulb-o:before {
|
840 |
+
content: "\f0eb";
|
841 |
+
}
|
842 |
+
.fa-exchange:before {
|
843 |
+
content: "\f0ec";
|
844 |
+
}
|
845 |
+
.fa-cloud-download:before {
|
846 |
+
content: "\f0ed";
|
847 |
+
}
|
848 |
+
.fa-cloud-upload:before {
|
849 |
+
content: "\f0ee";
|
850 |
+
}
|
851 |
+
.fa-user-md:before {
|
852 |
+
content: "\f0f0";
|
853 |
+
}
|
854 |
+
.fa-stethoscope:before {
|
855 |
+
content: "\f0f1";
|
856 |
+
}
|
857 |
+
.fa-suitcase:before {
|
858 |
+
content: "\f0f2";
|
859 |
+
}
|
860 |
+
.fa-bell-o:before {
|
861 |
+
content: "\f0a2";
|
862 |
+
}
|
863 |
+
.fa-coffee:before {
|
864 |
+
content: "\f0f4";
|
865 |
+
}
|
866 |
+
.fa-cutlery:before {
|
867 |
+
content: "\f0f5";
|
868 |
+
}
|
869 |
+
.fa-file-text-o:before {
|
870 |
+
content: "\f0f6";
|
871 |
+
}
|
872 |
+
.fa-building-o:before {
|
873 |
+
content: "\f0f7";
|
874 |
+
}
|
875 |
+
.fa-hospital-o:before {
|
876 |
+
content: "\f0f8";
|
877 |
+
}
|
878 |
+
.fa-ambulance:before {
|
879 |
+
content: "\f0f9";
|
880 |
+
}
|
881 |
+
.fa-medkit:before {
|
882 |
+
content: "\f0fa";
|
883 |
+
}
|
884 |
+
.fa-fighter-jet:before {
|
885 |
+
content: "\f0fb";
|
886 |
+
}
|
887 |
+
.fa-beer:before {
|
888 |
+
content: "\f0fc";
|
889 |
+
}
|
890 |
+
.fa-h-square:before {
|
891 |
+
content: "\f0fd";
|
892 |
+
}
|
893 |
+
.fa-plus-square:before {
|
894 |
+
content: "\f0fe";
|
895 |
+
}
|
896 |
+
.fa-angle-double-left:before {
|
897 |
+
content: "\f100";
|
898 |
+
}
|
899 |
+
.fa-angle-double-right:before {
|
900 |
+
content: "\f101";
|
901 |
+
}
|
902 |
+
.fa-angle-double-up:before {
|
903 |
+
content: "\f102";
|
904 |
+
}
|
905 |
+
.fa-angle-double-down:before {
|
906 |
+
content: "\f103";
|
907 |
+
}
|
908 |
+
.fa-angle-left:before {
|
909 |
+
content: "\f104";
|
910 |
+
}
|
911 |
+
.fa-angle-right:before {
|
912 |
+
content: "\f105";
|
913 |
+
}
|
914 |
+
.fa-angle-up:before {
|
915 |
+
content: "\f106";
|
916 |
+
}
|
917 |
+
.fa-angle-down:before {
|
918 |
+
content: "\f107";
|
919 |
+
}
|
920 |
+
.fa-desktop:before {
|
921 |
+
content: "\f108";
|
922 |
+
}
|
923 |
+
.fa-laptop:before {
|
924 |
+
content: "\f109";
|
925 |
+
}
|
926 |
+
.fa-tablet:before {
|
927 |
+
content: "\f10a";
|
928 |
+
}
|
929 |
+
.fa-mobile-phone:before,
|
930 |
+
.fa-mobile:before {
|
931 |
+
content: "\f10b";
|
932 |
+
}
|
933 |
+
.fa-circle-o:before {
|
934 |
+
content: "\f10c";
|
935 |
+
}
|
936 |
+
.fa-quote-left:before {
|
937 |
+
content: "\f10d";
|
938 |
+
}
|
939 |
+
.fa-quote-right:before {
|
940 |
+
content: "\f10e";
|
941 |
+
}
|
942 |
+
.fa-spinner:before {
|
943 |
+
content: "\f110";
|
944 |
+
}
|
945 |
+
.fa-circle:before {
|
946 |
+
content: "\f111";
|
947 |
+
}
|
948 |
+
.fa-mail-reply:before,
|
949 |
+
.fa-reply:before {
|
950 |
+
content: "\f112";
|
951 |
+
}
|
952 |
+
.fa-github-alt:before {
|
953 |
+
content: "\f113";
|
954 |
+
}
|
955 |
+
.fa-folder-o:before {
|
956 |
+
content: "\f114";
|
957 |
+
}
|
958 |
+
.fa-folder-open-o:before {
|
959 |
+
content: "\f115";
|
960 |
+
}
|
961 |
+
.fa-smile-o:before {
|
962 |
+
content: "\f118";
|
963 |
+
}
|
964 |
+
.fa-frown-o:before {
|
965 |
+
content: "\f119";
|
966 |
+
}
|
967 |
+
.fa-meh-o:before {
|
968 |
+
content: "\f11a";
|
969 |
+
}
|
970 |
+
.fa-gamepad:before {
|
971 |
+
content: "\f11b";
|
972 |
+
}
|
973 |
+
.fa-keyboard-o:before {
|
974 |
+
content: "\f11c";
|
975 |
+
}
|
976 |
+
.fa-flag-o:before {
|
977 |
+
content: "\f11d";
|
978 |
+
}
|
979 |
+
.fa-flag-checkered:before {
|
980 |
+
content: "\f11e";
|
981 |
+
}
|
982 |
+
.fa-terminal:before {
|
983 |
+
content: "\f120";
|
984 |
+
}
|
985 |
+
.fa-code:before {
|
986 |
+
content: "\f121";
|
987 |
+
}
|
988 |
+
.fa-mail-reply-all:before,
|
989 |
+
.fa-reply-all:before {
|
990 |
+
content: "\f122";
|
991 |
+
}
|
992 |
+
.fa-star-half-empty:before,
|
993 |
+
.fa-star-half-full:before,
|
994 |
+
.fa-star-half-o:before {
|
995 |
+
content: "\f123";
|
996 |
+
}
|
997 |
+
.fa-location-arrow:before {
|
998 |
+
content: "\f124";
|
999 |
+
}
|
1000 |
+
.fa-crop:before {
|
1001 |
+
content: "\f125";
|
1002 |
+
}
|
1003 |
+
.fa-code-fork:before {
|
1004 |
+
content: "\f126";
|
1005 |
+
}
|
1006 |
+
.fa-unlink:before,
|
1007 |
+
.fa-chain-broken:before {
|
1008 |
+
content: "\f127";
|
1009 |
+
}
|
1010 |
+
.fa-question:before {
|
1011 |
+
content: "\f128";
|
1012 |
+
}
|
1013 |
+
.fa-info:before {
|
1014 |
+
content: "\f129";
|
1015 |
+
}
|
1016 |
+
.fa-exclamation:before {
|
1017 |
+
content: "\f12a";
|
1018 |
+
}
|
1019 |
+
.fa-superscript:before {
|
1020 |
+
content: "\f12b";
|
1021 |
+
}
|
1022 |
+
.fa-subscript:before {
|
1023 |
+
content: "\f12c";
|
1024 |
+
}
|
1025 |
+
.fa-eraser:before {
|
1026 |
+
content: "\f12d";
|
1027 |
+
}
|
1028 |
+
.fa-puzzle-piece:before {
|
1029 |
+
content: "\f12e";
|
1030 |
+
}
|
1031 |
+
.fa-microphone:before {
|
1032 |
+
content: "\f130";
|
1033 |
+
}
|
1034 |
+
.fa-microphone-slash:before {
|
1035 |
+
content: "\f131";
|
1036 |
+
}
|
1037 |
+
.fa-shield:before {
|
1038 |
+
content: "\f132";
|
1039 |
+
}
|
1040 |
+
.fa-calendar-o:before {
|
1041 |
+
content: "\f133";
|
1042 |
+
}
|
1043 |
+
.fa-fire-extinguisher:before {
|
1044 |
+
content: "\f134";
|
1045 |
+
}
|
1046 |
+
.fa-rocket:before {
|
1047 |
+
content: "\f135";
|
1048 |
+
}
|
1049 |
+
.fa-maxcdn:before {
|
1050 |
+
content: "\f136";
|
1051 |
+
}
|
1052 |
+
.fa-chevron-circle-left:before {
|
1053 |
+
content: "\f137";
|
1054 |
+
}
|
1055 |
+
.fa-chevron-circle-right:before {
|
1056 |
+
content: "\f138";
|
1057 |
+
}
|
1058 |
+
.fa-chevron-circle-up:before {
|
1059 |
+
content: "\f139";
|
1060 |
+
}
|
1061 |
+
.fa-chevron-circle-down:before {
|
1062 |
+
content: "\f13a";
|
1063 |
+
}
|
1064 |
+
.fa-html5:before {
|
1065 |
+
content: "\f13b";
|
1066 |
+
}
|
1067 |
+
.fa-css3:before {
|
1068 |
+
content: "\f13c";
|
1069 |
+
}
|
1070 |
+
.fa-anchor:before {
|
1071 |
+
content: "\f13d";
|
1072 |
+
}
|
1073 |
+
.fa-unlock-alt:before {
|
1074 |
+
content: "\f13e";
|
1075 |
+
}
|
1076 |
+
.fa-bullseye:before {
|
1077 |
+
content: "\f140";
|
1078 |
+
}
|
1079 |
+
.fa-ellipsis-h:before {
|
1080 |
+
content: "\f141";
|
1081 |
+
}
|
1082 |
+
.fa-ellipsis-v:before {
|
1083 |
+
content: "\f142";
|
1084 |
+
}
|
1085 |
+
.fa-rss-square:before {
|
1086 |
+
content: "\f143";
|
1087 |
+
}
|
1088 |
+
.fa-play-circle:before {
|
1089 |
+
content: "\f144";
|
1090 |
+
}
|
1091 |
+
.fa-ticket:before {
|
1092 |
+
content: "\f145";
|
1093 |
+
}
|
1094 |
+
.fa-minus-square:before {
|
1095 |
+
content: "\f146";
|
1096 |
+
}
|
1097 |
+
.fa-minus-square-o:before {
|
1098 |
+
content: "\f147";
|
1099 |
+
}
|
1100 |
+
.fa-level-up:before {
|
1101 |
+
content: "\f148";
|
1102 |
+
}
|
1103 |
+
.fa-level-down:before {
|
1104 |
+
content: "\f149";
|
1105 |
+
}
|
1106 |
+
.fa-check-square:before {
|
1107 |
+
content: "\f14a";
|
1108 |
+
}
|
1109 |
+
.fa-pencil-square:before {
|
1110 |
+
content: "\f14b";
|
1111 |
+
}
|
1112 |
+
.fa-external-link-square:before {
|
1113 |
+
content: "\f14c";
|
1114 |
+
}
|
1115 |
+
.fa-share-square:before {
|
1116 |
+
content: "\f14d";
|
1117 |
+
}
|
1118 |
+
.fa-compass:before {
|
1119 |
+
content: "\f14e";
|
1120 |
+
}
|
1121 |
+
.fa-toggle-down:before,
|
1122 |
+
.fa-caret-square-o-down:before {
|
1123 |
+
content: "\f150";
|
1124 |
+
}
|
1125 |
+
.fa-toggle-up:before,
|
1126 |
+
.fa-caret-square-o-up:before {
|
1127 |
+
content: "\f151";
|
1128 |
+
}
|
1129 |
+
.fa-toggle-right:before,
|
1130 |
+
.fa-caret-square-o-right:before {
|
1131 |
+
content: "\f152";
|
1132 |
+
}
|
1133 |
+
.fa-euro:before,
|
1134 |
+
.fa-eur:before {
|
1135 |
+
content: "\f153";
|
1136 |
+
}
|
1137 |
+
.fa-gbp:before {
|
1138 |
+
content: "\f154";
|
1139 |
+
}
|
1140 |
+
.fa-dollar:before,
|
1141 |
+
.fa-usd:before {
|
1142 |
+
content: "\f155";
|
1143 |
+
}
|
1144 |
+
.fa-rupee:before,
|
1145 |
+
.fa-inr:before {
|
1146 |
+
content: "\f156";
|
1147 |
+
}
|
1148 |
+
.fa-cny:before,
|
1149 |
+
.fa-rmb:before,
|
1150 |
+
.fa-yen:before,
|
1151 |
+
.fa-jpy:before {
|
1152 |
+
content: "\f157";
|
1153 |
+
}
|
1154 |
+
.fa-ruble:before,
|
1155 |
+
.fa-rouble:before,
|
1156 |
+
.fa-rub:before {
|
1157 |
+
content: "\f158";
|
1158 |
+
}
|
1159 |
+
.fa-won:before,
|
1160 |
+
.fa-krw:before {
|
1161 |
+
content: "\f159";
|
1162 |
+
}
|
1163 |
+
.fa-bitcoin:before,
|
1164 |
+
.fa-btc:before {
|
1165 |
+
content: "\f15a";
|
1166 |
+
}
|
1167 |
+
.fa-file:before {
|
1168 |
+
content: "\f15b";
|
1169 |
+
}
|
1170 |
+
.fa-file-text:before {
|
1171 |
+
content: "\f15c";
|
1172 |
+
}
|
1173 |
+
.fa-sort-alpha-asc:before {
|
1174 |
+
content: "\f15d";
|
1175 |
+
}
|
1176 |
+
.fa-sort-alpha-desc:before {
|
1177 |
+
content: "\f15e";
|
1178 |
+
}
|
1179 |
+
.fa-sort-amount-asc:before {
|
1180 |
+
content: "\f160";
|
1181 |
+
}
|
1182 |
+
.fa-sort-amount-desc:before {
|
1183 |
+
content: "\f161";
|
1184 |
+
}
|
1185 |
+
.fa-sort-numeric-asc:before {
|
1186 |
+
content: "\f162";
|
1187 |
+
}
|
1188 |
+
.fa-sort-numeric-desc:before {
|
1189 |
+
content: "\f163";
|
1190 |
+
}
|
1191 |
+
.fa-thumbs-up:before {
|
1192 |
+
content: "\f164";
|
1193 |
+
}
|
1194 |
+
.fa-thumbs-down:before {
|
1195 |
+
content: "\f165";
|
1196 |
+
}
|
1197 |
+
.fa-youtube-square:before {
|
1198 |
+
content: "\f166";
|
1199 |
+
}
|
1200 |
+
.fa-youtube:before {
|
1201 |
+
content: "\f167";
|
1202 |
+
}
|
1203 |
+
.fa-xing:before {
|
1204 |
+
content: "\f168";
|
1205 |
+
}
|
1206 |
+
.fa-xing-square:before {
|
1207 |
+
content: "\f169";
|
1208 |
+
}
|
1209 |
+
.fa-youtube-play:before {
|
1210 |
+
content: "\f16a";
|
1211 |
+
}
|
1212 |
+
.fa-dropbox:before {
|
1213 |
+
content: "\f16b";
|
1214 |
+
}
|
1215 |
+
.fa-stack-overflow:before {
|
1216 |
+
content: "\f16c";
|
1217 |
+
}
|
1218 |
+
.fa-instagram:before {
|
1219 |
+
content: "\f16d";
|
1220 |
+
}
|
1221 |
+
.fa-flickr:before {
|
1222 |
+
content: "\f16e";
|
1223 |
+
}
|
1224 |
+
.fa-adn:before {
|
1225 |
+
content: "\f170";
|
1226 |
+
}
|
1227 |
+
.fa-bitbucket:before {
|
1228 |
+
content: "\f171";
|
1229 |
+
}
|
1230 |
+
.fa-bitbucket-square:before {
|
1231 |
+
content: "\f172";
|
1232 |
+
}
|
1233 |
+
.fa-tumblr:before {
|
1234 |
+
content: "\f173";
|
1235 |
+
}
|
1236 |
+
.fa-tumblr-square:before {
|
1237 |
+
content: "\f174";
|
1238 |
+
}
|
1239 |
+
.fa-long-arrow-down:before {
|
1240 |
+
content: "\f175";
|
1241 |
+
}
|
1242 |
+
.fa-long-arrow-up:before {
|
1243 |
+
content: "\f176";
|
1244 |
+
}
|
1245 |
+
.fa-long-arrow-left:before {
|
1246 |
+
content: "\f177";
|
1247 |
+
}
|
1248 |
+
.fa-long-arrow-right:before {
|
1249 |
+
content: "\f178";
|
1250 |
+
}
|
1251 |
+
.fa-apple:before {
|
1252 |
+
content: "\f179";
|
1253 |
+
}
|
1254 |
+
.fa-windows:before {
|
1255 |
+
content: "\f17a";
|
1256 |
+
}
|
1257 |
+
.fa-android:before {
|
1258 |
+
content: "\f17b";
|
1259 |
+
}
|
1260 |
+
.fa-linux:before {
|
1261 |
+
content: "\f17c";
|
1262 |
+
}
|
1263 |
+
.fa-dribbble:before {
|
1264 |
+
content: "\f17d";
|
1265 |
+
}
|
1266 |
+
.fa-skype:before {
|
1267 |
+
content: "\f17e";
|
1268 |
+
}
|
1269 |
+
.fa-foursquare:before {
|
1270 |
+
content: "\f180";
|
1271 |
+
}
|
1272 |
+
.fa-trello:before {
|
1273 |
+
content: "\f181";
|
1274 |
+
}
|
1275 |
+
.fa-female:before {
|
1276 |
+
content: "\f182";
|
1277 |
+
}
|
1278 |
+
.fa-male:before {
|
1279 |
+
content: "\f183";
|
1280 |
+
}
|
1281 |
+
.fa-gittip:before,
|
1282 |
+
.fa-gratipay:before {
|
1283 |
+
content: "\f184";
|
1284 |
+
}
|
1285 |
+
.fa-sun-o:before {
|
1286 |
+
content: "\f185";
|
1287 |
+
}
|
1288 |
+
.fa-moon-o:before {
|
1289 |
+
content: "\f186";
|
1290 |
+
}
|
1291 |
+
.fa-archive:before {
|
1292 |
+
content: "\f187";
|
1293 |
+
}
|
1294 |
+
.fa-bug:before {
|
1295 |
+
content: "\f188";
|
1296 |
+
}
|
1297 |
+
.fa-vk:before {
|
1298 |
+
content: "\f189";
|
1299 |
+
}
|
1300 |
+
.fa-weibo:before {
|
1301 |
+
content: "\f18a";
|
1302 |
+
}
|
1303 |
+
.fa-renren:before {
|
1304 |
+
content: "\f18b";
|
1305 |
+
}
|
1306 |
+
.fa-pagelines:before {
|
1307 |
+
content: "\f18c";
|
1308 |
+
}
|
1309 |
+
.fa-stack-exchange:before {
|
1310 |
+
content: "\f18d";
|
1311 |
+
}
|
1312 |
+
.fa-arrow-circle-o-right:before {
|
1313 |
+
content: "\f18e";
|
1314 |
+
}
|
1315 |
+
.fa-arrow-circle-o-left:before {
|
1316 |
+
content: "\f190";
|
1317 |
+
}
|
1318 |
+
.fa-toggle-left:before,
|
1319 |
+
.fa-caret-square-o-left:before {
|
1320 |
+
content: "\f191";
|
1321 |
+
}
|
1322 |
+
.fa-dot-circle-o:before {
|
1323 |
+
content: "\f192";
|
1324 |
+
}
|
1325 |
+
.fa-wheelchair:before {
|
1326 |
+
content: "\f193";
|
1327 |
+
}
|
1328 |
+
.fa-vimeo-square:before {
|
1329 |
+
content: "\f194";
|
1330 |
+
}
|
1331 |
+
.fa-turkish-lira:before,
|
1332 |
+
.fa-try:before {
|
1333 |
+
content: "\f195";
|
1334 |
+
}
|
1335 |
+
.fa-plus-square-o:before {
|
1336 |
+
content: "\f196";
|
1337 |
+
}
|
1338 |
+
.fa-space-shuttle:before {
|
1339 |
+
content: "\f197";
|
1340 |
+
}
|
1341 |
+
.fa-slack:before {
|
1342 |
+
content: "\f198";
|
1343 |
+
}
|
1344 |
+
.fa-envelope-square:before {
|
1345 |
+
content: "\f199";
|
1346 |
+
}
|
1347 |
+
.fa-wordpress:before {
|
1348 |
+
content: "\f19a";
|
1349 |
+
}
|
1350 |
+
.fa-openid:before {
|
1351 |
+
content: "\f19b";
|
1352 |
+
}
|
1353 |
+
.fa-institution:before,
|
1354 |
+
.fa-bank:before,
|
1355 |
+
.fa-university:before {
|
1356 |
+
content: "\f19c";
|
1357 |
+
}
|
1358 |
+
.fa-mortar-board:before,
|
1359 |
+
.fa-graduation-cap:before {
|
1360 |
+
content: "\f19d";
|
1361 |
+
}
|
1362 |
+
.fa-yahoo:before {
|
1363 |
+
content: "\f19e";
|
1364 |
+
}
|
1365 |
+
.fa-google:before {
|
1366 |
+
content: "\f1a0";
|
1367 |
+
}
|
1368 |
+
.fa-reddit:before {
|
1369 |
+
content: "\f1a1";
|
1370 |
+
}
|
1371 |
+
.fa-reddit-square:before {
|
1372 |
+
content: "\f1a2";
|
1373 |
+
}
|
1374 |
+
.fa-stumbleupon-circle:before {
|
1375 |
+
content: "\f1a3";
|
1376 |
+
}
|
1377 |
+
.fa-stumbleupon:before {
|
1378 |
+
content: "\f1a4";
|
1379 |
+
}
|
1380 |
+
.fa-delicious:before {
|
1381 |
+
content: "\f1a5";
|
1382 |
+
}
|
1383 |
+
.fa-digg:before {
|
1384 |
+
content: "\f1a6";
|
1385 |
+
}
|
1386 |
+
.fa-pied-piper-pp:before {
|
1387 |
+
content: "\f1a7";
|
1388 |
+
}
|
1389 |
+
.fa-pied-piper-alt:before {
|
1390 |
+
content: "\f1a8";
|
1391 |
+
}
|
1392 |
+
.fa-drupal:before {
|
1393 |
+
content: "\f1a9";
|
1394 |
+
}
|
1395 |
+
.fa-joomla:before {
|
1396 |
+
content: "\f1aa";
|
1397 |
+
}
|
1398 |
+
.fa-language:before {
|
1399 |
+
content: "\f1ab";
|
1400 |
+
}
|
1401 |
+
.fa-fax:before {
|
1402 |
+
content: "\f1ac";
|
1403 |
+
}
|
1404 |
+
.fa-building:before {
|
1405 |
+
content: "\f1ad";
|
1406 |
+
}
|
1407 |
+
.fa-child:before {
|
1408 |
+
content: "\f1ae";
|
1409 |
+
}
|
1410 |
+
.fa-paw:before {
|
1411 |
+
content: "\f1b0";
|
1412 |
+
}
|
1413 |
+
.fa-spoon:before {
|
1414 |
+
content: "\f1b1";
|
1415 |
+
}
|
1416 |
+
.fa-cube:before {
|
1417 |
+
content: "\f1b2";
|
1418 |
+
}
|
1419 |
+
.fa-cubes:before {
|
1420 |
+
content: "\f1b3";
|
1421 |
+
}
|
1422 |
+
.fa-behance:before {
|
1423 |
+
content: "\f1b4";
|
1424 |
+
}
|
1425 |
+
.fa-behance-square:before {
|
1426 |
+
content: "\f1b5";
|
1427 |
+
}
|
1428 |
+
.fa-steam:before {
|
1429 |
+
content: "\f1b6";
|
1430 |
+
}
|
1431 |
+
.fa-steam-square:before {
|
1432 |
+
content: "\f1b7";
|
1433 |
+
}
|
1434 |
+
.fa-recycle:before {
|
1435 |
+
content: "\f1b8";
|
1436 |
+
}
|
1437 |
+
.fa-automobile:before,
|
1438 |
+
.fa-car:before {
|
1439 |
+
content: "\f1b9";
|
1440 |
+
}
|
1441 |
+
.fa-cab:before,
|
1442 |
+
.fa-taxi:before {
|
1443 |
+
content: "\f1ba";
|
1444 |
+
}
|
1445 |
+
.fa-tree:before {
|
1446 |
+
content: "\f1bb";
|
1447 |
+
}
|
1448 |
+
.fa-spotify:before {
|
1449 |
+
content: "\f1bc";
|
1450 |
+
}
|
1451 |
+
.fa-deviantart:before {
|
1452 |
+
content: "\f1bd";
|
1453 |
+
}
|
1454 |
+
.fa-soundcloud:before {
|
1455 |
+
content: "\f1be";
|
1456 |
+
}
|
1457 |
+
.fa-database:before {
|
1458 |
+
content: "\f1c0";
|
1459 |
+
}
|
1460 |
+
.fa-file-pdf-o:before {
|
1461 |
+
content: "\f1c1";
|
1462 |
+
}
|
1463 |
+
.fa-file-word-o:before {
|
1464 |
+
content: "\f1c2";
|
1465 |
+
}
|
1466 |
+
.fa-file-excel-o:before {
|
1467 |
+
content: "\f1c3";
|
1468 |
+
}
|
1469 |
+
.fa-file-powerpoint-o:before {
|
1470 |
+
content: "\f1c4";
|
1471 |
+
}
|
1472 |
+
.fa-file-photo-o:before,
|
1473 |
+
.fa-file-picture-o:before,
|
1474 |
+
.fa-file-image-o:before {
|
1475 |
+
content: "\f1c5";
|
1476 |
+
}
|
1477 |
+
.fa-file-zip-o:before,
|
1478 |
+
.fa-file-archive-o:before {
|
1479 |
+
content: "\f1c6";
|
1480 |
+
}
|
1481 |
+
.fa-file-sound-o:before,
|
1482 |
+
.fa-file-audio-o:before {
|
1483 |
+
content: "\f1c7";
|
1484 |
+
}
|
1485 |
+
.fa-file-movie-o:before,
|
1486 |
+
.fa-file-video-o:before {
|
1487 |
+
content: "\f1c8";
|
1488 |
+
}
|
1489 |
+
.fa-file-code-o:before {
|
1490 |
+
content: "\f1c9";
|
1491 |
+
}
|
1492 |
+
.fa-vine:before {
|
1493 |
+
content: "\f1ca";
|
1494 |
+
}
|
1495 |
+
.fa-codepen:before {
|
1496 |
+
content: "\f1cb";
|
1497 |
+
}
|
1498 |
+
.fa-jsfiddle:before {
|
1499 |
+
content: "\f1cc";
|
1500 |
+
}
|
1501 |
+
.fa-life-bouy:before,
|
1502 |
+
.fa-life-buoy:before,
|
1503 |
+
.fa-life-saver:before,
|
1504 |
+
.fa-support:before,
|
1505 |
+
.fa-life-ring:before {
|
1506 |
+
content: "\f1cd";
|
1507 |
+
}
|
1508 |
+
.fa-circle-o-notch:before {
|
1509 |
+
content: "\f1ce";
|
1510 |
+
}
|
1511 |
+
.fa-ra:before,
|
1512 |
+
.fa-resistance:before,
|
1513 |
+
.fa-rebel:before {
|
1514 |
+
content: "\f1d0";
|
1515 |
+
}
|
1516 |
+
.fa-ge:before,
|
1517 |
+
.fa-empire:before {
|
1518 |
+
content: "\f1d1";
|
1519 |
+
}
|
1520 |
+
.fa-git-square:before {
|
1521 |
+
content: "\f1d2";
|
1522 |
+
}
|
1523 |
+
.fa-git:before {
|
1524 |
+
content: "\f1d3";
|
1525 |
+
}
|
1526 |
+
.fa-y-combinator-square:before,
|
1527 |
+
.fa-yc-square:before,
|
1528 |
+
.fa-hacker-news:before {
|
1529 |
+
content: "\f1d4";
|
1530 |
+
}
|
1531 |
+
.fa-tencent-weibo:before {
|
1532 |
+
content: "\f1d5";
|
1533 |
+
}
|
1534 |
+
.fa-qq:before {
|
1535 |
+
content: "\f1d6";
|
1536 |
+
}
|
1537 |
+
.fa-wechat:before,
|
1538 |
+
.fa-weixin:before {
|
1539 |
+
content: "\f1d7";
|
1540 |
+
}
|
1541 |
+
.fa-send:before,
|
1542 |
+
.fa-paper-plane:before {
|
1543 |
+
content: "\f1d8";
|
1544 |
+
}
|
1545 |
+
.fa-send-o:before,
|
1546 |
+
.fa-paper-plane-o:before {
|
1547 |
+
content: "\f1d9";
|
1548 |
+
}
|
1549 |
+
.fa-history:before {
|
1550 |
+
content: "\f1da";
|
1551 |
+
}
|
1552 |
+
.fa-circle-thin:before {
|
1553 |
+
content: "\f1db";
|
1554 |
+
}
|
1555 |
+
.fa-header:before {
|
1556 |
+
content: "\f1dc";
|
1557 |
+
}
|
1558 |
+
.fa-paragraph:before {
|
1559 |
+
content: "\f1dd";
|
1560 |
+
}
|
1561 |
+
.fa-sliders:before {
|
1562 |
+
content: "\f1de";
|
1563 |
+
}
|
1564 |
+
.fa-share-alt:before {
|
1565 |
+
content: "\f1e0";
|
1566 |
+
}
|
1567 |
+
.fa-share-alt-square:before {
|
1568 |
+
content: "\f1e1";
|
1569 |
+
}
|
1570 |
+
.fa-bomb:before {
|
1571 |
+
content: "\f1e2";
|
1572 |
+
}
|
1573 |
+
.fa-soccer-ball-o:before,
|
1574 |
+
.fa-futbol-o:before {
|
1575 |
+
content: "\f1e3";
|
1576 |
+
}
|
1577 |
+
.fa-tty:before {
|
1578 |
+
content: "\f1e4";
|
1579 |
+
}
|
1580 |
+
.fa-binoculars:before {
|
1581 |
+
content: "\f1e5";
|
1582 |
+
}
|
1583 |
+
.fa-plug:before {
|
1584 |
+
content: "\f1e6";
|
1585 |
+
}
|
1586 |
+
.fa-slideshare:before {
|
1587 |
+
content: "\f1e7";
|
1588 |
+
}
|
1589 |
+
.fa-twitch:before {
|
1590 |
+
content: "\f1e8";
|
1591 |
+
}
|
1592 |
+
.fa-yelp:before {
|
1593 |
+
content: "\f1e9";
|
1594 |
+
}
|
1595 |
+
.fa-newspaper-o:before {
|
1596 |
+
content: "\f1ea";
|
1597 |
+
}
|
1598 |
+
.fa-wifi:before {
|
1599 |
+
content: "\f1eb";
|
1600 |
+
}
|
1601 |
+
.fa-calculator:before {
|
1602 |
+
content: "\f1ec";
|
1603 |
+
}
|
1604 |
+
.fa-paypal:before {
|
1605 |
+
content: "\f1ed";
|
1606 |
+
}
|
1607 |
+
.fa-google-wallet:before {
|
1608 |
+
content: "\f1ee";
|
1609 |
+
}
|
1610 |
+
.fa-cc-visa:before {
|
1611 |
+
content: "\f1f0";
|
1612 |
+
}
|
1613 |
+
.fa-cc-mastercard:before {
|
1614 |
+
content: "\f1f1";
|
1615 |
+
}
|
1616 |
+
.fa-cc-discover:before {
|
1617 |
+
content: "\f1f2";
|
1618 |
+
}
|
1619 |
+
.fa-cc-amex:before {
|
1620 |
+
content: "\f1f3";
|
1621 |
+
}
|
1622 |
+
.fa-cc-paypal:before {
|
1623 |
+
content: "\f1f4";
|
1624 |
+
}
|
1625 |
+
.fa-cc-stripe:before {
|
1626 |
+
content: "\f1f5";
|
1627 |
+
}
|
1628 |
+
.fa-bell-slash:before {
|
1629 |
+
content: "\f1f6";
|
1630 |
+
}
|
1631 |
+
.fa-bell-slash-o:before {
|
1632 |
+
content: "\f1f7";
|
1633 |
+
}
|
1634 |
+
.fa-trash:before {
|
1635 |
+
content: "\f1f8";
|
1636 |
+
}
|
1637 |
+
.fa-copyright:before {
|
1638 |
+
content: "\f1f9";
|
1639 |
+
}
|
1640 |
+
.fa-at:before {
|
1641 |
+
content: "\f1fa";
|
1642 |
+
}
|
1643 |
+
.fa-eyedropper:before {
|
1644 |
+
content: "\f1fb";
|
1645 |
+
}
|
1646 |
+
.fa-paint-brush:before {
|
1647 |
+
content: "\f1fc";
|
1648 |
+
}
|
1649 |
+
.fa-birthday-cake:before {
|
1650 |
+
content: "\f1fd";
|
1651 |
+
}
|
1652 |
+
.fa-area-chart:before {
|
1653 |
+
content: "\f1fe";
|
1654 |
+
}
|
1655 |
+
.fa-pie-chart:before {
|
1656 |
+
content: "\f200";
|
1657 |
+
}
|
1658 |
+
.fa-line-chart:before {
|
1659 |
+
content: "\f201";
|
1660 |
+
}
|
1661 |
+
.fa-lastfm:before {
|
1662 |
+
content: "\f202";
|
1663 |
+
}
|
1664 |
+
.fa-lastfm-square:before {
|
1665 |
+
content: "\f203";
|
1666 |
+
}
|
1667 |
+
.fa-toggle-off:before {
|
1668 |
+
content: "\f204";
|
1669 |
+
}
|
1670 |
+
.fa-toggle-on:before {
|
1671 |
+
content: "\f205";
|
1672 |
+
}
|
1673 |
+
.fa-bicycle:before {
|
1674 |
+
content: "\f206";
|
1675 |
+
}
|
1676 |
+
.fa-bus:before {
|
1677 |
+
content: "\f207";
|
1678 |
+
}
|
1679 |
+
.fa-ioxhost:before {
|
1680 |
+
content: "\f208";
|
1681 |
+
}
|
1682 |
+
.fa-angellist:before {
|
1683 |
+
content: "\f209";
|
1684 |
+
}
|
1685 |
+
.fa-cc:before {
|
1686 |
+
content: "\f20a";
|
1687 |
+
}
|
1688 |
+
.fa-shekel:before,
|
1689 |
+
.fa-sheqel:before,
|
1690 |
+
.fa-ils:before {
|
1691 |
+
content: "\f20b";
|
1692 |
+
}
|
1693 |
+
.fa-meanpath:before {
|
1694 |
+
content: "\f20c";
|
1695 |
+
}
|
1696 |
+
.fa-buysellads:before {
|
1697 |
+
content: "\f20d";
|
1698 |
+
}
|
1699 |
+
.fa-connectdevelop:before {
|
1700 |
+
content: "\f20e";
|
1701 |
+
}
|
1702 |
+
.fa-dashcube:before {
|
1703 |
+
content: "\f210";
|
1704 |
+
}
|
1705 |
+
.fa-forumbee:before {
|
1706 |
+
content: "\f211";
|
1707 |
+
}
|
1708 |
+
.fa-leanpub:before {
|
1709 |
+
content: "\f212";
|
1710 |
+
}
|
1711 |
+
.fa-sellsy:before {
|
1712 |
+
content: "\f213";
|
1713 |
+
}
|
1714 |
+
.fa-shirtsinbulk:before {
|
1715 |
+
content: "\f214";
|
1716 |
+
}
|
1717 |
+
.fa-simplybuilt:before {
|
1718 |
+
content: "\f215";
|
1719 |
+
}
|
1720 |
+
.fa-skyatlas:before {
|
1721 |
+
content: "\f216";
|
1722 |
+
}
|
1723 |
+
.fa-cart-plus:before {
|
1724 |
+
content: "\f217";
|
1725 |
+
}
|
1726 |
+
.fa-cart-arrow-down:before {
|
1727 |
+
content: "\f218";
|
1728 |
+
}
|
1729 |
+
.fa-diamond:before {
|
1730 |
+
content: "\f219";
|
1731 |
+
}
|
1732 |
+
.fa-ship:before {
|
1733 |
+
content: "\f21a";
|
1734 |
+
}
|
1735 |
+
.fa-user-secret:before {
|
1736 |
+
content: "\f21b";
|
1737 |
+
}
|
1738 |
+
.fa-motorcycle:before {
|
1739 |
+
content: "\f21c";
|
1740 |
+
}
|
1741 |
+
.fa-street-view:before {
|
1742 |
+
content: "\f21d";
|
1743 |
+
}
|
1744 |
+
.fa-heartbeat:before {
|
1745 |
+
content: "\f21e";
|
1746 |
+
}
|
1747 |
+
.fa-venus:before {
|
1748 |
+
content: "\f221";
|
1749 |
+
}
|
1750 |
+
.fa-mars:before {
|
1751 |
+
content: "\f222";
|
1752 |
+
}
|
1753 |
+
.fa-mercury:before {
|
1754 |
+
content: "\f223";
|
1755 |
+
}
|
1756 |
+
.fa-intersex:before,
|
1757 |
+
.fa-transgender:before {
|
1758 |
+
content: "\f224";
|
1759 |
+
}
|
1760 |
+
.fa-transgender-alt:before {
|
1761 |
+
content: "\f225";
|
1762 |
+
}
|
1763 |
+
.fa-venus-double:before {
|
1764 |
+
content: "\f226";
|
1765 |
+
}
|
1766 |
+
.fa-mars-double:before {
|
1767 |
+
content: "\f227";
|
1768 |
+
}
|
1769 |
+
.fa-venus-mars:before {
|
1770 |
+
content: "\f228";
|
1771 |
+
}
|
1772 |
+
.fa-mars-stroke:before {
|
1773 |
+
content: "\f229";
|
1774 |
+
}
|
1775 |
+
.fa-mars-stroke-v:before {
|
1776 |
+
content: "\f22a";
|
1777 |
+
}
|
1778 |
+
.fa-mars-stroke-h:before {
|
1779 |
+
content: "\f22b";
|
1780 |
+
}
|
1781 |
+
.fa-neuter:before {
|
1782 |
+
content: "\f22c";
|
1783 |
+
}
|
1784 |
+
.fa-genderless:before {
|
1785 |
+
content: "\f22d";
|
1786 |
+
}
|
1787 |
+
.fa-facebook-official:before {
|
1788 |
+
content: "\f230";
|
1789 |
+
}
|
1790 |
+
.fa-pinterest-p:before {
|
1791 |
+
content: "\f231";
|
1792 |
+
}
|
1793 |
+
.fa-whatsapp:before {
|
1794 |
+
content: "\f232";
|
1795 |
+
}
|
1796 |
+
.fa-server:before {
|
1797 |
+
content: "\f233";
|
1798 |
+
}
|
1799 |
+
.fa-user-plus:before {
|
1800 |
+
content: "\f234";
|
1801 |
+
}
|
1802 |
+
.fa-user-times:before {
|
1803 |
+
content: "\f235";
|
1804 |
+
}
|
1805 |
+
.fa-hotel:before,
|
1806 |
+
.fa-bed:before {
|
1807 |
+
content: "\f236";
|
1808 |
+
}
|
1809 |
+
.fa-viacoin:before {
|
1810 |
+
content: "\f237";
|
1811 |
+
}
|
1812 |
+
.fa-train:before {
|
1813 |
+
content: "\f238";
|
1814 |
+
}
|
1815 |
+
.fa-subway:before {
|
1816 |
+
content: "\f239";
|
1817 |
+
}
|
1818 |
+
.fa-medium:before {
|
1819 |
+
content: "\f23a";
|
1820 |
+
}
|
1821 |
+
.fa-yc:before,
|
1822 |
+
.fa-y-combinator:before {
|
1823 |
+
content: "\f23b";
|
1824 |
+
}
|
1825 |
+
.fa-optin-monster:before {
|
1826 |
+
content: "\f23c";
|
1827 |
+
}
|
1828 |
+
.fa-opencart:before {
|
1829 |
+
content: "\f23d";
|
1830 |
+
}
|
1831 |
+
.fa-expeditedssl:before {
|
1832 |
+
content: "\f23e";
|
1833 |
+
}
|
1834 |
+
.fa-battery-4:before,
|
1835 |
+
.fa-battery-full:before {
|
1836 |
+
content: "\f240";
|
1837 |
+
}
|
1838 |
+
.fa-battery-3:before,
|
1839 |
+
.fa-battery-three-quarters:before {
|
1840 |
+
content: "\f241";
|
1841 |
+
}
|
1842 |
+
.fa-battery-2:before,
|
1843 |
+
.fa-battery-half:before {
|
1844 |
+
content: "\f242";
|
1845 |
+
}
|
1846 |
+
.fa-battery-1:before,
|
1847 |
+
.fa-battery-quarter:before {
|
1848 |
+
content: "\f243";
|
1849 |
+
}
|
1850 |
+
.fa-battery-0:before,
|
1851 |
+
.fa-battery-empty:before {
|
1852 |
+
content: "\f244";
|
1853 |
+
}
|
1854 |
+
.fa-mouse-pointer:before {
|
1855 |
+
content: "\f245";
|
1856 |
+
}
|
1857 |
+
.fa-i-cursor:before {
|
1858 |
+
content: "\f246";
|
1859 |
+
}
|
1860 |
+
.fa-object-group:before {
|
1861 |
+
content: "\f247";
|
1862 |
+
}
|
1863 |
+
.fa-object-ungroup:before {
|
1864 |
+
content: "\f248";
|
1865 |
+
}
|
1866 |
+
.fa-sticky-note:before {
|
1867 |
+
content: "\f249";
|
1868 |
+
}
|
1869 |
+
.fa-sticky-note-o:before {
|
1870 |
+
content: "\f24a";
|
1871 |
+
}
|
1872 |
+
.fa-cc-jcb:before {
|
1873 |
+
content: "\f24b";
|
1874 |
+
}
|
1875 |
+
.fa-cc-diners-club:before {
|
1876 |
+
content: "\f24c";
|
1877 |
+
}
|
1878 |
+
.fa-clone:before {
|
1879 |
+
content: "\f24d";
|
1880 |
+
}
|
1881 |
+
.fa-balance-scale:before {
|
1882 |
+
content: "\f24e";
|
1883 |
+
}
|
1884 |
+
.fa-hourglass-o:before {
|
1885 |
+
content: "\f250";
|
1886 |
+
}
|
1887 |
+
.fa-hourglass-1:before,
|
1888 |
+
.fa-hourglass-start:before {
|
1889 |
+
content: "\f251";
|
1890 |
+
}
|
1891 |
+
.fa-hourglass-2:before,
|
1892 |
+
.fa-hourglass-half:before {
|
1893 |
+
content: "\f252";
|
1894 |
+
}
|
1895 |
+
.fa-hourglass-3:before,
|
1896 |
+
.fa-hourglass-end:before {
|
1897 |
+
content: "\f253";
|
1898 |
+
}
|
1899 |
+
.fa-hourglass:before {
|
1900 |
+
content: "\f254";
|
1901 |
+
}
|
1902 |
+
.fa-hand-grab-o:before,
|
1903 |
+
.fa-hand-rock-o:before {
|
1904 |
+
content: "\f255";
|
1905 |
+
}
|
1906 |
+
.fa-hand-stop-o:before,
|
1907 |
+
.fa-hand-paper-o:before {
|
1908 |
+
content: "\f256";
|
1909 |
+
}
|
1910 |
+
.fa-hand-scissors-o:before {
|
1911 |
+
content: "\f257";
|
1912 |
+
}
|
1913 |
+
.fa-hand-lizard-o:before {
|
1914 |
+
content: "\f258";
|
1915 |
+
}
|
1916 |
+
.fa-hand-spock-o:before {
|
1917 |
+
content: "\f259";
|
1918 |
+
}
|
1919 |
+
.fa-hand-pointer-o:before {
|
1920 |
+
content: "\f25a";
|
1921 |
+
}
|
1922 |
+
.fa-hand-peace-o:before {
|
1923 |
+
content: "\f25b";
|
1924 |
+
}
|
1925 |
+
.fa-trademark:before {
|
1926 |
+
content: "\f25c";
|
1927 |
+
}
|
1928 |
+
.fa-registered:before {
|
1929 |
+
content: "\f25d";
|
1930 |
+
}
|
1931 |
+
.fa-creative-commons:before {
|
1932 |
+
content: "\f25e";
|
1933 |
+
}
|
1934 |
+
.fa-gg:before {
|
1935 |
+
content: "\f260";
|
1936 |
+
}
|
1937 |
+
.fa-gg-circle:before {
|
1938 |
+
content: "\f261";
|
1939 |
+
}
|
1940 |
+
.fa-tripadvisor:before {
|
1941 |
+
content: "\f262";
|
1942 |
+
}
|
1943 |
+
.fa-odnoklassniki:before {
|
1944 |
+
content: "\f263";
|
1945 |
+
}
|
1946 |
+
.fa-odnoklassniki-square:before {
|
1947 |
+
content: "\f264";
|
1948 |
+
}
|
1949 |
+
.fa-get-pocket:before {
|
1950 |
+
content: "\f265";
|
1951 |
+
}
|
1952 |
+
.fa-wikipedia-w:before {
|
1953 |
+
content: "\f266";
|
1954 |
+
}
|
1955 |
+
.fa-safari:before {
|
1956 |
+
content: "\f267";
|
1957 |
+
}
|
1958 |
+
.fa-chrome:before {
|
1959 |
+
content: "\f268";
|
1960 |
+
}
|
1961 |
+
.fa-firefox:before {
|
1962 |
+
content: "\f269";
|
1963 |
+
}
|
1964 |
+
.fa-opera:before {
|
1965 |
+
content: "\f26a";
|
1966 |
+
}
|
1967 |
+
.fa-internet-explorer:before {
|
1968 |
+
content: "\f26b";
|
1969 |
+
}
|
1970 |
+
.fa-tv:before,
|
1971 |
+
.fa-television:before {
|
1972 |
+
content: "\f26c";
|
1973 |
+
}
|
1974 |
+
.fa-contao:before {
|
1975 |
+
content: "\f26d";
|
1976 |
+
}
|
1977 |
+
.fa-500px:before {
|
1978 |
+
content: "\f26e";
|
1979 |
+
}
|
1980 |
+
.fa-amazon:before {
|
1981 |
+
content: "\f270";
|
1982 |
+
}
|
1983 |
+
.fa-calendar-plus-o:before {
|
1984 |
+
content: "\f271";
|
1985 |
+
}
|
1986 |
+
.fa-calendar-minus-o:before {
|
1987 |
+
content: "\f272";
|
1988 |
+
}
|
1989 |
+
.fa-calendar-times-o:before {
|
1990 |
+
content: "\f273";
|
1991 |
+
}
|
1992 |
+
.fa-calendar-check-o:before {
|
1993 |
+
content: "\f274";
|
1994 |
+
}
|
1995 |
+
.fa-industry:before {
|
1996 |
+
content: "\f275";
|
1997 |
+
}
|
1998 |
+
.fa-map-pin:before {
|
1999 |
+
content: "\f276";
|
2000 |
+
}
|
2001 |
+
.fa-map-signs:before {
|
2002 |
+
content: "\f277";
|
2003 |
+
}
|
2004 |
+
.fa-map-o:before {
|
2005 |
+
content: "\f278";
|
2006 |
+
}
|
2007 |
+
.fa-map:before {
|
2008 |
+
content: "\f279";
|
2009 |
+
}
|
2010 |
+
.fa-commenting:before {
|
2011 |
+
content: "\f27a";
|
2012 |
+
}
|
2013 |
+
.fa-commenting-o:before {
|
2014 |
+
content: "\f27b";
|
2015 |
+
}
|
2016 |
+
.fa-houzz:before {
|
2017 |
+
content: "\f27c";
|
2018 |
+
}
|
2019 |
+
.fa-vimeo:before {
|
2020 |
+
content: "\f27d";
|
2021 |
+
}
|
2022 |
+
.fa-black-tie:before {
|
2023 |
+
content: "\f27e";
|
2024 |
+
}
|
2025 |
+
.fa-fonticons:before {
|
2026 |
+
content: "\f280";
|
2027 |
+
}
|
2028 |
+
.fa-reddit-alien:before {
|
2029 |
+
content: "\f281";
|
2030 |
+
}
|
2031 |
+
.fa-edge:before {
|
2032 |
+
content: "\f282";
|
2033 |
+
}
|
2034 |
+
.fa-credit-card-alt:before {
|
2035 |
+
content: "\f283";
|
2036 |
+
}
|
2037 |
+
.fa-codiepie:before {
|
2038 |
+
content: "\f284";
|
2039 |
+
}
|
2040 |
+
.fa-modx:before {
|
2041 |
+
content: "\f285";
|
2042 |
+
}
|
2043 |
+
.fa-fort-awesome:before {
|
2044 |
+
content: "\f286";
|
2045 |
+
}
|
2046 |
+
.fa-usb:before {
|
2047 |
+
content: "\f287";
|
2048 |
+
}
|
2049 |
+
.fa-product-hunt:before {
|
2050 |
+
content: "\f288";
|
2051 |
+
}
|
2052 |
+
.fa-mixcloud:before {
|
2053 |
+
content: "\f289";
|
2054 |
+
}
|
2055 |
+
.fa-scribd:before {
|
2056 |
+
content: "\f28a";
|
2057 |
+
}
|
2058 |
+
.fa-pause-circle:before {
|
2059 |
+
content: "\f28b";
|
2060 |
+
}
|
2061 |
+
.fa-pause-circle-o:before {
|
2062 |
+
content: "\f28c";
|
2063 |
+
}
|
2064 |
+
.fa-stop-circle:before {
|
2065 |
+
content: "\f28d";
|
2066 |
+
}
|
2067 |
+
.fa-stop-circle-o:before {
|
2068 |
+
content: "\f28e";
|
2069 |
+
}
|
2070 |
+
.fa-shopping-bag:before {
|
2071 |
+
content: "\f290";
|
2072 |
+
}
|
2073 |
+
.fa-shopping-basket:before {
|
2074 |
+
content: "\f291";
|
2075 |
+
}
|
2076 |
+
.fa-hashtag:before {
|
2077 |
+
content: "\f292";
|
2078 |
+
}
|
2079 |
+
.fa-bluetooth:before {
|
2080 |
+
content: "\f293";
|
2081 |
+
}
|
2082 |
+
.fa-bluetooth-b:before {
|
2083 |
+
content: "\f294";
|
2084 |
+
}
|
2085 |
+
.fa-percent:before {
|
2086 |
+
content: "\f295";
|
2087 |
+
}
|
2088 |
+
.fa-gitlab:before {
|
2089 |
+
content: "\f296";
|
2090 |
+
}
|
2091 |
+
.fa-wpbeginner:before {
|
2092 |
+
content: "\f297";
|
2093 |
+
}
|
2094 |
+
.fa-wpforms:before {
|
2095 |
+
content: "\f298";
|
2096 |
+
}
|
2097 |
+
.fa-envira:before {
|
2098 |
+
content: "\f299";
|
2099 |
+
}
|
2100 |
+
.fa-universal-access:before {
|
2101 |
+
content: "\f29a";
|
2102 |
+
}
|
2103 |
+
.fa-wheelchair-alt:before {
|
2104 |
+
content: "\f29b";
|
2105 |
+
}
|
2106 |
+
.fa-question-circle-o:before {
|
2107 |
+
content: "\f29c";
|
2108 |
+
}
|
2109 |
+
.fa-blind:before {
|
2110 |
+
content: "\f29d";
|
2111 |
+
}
|
2112 |
+
.fa-audio-description:before {
|
2113 |
+
content: "\f29e";
|
2114 |
+
}
|
2115 |
+
.fa-volume-control-phone:before {
|
2116 |
+
content: "\f2a0";
|
2117 |
+
}
|
2118 |
+
.fa-braille:before {
|
2119 |
+
content: "\f2a1";
|
2120 |
+
}
|
2121 |
+
.fa-assistive-listening-systems:before {
|
2122 |
+
content: "\f2a2";
|
2123 |
+
}
|
2124 |
+
.fa-asl-interpreting:before,
|
2125 |
+
.fa-american-sign-language-interpreting:before {
|
2126 |
+
content: "\f2a3";
|
2127 |
+
}
|
2128 |
+
.fa-deafness:before,
|
2129 |
+
.fa-hard-of-hearing:before,
|
2130 |
+
.fa-deaf:before {
|
2131 |
+
content: "\f2a4";
|
2132 |
+
}
|
2133 |
+
.fa-glide:before {
|
2134 |
+
content: "\f2a5";
|
2135 |
+
}
|
2136 |
+
.fa-glide-g:before {
|
2137 |
+
content: "\f2a6";
|
2138 |
+
}
|
2139 |
+
.fa-signing:before,
|
2140 |
+
.fa-sign-language:before {
|
2141 |
+
content: "\f2a7";
|
2142 |
+
}
|
2143 |
+
.fa-low-vision:before {
|
2144 |
+
content: "\f2a8";
|
2145 |
+
}
|
2146 |
+
.fa-viadeo:before {
|
2147 |
+
content: "\f2a9";
|
2148 |
+
}
|
2149 |
+
.fa-viadeo-square:before {
|
2150 |
+
content: "\f2aa";
|
2151 |
+
}
|
2152 |
+
.fa-snapchat:before {
|
2153 |
+
content: "\f2ab";
|
2154 |
+
}
|
2155 |
+
.fa-snapchat-ghost:before {
|
2156 |
+
content: "\f2ac";
|
2157 |
+
}
|
2158 |
+
.fa-snapchat-square:before {
|
2159 |
+
content: "\f2ad";
|
2160 |
+
}
|
2161 |
+
.fa-pied-piper:before {
|
2162 |
+
content: "\f2ae";
|
2163 |
+
}
|
2164 |
+
.fa-first-order:before {
|
2165 |
+
content: "\f2b0";
|
2166 |
+
}
|
2167 |
+
.fa-yoast:before {
|
2168 |
+
content: "\f2b1";
|
2169 |
+
}
|
2170 |
+
.fa-themeisle:before {
|
2171 |
+
content: "\f2b2";
|
2172 |
+
}
|
2173 |
+
.sr-only {
|
2174 |
+
position: absolute;
|
2175 |
+
width: 1px;
|
2176 |
+
height: 1px;
|
2177 |
+
padding: 0;
|
2178 |
+
margin: -1px;
|
2179 |
+
overflow: hidden;
|
2180 |
+
clip: rect(0, 0, 0, 0);
|
2181 |
+
border: 0;
|
2182 |
+
}
|
2183 |
+
.sr-only-focusable:active,
|
2184 |
+
.sr-only-focusable:focus {
|
2185 |
+
position: static;
|
2186 |
+
width: auto;
|
2187 |
+
height: auto;
|
2188 |
+
margin: 0;
|
2189 |
+
overflow: visible;
|
2190 |
+
clip: auto;
|
2191 |
+
}
|
includes/css/mo-font-awesome.min.css
ADDED
@@ -0,0 +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}
|
includes/css/mo_openid_bootstrap-tour-standalone.css
ADDED
@@ -0,0 +1,762 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
/* ========================================================================
|
2 |
+
* bootstrap-tour - v0.12.0
|
3 |
+
* http://bootstraptour.com
|
4 |
+
* ========================================================================
|
5 |
+
* Copyright 2012-2017 Ulrich Sossou
|
6 |
+
*
|
7 |
+
* ========================================================================
|
8 |
+
* Licensed under the MIT License (the "License");
|
9 |
+
* you may not use this file except in compliance with the License.
|
10 |
+
* You may obtain a copy of the License at
|
11 |
+
*
|
12 |
+
* https://opensource.org/licenses/MIT
|
13 |
+
*
|
14 |
+
* Unless required by applicable law or agreed to in writing, software
|
15 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
16 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17 |
+
* See the License for the specific language governing permissions and
|
18 |
+
* limitations under the License.
|
19 |
+
* ========================================================================
|
20 |
+
*/
|
21 |
+
|
22 |
+
.mo_openid_tour_btn {
|
23 |
+
display: inline-block;
|
24 |
+
font-weight: normal;
|
25 |
+
text-align: center;
|
26 |
+
white-space: nowrap;
|
27 |
+
vertical-align: middle;
|
28 |
+
user-select: none;
|
29 |
+
border: 1px solid transparent;
|
30 |
+
padding: 0.5rem 0.75rem;
|
31 |
+
font-size: 1rem;
|
32 |
+
line-height: 1.25;
|
33 |
+
border-radius: 0.25rem;
|
34 |
+
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
|
35 |
+
.mo_openid_tour_btn:focus, .mo_openid_tour_btn:hover {
|
36 |
+
text-decoration: none; }
|
37 |
+
.mo_openid_tour_btn:focus, .mo_openid_tour_btn.focus {
|
38 |
+
outline: 0;
|
39 |
+
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); }
|
40 |
+
.mo_openid_tour_btn.disabled, .mo_openid_tour_btn:disabled {
|
41 |
+
opacity: .65; }
|
42 |
+
.mo_openid_tour_btn:active, .mo_openid_tour_btn.active {
|
43 |
+
background-image: none; }
|
44 |
+
|
45 |
+
a.mo_openid_tour_btn.disabled,
|
46 |
+
fieldset[disabled] a.mo_openid_tour_btn {
|
47 |
+
pointer-events: none; }
|
48 |
+
|
49 |
+
.mo_openid_tour_btn-primary {
|
50 |
+
color: #fff;
|
51 |
+
background-color: #007bff;
|
52 |
+
border-color: #007bff; }
|
53 |
+
.mo_openid_tour_btn-primary:hover {
|
54 |
+
color: #fff;
|
55 |
+
background-color: #0069d9;
|
56 |
+
border-color: #0062cc; }
|
57 |
+
.mo_openid_tour_btn-primary:focus, .mo_openid_tour_btn-primary.focus {
|
58 |
+
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5); }
|
59 |
+
.mo_openid_tour_btn-primary.disabled, .mo_openid_tour_btn-primary:disabled {
|
60 |
+
background-color: #007bff;
|
61 |
+
border-color: #007bff; }
|
62 |
+
.mo_openid_tour_btn-primary:active, .mo_openid_tour_btn-primary.active,
|
63 |
+
.show > .mo_openid_tour_btn-primary.dropdown-toggle {
|
64 |
+
background-color: #0069d9;
|
65 |
+
background-image: none;
|
66 |
+
border-color: #0062cc; }
|
67 |
+
|
68 |
+
.mo_openid_tour_btn-secondary {
|
69 |
+
color: #fff;
|
70 |
+
background-color: #007902;
|
71 |
+
border-color: #868e96;
|
72 |
+
}
|
73 |
+
.mo_openid_tour_btn_end-secondary {
|
74 |
+
background: #00A0D2;
|
75 |
+
border-color: #0073AA;
|
76 |
+
box-shadow: 0 1px 0 rgba(120, 200, 230, .5) inset, 0 1px 0 rgba(0, 0, 0, .15);
|
77 |
+
color: #FFF;
|
78 |
+
text-decoration: none;
|
79 |
+
cursor: pointer;
|
80 |
+
border-width: 1px;
|
81 |
+
border-style: solid;
|
82 |
+
border-radius: 3px;
|
83 |
+
white-space: nowrap;
|
84 |
+
box-sizing: border-box;
|
85 |
+
line-height: 28px;
|
86 |
+
padding: 0 12px;
|
87 |
+
font-size: 13px
|
88 |
+
}
|
89 |
+
.mo_openid_tour_btn_next-success {
|
90 |
+
background: #00A0D2;
|
91 |
+
background-color:#5cb85c;border-color:#4cae4c;
|
92 |
+
box-shadow: 0 1px 0 rgba(120, 200, 230, .5) inset, 0 1px 0 rgba(0, 0, 0, .15);
|
93 |
+
color: #FFF;
|
94 |
+
text-decoration: none;
|
95 |
+
cursor: pointer;
|
96 |
+
border-width: 1px;
|
97 |
+
border-style: solid;
|
98 |
+
border-radius: 3px;
|
99 |
+
white-space: nowrap;
|
100 |
+
box-sizing: border-box;
|
101 |
+
line-height: 28px;
|
102 |
+
padding: 0 12px;
|
103 |
+
font-size: 13px;
|
104 |
+
}
|
105 |
+
.mo_openid_tour_btn-secondary:hover {
|
106 |
+
color: #fff;
|
107 |
+
background-color: #727b84;
|
108 |
+
border-color: #6c757d; }
|
109 |
+
|
110 |
+
.mo_openid_tour_btn-secondary:focus, .mo_openid_tour_btn-secondary.focus {
|
111 |
+
box-shadow: 0 0 0 3px rgba(134, 142, 150, 0.5); }
|
112 |
+
.mo_openid_tour_btn-secondary.disabled, .mo_openid_tour_btn-secondary:disabled {
|
113 |
+
background-color: #868e96;
|
114 |
+
border-color: #868e96; }
|
115 |
+
.mo_openid_tour_btn-secondary:active, .mo_openid_tour_btn-secondary.active,
|
116 |
+
.show > .mo_openid_tour_btn-secondary.dropdown-toggle {
|
117 |
+
background-color: #727b84;
|
118 |
+
background-image: none;
|
119 |
+
border-color: #6c757d; }
|
120 |
+
|
121 |
+
.mo_openid_tour_btn-success {
|
122 |
+
color: #fff;
|
123 |
+
background-color: #28a745;
|
124 |
+
border-color: #28a745; }
|
125 |
+
.mo_openid_tour_btn-success:hover {
|
126 |
+
color: #fff;
|
127 |
+
background-color: #218838;
|
128 |
+
border-color: #1e7e34; }
|
129 |
+
.mo_openid_tour_btn-success:focus, .mo_openid_tour_btn-success.focus {
|
130 |
+
box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.5); }
|
131 |
+
.mo_openid_tour_btn-success.disabled, .mo_openid_tour_btn-success:disabled {
|
132 |
+
background-color: #28a745;
|
133 |
+
border-color: #28a745; }
|
134 |
+
.mo_openid_tour_btn-success:active, .mo_openid_tour_btn-success.active,
|
135 |
+
.show > .mo_openid_tour_btn-success.dropdown-toggle {
|
136 |
+
background-color: #218838;
|
137 |
+
background-image: none;
|
138 |
+
border-color: #1e7e34; }
|
139 |
+
|
140 |
+
.mo_openid_tour_btn-info {
|
141 |
+
color: #fff;
|
142 |
+
background-color: #17a2b8;
|
143 |
+
border-color: #17a2b8; }
|
144 |
+
.mo_openid_tour_btn-info:hover {
|
145 |
+
color: #fff;
|
146 |
+
background-color: #138496;
|
147 |
+
border-color: #117a8b; }
|
148 |
+
.mo_openid_tour_btn-info:focus, .mo_openid_tour_btn-info.focus {
|
149 |
+
box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.5); }
|
150 |
+
.mo_openid_tour_btn-info.disabled, .mo_openid_tour_btn-info:disabled {
|
151 |
+
background-color: #17a2b8;
|
152 |
+
border-color: #17a2b8; }
|
153 |
+
.mo_openid_tour_btn-info:active, .mo_openid_tour_btn-info.active,
|
154 |
+
.show > .mo_openid_tour_btn-info.dropdown-toggle {
|
155 |
+
background-color: #138496;
|
156 |
+
background-image: none;
|
157 |
+
border-color: #117a8b; }
|
158 |
+
|
159 |
+
.mo_openid_tour_btn-warning {
|
160 |
+
color: #111;
|
161 |
+
background-color: #ffc107;
|
162 |
+
border-color: #ffc107; }
|
163 |
+
.mo_openid_tour_btn-warning:hover {
|
164 |
+
color: #111;
|
165 |
+
background-color: #e0a800;
|
166 |
+
border-color: #d39e00; }
|
167 |
+
.mo_openid_tour_btn-warning:focus, .mo_openid_tour_btn-warning.focus {
|
168 |
+
box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.5); }
|
169 |
+
.mo_openid_tour_btn-warning.disabled, .mo_openid_tour_btn-warning:disabled {
|
170 |
+
background-color: #ffc107;
|
171 |
+
border-color: #ffc107; }
|
172 |
+
.mo_openid_tour_btn-warning:active, .mo_openid_tour_btn-warning.active,
|
173 |
+
.show > .mo_openid_tour_btn-warning.dropdown-toggle {
|
174 |
+
background-color: #e0a800;
|
175 |
+
background-image: none;
|
176 |
+
border-color: #d39e00; }
|
177 |
+
|
178 |
+
.mo_openid_tour_btn-danger {
|
179 |
+
color: #fff;
|
180 |
+
background-color: #dc3545;
|
181 |
+
border-color: #dc3545; }
|
182 |
+
.mo_openid_tour_btn-danger:hover {
|
183 |
+
color: #fff;
|
184 |
+
background-color: #c82333;
|
185 |
+
border-color: #bd2130; }
|
186 |
+
.mo_openid_tour_btn-danger:focus, .mo_openid_tour_btn-danger.focus {
|
187 |
+
box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.5); }
|
188 |
+
.mo_openid_tour_btn-danger.disabled, .mo_openid_tour_btn-danger:disabled {
|
189 |
+
background-color: #dc3545;
|
190 |
+
border-color: #dc3545; }
|
191 |
+
.mo_openid_tour_btn-danger:active, .mo_openid_tour_btn-danger.active,
|
192 |
+
.show > .mo_openid_tour_btn-danger.dropdown-toggle {
|
193 |
+
background-color: #c82333;
|
194 |
+
background-image: none;
|
195 |
+
border-color: #bd2130; }
|
196 |
+
|
197 |
+
.mo_openid_tour_btn-light {
|
198 |
+
color: #111;
|
199 |
+
background-color: #f8f9fa;
|
200 |
+
border-color: #f8f9fa; }
|
201 |
+
.mo_openid_tour_btn-light:hover {
|
202 |
+
color: #111;
|
203 |
+
background-color: #e2e6ea;
|
204 |
+
border-color: #dae0e5; }
|
205 |
+
.mo_openid_tour_btn-light:focus, .mo_openid_tour_btn-light.focus {
|
206 |
+
box-shadow: 0 0 0 3px rgba(248, 249, 250, 0.5); }
|
207 |
+
.mo_openid_tour_btn-light.disabled, .mo_openid_tour_btn-light:disabled {
|
208 |
+
background-color: #f8f9fa;
|
209 |
+
border-color: #f8f9fa; }
|
210 |
+
.mo_openid_tour_btn-light:active, .mo_openid_tour_btn-light.active,
|
211 |
+
.show > .mo_openid_tour_btn-light.dropdown-toggle {
|
212 |
+
background-color: #e2e6ea;
|
213 |
+
background-image: none;
|
214 |
+
border-color: #dae0e5; }
|
215 |
+
|
216 |
+
.mo_openid_tour_btn-dark {
|
217 |
+
color: #fff;
|
218 |
+
background-color: #343a40;
|
219 |
+
border-color: #343a40; }
|
220 |
+
.mo_openid_tour_btn-dark:hover {
|
221 |
+
color: #fff;
|
222 |
+
background-color: #23272b;
|
223 |
+
border-color: #1d2124; }
|
224 |
+
.mo_openid_tour_btn-dark:focus, .mo_openid_tour_btn-dark.focus {
|
225 |
+
box-shadow: 0 0 0 3px rgba(52, 58, 64, 0.5); }
|
226 |
+
.mo_openid_tour_btn-dark.disabled, .mo_openid_tour_btn-dark:disabled {
|
227 |
+
background-color: #343a40;
|
228 |
+
border-color: #343a40; }
|
229 |
+
.mo_openid_tour_btn-dark:active, .mo_openid_tour_btn-dark.active,
|
230 |
+
.show > .mo_openid_tour_btn-dark.dropdown-toggle {
|
231 |
+
background-color: #23272b;
|
232 |
+
background-image: none;
|
233 |
+
border-color: #1d2124; }
|
234 |
+
|
235 |
+
.mo_openid_tour_btn-outline-primary {
|
236 |
+
color: #007bff;
|
237 |
+
background-color: transparent;
|
238 |
+
background-image: none;
|
239 |
+
border-color: #007bff; }
|
240 |
+
.mo_openid_tour_btn-outline-primary:hover {
|
241 |
+
color: #fff;
|
242 |
+
background-color: #007bff;
|
243 |
+
border-color: #007bff; }
|
244 |
+
.mo_openid_tour_btn-outline-primary:focus, .mo_openid_tour_btn-outline-primary.focus {
|
245 |
+
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5); }
|
246 |
+
.mo_openid_tour_btn-outline-primary.disabled, .mo_openid_tour_btn-outline-primary:disabled {
|
247 |
+
color: #007bff;
|
248 |
+
background-color: transparent; }
|
249 |
+
.mo_openid_tour_btn-outline-primary:active, .mo_openid_tour_btn-outline-primary.active,
|
250 |
+
.show > .mo_openid_tour_btn-outline-primary.dropdown-toggle {
|
251 |
+
color: #fff;
|
252 |
+
background-color: #007bff;
|
253 |
+
border-color: #007bff; }
|
254 |
+
|
255 |
+
.mo_openid_tour_btn-outline-secondary {
|
256 |
+
color: #868e96;
|
257 |
+
background-color: transparent;
|
258 |
+
background-image: none;
|
259 |
+
border-color: #868e96; }
|
260 |
+
.mo_openid_tour_btn-outline-secondary:hover {
|
261 |
+
color: #fff;
|
262 |
+
background-color: #868e96;
|
263 |
+
border-color: #868e96; }
|
264 |
+
.mo_openid_tour_btn-outline-secondary:focus, .mo_openid_tour_btn-outline-secondary.focus {
|
265 |
+
box-shadow: 0 0 0 3px rgba(134, 142, 150, 0.5); }
|
266 |
+
.mo_openid_tour_btn-outline-secondary.disabled, .mo_openid_tour_btn-outline-secondary:disabled {
|
267 |
+
color: #868e96;
|
268 |
+
background-color: transparent; }
|
269 |
+
.mo_openid_tour_btn-outline-secondary:active, .mo_openid_tour_btn-outline-secondary.active,
|
270 |
+
.show > .mo_openid_tour_btn-outline-secondary.dropdown-toggle {
|
271 |
+
color: #fff;
|
272 |
+
background-color: #868e96;
|
273 |
+
border-color: #868e96; }
|
274 |
+
|
275 |
+
.mo_openid_tour_btn-outline-success {
|
276 |
+
color: #28a745;
|
277 |
+
background-color: transparent;
|
278 |
+
background-image: none;
|
279 |
+
border-color: #28a745; }
|
280 |
+
.mo_openid_tour_btn-outline-success:hover {
|
281 |
+
color: #fff;
|
282 |
+
background-color: #28a745;
|
283 |
+
border-color: #28a745; }
|
284 |
+
.mo_openid_tour_btn-outline-success:focus, .mo_openid_tour_btn-outline-success.focus {
|
285 |
+
box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.5); }
|
286 |
+
.mo_openid_tour_btn-outline-success.disabled, .mo_openid_tour_btn-outline-success:disabled {
|
287 |
+
color: #28a745;
|
288 |
+
background-color: transparent; }
|
289 |
+
.mo_openid_tour_btn-outline-success:active, .mo_openid_tour_btn-outline-success.active,
|
290 |
+
.show > .mo_openid_tour_btn-outline-success.dropdown-toggle {
|
291 |
+
color: #fff;
|
292 |
+
background-color: #28a745;
|
293 |
+
border-color: #28a745; }
|
294 |
+
|
295 |
+
.mo_openid_tour_btn-outline-info {
|
296 |
+
color: #17a2b8;
|
297 |
+
background-color: transparent;
|
298 |
+
background-image: none;
|
299 |
+
border-color: #17a2b8; }
|
300 |
+
.mo_openid_tour_btn-outline-info:hover {
|
301 |
+
color: #fff;
|
302 |
+
background-color: #17a2b8;
|
303 |
+
border-color: #17a2b8; }
|
304 |
+
.mo_openid_tour_btn-outline-info:focus, .mo_openid_tour_btn-outline-info.focus {
|
305 |
+
box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.5); }
|
306 |
+
.mo_openid_tour_btn-outline-info.disabled, .mo_openid_tour_btn-outline-info:disabled {
|
307 |
+
color: #17a2b8;
|
308 |
+
background-color: transparent; }
|
309 |
+
.mo_openid_tour_btn-outline-info:active, .mo_openid_tour_btn-outline-info.active,
|
310 |
+
.show > .mo_openid_tour_btn-outline-info.dropdown-toggle {
|
311 |
+
color: #fff;
|
312 |
+
background-color: #17a2b8;
|
313 |
+
border-color: #17a2b8; }
|
314 |
+
|
315 |
+
.mo_openid_tour_btn-outline-warning {
|
316 |
+
color: #ffc107;
|
317 |
+
background-color: transparent;
|
318 |
+
background-image: none;
|
319 |
+
border-color: #ffc107; }
|
320 |
+
.mo_openid_tour_btn-outline-warning:hover {
|
321 |
+
color: #fff;
|
322 |
+
background-color: #ffc107;
|
323 |
+
border-color: #ffc107; }
|
324 |
+
.mo_openid_tour_btn-outline-warning:focus, .mo_openid_tour_btn-outline-warning.focus {
|
325 |
+
box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.5); }
|
326 |
+
.mo_openid_tour_btn-outline-warning.disabled, .mo_openid_tour_btn-outline-warning:disabled {
|
327 |
+
color: #ffc107;
|
328 |
+
background-color: transparent; }
|
329 |
+
.mo_openid_tour_btn-outline-warning:active, .mo_openid_tour_btn-outline-warning.active,
|
330 |
+
.show > .mo_openid_tour_btn-outline-warning.dropdown-toggle {
|
331 |
+
color: #fff;
|
332 |
+
background-color: #ffc107;
|
333 |
+
border-color: #ffc107; }
|
334 |
+
|
335 |
+
.mo_openid_tour_btn-outline-danger {
|
336 |
+
color: #dc3545;
|
337 |
+
background-color: transparent;
|
338 |
+
background-image: none;
|
339 |
+
border-color: #dc3545; }
|
340 |
+
.mo_openid_tour_btn-outline-danger:hover {
|
341 |
+
color: #fff;
|
342 |
+
background-color: #dc3545;
|
343 |
+
border-color: #dc3545; }
|
344 |
+
.mo_openid_tour_btn-outline-danger:focus, .mo_openid_tour_btn-outline-danger.focus {
|
345 |
+
box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.5); }
|
346 |
+
.mo_openid_tour_btn-outline-danger.disabled, .mo_openid_tour_btn-outline-danger:disabled {
|
347 |
+
color: #dc3545;
|
348 |
+
background-color: transparent; }
|
349 |
+
.mo_openid_tour_btn-outline-danger:active, .mo_openid_tour_btn-outline-danger.active,
|
350 |
+
.show > .mo_openid_tour_btn-outline-danger.dropdown-toggle {
|
351 |
+
color: #fff;
|
352 |
+
background-color: #dc3545;
|
353 |
+
border-color: #dc3545; }
|
354 |
+
|
355 |
+
.mo_openid_tour_btn-outline-light {
|
356 |
+
color: #f8f9fa;
|
357 |
+
background-color: transparent;
|
358 |
+
background-image: none;
|
359 |
+
border-color: #f8f9fa; }
|
360 |
+
.mo_openid_tour_btn-outline-light:hover {
|
361 |
+
color: #fff;
|
362 |
+
background-color: #f8f9fa;
|
363 |
+
border-color: #f8f9fa; }
|
364 |
+
.mo_openid_tour_btn-outline-light:focus, .mo_openid_tour_btn-outline-light.focus {
|
365 |
+
box-shadow: 0 0 0 3px rgba(248, 249, 250, 0.5); }
|
366 |
+
.mo_openid_tour_btn-outline-light.disabled, .mo_openid_tour_btn-outline-light:disabled {
|
367 |
+
color: #f8f9fa;
|
368 |
+
background-color: transparent; }
|
369 |
+
.mo_openid_tour_btn-outline-light:active, .mo_openid_tour_btn-outline-light.active,
|
370 |
+
.show > .mo_openid_tour_btn-outline-light.dropdown-toggle {
|
371 |
+
color: #fff;
|
372 |
+
background-color: #f8f9fa;
|
373 |
+
border-color: #f8f9fa; }
|
374 |
+
|
375 |
+
.mo_openid_tour_btn-outline-dark {
|
376 |
+
color: #343a40;
|
377 |
+
background-color: transparent;
|
378 |
+
background-image: none;
|
379 |
+
border-color: #343a40; }
|
380 |
+
.mo_openid_tour_btn-outline-dark:hover {
|
381 |
+
color: #fff;
|
382 |
+
background-color: #343a40;
|
383 |
+
border-color: #343a40; }
|
384 |
+
.mo_openid_tour_btn-outline-dark:focus, .mo_openid_tour_btn-outline-dark.focus {
|
385 |
+
box-shadow: 0 0 0 3px rgba(52, 58, 64, 0.5); }
|
386 |
+
.mo_openid_tour_btn-outline-dark.disabled, .mo_openid_tour_btn-outline-dark:disabled {
|
387 |
+
color: #343a40;
|
388 |
+
background-color: transparent; }
|
389 |
+
.mo_openid_tour_btn-outline-dark:active, .mo_openid_tour_btn-outline-dark.active,
|
390 |
+
.show > .mo_openid_tour_btn-outline-dark.dropdown-toggle {
|
391 |
+
color: #fff;
|
392 |
+
background-color: #343a40;
|
393 |
+
border-color: #343a40; }
|
394 |
+
|
395 |
+
.mo_openid_tour_btn-link {
|
396 |
+
font-weight: normal;
|
397 |
+
color: #007bff;
|
398 |
+
border-radius: 0; }
|
399 |
+
.mo_openid_tour_btn-link, .mo_openid_tour_btn-link:active, .mo_openid_tour_btn-link.active, .mo_openid_tour_btn-link:disabled {
|
400 |
+
background-color: transparent; }
|
401 |
+
.mo_openid_tour_btn-link, .mo_openid_tour_btn-link:focus, .mo_openid_tour_btn-link:active {
|
402 |
+
border-color: transparent;
|
403 |
+
box-shadow: none; }
|
404 |
+
.mo_openid_tour_btn-link:hover {
|
405 |
+
border-color: transparent; }
|
406 |
+
.mo_openid_tour_btn-link:focus, .mo_openid_tour_btn-link:hover {
|
407 |
+
color: #0056b3;
|
408 |
+
text-decoration: underline;
|
409 |
+
background-color: transparent; }
|
410 |
+
.mo_openid_tour_btn-link:disabled {
|
411 |
+
color: #868e96; }
|
412 |
+
.mo_openid_tour_btn-link:disabled:focus, .mo_openid_tour_btn-link:disabled:hover {
|
413 |
+
text-decoration: none; }
|
414 |
+
|
415 |
+
.mo_openid_tour_btn-lg, .mo_openid_tour_btn-group-lg > .mo_openid_tour_btn {
|
416 |
+
padding: 0.5rem 1rem;
|
417 |
+
font-size: 1.25rem;
|
418 |
+
line-height: 1.5;
|
419 |
+
border-radius: 0.3rem; }
|
420 |
+
|
421 |
+
.mo_openid_tour_btn-sm, .mo_openid_tour_btn-group-sm > .mo_openid_tour_btn {
|
422 |
+
padding: 0.25rem 0.5rem;
|
423 |
+
font-size: 0.875rem;
|
424 |
+
line-height: 1.5;
|
425 |
+
border-radius: 0.2rem; }
|
426 |
+
|
427 |
+
.mo_openid_tour_btn-block {
|
428 |
+
display: block;
|
429 |
+
width: 100%; }
|
430 |
+
|
431 |
+
.mo_openid_tour_btn-block + .mo_openid_tour_btn-block {
|
432 |
+
margin-top: 0.5rem; }
|
433 |
+
|
434 |
+
input[type="submit"].mo_openid_tour_btn-block,
|
435 |
+
input[type="reset"].mo_openid_tour_btn-block,
|
436 |
+
input[type="button"].mo_openid_tour_btn-block {
|
437 |
+
width: 100%; }
|
438 |
+
|
439 |
+
.fade {
|
440 |
+
opacity: 0;
|
441 |
+
transition: opacity 0.15s linear; }
|
442 |
+
.fade.show {
|
443 |
+
opacity: 1; }
|
444 |
+
|
445 |
+
.mo_openid_collapse {
|
446 |
+
display: none; }
|
447 |
+
.mo_openid_collapse.show {
|
448 |
+
display: block; }
|
449 |
+
|
450 |
+
tr.mo_openid_collapse.show {
|
451 |
+
display: table-row; }
|
452 |
+
|
453 |
+
tbody.mo_openid_collapse.show {
|
454 |
+
display: table-row-group; }
|
455 |
+
|
456 |
+
.collapsing {
|
457 |
+
position: relative;
|
458 |
+
height: 0;
|
459 |
+
overflow: hidden;
|
460 |
+
transition: height 0.35s ease; }
|
461 |
+
|
462 |
+
.mo_openid_tour_btn-group,
|
463 |
+
.mo_openid_tour_btn-group-vertical {
|
464 |
+
position: relative;
|
465 |
+
display: inline-flex;
|
466 |
+
vertical-align: middle; }
|
467 |
+
.mo_openid_tour_btn-group > .mo_openid_tour_btn,
|
468 |
+
.mo_openid_tour_btn-group-vertical > .mo_openid_tour_btn {
|
469 |
+
position: relative;
|
470 |
+
flex: 0 1 auto;
|
471 |
+
margin-bottom: 0; }
|
472 |
+
.mo_openid_tour_btn-group > .mo_openid_tour_btn:hover,
|
473 |
+
.mo_openid_tour_btn-group-vertical > .mo_openid_tour_btn:hover {
|
474 |
+
z-index: 2; }
|
475 |
+
.mo_openid_tour_btn-group > .mo_openid_tour_btn:focus, .mo_openid_tour_btn-group > .mo_openid_tour_btn:active, .mo_openid_tour_btn-group > .mo_openid_tour_btn.active,
|
476 |
+
.mo_openid_tour_btn-group-vertical > .mo_openid_tour_btn:focus,
|
477 |
+
.mo_openid_tour_btn-group-vertical > .mo_openid_tour_btn:active,
|
478 |
+
.mo_openid_tour_btn-group-vertical > .mo_openid_tour_btn.active {
|
479 |
+
z-index: 2; }
|
480 |
+
.mo_openid_tour_btn-group .mo_openid_tour_btn + .mo_openid_tour_btn,
|
481 |
+
.mo_openid_tour_btn-group .mo_openid_tour_btn + .mo_openid_tour_btn-group,
|
482 |
+
.mo_openid_tour_btn-group .mo_openid_tour_btn-group + .mo_openid_tour_btn,
|
483 |
+
.mo_openid_tour_btn-group .mo_openid_tour_btn-group + .mo_openid_tour_btn-group,
|
484 |
+
.mo_openid_tour_btn-group-vertical .mo_openid_tour_btn + .mo_openid_tour_btn,
|
485 |
+
.mo_openid_tour_btn-group-vertical .mo_openid_tour_btn + .mo_openid_tour_btn-group,
|
486 |
+
.mo_openid_tour_btn-group-vertical .mo_openid_tour_btn-group + .mo_openid_tour_btn,
|
487 |
+
.mo_openid_tour_btn-group-vertical .mo_openid_tour_btn-group + .mo_openid_tour_btn-group {
|
488 |
+
margin-left: -1px; }
|
489 |
+
|
490 |
+
.mo_openid_tour_btn-toolbar {
|
491 |
+
display: flex;
|
492 |
+
flex-wrap: wrap;
|
493 |
+
justify-content: flex-start; }
|
494 |
+
.mo_openid_tour_btn-toolbar .input-group {
|
495 |
+
width: auto; }
|
496 |
+
|
497 |
+
.mo_openid_tour_btn-group > .mo_openid_tour_btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
|
498 |
+
border-radius: 0; }
|
499 |
+
|
500 |
+
.mo_openid_tour_btn-group > .mo_openid_tour_btn:first-child {
|
501 |
+
margin-left: 0; }
|
502 |
+
.mo_openid_tour_btn-group > .mo_openid_tour_btn:first-child:not(:last-child):not(.dropdown-toggle) {
|
503 |
+
border-top-right-radius: 0;
|
504 |
+
border-bottom-right-radius: 0; }
|
505 |
+
|
506 |
+
.mo_openid_tour_btn-group > .mo_openid_tour_btn:last-child:not(:first-child),
|
507 |
+
.mo_openid_tour_btn-group > .dropdown-toggle:not(:first-child) {
|
508 |
+
border-top-left-radius: 0;
|
509 |
+
border-bottom-left-radius: 0; }
|
510 |
+
|
511 |
+
.mo_openid_tour_btn-group > .mo_openid_tour_btn-group {
|
512 |
+
float: left; }
|
513 |
+
|
514 |
+
.mo_openid_tour_btn-group > .mo_openid_tour_btn-group:not(:first-child):not(:last-child) > .mo_openid_tour_btn {
|
515 |
+
border-radius: 0; }
|
516 |
+
|
517 |
+
.mo_openid_tour_btn-group > .mo_openid_tour_btn-group:first-child:not(:last-child) > .mo_openid_tour_btn:last-child,
|
518 |
+
.mo_openid_tour_btn-group > .mo_openid_tour_btn-group:first-child:not(:last-child) > .dropdown-toggle {
|
519 |
+
border-top-right-radius: 0;
|
520 |
+
border-bottom-right-radius: 0; }
|
521 |
+
|
522 |
+
.mo_openid_tour_btn-group > .mo_openid_tour_btn-group:last-child:not(:first-child) > .mo_openid_tour_btn:first-child {
|
523 |
+
border-top-left-radius: 0;
|
524 |
+
border-bottom-left-radius: 0; }
|
525 |
+
|
526 |
+
.mo_openid_tour_btn + .dropdown-toggle-split {
|
527 |
+
padding-right: 0.5625rem;
|
528 |
+
padding-left: 0.5625rem; }
|
529 |
+
.mo_openid_tour_btn + .dropdown-toggle-split::after {
|
530 |
+
margin-left: 0; }
|
531 |
+
|
532 |
+
.mo_openid_tour_btn-sm + .dropdown-toggle-split, .mo_openid_tour_btn-group-sm > .mo_openid_tour_btn + .dropdown-toggle-split {
|
533 |
+
padding-right: 0.375rem;
|
534 |
+
padding-left: 0.375rem; }
|
535 |
+
|
536 |
+
.mo_openid_tour_btn-lg + .dropdown-toggle-split, .mo_openid_tour_btn-group-lg > .mo_openid_tour_btn + .dropdown-toggle-split {
|
537 |
+
padding-right: 0.75rem;
|
538 |
+
padding-left: 0.75rem; }
|
539 |
+
|
540 |
+
.mo_openid_tour_btn-group-vertical {
|
541 |
+
display: inline-flex;
|
542 |
+
flex-direction: column;
|
543 |
+
align-items: flex-start;
|
544 |
+
justify-content: center; }
|
545 |
+
.mo_openid_tour_btn-group-vertical .mo_openid_tour_btn,
|
546 |
+
.mo_openid_tour_btn-group-vertical .mo_openid_tour_btn-group {
|
547 |
+
width: 100%; }
|
548 |
+
.mo_openid_tour_btn-group-vertical > .mo_openid_tour_btn + .mo_openid_tour_btn,
|
549 |
+
.mo_openid_tour_btn-group-vertical > .mo_openid_tour_btn + .mo_openid_tour_btn-group,
|
550 |
+
.mo_openid_tour_btn-group-vertical > .mo_openid_tour_btn-group + .mo_openid_tour_btn,
|
551 |
+
.mo_openid_tour_btn-group-vertical > .mo_openid_tour_btn-group + .mo_openid_tour_btn-group {
|
552 |
+
margin-top: -1px;
|
553 |
+
margin-left: 0; }
|
554 |
+
|
555 |
+
.mo_openid_tour_btn-group-vertical > .mo_openid_tour_btn:not(:first-child):not(:last-child) {
|
556 |
+
border-radius: 0; }
|
557 |
+
|
558 |
+
.mo_openid_tour_btn-group-vertical > .mo_openid_tour_btn:first-child:not(:last-child) {
|
559 |
+
border-bottom-right-radius: 0;
|
560 |
+
border-bottom-left-radius: 0; }
|
561 |
+
|
562 |
+
.mo_openid_tour_btn-group-vertical > .mo_openid_tour_btn:last-child:not(:first-child) {
|
563 |
+
border-top-left-radius: 0;
|
564 |
+
border-top-right-radius: 0; }
|
565 |
+
|
566 |
+
.mo_openid_tour_btn-group-vertical > .mo_openid_tour_btn-group:not(:first-child):not(:last-child) > .mo_openid_tour_btn {
|
567 |
+
border-radius: 0; }
|
568 |
+
|
569 |
+
.mo_openid_tour_btn-group-vertical > .mo_openid_tour_btn-group:first-child:not(:last-child) > .mo_openid_tour_btn:last-child,
|
570 |
+
.mo_openid_tour_btn-group-vertical > .mo_openid_tour_btn-group:first-child:not(:last-child) > .dropdown-toggle {
|
571 |
+
border-bottom-right-radius: 0;
|
572 |
+
border-bottom-left-radius: 0; }
|
573 |
+
|
574 |
+
.mo_openid_tour_btn-group-vertical > .mo_openid_tour_btn-group:last-child:not(:first-child) > .mo_openid_tour_btn:first-child {
|
575 |
+
border-top-left-radius: 0;
|
576 |
+
border-top-right-radius: 0; }
|
577 |
+
|
578 |
+
[data-toggle="buttons"] > .mo_openid_tour_btn input[type="radio"],
|
579 |
+
[data-toggle="buttons"] > .mo_openid_tour_btn input[type="checkbox"],
|
580 |
+
[data-toggle="buttons"] > .mo_openid_tour_btn-group > .mo_openid_tour_btn input[type="radio"],
|
581 |
+
[data-toggle="buttons"] > .mo_openid_tour_btn-group > .btn input[type="checkbox"] {
|
582 |
+
position: absolute;
|
583 |
+
clip: rect(0, 0, 0, 0);
|
584 |
+
pointer-events: none; }
|
585 |
+
|
586 |
+
.mo_openid_popover {
|
587 |
+
position: absolute;
|
588 |
+
top: 0;
|
589 |
+
left: 0;
|
590 |
+
z-index: 1060;
|
591 |
+
display: block;
|
592 |
+
max-width: 276px;
|
593 |
+
padding: 1px;
|
594 |
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
595 |
+
font-style: normal;
|
596 |
+
font-weight: normal;
|
597 |
+
line-height: 1.5;
|
598 |
+
text-align: left;
|
599 |
+
text-align: start;
|
600 |
+
text-decoration: none;
|
601 |
+
text-shadow: none;
|
602 |
+
text-transform: none;
|
603 |
+
letter-spacing: normal;
|
604 |
+
word-break: normal;
|
605 |
+
word-spacing: normal;
|
606 |
+
white-space: normal;
|
607 |
+
line-break: auto;
|
608 |
+
font-size: 0.875rem;
|
609 |
+
word-wrap: break-word;
|
610 |
+
background-color: #fff;
|
611 |
+
background-clip: padding-box;
|
612 |
+
border: 1px solid rgba(0, 0, 0, 0.2);
|
613 |
+
border-radius: 0.3rem; }
|
614 |
+
.mo_openid_popover .mo_openid_arrow {
|
615 |
+
position: absolute;
|
616 |
+
display: block;
|
617 |
+
width: 10px;
|
618 |
+
height: 5px;
|
619 |
+
|
620 |
+
}
|
621 |
+
.mo_openid_popover .mo_openid_arrow::before,
|
622 |
+
.mo_openid_popover .mo_openid_arrow::after {
|
623 |
+
position: absolute;
|
624 |
+
display: block;
|
625 |
+
border-color:transparent;
|
626 |
+
border-style: solid; }
|
627 |
+
.mo_openid_popover .mo_openid_arrow::before {
|
628 |
+
content: "";
|
629 |
+
border-width: 11px;
|
630 |
+
}
|
631 |
+
.mo_openid_popover .mo_openid_arrow::after {
|
632 |
+
content: "";
|
633 |
+
border-width: 11px;
|
634 |
+
|
635 |
+
}
|
636 |
+
.mo_openid_popover.bs-mo_openid_popover-top, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="top"] {
|
637 |
+
margin-bottom: 10px; }
|
638 |
+
.mo_openid_popover.bs-mo_openid_popover-top .mo_openid_arrow, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="top"] .mo_openid_arrow {
|
639 |
+
bottom: 0; }
|
640 |
+
.mo_openid_popover.bs-mo_openid_popover-top .mo_openid_arrow::before, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="top"] .mo_openid_arrow::before,
|
641 |
+
.mo_openid_popover.bs-mo_openid_popover-top .mo_openid_arrow::after, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="top"] .mo_openid_arrow::after {
|
642 |
+
|
643 |
+
border-bottom-width: 0; }
|
644 |
+
.mo_openid_popover.bs-mo_openid_popover-top .mo_openid_arrow::before, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="top"] .mo_openid_arrow::before {
|
645 |
+
bottom: -11px;
|
646 |
+
margin-left: -6px;
|
647 |
+
border-top-color: rgba(0, 0, 0, 0.25); }
|
648 |
+
.mo_openid_popover.bs-mo_openid_popover-top .mo_openid_arrow::after, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="top"] .mo_openid_arrow::after {
|
649 |
+
bottom: -10px;
|
650 |
+
margin-left: -6px;
|
651 |
+
border-top-color: #fff;
|
652 |
+
}
|
653 |
+
.mo_openid_popover.bs-mo_openid_popover-right, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="right"] {
|
654 |
+
|
655 |
+
margin-left: 10px; }
|
656 |
+
.mo_openid_popover.bs-mo_openid_popover-right .mo_openid_arrow, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="right"] .mo_openid_arrow {
|
657 |
+
left: 0; }
|
658 |
+
.mo_openid_popover.bs-mo_openid_popover-right .mo_openid_arrow::before, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="right"] .mo_openid_arrow::before,
|
659 |
+
.mo_openid_popover.bs-mo_openid_popover-right .mo_openid_arrow::after, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="right"] .mo_openid_arrow::after {
|
660 |
+
margin-top: -8px;
|
661 |
+
border-left-width: 0;
|
662 |
+
}
|
663 |
+
.mo_openid_popover.bs-mo_openid_popover-right .mo_openid_arrow::before, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="right"] .mo_openid_arrow::before {
|
664 |
+
left: -11px;
|
665 |
+
border-right-color: rgba(0, 0, 0, 0.25); }
|
666 |
+
.mo_openid_popover.bs-mo_openid_popover-right .mo_openid_arrow::after, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="right"] .mo_openid_arrow::after {
|
667 |
+
left: -10px;
|
668 |
+
border-right-color: #fff;
|
669 |
+
}
|
670 |
+
.mo_openid_popover.bs-mo_openid_popover-bottom, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="bottom"] {
|
671 |
+
margin-top: 10px; }
|
672 |
+
.mo_openid_popover.bs-mo_openid_popover-bottom .mo_openid_arrow, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="bottom"] .mo_openid_arrow {
|
673 |
+
top: 0; }
|
674 |
+
.mo_openid_popover.bs-mo_openid_popover-bottom .mo_openid_arrow::before, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="bottom"] .mo_openid_arrow::before,
|
675 |
+
.mo_openid_popover.bs-mo_openid_popover-bottom .mo_openid_arrow::after, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="bottom"] .mo_openid_arrow::after {
|
676 |
+
margin-left: -7px;
|
677 |
+
border-top-width: 0;
|
678 |
+
|
679 |
+
}
|
680 |
+
.mo_openid_popover.bs-mo_openid_popover-bottom .mo_openid_arrow::before, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="bottom"] .mo_openid_arrow::before {
|
681 |
+
top: -11px;
|
682 |
+
border-bottom-color: rgba(0, 0, 0, 0.25); }
|
683 |
+
.mo_openid_popover.bs-mo_openid_popover-bottom .mo_openid_arrow::after, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="bottom"] .mo_openid_arrow::after {
|
684 |
+
top: -10px;
|
685 |
+
border-bottom-color: #fff;
|
686 |
+
|
687 |
+
}
|
688 |
+
.mo_openid_popover.bs-mo_openid_popover-bottom .mo_openid_popover-header::before, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="bottom"] .mo_openid_popover-header::before {
|
689 |
+
position: absolute;
|
690 |
+
top: 0;
|
691 |
+
left: 50%;
|
692 |
+
display: block;
|
693 |
+
width: 20px;
|
694 |
+
margin-left: -10px;
|
695 |
+
content: "";
|
696 |
+
border-bottom: 1px solid #f7f7f7; }
|
697 |
+
.mo_openid_popover.bs-mo_openid_popover-left, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="left"] {
|
698 |
+
margin-right: 10px; }
|
699 |
+
.mo_openid_popover.bs-mo_openid_popover-left .mo_openid_arrow, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="left"] .mo_openid_arrow {
|
700 |
+
right: 0;
|
701 |
+
|
702 |
+
}
|
703 |
+
.mo_openid_popover.bs-mo_openid_popover-left .mo_openid_arrow::before, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="left"] .mo_openid_arrow::before,
|
704 |
+
.mo_openid_popover.bs-mo_openid_popover-left .mo_openid_arrow::after, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="left"] .mo_openid_arrow::after {
|
705 |
+
margin-top: -8px;
|
706 |
+
border-right-width: 0;
|
707 |
+
}
|
708 |
+
.mo_openid_popover.bs-mo_openid_popover-left .mo_openid_arrow::before, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="left"] .mo_openid_arrow::before {
|
709 |
+
right: -11px;
|
710 |
+
border-left-color: rgba(0, 0, 0, 0.25); }
|
711 |
+
.mo_openid_popover.bs-mo_openid_popover-left .mo_openid_arrow::after, .mo_openid_popover.bs-mo_openid_popover-auto[x-placement^="left"] .mo_openid_arrow::after {
|
712 |
+
right: -10px;
|
713 |
+
border-left-color: #fff;
|
714 |
+
}
|
715 |
+
|
716 |
+
.mo_openid_popover-header {
|
717 |
+
padding: 8px 14px;
|
718 |
+
margin-bottom: 0;
|
719 |
+
font-size: 1rem;
|
720 |
+
color: #FFF;
|
721 |
+
background-color: #000;
|
722 |
+
border-bottom: 1px solid #ebebeb;
|
723 |
+
border-top-left-radius: calc(0.3rem - 1px);
|
724 |
+
border-top-right-radius: calc(0.3rem - 1px);
|
725 |
+
}
|
726 |
+
.mo_openid_popover-header:empty {
|
727 |
+
display: none; }
|
728 |
+
|
729 |
+
.mo_openid_popover-body {
|
730 |
+
padding: 9px 14px;
|
731 |
+
color: #212529; }
|
732 |
+
|
733 |
+
.tour-backdrop {
|
734 |
+
background-color: #000;
|
735 |
+
filter: alpha(opacity=80);
|
736 |
+
opacity: .4;
|
737 |
+
position: absolute;
|
738 |
+
z-index: 1100; }
|
739 |
+
|
740 |
+
.mo_openid_popover[class*="tour-"] {
|
741 |
+
z-index: 1102; }
|
742 |
+
.mo_openid_popover[class*="tour-"] .mo_openid_popover-navigation {
|
743 |
+
overflow: hidden;
|
744 |
+
padding: 9px 14px; }
|
745 |
+
.mo_openid_popover[class*="tour-"] .mo_openid_popover-navigation *[data-role="end"] {
|
746 |
+
float: right; }
|
747 |
+
.mo_openid_popover[class*="tour-"] .mo_openid_popover-navigation *[data-role="prev"],
|
748 |
+
.mo_openid_popover[class*="tour-"] .mo_openid_popover-navigation *[data-role="next"],
|
749 |
+
.mo_openid_popover[class*="tour-"] .mo_openid_popover-navigation *[data-role="end"] {
|
750 |
+
cursor: pointer; }
|
751 |
+
.mo_openid_popover[class*="tour-"] .mo_openid_popover-navigation *[data-role="prev"].disabled,
|
752 |
+
.mo_openid_popover[class*="tour-"] .mo_openid_popover-navigation *[data-role="next"].disabled,
|
753 |
+
.mo_openid_popover[class*="tour-"] .mo_openid_popover-navigation *[data-role="end"].disabled {
|
754 |
+
cursor: default; }
|
755 |
+
.mo_openid_popover[class*="tour-"].orphan {
|
756 |
+
left: 50%;
|
757 |
+
margin-top: 0;
|
758 |
+
position: fixed;
|
759 |
+
top: 50%;
|
760 |
+
transform: translate(-50%, -50%); }
|
761 |
+
.mo_openid_popover[class*="tour-"].orphan .mo_openid_arrow {
|
762 |
+
display: none; }
|
includes/css/mo_openid_style.css
CHANGED
@@ -1,160 +1,769 @@
|
|
1 |
-
|
2 |
-
|
Â
|
|
Â
|
|
3 |
Â
}
|
4 |
-
|
5 |
-
|
6 |
-
|
Â
|
|
7 |
Â
}
|
8 |
Â
|
9 |
-
|
10 |
-
|
11 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
12 |
Â
}
|
13 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
14 |
Â
text-align: center;
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
15 |
Â
}
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
Â
}
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
background: url(../../includes/images/count.png) no-repeat;
|
27 |
-
height: 40px;
|
28 |
-
overflow: hidden;
|
29 |
-
padding: 10px 2px 2px;
|
30 |
-
font-size: 17px;
|
31 |
-
text-align: center;
|
32 |
-
line-height: 24px;
|
33 |
-
color: #5a6570;
|
34 |
Â
}
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
height: 40px;
|
40 |
-
overflow: hidden;
|
41 |
-
padding: 10px 2px 2px;
|
42 |
-
font-size: 17px;
|
43 |
-
text-align: center;
|
44 |
-
line-height: 24px;
|
45 |
-
color: #5a6570;
|
46 |
Â
}
|
47 |
-
|
48 |
-
|
49 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
50 |
Â
}
|
51 |
Â
|
52 |
-
|
Â
|
|
53 |
Â
|
Â
|
|
Â
|
|
54 |
Â
position: fixed; /* Stay in place */
|
55 |
Â
z-index: 1; /* Sit on top */
|
56 |
Â
padding-top: 100px; /* Location of the box */
|
57 |
Â
left: 0;
|
58 |
Â
top: 0;
|
59 |
Â
width: 100%; /* Full width */
|
Â
|
|
60 |
Â
overflow: auto; /* Enable scroll if needed */
|
61 |
Â
background-color: rgb(0,0,0); /* Fallback color */
|
62 |
-
background-color: rgba(0,0,0,0.
|
63 |
-
height: 100%;
|
64 |
-
-webkit-border-radius: 10px !important;
|
65 |
-
-moz-border-radius: 10px !important;
|
66 |
-
border-radius: 10px !important;
|
67 |
-
|
68 |
Â
}
|
69 |
Â
|
70 |
-
|
71 |
-
|
Â
|
|
72 |
Â
margin: auto;
|
73 |
-
padding: 20px;
|
74 |
-
border: 1px solid #888;
|
75 |
-
width: 55%;
|
76 |
-
-webkit-animation-name: animatetop;
|
77 |
-
-webkit-animation-duration: 1s;
|
78 |
-
animation-name: animatetop;
|
79 |
-
animation-duration: 1s;
|
80 |
Â
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
Â
|
|
Â
|
|
Â
|
|
85 |
Â
}
|
86 |
Â
|
87 |
-
|
88 |
-
|
89 |
-
|
Â
|
|
Â
|
|
Â
|
|
90 |
Â
}
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
Â
color: white;
|
Â
|
|
Â
|
|
95 |
Â
}
|
96 |
-
|
Â
|
|
Â
|
|
97 |
Â
color: #aaaaaa;
|
98 |
Â
float: right;
|
99 |
Â
font-size: 28px;
|
100 |
Â
font-weight: bold;
|
101 |
Â
}
|
102 |
-
.
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
103 |
Â
position: fixed;
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
104 |
Â
top: 0;
|
105 |
Â
left: 0;
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
opacity: .0;
|
112 |
-
z-index: 1;
|
113 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
114 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
115 |
Â
|
116 |
-
|
117 |
-
|
Â
|
|
Â
|
|
Â
|
|
118 |
Â
}
|
119 |
-
.
|
Â
|
|
Â
|
|
Â
|
|
120 |
Â
position: relative;
|
121 |
-
|
122 |
-
opacity:1;
|
123 |
Â
|
124 |
Â
}
|
125 |
Â
|
126 |
-
.
|
127 |
-
padding:15px 20px 20px 20px;
|
128 |
Â
visibility: hidden;
|
129 |
-
width:
|
130 |
-
background-color:
|
131 |
-
color
|
132 |
Â
text-align: center;
|
133 |
Â
border-radius: 6px;
|
Â
|
|
134 |
Â
position: absolute;
|
135 |
Â
z-index: 1;
|
136 |
-
top:
|
137 |
-
left:
|
138 |
-
margin-left: -60px;
|
139 |
-
|
140 |
Â
}
|
141 |
Â
|
142 |
-
.
|
143 |
Â
content: "";
|
144 |
Â
position: absolute;
|
145 |
-
|
146 |
-
|
147 |
-
margin-
|
148 |
Â
border-width: 5px;
|
149 |
Â
border-style: solid;
|
150 |
-
border-color: transparent
|
151 |
Â
}
|
152 |
-
|
153 |
-
.tooltip:hover .tooltiptext {
|
154 |
Â
visibility: visible;
|
155 |
Â
}
|
156 |
Â
|
157 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
158 |
Â
visibility: hidden;
|
159 |
Â
width: 120px;
|
160 |
Â
background-color: black;
|
@@ -170,7 +779,7 @@ a.mo-pugin-add-comp-link-sl {
|
|
170 |
Â
|
171 |
Â
}
|
172 |
Â
|
173 |
-
.
|
174 |
Â
content: "";
|
175 |
Â
position: absolute;
|
176 |
Â
bottom: 100%;
|
@@ -181,9 +790,10 @@ a.mo-pugin-add-comp-link-sl {
|
|
181 |
Â
border-color: transparent transparent black transparent;
|
182 |
Â
}
|
183 |
Â
|
184 |
-
.
|
185 |
Â
visibility: visible;
|
186 |
Â
}
|
Â
|
|
187 |
Â
.mo_openid_help_title {
|
188 |
Â
font-size:13px;
|
189 |
Â
width:100%;
|
@@ -198,26 +808,26 @@ a.mo-pugin-add-comp-link-sl {
|
|
198 |
Â
padding-left:10px;
|
199 |
Â
}
|
200 |
Â
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
Â
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
Â
|
209 |
-
|
210 |
-
|
211 |
Â
|
212 |
-
|
213 |
Â
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
Â
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
Â
|
222 |
Â
|
223 |
Â
.mo_table_layout {
|
@@ -233,21 +843,21 @@ a.mo-pugin-add-comp-link-sl {
|
|
233 |
Â
.mo_table_layout td strong {
|
234 |
Â
margin-left: 10px;
|
235 |
Â
}
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
Â
|
243 |
Â
}
|
244 |
Â
.mo_openid_table_layout {
|
245 |
Â
background-color:#FFFFFF;
|
246 |
-
border:1px solid #CCCCCC;
|
247 |
Â
padding:0px 10px 10px 10px;
|
248 |
Â
margin-bottom: 10px;
|
249 |
Â
height:auto;
|
250 |
Â
min-height:400px;
|
Â
|
|
251 |
Â
}
|
252 |
Â
|
253 |
Â
.mo_openid_table_layout input['type=text'] {
|
@@ -300,29 +910,27 @@ a.mo-pugin-add-comp-link-sl {
|
|
300 |
Â
box-sizing:border-box !important;
|
301 |
Â
}
|
302 |
Â
.mo_image_id {
|
303 |
-
|
304 |
Â
}
|
305 |
Â
|
306 |
Â
div.mo_image_id>a>img.mo_openid_image {
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
Â
}
|
312 |
Â
|
313 |
Â
|
314 |
Â
.mo_image_id:hover .mo_openid_image {
|
315 |
-
|
316 |
Â
}
|
317 |
Â
|
318 |
Â
.circle{
|
319 |
-
|
320 |
Â
border-radius: 999px !important;
|
321 |
-
|
322 |
Â
}
|
323 |
Â
|
324 |
Â
.oval{
|
325 |
-
border-radius: 4px !important;
|
326 |
Â
}
|
327 |
Â
|
328 |
Â
.round{
|
@@ -330,13 +938,12 @@ border-radius: 4px !important;
|
|
330 |
Â
border-radius: 999px !important;
|
331 |
Â
}
|
332 |
Â
|
333 |
-
|
334 |
Â
.roundededges{
|
335 |
-
border-radius: 4px !important;
|
336 |
Â
}
|
337 |
Â
|
338 |
Â
.mo-openid-app-icons>p{
|
339 |
-
margin:0px !important;
|
340 |
Â
|
341 |
Â
}
|
342 |
Â
|
@@ -348,10 +955,9 @@ margin:0px !important;
|
|
348 |
Â
vertical-align :super !important;
|
349 |
Â
}
|
350 |
Â
|
351 |
-
a{
|
352 |
-
cursor:pointer
|
353 |
-
|
354 |
-
}
|
355 |
Â
|
356 |
Â
.mo_openid_display_interface{
|
357 |
Â
width:100%;
|
@@ -359,14 +965,14 @@ a{
|
|
359 |
Â
|
360 |
Â
.mo_openid_vertical{
|
361 |
Â
display:inline-block !important;
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
Â
width:40px;
|
371 |
Â
position:fixed;
|
372 |
Â
}
|
@@ -375,16 +981,16 @@ a{
|
|
375 |
Â
color:#ffffff !important;
|
376 |
Â
}
|
377 |
Â
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
Â
|
384 |
Â
}
|
385 |
Â
|
386 |
Â
.btn-custom-dec{
|
387 |
-
text-decoration:none !important;
|
388 |
Â
}
|
389 |
Â
|
390 |
Â
.mo-custom-share-icon{
|
@@ -399,15 +1005,15 @@ text-decoration:none !important;
|
|
399 |
Â
}
|
400 |
Â
.mo_openid_title_panel{
|
401 |
Â
width: 100%;
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
}
|
406 |
-
|
407 |
-
#TB_window, #TB_window #TB_ajaxContent {
|
408 |
-
width:500px!important;
|
409 |
Â
}
|
410 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
411 |
Â
.mo_openid_pricing_table{
|
412 |
Â
text-align:center;
|
413 |
Â
font-size: 15px !important;
|
@@ -431,7 +1037,7 @@ text-decoration:none !important;
|
|
431 |
Â
|
432 |
Â
.mo_openid_pricing_free_tab{
|
433 |
Â
background-color: rgba(34, 153, 221, 0.82)!important;
|
434 |
-
|
435 |
Â
}
|
436 |
Â
|
437 |
Â
.mo_openid_pricing_paid_tab{
|
@@ -490,49 +1096,49 @@ text-decoration:none !important;
|
|
490 |
Â
|
491 |
Â
.mo_openid_license_select_option{
|
492 |
Â
display: block;
|
493 |
-
|
494 |
Â
margin-left:5%;
|
495 |
Â
font-size:15px!important;
|
496 |
-
|
497 |
Â
border-color: #0073aa #006799 #006799;
|
498 |
Â
border-width: 1px;
|
499 |
-
|
500 |
Â
padding-left:15%!important;
|
501 |
-
|
502 |
-
|
503 |
Â
text-align:center;
|
504 |
-
|
505 |
-
|
506 |
Â
cursor:pointer;
|
507 |
-
|
508 |
Â
}
|
509 |
Â
|
510 |
Â
.mo_openid_license_select_option:focus, .mo_openid_license_select_option:hover {
|
511 |
Â
border-color: #0073aa #006799 #006799;
|
512 |
Â
border-width: 1px;
|
513 |
-
|
514 |
Â
}
|
515 |
Â
|
516 |
Â
.mo_openid_license_select_option option {
|
517 |
-
|
518 |
Â
}
|
519 |
Â
.mo-openid-app-icons>a{
|
520 |
-
|
521 |
Â
}
|
522 |
Â
.mo-openid-app-icons>code>a{
|
523 |
-
|
524 |
Â
}
|
525 |
Â
.mo-openid-app-icons>a>img{
|
526 |
-
box-shadow: 0 0 0 0px #fff !important;
|
527 |
Â
}
|
528 |
Â
.mo-openid-app-icons>code>a>img{
|
529 |
-
box-shadow: 0 0 0 0px #fff !important;
|
530 |
Â
}
|
531 |
Â
.mo-openid-app-icons>.horizontal>a>img{
|
532 |
Â
box-shadow: 0 0 0 0px #fff !important;
|
533 |
Â
}
|
534 |
Â
.mo-openid-app-icons>.horizontal>a{
|
535 |
-
box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0)!important;}
|
536 |
Â
|
537 |
Â
.mo-openid-app-icons>div>a.mo-openid-share-link>img.mo-openid-app-share-icons
|
538 |
Â
{
|
@@ -565,72 +1171,72 @@ aside.widget-area>section.widget_mo_openid_sharing_hor_wid>div.mo-openid-app-ico
|
|
565 |
Â
|
566 |
Â
}
|
567 |
Â
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
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 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
Â
.mo-tomato {
|
635 |
Â
color: tomato;
|
636 |
Â
}
|
@@ -646,15 +1252,14 @@ aside.widget-area>section.widget_mo_openid_sharing_hor_wid>div.mo-openid-app-ico
|
|
646 |
Â
}
|
647 |
Â
|
648 |
Â
/* Tooltip container */
|
649 |
-
.
|
650 |
Â
position: relative;
|
651 |
Â
display: inline-block;
|
652 |
Â
size: letter;
|
653 |
Â
/* If you want dots under the hoverable text */
|
654 |
Â
}
|
655 |
-
|
656 |
Â
/* Tooltip text */
|
657 |
-
.
|
658 |
Â
visibility: hidden;
|
659 |
Â
width: 120px;
|
660 |
Â
|
@@ -677,7 +1282,7 @@ aside.widget-area>section.widget_mo_openid_sharing_hor_wid>div.mo-openid-app-ico
|
|
677 |
Â
}
|
678 |
Â
|
679 |
Â
/* Tooltip arrow */
|
680 |
-
.
|
681 |
Â
content: "";
|
682 |
Â
position: absolute;
|
683 |
Â
top: 100%;
|
@@ -689,7 +1294,243 @@ aside.widget-area>section.widget_mo_openid_sharing_hor_wid>div.mo-openid-app-ico
|
|
689 |
Â
}
|
690 |
Â
|
691 |
Â
/* Show the tooltip text when you mouse over the tooltip container */
|
692 |
-
.
|
693 |
Â
visibility: visible;
|
694 |
Â
opacity: 1;
|
695 |
-
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
#mo_shortcode_table {
|
2 |
+
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
3 |
+
border-collapse: collapse;
|
4 |
+
width: 80%;
|
5 |
Â
}
|
6 |
+
|
7 |
+
#mo_shortcode_table td, #mo_shortcode_table th {
|
8 |
+
border: 1px solid #000000;
|
9 |
+
padding: 8px;
|
10 |
Â
}
|
11 |
Â
|
12 |
+
#mo_shortcode_table tr:nth-child(even){background-color: #6d97dd;}
|
13 |
+
|
14 |
+
#mo_shortcode_table tr:hover {background-color: #ddd;}
|
15 |
+
|
16 |
+
#mo_shortcode_table th {
|
17 |
+
padding-top: 12px;
|
18 |
+
padding-bottom: 12px;
|
19 |
+
text-align: left;
|
20 |
+
background-color: #6d97dd;
|
21 |
+
color: black;
|
22 |
Â
}
|
23 |
+
|
24 |
+
#mo_openid_notice_snackbar {
|
25 |
+
visibility: hidden;
|
26 |
+
min-width: 250px;
|
27 |
+
margin-left: -125px;
|
28 |
+
color: #fff;
|
29 |
Â
text-align: center;
|
30 |
+
border-radius: 2px;
|
31 |
+
padding: 16px;
|
32 |
+
position: fixed;
|
33 |
+
z-index: 1;
|
34 |
+
top: 8%;
|
35 |
+
right: 30px;
|
36 |
+
font-size: 17px;
|
37 |
Â
}
|
38 |
+
|
39 |
+
#mo_openid_notice_snackbar.show {
|
40 |
+
visibility: visible;
|
41 |
+
-webkit-animation: fadein 0.5s, fadeout 0.5s 3.5s;
|
42 |
+
animation: fadein 0.5s, fadeout 0.5s 3.5s;
|
43 |
Â
}
|
44 |
+
|
45 |
+
@-webkit-keyframes fadein {
|
46 |
+
from {right: 0; opacity: 0;}
|
47 |
+
to {right: 30px; opacity: 1;}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
48 |
Â
}
|
49 |
+
|
50 |
+
@keyframes fadein {
|
51 |
+
from {right: 0; opacity: 0;}
|
52 |
+
to {right: 30px; opacity: 1;}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
53 |
Â
}
|
54 |
+
|
55 |
+
@-webkit-keyframes fadeout {
|
56 |
+
from {right: 30px; opacity: 1;}
|
57 |
+
to {right: 0; opacity: 0;}
|
58 |
+
}
|
59 |
+
|
60 |
+
@keyframes fadeout {
|
61 |
+
from {right: 30px; opacity: 1;}
|
62 |
+
to {right: 0; opacity: 0;}
|
63 |
+
}
|
64 |
+
|
65 |
+
|
66 |
+
#mo_openid_ajax_wait_fade {
|
67 |
+
display: none;
|
68 |
+
position:absolute;
|
69 |
+
top: 0%;
|
70 |
+
left: 0%;
|
71 |
+
width: 100%;
|
72 |
+
height: 100%;
|
73 |
+
background-color: #ababab;
|
74 |
+
z-index: 1001;
|
75 |
+
-moz-opacity: 0.8;
|
76 |
+
opacity: .70;
|
77 |
+
filter: alpha(opacity=80);
|
78 |
+
}
|
79 |
+
|
80 |
+
#mo_openid_ajax_wait_img {
|
81 |
+
display: none;
|
82 |
+
position: absolute;
|
83 |
+
top: 40%;
|
84 |
+
left: 45%;
|
85 |
+
width: 6%;
|
86 |
+
height: 8%;
|
87 |
+
padding:30px 15px 0px;
|
88 |
+
border: 3px solid #ababab;
|
89 |
+
box-shadow:1px 1px 10px #ababab;
|
90 |
+
border-radius:20px;
|
91 |
+
background-color: white;
|
92 |
+
z-index: 1002;
|
93 |
+
text-align:center;
|
94 |
+
overflow: auto;
|
95 |
Â
}
|
96 |
Â
|
97 |
+
/*support form*/
|
98 |
+
/* The Modal (background) */
|
99 |
Â
|
100 |
+
.mo_openid_modal_rateus {
|
101 |
+
display: none; /* Hidden by default */
|
102 |
Â
position: fixed; /* Stay in place */
|
103 |
Â
z-index: 1; /* Sit on top */
|
104 |
Â
padding-top: 100px; /* Location of the box */
|
105 |
Â
left: 0;
|
106 |
Â
top: 0;
|
107 |
Â
width: 100%; /* Full width */
|
108 |
+
height: 100%; /* Full height */
|
109 |
Â
overflow: auto; /* Enable scroll if needed */
|
110 |
Â
background-color: rgb(0,0,0); /* Fallback color */
|
111 |
+
background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
112 |
Â
}
|
113 |
Â
|
114 |
+
/* Modal Content */
|
115 |
+
.mo_openid_rateus_modal_content {
|
116 |
+
background-color: #0867b2;
|
117 |
Â
margin: auto;
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
118 |
Â
|
119 |
+
|
120 |
+
border: 1px solid #888;
|
121 |
+
min-height: 20%;
|
122 |
+
margin-left: auto;
|
123 |
+
margin-right: auto;
|
124 |
+
width: 35%;
|
125 |
+
height: 50%;
|
126 |
Â
}
|
127 |
Â
|
128 |
+
/* The Close Button */
|
129 |
+
.mo_openid_rateus_close {
|
130 |
+
color: #aaaaaa;
|
131 |
+
float: right;
|
132 |
+
font-size: 28px;
|
133 |
+
font-weight: bold;
|
134 |
Â
}
|
135 |
+
|
136 |
+
.mo_openid_rateus_close:hover,
|
137 |
+
.mo_openid_rateus_close:focus {
|
138 |
Â
color: white;
|
139 |
+
text-decoration: none;
|
140 |
+
cursor: pointer;
|
141 |
Â
}
|
142 |
+
|
143 |
+
/*Rate us feedback close button*/
|
144 |
+
.mo_openid_rateus_feedback_close {
|
145 |
Â
color: #aaaaaa;
|
146 |
Â
float: right;
|
147 |
Â
font-size: 28px;
|
148 |
Â
font-weight: bold;
|
149 |
Â
}
|
150 |
+
.mo_openid_rateus_feedback_close:hover,
|
151 |
+
.mo_openid_rateus_feedback_close:focus {
|
152 |
+
color: white;
|
153 |
+
text-decoration: none;
|
154 |
+
cursor: pointer;
|
155 |
+
}
|
156 |
+
|
157 |
+
|
158 |
+
.mo-openid-rating {
|
159 |
+
unicode-bidi: bidi-override;
|
160 |
+
direction: rtl;
|
161 |
+
}
|
162 |
+
.mo-openid-rating > span {
|
163 |
+
display: inline-block;
|
164 |
+
position: relative;
|
165 |
+
width: 1.1em;
|
166 |
+
}
|
167 |
+
.mo-openid-rating > span:hover:before,
|
168 |
+
.mo-openid-rating > span:hover ~ span:before {
|
169 |
+
content: "\2605";
|
170 |
+
position: absolute;
|
171 |
+
}
|
172 |
+
legend {
|
173 |
+
font-size: 1.4em;
|
174 |
+
margin-bottom: 10px;
|
175 |
+
}
|
176 |
+
|
177 |
+
.mo_openid_modal_rateus_style {
|
178 |
+
font-family: Georgia, "Times New Roman", Times, serif;
|
179 |
+
background: rgba(255, 255, 255, .1);
|
180 |
+
border: none;
|
181 |
+
border-radius: 4px;
|
182 |
+
font-size: 15px;
|
183 |
+
margin: 0;
|
184 |
+
outline: 0;
|
185 |
+
padding: 10px;
|
186 |
+
width: 100%;
|
187 |
+
box-sizing: border-box;
|
188 |
+
-webkit-box-sizing: border-box;
|
189 |
+
-moz-box-sizing: border-box;
|
190 |
+
background-color: #FFFFFF;
|
191 |
+
color: #8a97a0;
|
192 |
+
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
|
193 |
+
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
|
194 |
+
margin-bottom: 30px;
|
195 |
+
}
|
196 |
+
|
197 |
+
|
198 |
+
|
199 |
+
select {
|
200 |
+
-webkit-appearance: menulist-button;
|
201 |
+
height: 35px;
|
202 |
+
}
|
203 |
+
|
204 |
+
.number {
|
205 |
+
background: #1abc9c;
|
206 |
+
color: #fff;
|
207 |
+
height: 30px;
|
208 |
+
width: 30px;
|
209 |
+
display: inline-block;
|
210 |
+
font-size: 0.8em;
|
211 |
+
margin-right: 4px;
|
212 |
+
line-height: 30px;
|
213 |
+
text-align: center;
|
214 |
+
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
|
215 |
+
border-radius: 15px 15px 15px 0px;
|
216 |
+
}
|
217 |
+
|
218 |
+
.mo_openid_modal_rateus_style_button{
|
219 |
+
position: relative;
|
220 |
+
display: block;
|
221 |
+
padding: 19px 39px 18px 39px;
|
222 |
+
color: #FFF;
|
223 |
+
margin: 0 auto;
|
224 |
+
background: #0867b2;
|
225 |
+
font-size: 18px;
|
226 |
+
text-align: center;
|
227 |
+
font-style: normal;
|
228 |
+
width: 100%;
|
229 |
+
border: 1px solid #0867b2;
|
230 |
+
border-width: 1px 1px 3px;
|
231 |
+
margin-bottom: 10px;
|
232 |
+
}
|
233 |
+
|
234 |
+
input[type="submit"]:hover,
|
235 |
+
input[type="button"]:hover {
|
236 |
+
background: #0867b2;
|
237 |
+
}
|
238 |
+
|
239 |
+
.star-cb-group {
|
240 |
+
/* remove inline-block whitespace */
|
241 |
+
font-size: 0;
|
242 |
+
/* flip the order so we can use the + and ~ combinators */
|
243 |
+
unicode-bidi: bidi-override;
|
244 |
+
direction: rtl;
|
245 |
+
/* the hidden clearer */
|
246 |
+
}
|
247 |
+
.star-cb-group * {
|
248 |
+
font-size: 1rem;
|
249 |
+
}
|
250 |
+
.star-cb-group > input {
|
251 |
+
display: none;
|
252 |
+
}
|
253 |
+
.star-cb-group > input + label {
|
254 |
+
/* only enough room for the star */
|
255 |
+
display: inline-block;
|
256 |
+
overflow: hidden;
|
257 |
+
text-indent: 9999px;
|
258 |
+
width: 26px;
|
259 |
+
white-space: nowrap;
|
260 |
+
cursor: pointer;
|
261 |
+
}
|
262 |
+
.star-cb-group > input + label:before {
|
263 |
+
display: inline-block;
|
264 |
+
font-family: Helvetica, arial, sans-serif;
|
265 |
+
text-indent: -9999px;
|
266 |
+
font-size: 2em;
|
267 |
+
content: "☆";
|
268 |
+
color: #888;
|
269 |
+
}
|
270 |
+
.star-cb-group > input:checked ~ label:before, .star-cb-group > input + label:hover ~ label:before, .star-cb-group > input + label:hover:before {
|
271 |
+
content: "★";
|
272 |
+
color: #ecf00e;
|
273 |
+
text-shadow: 0 0 1px #333;
|
274 |
+
}
|
275 |
+
.star-cb-group > .star-cb-clear + label {
|
276 |
+
text-indent: -9999px;
|
277 |
+
width: .5em;
|
278 |
+
margin-left: -.5em;
|
279 |
+
}
|
280 |
+
.star-cb-group > .star-cb-clear + label:before {
|
281 |
+
width: .5em;
|
282 |
+
}
|
283 |
+
.star-cb-group:hover > input + label:before {
|
284 |
+
content: "☆";
|
285 |
+
color: #888;
|
286 |
+
text-shadow: none;
|
287 |
+
}
|
288 |
+
.star-cb-group:hover > input + label:hover ~ label:before, .star-cb-group:hover > input + label:hover:before {
|
289 |
+
content: "★";
|
290 |
+
color: #e52;
|
291 |
+
text-shadow: 0 0 1px #333;
|
292 |
+
}
|
293 |
+
|
294 |
+
|
295 |
+
.mo-openid-star-back-rateus {
|
296 |
+
border: 8px solid;
|
297 |
+
border-color: #0867b2;
|
298 |
+
background: #FFFFFF;
|
299 |
+
width: max-content;
|
300 |
+
border-radius: 1px;
|
301 |
+
padding: 1em 1.5em 0.9em;
|
302 |
+
margin: 1em auto;
|
303 |
+
}
|
304 |
+
|
305 |
+
#log {
|
306 |
+
margin: 1em auto;
|
307 |
+
width: 5em;
|
308 |
+
text-align: center;
|
309 |
+
background: transparent;
|
310 |
+
}
|
311 |
+
|
312 |
+
|
313 |
+
|
314 |
+
|
315 |
+
|
316 |
+
|
317 |
+
#wpfooter {
|
318 |
+
position: unset;
|
319 |
+
}
|
320 |
+
.support-help-button{
|
321 |
+
|
322 |
+
padding: 4px 8px;
|
323 |
+
float: right;
|
324 |
+
background-color: #0867b2;
|
325 |
+
color: #fff;
|
326 |
+
border: 1px solid #0000A0;
|
327 |
+
border-radius: 4px;
|
328 |
+
text-shadow: none;
|
329 |
+
font-size: 16px;
|
330 |
+
line-height: normal;
|
331 |
+
cursor: pointer;
|
332 |
Â
position: fixed;
|
333 |
+
left: 94%;
|
334 |
+
width:10% ;
|
335 |
+
top: 35%;
|
336 |
+
height: 5%;
|
337 |
+
z-index: 9999;
|
338 |
+
transform: rotateZ(89deg);
|
339 |
+
letter-spacing: 2px;
|
340 |
+
|
341 |
+
}
|
342 |
+
.mo-openid-premium{
|
343 |
+
font-size: 10px;
|
344 |
+
background: #FFA335;
|
345 |
+
color: white;
|
346 |
+
font-weight: 600;
|
347 |
+
padding: 1px 4px;
|
348 |
+
border-radius: 4px;
|
349 |
+
font-family: monospace;
|
350 |
+
position: absolute;
|
351 |
+
left: 11%
|
352 |
+
}
|
353 |
+
/*premium features*/
|
354 |
+
.card-content {
|
355 |
+
border: 5px solid #CCC;
|
356 |
+
border-radius: 3px;
|
357 |
+
padding: 25px 25px 10px 25px;
|
358 |
+
min-height: 250px;
|
359 |
+
min-width: 350px;
|
360 |
+
}
|
361 |
+
.card-content * {
|
362 |
+
cursor: pointer;
|
363 |
+
}
|
364 |
+
.card-wrapper {
|
365 |
+
position: relative;
|
366 |
+
width: 350px;
|
367 |
+
height: 300px;
|
368 |
+
min-width: 350px;
|
369 |
+
float: left;
|
370 |
+
margin-right: 25px;
|
371 |
+
}
|
372 |
+
.c-card {
|
373 |
+
position: absolute;
|
374 |
Â
top: 0;
|
375 |
Â
left: 0;
|
376 |
+
opacity: 0;
|
377 |
+
visibility: hidden;
|
378 |
+
}
|
379 |
+
.c-card ~ .card-content {
|
380 |
+
transition: all 500ms ease-out;
|
Â
|
|
Â
|
|
381 |
Â
}
|
382 |
+
.c-card ~ .card-content .card-state-icon {
|
383 |
+
position: absolute;
|
384 |
+
top: 5px;
|
385 |
+
right: 5px;
|
386 |
+
z-index: 2;
|
387 |
+
width: 20px;
|
388 |
+
height: 20px;
|
389 |
Â
|
390 |
+
background-position: 0 0;
|
391 |
+
transition: all 100ms ease-out;
|
392 |
+
}
|
393 |
+
.c-card ~ .card-content:before {
|
394 |
+
position: absolute;
|
395 |
+
top: 1px;
|
396 |
+
right: 1px;
|
397 |
+
content: "";
|
398 |
+
width: 0;
|
399 |
+
height: 0;
|
400 |
+
border-top: 00px solid #CCC;
|
401 |
+
border-left: 00px solid transparent;
|
402 |
+
transition: all 200ms ease-out;
|
403 |
+
}
|
404 |
+
.c-card ~ .card-content:after {
|
405 |
+
position: absolute;
|
406 |
+
top: 1px;
|
407 |
+
right: 1px;
|
408 |
+
content: "";
|
409 |
+
width: 0;
|
410 |
+
height: 0;
|
411 |
+
border-top: 00px solid #FFF;
|
412 |
+
border-left: 00px solid transparent;
|
413 |
+
transition: all 200ms ease-out;
|
414 |
+
}
|
415 |
+
.c-card ~ .card-content:hover {
|
416 |
+
/*box-shadow: 3px 5px 3px rgba(0,0,0,0.16), 0 6px 9px rgba(0,0,0,0.23)*/
|
417 |
+
}
|
418 |
+
.c-card ~ .card-content:hover .card-state-icon {
|
419 |
+
background-position: -30px 0;
|
420 |
+
}
|
421 |
+
.c-card ~ .card-content:hover:before {
|
422 |
+
border-top: 52px solid #0867b2;
|
423 |
+
}
|
424 |
+
.c-card:checked ~ .card-content {
|
425 |
+
border: 5px solid #0867b2;
|
426 |
+
}
|
427 |
+
.c-card:checked ~ .card-content .card-state-icon {
|
428 |
+
background-position: -90px 2px;
|
429 |
+
}
|
430 |
+
.c-card:checked ~ .card-content:before {
|
431 |
+
border-top: 52px solid #0867b2;
|
432 |
+
}
|
433 |
+
.c-card:checked ~ .card-content:after {
|
434 |
+
border-top: 52px solid #0867b2;
|
435 |
+
}
|
436 |
+
.c-card:checked:hover ~ .card-content .card-state-icon {
|
437 |
+
background-position: -60px 2px;
|
438 |
+
}
|
439 |
+
.c-card:checked:hover ~ .card-content:before {
|
440 |
+
border-top: 52px solid #0867b2;
|
441 |
+
}
|
442 |
+
.c-card:checked:hover ~ .card-content:after {
|
443 |
+
border-top: 52px solid #0867b2;
|
444 |
+
}
|
445 |
Â
|
446 |
+
/* Style the buttons inside the tab */
|
447 |
+
.mo_openid_highlight{
|
448 |
+
background-color:#0867b2;
|
449 |
+
|
450 |
+
padding: 0.004%;
|
451 |
Â
}
|
452 |
+
.mo_openid_note_style{
|
453 |
+
display:block;margin-top:10px;background-color:#ebf6fc;padding:10px;border:solid 1px darkblue;
|
454 |
+
}
|
455 |
+
.mo_openid_tooltip {
|
456 |
Â
position: relative;
|
457 |
+
opacity: 2%;
|
Â
|
|
458 |
Â
|
459 |
Â
}
|
460 |
Â
|
461 |
+
.mo_openid_tooltip .mo_openid_tooltiptext {
|
Â
|
|
462 |
Â
visibility: hidden;
|
463 |
+
width: 290px;
|
464 |
+
background-color:gray;
|
465 |
+
color:#ffffff;
|
466 |
Â
text-align: center;
|
467 |
Â
border-radius: 6px;
|
468 |
+
padding: 5px 0;
|
469 |
Â
position: absolute;
|
470 |
Â
z-index: 1;
|
471 |
+
top: -5px;
|
472 |
+
left: 110%;
|
Â
|
|
Â
|
|
473 |
Â
}
|
474 |
Â
|
475 |
+
.mo_openid_tooltip .mo_openid_tooltiptext::after {
|
476 |
Â
content: "";
|
477 |
Â
position: absolute;
|
478 |
+
top: 50%;
|
479 |
+
right: 100%;
|
480 |
+
margin-top: -5px;
|
481 |
Â
border-width: 5px;
|
482 |
Â
border-style: solid;
|
483 |
+
border-color: transparent black transparent transparent;
|
484 |
Â
}
|
485 |
+
.mo_openid_tooltip:hover .mo_openid_tooltiptext {
|
Â
|
|
486 |
Â
visibility: visible;
|
487 |
Â
}
|
488 |
Â
|
489 |
+
|
490 |
+
.mo_openid_tab {
|
491 |
+
float: left;
|
492 |
+
background-color: #32373C;
|
493 |
+
/*width: 15%;*/
|
494 |
+
/*height: 350px;*/
|
495 |
+
box-shadow: -1px 0px 3px #777777;
|
496 |
+
}
|
497 |
+
.mo_openid_tab a {
|
498 |
+
display: block;
|
499 |
+
background-color: #32373C;
|
500 |
+
color: white;
|
501 |
+
padding: 11px 7px;
|
502 |
+
text-decoration: none;
|
503 |
+
outline: none;
|
504 |
+
text-align: left;
|
505 |
+
cursor: pointer;
|
506 |
+
transition: 0.3s;
|
507 |
+
font-size: 14px;
|
508 |
+
}
|
509 |
+
.mo_openid_tab a:hover {
|
510 |
+
background-color: #F6821F;
|
511 |
+
color: white;
|
512 |
+
}
|
513 |
+
.mo_openid_tab a.tablinks_active{
|
514 |
+
background-color: white;
|
515 |
+
color: #F6821F;
|
516 |
+
font-weight: bold;
|
517 |
+
}
|
518 |
+
|
519 |
+
.mo-openid-switch-app {
|
520 |
+
position: relative;
|
521 |
+
display: inline-block;
|
522 |
+
width: 50px;
|
523 |
+
height: 26px;
|
524 |
+
bottom: 5px;
|
525 |
+
}
|
526 |
+
|
527 |
+
.mo-openid-switch-app input {display:none;}
|
528 |
+
|
529 |
+
.mo-openid-slider-app {
|
530 |
+
position: absolute;
|
531 |
+
cursor: pointer;
|
532 |
+
top: 2px;
|
533 |
+
left: 0;
|
534 |
+
right: 3px;
|
535 |
+
bottom: 2px;
|
536 |
+
background-color: grey;
|
537 |
+
-webkit-transition: .4s;
|
538 |
+
transition: .4s;
|
539 |
+
}
|
540 |
+
.mo-openid-slider-app:before {
|
541 |
+
position: absolute;
|
542 |
+
content: "";
|
543 |
+
height: 12px;
|
544 |
+
width: 12px;
|
545 |
+
left: 4px;
|
546 |
+
bottom: 5px;
|
547 |
+
background-color: white;
|
548 |
+
-webkit-transition: .4s;
|
549 |
+
transition: .4s;
|
550 |
+
}
|
551 |
+
input:checked + .mo-openid-slider-app {
|
552 |
+
background-color: #0085ba;
|
553 |
+
}
|
554 |
+
input:focus + .mo-openid-slider-app {
|
555 |
+
box-shadow: 0 0 1px #2196F3;
|
556 |
+
}
|
557 |
+
input:checked + .mo-openid-slider-app:before {
|
558 |
+
-webkit-transform: translateX(26px);
|
559 |
+
-ms-transform: translateX(26px);
|
560 |
+
transform: translateX(26px);
|
561 |
+
}
|
562 |
+
input:checked+ .mo-openid-slider-app .on
|
563 |
+
{display: block;}
|
564 |
+
input:checked + .mo-openid-slider-app .off
|
565 |
+
{display: none;}
|
566 |
+
.mo-openid-slider-app.round {
|
567 |
+
border-radius: 34px;
|
568 |
+
}
|
569 |
+
.mo-openid-slider-app.round:before {
|
570 |
+
border-radius: 50%;
|
571 |
+
}
|
572 |
+
.mo-openid-sort-apps {
|
573 |
+
position: relative;
|
574 |
+
padding: 15px;
|
575 |
+
}
|
576 |
+
|
577 |
+
.mo-openid-sort-apps .mo-openid-sort-apps-div {
|
578 |
+
position: relative;
|
579 |
+
float: left;
|
580 |
+
width: 215px;
|
581 |
+
height: 120px;
|
582 |
+
margin: 15px;
|
583 |
+
display: flex;
|
584 |
+
flex-flow: column;
|
585 |
+
}
|
586 |
+
|
587 |
+
.mo-openid-sort-apps .mo-openid-sort-apps-i-div {
|
588 |
+
height: 166px;
|
589 |
+
display: flex;
|
590 |
+
flex-flow: column;
|
591 |
+
justify-content: center;
|
592 |
+
align-items: center;
|
593 |
+
}
|
594 |
+
|
595 |
+
.mo-openid-sort-apps-move {
|
596 |
+
position: absolute;
|
597 |
+
left: 0;
|
598 |
+
top: 0;
|
599 |
+
width: 9%;
|
600 |
+
height: 17%;
|
601 |
+
cursor: move;
|
602 |
+
|
603 |
+
}
|
604 |
+
|
605 |
+
.mo-openid-hover-div-sett:hover .mo-openid-sort-apps-move{
|
606 |
+
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAiCAYAAACuoaIwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA+tpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDE4LTAxLTE3VDE1OjE4OjM5KzAxOjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAxOC0wMS0xN1QxNjoxMTo0MSswMTowMCIgeG1wOk1ldGFkYXRhRGF0ZT0iMjAxOC0wMS0xN1QxNjoxMTo0MSswMTowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QjhCNkM3MkZGQjk4MTFFN0E4RDJBRUZBQTI4OUVBNzIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QjhCNkM3MzBGQjk4MTFFN0E4RDJBRUZBQTI4OUVBNzIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCOEI2QzcyREZCOTgxMUU3QThEMkFFRkFBMjg5RUE3MiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCOEI2QzcyRUZCOTgxMUU3QThEMkFFRkFBMjg5RUE3MiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Po8u91EAAABlSURBVHjaYvz//z8DvQATAx3BqGWjlg0ey1iIUKMDxHFQ9iIgvkKkHFk+AxnGD8VxJMhRHIyMZMoRbRkoeD4B8QcgXkiCHKZrRsvG0aQ/mvRHk/5o0h9N+qNJf9SyUcuoCAACDABr5TA7L7qpSQAAAABJRU5ErkJggg==');
|
607 |
+
}
|
608 |
+
|
609 |
+
.mo-openid-sort-message {
|
610 |
+
position: absolute;
|
611 |
+
left: 12%;
|
612 |
+
top: 2%;
|
613 |
+
color: #fff;
|
614 |
+
line-height: 22px;
|
615 |
+
font-size: 12px;
|
616 |
+
}
|
617 |
+
|
618 |
+
.mo-openid-save-settings {
|
619 |
+
position: absolute;
|
620 |
+
line-height: 25px;
|
621 |
+
font-size: 16px;
|
622 |
+
}
|
623 |
+
|
624 |
+
.mo-openid-hover-div-sett:hover #mo-openid-hover-app-sett-show{
|
625 |
+
display: block;
|
626 |
+
transition: .4s;
|
627 |
+
}
|
628 |
+
|
629 |
+
.mo-openid-hover-div-sett #mo-openid-hover-app-sett-show {
|
630 |
+
height: 29px;
|
631 |
+
background-color: #f0f0f0;
|
632 |
+
padding: 5px;
|
633 |
+
color: #8e8ef6b8;
|
634 |
+
font-size: 16px;
|
635 |
+
display: none;
|
636 |
+
}
|
637 |
+
|
638 |
+
.mo-openid-hover-div-sett .mo-openid-capp-sett#mo-openid-hover-app-sett-show{
|
639 |
+
height: 17px;
|
640 |
+
background-color: #f0f0f0;
|
641 |
+
padding: 5px;
|
642 |
+
color: #8e8ef6b8;
|
643 |
+
font-size: 16px;
|
644 |
+
}
|
645 |
+
|
646 |
+
|
647 |
+
|
648 |
+
|
649 |
+
|
650 |
+
|
651 |
+
|
652 |
+
|
653 |
+
|
654 |
+
|
655 |
+
|
656 |
+
|
657 |
+
|
658 |
+
|
659 |
+
|
660 |
+
/* Popup Open button */
|
661 |
+
|
662 |
+
.mo_openid_popup {
|
663 |
+
position:fixed;
|
664 |
+
top:0px;
|
665 |
+
left:2%;
|
666 |
+
background:rgba(0,0,0,0.75);
|
667 |
+
width:100%;
|
668 |
+
height:100%;
|
669 |
+
display:none;
|
670 |
+
}
|
671 |
+
|
672 |
+
/* Popup inner div */
|
673 |
+
.mo_openid_popup-content {
|
674 |
+
width: 75%;
|
675 |
+
margin: 0 auto;
|
676 |
+
box-sizing: border-box;
|
677 |
+
padding: 20px;
|
678 |
+
margin-top: 85px;
|
679 |
+
margin-left: 215px;
|
680 |
+
box-shadow: 0px 2px 6px rgba(0, 0, 0, 1);
|
681 |
+
border-radius: 3px;
|
682 |
+
background: #fff;
|
683 |
+
overflow-y: auto;
|
684 |
+
position: relative;
|
685 |
+
height: 82%;
|
686 |
+
}
|
687 |
+
.mo_openid_close-button {
|
688 |
+
width: 25px;
|
689 |
+
height: 25px;
|
690 |
+
position: absolute;
|
691 |
+
top: 10px;
|
692 |
+
right: 10px;
|
693 |
+
border-radius: 20px;
|
694 |
+
/*background: rgba(0,0,0,0.8);*/
|
695 |
+
font-size: 20px;
|
696 |
+
text-align: center;
|
697 |
+
color: #6e6666;
|
698 |
+
text-decoration:none;
|
699 |
+
}
|
700 |
+
|
701 |
+
.mo_openid_close-button:hover {
|
702 |
+
/*background: rgba(0,0,0,1);*/
|
703 |
+
}
|
704 |
+
|
705 |
+
@media screen and (max-width: 720px) {
|
706 |
+
.mo_openid_popup-content {
|
707 |
+
width:90%;
|
708 |
+
}
|
709 |
+
}
|
710 |
+
|
711 |
+
|
712 |
+
|
713 |
+
a.mo-add-hover:hover{
|
714 |
+
text-decoration: underline;
|
715 |
+
}
|
716 |
+
a.mo-pugin-add-link-sl {
|
717 |
+
text-decoration: none;
|
718 |
+
color: black;
|
719 |
+
}
|
720 |
+
|
721 |
+
a.mo-pugin-add-comp-link-sl {
|
722 |
+
text-decoration: none;
|
723 |
+
color: gray;
|
724 |
+
}
|
725 |
+
.mo_openid_sharecount ul.mo_openid_share_count_icon {
|
726 |
+
text-align: center;
|
727 |
+
}
|
728 |
+
.mo_openid_sharecount ul.mo_openid_share_count_icon li {
|
729 |
+
margin: 0;
|
730 |
+
padding: 0;
|
731 |
+
list-style: none;
|
732 |
+
display: inline-block;
|
733 |
+
}
|
734 |
+
.mo_openid_sharecount ul.mo_openid_share_count_icon li span {
|
735 |
+
margin: 0;
|
736 |
+
width: 60px;
|
737 |
+
display: block;
|
738 |
+
background: url(../../includes/images/count.png) no-repeat;
|
739 |
+
height: 40px;
|
740 |
+
overflow: hidden;
|
741 |
+
padding: 10px 2px 2px;
|
742 |
+
font-size: 17px;
|
743 |
+
text-align: center;
|
744 |
+
line-height: 24px;
|
745 |
+
color: #5a6570;
|
746 |
+
}
|
747 |
+
.mo_openid_sharecount ul.mo_openid_share_count_icon li span2 {
|
748 |
+
margin: 0;
|
749 |
+
width: 60px;
|
750 |
+
display: block;
|
751 |
+
height: 40px;
|
752 |
+
overflow: hidden;
|
753 |
+
padding: 10px 2px 2px;
|
754 |
+
font-size: 17px;
|
755 |
+
text-align: center;
|
756 |
+
line-height: 24px;
|
757 |
+
color: #5a6570;
|
758 |
+
}
|
759 |
+
.mo_openid_mywatermark {
|
760 |
+
background-image:url(../../includes/images/sample.png);
|
761 |
+
padding-bottom: 20px;
|
762 |
+
}
|
763 |
+
.mo_openid_dis{
|
764 |
+
pointer-events: none;
|
765 |
+
}
|
766 |
+
.mo_openid_tooltip .mo_tooltiptext1 {
|
767 |
Â
visibility: hidden;
|
768 |
Â
width: 120px;
|
769 |
Â
background-color: black;
|
779 |
Â
|
780 |
Â
}
|
781 |
Â
|
782 |
+
.mo_openid_tooltip .mo_tooltiptext1::after {
|
783 |
Â
content: "";
|
784 |
Â
position: absolute;
|
785 |
Â
bottom: 100%;
|
790 |
Â
border-color: transparent transparent black transparent;
|
791 |
Â
}
|
792 |
Â
|
793 |
+
.mo_openid_tooltip:hover .mo_tooltiptext1 {
|
794 |
Â
visibility: visible;
|
795 |
Â
}
|
796 |
+
|
797 |
Â
.mo_openid_help_title {
|
798 |
Â
font-size:13px;
|
799 |
Â
width:100%;
|
808 |
Â
padding-left:10px;
|
809 |
Â
}
|
810 |
Â
|
811 |
+
.mo_table-bordered, .mo_table-bordered>tbody>tr>td{
|
812 |
+
border: 1px solid #ddd;
|
813 |
+
}
|
814 |
Â
|
815 |
+
.mo_table-bordered>thead>tr>th{
|
816 |
+
vertical-align:top !important;
|
817 |
+
}
|
818 |
Â
|
819 |
+
.mo-fa-icon>tr>td>i.fa{
|
820 |
+
color:#5b8a0f;
|
821 |
Â
|
822 |
+
}
|
823 |
Â
|
824 |
+
.mo_table-striped>tbody>tr:nth-of-type(odd) {
|
825 |
+
background-color: #f9f9f9;
|
826 |
+
}
|
827 |
Â
|
828 |
+
.mo_align-center>tr>td{
|
829 |
+
text-align:center !important;
|
830 |
+
}
|
831 |
Â
|
832 |
Â
|
833 |
Â
.mo_table_layout {
|
843 |
Â
.mo_table_layout td strong {
|
844 |
Â
margin-left: 10px;
|
845 |
Â
}
|
846 |
+
.mo_openid_support_layout{
|
847 |
+
width: 93%;
|
848 |
+
background-color:#FFFFFF;
|
849 |
+
border:1px solid #CCCCCC;
|
850 |
+
padding-left:20px;
|
851 |
+
height:409px;
|
852 |
Â
|
853 |
Â
}
|
854 |
Â
.mo_openid_table_layout {
|
855 |
Â
background-color:#FFFFFF;
|
Â
|
|
856 |
Â
padding:0px 10px 10px 10px;
|
857 |
Â
margin-bottom: 10px;
|
858 |
Â
height:auto;
|
859 |
Â
min-height:400px;
|
860 |
+
border-radius: 0px 15px 15px 0px;
|
861 |
Â
}
|
862 |
Â
|
863 |
Â
.mo_openid_table_layout input['type=text'] {
|
910 |
Â
box-sizing:border-box !important;
|
911 |
Â
}
|
912 |
Â
.mo_image_id {
|
913 |
+
width: 40%;
|
914 |
Â
}
|
915 |
Â
|
916 |
Â
div.mo_image_id>a>img.mo_openid_image {
|
917 |
+
opacity: 0.6;
|
918 |
+
display: block;
|
919 |
+
transition: .5s ease;
|
920 |
+
backface-visibility: hidden;
|
921 |
Â
}
|
922 |
Â
|
923 |
Â
|
924 |
Â
.mo_image_id:hover .mo_openid_image {
|
925 |
+
opacity: 1;
|
926 |
Â
}
|
927 |
Â
|
928 |
Â
.circle{
|
Â
|
|
929 |
Â
border-radius: 999px !important;
|
Â
|
|
930 |
Â
}
|
931 |
Â
|
932 |
Â
.oval{
|
933 |
+
border-radius: 4px !important;
|
934 |
Â
}
|
935 |
Â
|
936 |
Â
.round{
|
938 |
Â
border-radius: 999px !important;
|
939 |
Â
}
|
940 |
Â
|
Â
|
|
941 |
Â
.roundededges{
|
942 |
+
border-radius: 4px !important;
|
943 |
Â
}
|
944 |
Â
|
945 |
Â
.mo-openid-app-icons>p{
|
946 |
+
margin:0px !important;
|
947 |
Â
|
948 |
Â
}
|
949 |
Â
|
955 |
Â
vertical-align :super !important;
|
956 |
Â
}
|
957 |
Â
|
958 |
+
/*a{*/
|
959 |
+
/* cursor:pointer;*/
|
960 |
+
/*}*/
|
Â
|
|
961 |
Â
|
962 |
Â
.mo_openid_display_interface{
|
963 |
Â
width:100%;
|
965 |
Â
|
966 |
Â
.mo_openid_vertical{
|
967 |
Â
display:inline-block !important;
|
968 |
+
overflow: visible;
|
969 |
+
z-index: 10000000;
|
970 |
+
padding: 10px;
|
971 |
+
border-radius: 4px;
|
972 |
+
opacity: 1;
|
973 |
+
-webkit-box-sizing: content-box!important;
|
974 |
+
-moz-box-sizing: content-box!important;
|
975 |
+
box-sizing: content-box!important;
|
976 |
Â
width:40px;
|
977 |
Â
position:fixed;
|
978 |
Â
}
|
981 |
Â
color:#ffffff !important;
|
982 |
Â
}
|
983 |
Â
|
984 |
+
.custom-login-button{
|
985 |
+
text-align:center !important;
|
986 |
+
color:white !important;
|
987 |
+
padding-top:8px !important;
|
988 |
+
box-sizing: border-box !important;
|
989 |
Â
|
990 |
Â
}
|
991 |
Â
|
992 |
Â
.btn-custom-dec{
|
993 |
+
text-decoration:none !important;
|
994 |
Â
}
|
995 |
Â
|
996 |
Â
.mo-custom-share-icon{
|
1005 |
Â
}
|
1006 |
Â
.mo_openid_title_panel{
|
1007 |
Â
width: 100%;
|
1008 |
+
color: #1B79AE;
|
1009 |
+
cursor: pointer;
|
1010 |
+
font-weight: bold;
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1011 |
Â
}
|
1012 |
Â
|
1013 |
+
/*#TB_window, #TB_window #TB_ajaxContent {*/
|
1014 |
+
/* width:500px!important;*/
|
1015 |
+
/*}*/
|
1016 |
+
|
1017 |
Â
.mo_openid_pricing_table{
|
1018 |
Â
text-align:center;
|
1019 |
Â
font-size: 15px !important;
|
1037 |
Â
|
1038 |
Â
.mo_openid_pricing_free_tab{
|
1039 |
Â
background-color: rgba(34, 153, 221, 0.82)!important;
|
1040 |
+
//#29d
|
1041 |
Â
}
|
1042 |
Â
|
1043 |
Â
.mo_openid_pricing_paid_tab{
|
1096 |
Â
|
1097 |
Â
.mo_openid_license_select_option{
|
1098 |
Â
display: block;
|
1099 |
+
width:90%;
|
1100 |
Â
margin-left:5%;
|
1101 |
Â
font-size:15px!important;
|
1102 |
+
background: #0085ba;
|
1103 |
Â
border-color: #0073aa #006799 #006799;
|
1104 |
Â
border-width: 1px;
|
1105 |
+
border-style: solid;
|
1106 |
Â
padding-left:15%!important;
|
1107 |
+
border-radius: 3px;
|
1108 |
+
box-shadow: 0 1px 0 #006799;
|
1109 |
Â
text-align:center;
|
1110 |
+
color: #fff;
|
1111 |
+
text-decoration: none;
|
1112 |
Â
cursor:pointer;
|
1113 |
+
text-shadow: 0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799,-1px 0 1px #006799;
|
1114 |
Â
}
|
1115 |
Â
|
1116 |
Â
.mo_openid_license_select_option:focus, .mo_openid_license_select_option:hover {
|
1117 |
Â
border-color: #0073aa #006799 #006799;
|
1118 |
Â
border-width: 1px;
|
1119 |
+
border-style: solid;
|
1120 |
Â
}
|
1121 |
Â
|
1122 |
Â
.mo_openid_license_select_option option {
|
1123 |
+
text-align:center;
|
1124 |
Â
}
|
1125 |
Â
.mo-openid-app-icons>a{
|
1126 |
+
box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0) !important;
|
1127 |
Â
}
|
1128 |
Â
.mo-openid-app-icons>code>a{
|
1129 |
+
box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0) !important;
|
1130 |
Â
}
|
1131 |
Â
.mo-openid-app-icons>a>img{
|
1132 |
+
box-shadow: 0 0 0 0px #fff !important;
|
1133 |
Â
}
|
1134 |
Â
.mo-openid-app-icons>code>a>img{
|
1135 |
+
box-shadow: 0 0 0 0px #fff !important;
|
1136 |
Â
}
|
1137 |
Â
.mo-openid-app-icons>.horizontal>a>img{
|
1138 |
Â
box-shadow: 0 0 0 0px #fff !important;
|
1139 |
Â
}
|
1140 |
Â
.mo-openid-app-icons>.horizontal>a{
|
1141 |
+
box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0)!important;}
|
1142 |
Â
|
1143 |
Â
.mo-openid-app-icons>div>a.mo-openid-share-link>img.mo-openid-app-share-icons
|
1144 |
Â
{
|
1171 |
Â
|
1172 |
Â
}
|
1173 |
Â
|
1174 |
+
.mo-switch {
|
1175 |
+
position: relative;
|
1176 |
+
display: inline-block;
|
1177 |
+
width: 50px;
|
1178 |
+
height: 26px;
|
1179 |
+
}
|
1180 |
+
|
1181 |
+
.mo-switch input {display:none;}
|
1182 |
+
|
1183 |
+
.mo-slider {
|
1184 |
+
position: absolute;
|
1185 |
+
cursor: pointer;
|
1186 |
+
top: 0;
|
1187 |
+
left: 0;
|
1188 |
+
right: 0;
|
1189 |
+
bottom: 0;
|
1190 |
+
background-color: grey;
|
1191 |
+
-webkit-transition: .4s;
|
1192 |
+
transition: .4s;
|
1193 |
+
}
|
1194 |
+
|
1195 |
+
.mo-slider:before {
|
1196 |
+
position: absolute;
|
1197 |
+
content: "";
|
1198 |
+
height: 16px;
|
1199 |
+
width: 16px;
|
1200 |
+
left: 4px;
|
1201 |
+
bottom: 5px;
|
1202 |
+
background-color: white;
|
1203 |
+
-webkit-transition: .4s;
|
1204 |
+
transition: .4s;
|
1205 |
+
}
|
1206 |
+
|
1207 |
+
input:checked + .mo-slider {
|
1208 |
+
background-color: #0085ba;
|
1209 |
+
}
|
1210 |
+
|
1211 |
+
input:focus + .mo-slider {
|
1212 |
+
box-shadow: 0 0 1px #2196F3;
|
1213 |
+
}
|
1214 |
+
|
1215 |
+
input:checked + .mo-slider:before {
|
1216 |
+
-webkit-transform: translateX(26px);
|
1217 |
+
-ms-transform: translateX(26px);
|
1218 |
+
transform: translateX(26px);
|
1219 |
+
}
|
1220 |
+
|
1221 |
+
input:checked+ .mo-slider .on
|
1222 |
+
{display: block;}
|
1223 |
+
|
1224 |
+
input:checked + .mo-slider .off
|
1225 |
+
{display: none;}
|
1226 |
+
|
1227 |
+
.mo-slider.round {
|
1228 |
+
border-radius: 34px;
|
1229 |
+
}
|
1230 |
+
|
1231 |
+
.mo-slider.round:before {
|
1232 |
+
border-radius: 50%;}
|
1233 |
+
|
1234 |
+
.mo-consent{
|
1235 |
+
font-size:11px !important;
|
1236 |
+
font-weight:normal;
|
1237 |
+
color:#72777c;
|
1238 |
+
padding-bottom: 5px;
|
1239 |
+
}
|
1240 |
Â
.mo-tomato {
|
1241 |
Â
color: tomato;
|
1242 |
Â
}
|
1252 |
Â
}
|
1253 |
Â
|
1254 |
Â
/* Tooltip container */
|
1255 |
+
.mo_copytooltip {
|
1256 |
Â
position: relative;
|
1257 |
Â
display: inline-block;
|
1258 |
Â
size: letter;
|
1259 |
Â
/* If you want dots under the hoverable text */
|
1260 |
Â
}
|
Â
|
|
1261 |
Â
/* Tooltip text */
|
1262 |
+
.mo_copytooltip .mo_copytooltiptext {
|
1263 |
Â
visibility: hidden;
|
1264 |
Â
width: 120px;
|
1265 |
Â
|
1282 |
Â
}
|
1283 |
Â
|
1284 |
Â
/* Tooltip arrow */
|
1285 |
+
.mo_copytooltip .mo_copytooltiptext::after {
|
1286 |
Â
content: "";
|
1287 |
Â
position: absolute;
|
1288 |
Â
top: 100%;
|
1294 |
Â
}
|
1295 |
Â
|
1296 |
Â
/* Show the tooltip text when you mouse over the tooltip container */
|
1297 |
+
.mo_copytooltip:hover .mo_copytooltiptext {
|
1298 |
Â
visibility: visible;
|
1299 |
Â
opacity: 1;
|
1300 |
+
}
|
1301 |
+
|
1302 |
+
/*RAdio button*/
|
1303 |
+
|
1304 |
+
.mo-openid-radio-container {
|
1305 |
+
display: block;
|
1306 |
+
position: relative;
|
1307 |
+
padding-left: 20px;
|
1308 |
+
margin-bottom: 1px;
|
1309 |
+
cursor: pointer;
|
1310 |
+
|
1311 |
+
font-size: 14px;
|
1312 |
+
-webkit-user-select: none;
|
1313 |
+
-moz-user-select: none;
|
1314 |
+
-ms-user-select: none;
|
1315 |
+
user-select: none;
|
1316 |
+
}
|
1317 |
+
|
1318 |
+
/* Hide the browser's default radio button */
|
1319 |
+
.mo-openid-radio-container input {
|
1320 |
+
position: absolute;
|
1321 |
+
opacity: 0;
|
1322 |
+
cursor: pointer;
|
1323 |
+
}
|
1324 |
+
|
1325 |
+
/* Create a custom radio button */
|
1326 |
+
.mo-openid-radio-checkmark {
|
1327 |
+
position: absolute;
|
1328 |
+
top: 0;
|
1329 |
+
left: 0;
|
1330 |
+
height: 16px;
|
1331 |
+
width: 16px;
|
1332 |
+
background-color: #e5e7eb;
|
1333 |
+
border-radius: 50%;
|
1334 |
+
|
1335 |
+
|
1336 |
+
}
|
1337 |
+
|
1338 |
+
/* On mouse-over, add a grey background color */
|
1339 |
+
.mo-openid-radio-container:hover input ~ .mo-openid-radio-checkmark {
|
1340 |
+
background-color: #F0F0F0;
|
1341 |
+
}
|
1342 |
+
|
1343 |
+
/* When the radio button is checked, add a blue background */
|
1344 |
+
.mo-openid-radio-container input:checked ~ .mo-openid-radio-checkmark {
|
1345 |
+
background-color: #0867b2;
|
1346 |
+
}
|
1347 |
+
|
1348 |
+
/* Create the indicator (the dot/circle - hidden when not checked) */
|
1349 |
+
.mo-openid-radio-checkmark:after {
|
1350 |
+
content: "";
|
1351 |
+
position: absolute;
|
1352 |
+
display: none;
|
1353 |
+
}
|
1354 |
+
|
1355 |
+
/* Show the indicator (dot/circle) when checked */
|
1356 |
+
.mo-openid-radio-container input:checked ~ .mo-openid-radio-checkmark:after {
|
1357 |
+
display: block;
|
1358 |
+
}
|
1359 |
+
|
1360 |
+
/* Style the indicator (dot/circle) */
|
1361 |
+
.mo-openid-radio-container .mo-openid-radio-checkmark:after {
|
1362 |
+
top: 5.5px;
|
1363 |
+
left: 5px;
|
1364 |
+
width: 6px;
|
1365 |
+
height: 6px;
|
1366 |
+
border-radius: 50%;
|
1367 |
+
background: white;
|
1368 |
+
}
|
1369 |
+
|
1370 |
+
|
1371 |
+
/*textfield css*/
|
1372 |
+
.mo_openid_textfield_css{
|
1373 |
+
font-family: Arial;
|
1374 |
+
border: 1px solid;
|
1375 |
+
border-radius: 1px !important;
|
1376 |
+
font-size: 13px;
|
1377 |
+
margin: 0;
|
1378 |
+
outline: 0;
|
1379 |
+
padding: 5px;
|
1380 |
+
width:80%;
|
1381 |
+
border-color:#0867b2;
|
1382 |
+
|
1383 |
+
background-color: #FFFFFF;
|
1384 |
+
|
1385 |
+
}
|
1386 |
+
/*.mo_openid_textfield_css:hover{*/
|
1387 |
+
/* box-shadow: 3px 5px 3px rgba(0,0,0,0.16), 0 6px 9px rgba(0,0,0,0.23);*/
|
1388 |
+
/*}*/
|
1389 |
+
|
1390 |
+
.mo_openid_fix_fontsize{
|
1391 |
+
font-family: Arial;
|
1392 |
+
|
1393 |
+
font-size: 14px;
|
1394 |
+
}
|
1395 |
+
.mo_openid_fix_fontsize_semiheading{
|
1396 |
+
font-family: Georgia, "Times New Roman", Times, serif;
|
1397 |
+
|
1398 |
+
font-size: 18px;
|
1399 |
+
|
1400 |
+
}
|
1401 |
+
|
1402 |
+
/*chech-box*/
|
1403 |
+
|
1404 |
+
.mo_openid_checkbox_container {
|
1405 |
+
display: block;
|
1406 |
+
position: relative;
|
1407 |
+
padding-left: 22px;
|
1408 |
+
margin-bottom: 18px;
|
1409 |
+
cursor: pointer;
|
1410 |
+
font-size: 14px;
|
1411 |
+
|
1412 |
+
}
|
1413 |
+
|
1414 |
+
/* Hide the browser's default checkbox */
|
1415 |
+
.mo_openid_checkbox_container input {
|
1416 |
+
position: absolute;
|
1417 |
+
opacity: 0;
|
1418 |
+
cursor: pointer;
|
1419 |
+
height: 0;
|
1420 |
+
width: 0;
|
1421 |
+
}
|
1422 |
+
|
1423 |
+
/* Create a custom checkbox */
|
1424 |
+
.mo_openid_checkbox_checkmark {
|
1425 |
+
position: absolute;
|
1426 |
+
top: 0;
|
1427 |
+
left: 0;
|
1428 |
+
height: 18px;
|
1429 |
+
width: 18px;
|
1430 |
+
background-color: #e5e7eb;
|
1431 |
+
}
|
1432 |
+
|
1433 |
+
/* On mouse-over, add a grey background color */
|
1434 |
+
.mo_openid_checkbox_container:hover input ~ .mo_openid_checkbox_checkmark {
|
1435 |
+
background-color: #ccc;
|
1436 |
+
}
|
1437 |
+
|
1438 |
+
/* When the checkbox is checked, add a blue background */
|
1439 |
+
.mo_openid_checkbox_container input:checked ~ .mo_openid_checkbox_checkmark {
|
1440 |
+
background-color: #2196F3;
|
1441 |
+
}
|
1442 |
+
|
1443 |
+
/* Create the checkmark/indicator (hidden when not checked) */
|
1444 |
+
.mo_openid_checkbox_checkmark:after {
|
1445 |
+
content: "";
|
1446 |
+
position: absolute;
|
1447 |
+
display: none;
|
1448 |
+
}
|
1449 |
+
|
1450 |
+
/* Show the checkmark when checked */
|
1451 |
+
.mo_openid_checkbox_container input:checked ~ .mo_openid_checkbox_checkmark:after {
|
1452 |
+
display: block;
|
1453 |
+
}
|
1454 |
+
|
1455 |
+
/* Style the checkmark/indicator */
|
1456 |
+
.mo_openid_checkbox_container .mo_openid_checkbox_checkmark:after {
|
1457 |
+
left: 5px;
|
1458 |
+
top: 3px;
|
1459 |
+
width: 4px;
|
1460 |
+
height: 8px;
|
1461 |
+
border: solid white;
|
1462 |
+
border-width: 0 3px 3px 0;
|
1463 |
+
-webkit-transform: rotate(45deg);
|
1464 |
+
-ms-transform: rotate(45deg);
|
1465 |
+
transform: rotate(45deg);
|
1466 |
+
}
|
1467 |
+
|
1468 |
+
|
1469 |
+
|
1470 |
+
|
1471 |
+
.mo_openid_checkbox_container_disable {
|
1472 |
+
display: block;
|
1473 |
+
position: relative;
|
1474 |
+
padding-left: 22px;
|
1475 |
+
margin-bottom: 18px;
|
1476 |
+
cursor: context-menu;
|
1477 |
+
font-size: 14px;
|
1478 |
+
|
1479 |
+
}
|
1480 |
+
|
1481 |
+
/* Hide the browser's default checkbox */
|
1482 |
+
.mo_openid_checkbox_container_disable input {
|
1483 |
+
position: absolute;
|
1484 |
+
opacity: 0;
|
1485 |
+
cursor: context-menu;
|
1486 |
+
height: 0;
|
1487 |
+
width: 0;
|
1488 |
+
}
|
1489 |
+
|
1490 |
+
/* Create a custom checkbox */
|
1491 |
+
.mo_openid_checkbox_checkmark_disable {
|
1492 |
+
position: absolute;
|
1493 |
+
top: 0;
|
1494 |
+
left: 0;
|
1495 |
+
height: 18px;
|
1496 |
+
width: 18px;
|
1497 |
+
background-color: #e5e7eb;
|
1498 |
+
}
|
1499 |
+
|
1500 |
+
|
1501 |
+
|
1502 |
+
|
1503 |
+
|
1504 |
+
|
1505 |
+
|
1506 |
+
.mo-openid-radio-container_disable {
|
1507 |
+
display: block;
|
1508 |
+
position: relative;
|
1509 |
+
padding-left: 20px;
|
1510 |
+
margin-bottom: 1px;
|
1511 |
+
cursor: pointer;
|
1512 |
+
|
1513 |
+
font-size: 14px;
|
1514 |
+
-webkit-user-select: none;
|
1515 |
+
-moz-user-select: none;
|
1516 |
+
-ms-user-select: none;
|
1517 |
+
user-select: none;
|
1518 |
+
}
|
1519 |
+
|
1520 |
+
/* Hide the browser's default radio button */
|
1521 |
+
.mo-openid-radio-container_disable input {
|
1522 |
+
position: absolute;
|
1523 |
+
opacity: 0;
|
1524 |
+
cursor: pointer;
|
1525 |
+
}
|
1526 |
+
|
1527 |
+
/* Create a custom radio button */
|
1528 |
+
.mo-openid-radio-checkmark_disable {
|
1529 |
+
position: absolute;
|
1530 |
+
top: 0;
|
1531 |
+
left: 0;
|
1532 |
+
height: 16px;
|
1533 |
+
width: 16px;
|
1534 |
+
background-color: #e5e7eb;
|
1535 |
+
border-radius: 50%;
|
1536 |
+
}
|
includes/css/phone.css
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
Â
.intl-number-input .flag-dropdown .country-list .divider { padding-bottom: 5px; margin-bottom: 5px; border-bottom: 1px solid #cccccc; }
|
9 |
Â
.intl-number-input .flag-dropdown .country-list .country { line-height: 20px; padding: 4px 10px; }
|
10 |
Â
.intl-number-input .flag-dropdown .country-list .country .dial-code { color: #999999; }
|
11 |
-
.intl-number-input .flag-dropdown .country-list .country.
|
12 |
Â
.intl-number-input .flag-dropdown .country-list .flag { display: inline-block; vertical-align: bottom; }
|
13 |
Â
.intl-number-input .flag-dropdown .country-list .flag, .intl-number-input .flag-dropdown .country-list .country-name { margin-right:2px; }
|
14 |
Â
.intl-number-input input { box-sizing: border-box; -moz-box-sizing: border-box; height: 30px; padding-left: 40px; }
|
8 |
Â
.intl-number-input .flag-dropdown .country-list .divider { padding-bottom: 5px; margin-bottom: 5px; border-bottom: 1px solid #cccccc; }
|
9 |
Â
.intl-number-input .flag-dropdown .country-list .country { line-height: 20px; padding: 4px 10px; }
|
10 |
Â
.intl-number-input .flag-dropdown .country-list .country .dial-code { color: #999999; }
|
11 |
+
.intl-number-input .flag-dropdown .country-list .country.mo_openid_highlight { background-color: rgba(0, 0, 0, 0.05); }
|
12 |
Â
.intl-number-input .flag-dropdown .country-list .flag { display: inline-block; vertical-align: bottom; }
|
13 |
Â
.intl-number-input .flag-dropdown .country-list .flag, .intl-number-input .flag-dropdown .country-list .country-name { margin-right:2px; }
|
14 |
Â
.intl-number-input input { box-sizing: border-box; -moz-box-sizing: border-box; height: 30px; padding-left: 40px; }
|
includes/images/active.png
ADDED
Binary file
|
includes/images/csv_download.png
ADDED
Binary file
|
includes/images/custom_app.png
DELETED
Binary file
|
includes/images/dollar.png
ADDED
Binary file
|
includes/images/icons/apple.png
ADDED
Binary file
|
includes/images/icons/baidu.png
ADDED
Binary file
|
includes/images/icons/discord.png
ADDED
Binary file
|
includes/images/icons/disq.png
ADDED
Binary file
|
includes/images/icons/disqus.png
ADDED
Binary file
|
includes/images/icons/dribbble.png
ADDED
Binary file
|
includes/images/icons/flickr.png
ADDED
Binary file
|
includes/images/icons/google.png
CHANGED
Binary file
|
includes/images/icons/kaka.png
ADDED
Binary file
|
includes/images/icons/kakao.png
ADDED
Binary file
|
includes/images/icons/kakao2.png
ADDED
Binary file
|
includes/images/icons/line.png
ADDED
Binary file
|
includes/images/icons/mail.png
CHANGED
Binary file
|
includes/images/icons/meetup.png
ADDED
Binary file
|
includes/images/icons/odnoklassniki.png
CHANGED
Binary file
|
includes/images/icons/pinterest.png
ADDED
Binary file
|
includes/images/icons/print.png
CHANGED
Binary file
|
includes/images/icons/qq.png
ADDED
Binary file
|
includes/images/icons/renren.png
ADDED
Binary file
|
includes/images/icons/salesforce.png
CHANGED
Binary file
|
includes/images/icons/salesforce2.png
ADDED
Binary file
|
includes/images/icons/spotify.png
ADDED
Binary file
|
includes/images/icons/stackexchange.png
ADDED
Binary file
|
includes/images/icons/twitch.png
ADDED
Binary file
|
includes/images/icons/vimeo.png
ADDED
Binary file
|
includes/images/icons/vkontakte.png
ADDED
Binary file
|
includes/images/icons/vkontakte_d.png
ADDED
Binary file
|
includes/images/icons/wechat.png
ADDED
Binary file
|
includes/images/icons/whatsapp.png
CHANGED
Binary file
|
includes/images/icons/wiebo.png
ADDED
Binary file
|
includes/images/icons/wordpress.png
ADDED
Binary file
|
includes/images/icons/wordpress2.png
ADDED
Binary file
|
includes/images/icons/yahoo.png
CHANGED
Binary file
|
includes/images/icons/yahoo1.png
ADDED
Binary file
|
includes/images/lock1.png
DELETED
Binary file
|
includes/images/mailchimp.png
ADDED
Binary file
|
includes/images/move.png
ADDED
Binary file
|
includes/images/settings_icon.JPG
ADDED
Binary file
|
includes/images/wait.gif
ADDED
Binary file
|
includes/js/jquery.cookie.min.js
CHANGED
@@ -9,4 +9,5 @@ if (window.location.hash && window.location.hash == '#_=_') {
|
|
9 |
Â
window.location.href = window.location.href.split('#_=_')[0];
|
10 |
Â
}
|
11 |
Â
|
Â
|
|
12 |
Â
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}});
|
9 |
Â
window.location.href = window.location.href.split('#_=_')[0];
|
10 |
Â
}
|
11 |
Â
|
12 |
+
|
13 |
Â
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}});
|
includes/js/jquery.min.js
ADDED
@@ -0,0 +1,5 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
/*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license */
|
2 |
+
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="1.12.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&&n.isArray(a)?a:[]):f=a&&n.isPlainObject(a)?a:{},g[d]=n.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray||function(a){return"array"===n.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){var b=a&&a.toString();return!n.isArray(a)&&b-parseFloat(b)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(!l.ownFirst)for(b in a)return k.call(a,b);for(b in a);return void 0===b||k.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[j.call(a)]||"object":typeof a},globalEval:function(b){b&&n.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(s(a)){for(c=a.length;c>d;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(h)return h.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,g=0,h=[];if(s(a))for(d=a.length;d>g;g++)e=b(a[g],g,c),null!=e&&h.push(e);else for(g in a)e=b(a[g],g,c),null!=e&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;return"string"==typeof b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=e.call(arguments,2),d=function(){return a.apply(b||this,c.concat(e.call(arguments)))},d.guid=a.guid=a.guid||n.guid++,d):void 0},now:function(){return+new Date},support:l}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=!!a&&"length"in a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ga(),z=ga(),A=ga(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),Q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new RegExp("^"+L+"*,"+L+"*"),S=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(ea){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function mofa(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+qa(r[h]);s=r.join(","),w=_.test(a)&&oa(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function ga(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ha(a){return a[u]=!0,a}function ia(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ja(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ka(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function la(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function na(a){return ha(function(b){return b=+b,ha(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function oa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=mofa.support={},f=mofa.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=mofa.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ia(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ia(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ia(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return"undefined"!=typeof b.getElementsByClassName&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ia(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ia(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ia(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ka(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ka(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},mofa.matches=function(a,b){return mofa(a,null,null,b)},mofa.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return mofa(b,n,null,[a]).length>0},mofa.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},mofa.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},mofa.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},mofa.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=mofa.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=mofa.selectors={cacheLength:50,createPseudo:ha,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||mofa.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&mofa.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=mofa.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||mofa.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ha(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ha(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ha(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ha(function(a){return function(b){return mofa(a,b).length>0}}),contains:ha(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ha(function(a){return V.test(a||"")||mofa.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)},input:function(a){return X.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:na(function(){return[0]}),last:na(function(a,b){return[b-1]}),eq:na(function(a,b,c){return[0>c?c+b:c]}),even:na(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:na(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:na(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:na(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=la(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=ma(b);function pa(){}pa.prototype=d.filters=d.pseudos,d.setFilters=new pa,g=mofa.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=R.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=S.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(Q," ")}),h=h.slice(c.length));for(g in d.filter)!(e=W[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?mofa.error(a):z(a,i).slice(0)};function qa(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function ra(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function sa(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ta(a,b,c){for(var d=0,e=b.length;e>d;d++)mofa(a,b[d],c);return c}function ua(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function va(a,b,c,d,e,f){return d&&!d[u]&&(d=va(d)),e&&!e[u]&&(e=va(e,f)),ha(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ta(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ua(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ua(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ua(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function wa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ra(function(a){return a===b},h,!0),l=ra(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[ra(sa(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return va(i>1&&sa(m),i>1&&qa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,e>i&&wa(a.slice(i,e)),f>e&&wa(a=a.slice(e)),f>e&&qa(a))}m.push(c)}return sa(m)}function xa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ua(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&mofa.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ha(f):f}return h=mofa.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xa(e,d)),f.selector=a}return f},i=mofa.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&oa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qa(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&oa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ia(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ia(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ja("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ia(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ja("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ia(function(a){return null==a.getAttribute("disabled")})||ja(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),mofa}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;e>b;b++)if(n.contains(d[b],this))return!0}));for(b=0;e>b;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}if(f=d.getElementById(e[2]),f&&f.parentNode){if(f.id!==e[2])return A.find(a);this.length=1,this[0]=f}return this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};C.prototype=n.fn,A=n(d);var D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(n.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?n.inArray(this[0],n(a)):n.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function F(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return F(a,"nextSibling")},prev:function(a){return F(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(a.firstChild)},contents:function(a){return n.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(E[a]||(e=n.uniqueSort(e)),D.test(a)&&(e=e.reverse())),this.pushStack(e)}});var G=/\S+/g;function H(a){var b={};return n.each(a.match(G)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?H(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)f[h].apply(c[0],c[1])===!1&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){n.each(b,function(b,c){n.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==n.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},remove:function(){return n.each(arguments,function(a,b){var c;while((c=n.inArray(b,f,c))>-1)f.splice(c,1),h>=c&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=!0,c||j.disable(),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);d>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function J(){d.addEventListener?(d.removeEventListener("DOMContentLoaded",K),a.removeEventListener("load",K)):(d.detachEvent("onreadystatechange",K),a.detachEvent("onload",K))}function K(){(d.addEventListener||"load"===a.event.type||"complete"===d.readyState)&&(J(),n.ready())}n.ready.promise=function(b){if(!I)if(I=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll)a.setTimeout(n.ready);else if(d.addEventListener)d.addEventListener("DOMContentLoaded",K),a.addEventListener("load",K);else{d.attachEvent("onreadystatechange",K),a.attachEvent("onload",K);var c=!1;try{c=null==a.frameElement&&d.documentElement}catch(e){}c&&c.doScroll&&!function f(){if(!n.isReady){try{c.doScroll("left")}catch(b){return a.setTimeout(f,50)}J(),n.ready()}}()}return I.promise(b)},n.ready.promise();var L;for(L in n(l))break;l.ownFirst="0"===L,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c,e;c=d.getElementsByTagName("body")[0],c&&c.style&&(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),"undefined"!=typeof b.style.zoom&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",l.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(e))}),function(){var a=d.createElement("div");l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}a=null}();var M=function(a){var b=n.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b},N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(O,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}n.data(a,b,c)}else c=void 0;
|
3 |
+
}return c}function Q(a){var b;for(b in a)if(("data"!==b||!n.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function R(a,b,d,e){if(M(a)){var f,g,h=n.expando,i=a.nodeType,j=i?n.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||n.guid++:h),j[k]||(j[k]=i?{}:{toJSON:n.noop}),"object"!=typeof b&&"function"!=typeof b||(e?j[k]=n.extend(j[k],b):j[k].data=n.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[n.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[n.camelCase(b)])):f=g,f}}function S(a,b,c){if(M(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!Q(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,Q(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=void 0)}}}n.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?n.cache[a[n.expando]]:a[n.expando],!!a&&!Q(a)},data:function(a,b,c){return R(a,b,c)},removeData:function(a,b){return S(a,b)},_data:function(a,b,c){return R(a,b,c,!0)},_removeData:function(a,b){return S(a,b,!0)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=n.data(f),1===f.nodeType&&!n._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));n._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){n.data(this,a)}):arguments.length>1?this.each(function(){n.data(this,a,b)}):f?P(f,a,n.data(f,a)):void 0},removeData:function(a){return this.each(function(){n.removeData(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=n._data(a,b),c&&(!d||n.isArray(c)?d=n._data(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return n._data(a,c)||n._data(a,c,{empty:n.Callbacks("once memory").add(function(){n._removeData(a,b+"queue"),n._removeData(a,c)})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=n._data(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}}),function(){var a;l.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,e;return c=d.getElementsByTagName("body")[0],c&&c.style?(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),"undefined"!=typeof b.style.zoom&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",b.appendChild(d.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(e),a):void 0}}();var T=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,U=new RegExp("^(?:([+-])=|)("+T+")([a-z%]*)$","i"),V=["Top","Right","Bottom","Left"],W=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)};function X(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return n.css(a,b,"")},i=h(),j=c&&c[3]||(n.cssNumber[b]?"":"px"),k=(n.cssNumber[b]||"px"!==j&&+i)&&U.exec(n.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,n.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var Y=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)Y(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},Z=/^(?:checkbox|radio)$/i,$=/<([\w:-]+)/,_=/^$|\/(?:java|ecma)script/i,aa=/^\s+/,ba="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";function ca(a){var b=ba.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}!function(){var a=d.createElement("div"),b=d.createDocumentFragment(),c=d.createElement("input");a.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",l.leadingWhitespace=3===a.firstChild.nodeType,l.tbody=!a.getElementsByTagName("tbody").length,l.htmlSerialize=!!a.getElementsByTagName("link").length,l.html5Clone="<:nav></:nav>"!==d.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,b.appendChild(c),l.appendChecked=c.checked,a.innerHTML="<textarea>x</textarea>",l.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,b.appendChild(a),c=d.createElement("input"),c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),a.appendChild(c),l.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!!a.addEventListener,a[n.expando]=1,l.attributes=!a.getAttribute(n.expando)}();var da={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:l.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};da.optgroup=da.option,da.tbody=da.tfoot=da.colgroup=da.caption=da.thead,da.th=da.td;function ea(a,b){var c,d,e=0,f="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,ea(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function mofa(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,"globalEval",!b||n._data(b[d],"globalEval"))}var ga=/<|&#?\w+;/,ha=/<tbody/i;function ia(a){Z.test(a.type)&&(a.defaultChecked=a.checked)}function ja(a,b,c,d,e){for(var f,g,h,i,j,k,m,o=a.length,p=ca(b),q=[],r=0;o>r;r++)if(g=a[r],g||0===g)if("object"===n.type(g))n.merge(q,g.nodeType?[g]:g);else if(ga.test(g)){i=i||p.appendChild(b.createElement("div")),j=($.exec(g)||["",""])[1].toLowerCase(),m=da[j]||da._default,i.innerHTML=m[1]+n.htmlPrefilter(g)+m[2],f=m[0];while(f--)i=i.lastChild;if(!l.leadingWhitespace&&aa.test(g)&&q.push(b.createTextNode(aa.exec(g)[0])),!l.tbody){g="table"!==j||ha.test(g)?"<table>"!==m[1]||ha.test(g)?0:i:i.firstChild,f=g&&g.childNodes.length;while(f--)n.nodeName(k=g.childNodes[f],"tbody")&&!k.childNodes.length&&g.removeChild(k)}n.merge(q,i.childNodes),i.textContent="";while(i.firstChild)i.removeChild(i.firstChild);i=p.lastChild}else q.push(b.createTextNode(g));i&&p.removeChild(i),l.appendChecked||n.grep(ea(q,"input"),ia),r=0;while(g=q[r++])if(d&&n.inArray(g,d)>-1)e&&e.push(g);else if(h=n.contains(g.ownerDocument,g),i=ea(p.appendChild(g),"script"),h&&mofa(i),c){f=0;while(g=i[f++])_.test(g.type||"")&&c.push(g)}return i=null,p}!function(){var b,c,e=d.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(l[b]=c in a)||(e.setAttribute(c,"t"),l[b]=e.attributes[c].expando===!1);e=null}();var ka=/^(?:input|select|textarea)$/i,la=/^key/,ma=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,na=/^(?:focusinfocus|focusoutblur)$/,oa=/^([^.]*)(?:\.(.+)|)/;function pa(){return!0}function qa(){return!1}function ra(){try{return d.activeElement}catch(a){}}function sa(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)sa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=qa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return"undefined"==typeof n||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(G)||[""],h=b.length;while(h--)f=oa.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||"").match(G)||[""],j=b.length;while(j--)if(h=oa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,"events"))}},trigger:function(b,c,e,f){var g,h,i,j,l,m,o,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.namespace.split("."):[];if(i=m=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!na.test(q+n.event.triggered)&&(q.indexOf(".")>-1&&(r=q.split("."),q=r.shift(),r.sort()),h=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),l=n.event.special[q]||{},f||!l.trigger||l.trigger.apply(e,c)!==!1)){if(!f&&!l.noBubble&&!n.isWindow(e)){for(j=l.delegateType||q,na.test(j+q)||(i=i.parentNode);i;i=i.parentNode)p.push(i),m=i;m===(e.ownerDocument||d)&&p.push(m.defaultView||m.parentWindow||a)}o=0;while((i=p[o++])&&!b.isPropagationStopped())b.type=o>1?j:l.bindType||q,g=(n._data(i,"events")||{})[b.type]&&n._data(i,"handle"),g&&g.apply(i,c),g=h&&i[h],g&&g.apply&&M(i)&&(b.result=g.apply(i,c),b.result===!1&&b.preventDefault());if(b.type=q,!f&&!b.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),c)===!1)&&M(e)&&h&&e[q]&&!n.isWindow(e)){m=e[h],m&&(e[h]=null),n.event.triggered=q;try{e[q]()}catch(s){}n.event.triggered=void 0,m&&(e[h]=m)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(n._data(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[n.expando])return a;var b,c,e,f=a.type,g=a,h=this.fixHooks[f];h||(this.fixHooks[f]=h=ma.test(f)?this.mouseHooks:la.test(f)?this.keyHooks:{}),e=h.props?this.props.concat(h.props):this.props,a=new n.Event(g),b=e.length;while(b--)c=e[b],a[c]=g[c];return a.target||(a.target=g.srcElement||d),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,h.filter?h.filter(a,g):a},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,e,f,g=b.button,h=b.fromElement;return null==a.pageX&&null!=b.clientX&&(e=a.target.ownerDocument||d,f=e.documentElement,c=e.body,a.pageX=b.clientX+(f&&f.scrollLeft||c&&c.scrollLeft||0)-(f&&f.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(f&&f.scrollTop||c&&c.scrollTop||0)-(f&&f.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&h&&(a.relatedTarget=h===a.target?b.toElement:h),a.which||void 0===g||(a.which=1&g?1:2&g?3:4&g?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ra()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===ra()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return n.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c){var d=n.extend(new n.Event,c,{type:a,isSimulated:!0});n.event.trigger(d,null,b),d.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=d.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)}:function(a,b,c){var d="on"+b;a.detachEvent&&("undefined"==typeof a[d]&&(a[d]=null),a.detachEvent(d,c))},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?pa:qa):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=!0)):new n.Event(a,b)},n.Event.prototype={constructor:n.Event,isDefaultPrevented:qa,isPropagationStopped:qa,isImmediatePropagationStopped:qa,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=pa,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=pa,a&&!this.isSimulated&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=pa,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||n.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),l.submit||(n.event.special.submit={setup:function(){return n.nodeName(this,"form")?!1:void n.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=n.nodeName(b,"input")||n.nodeName(b,"button")?n.prop(b,"form"):void 0;c&&!n._data(c,"submit")&&(n.event.add(c,"submit._submit",function(a){a._submitBubble=!0}),n._data(c,"submit",!0))})},postDispatch:function(a){a._submitBubble&&(delete a._submitBubble,this.parentNode&&!a.isTrigger&&n.event.simulate("submit",this.parentNode,a))},teardown:function(){return n.nodeName(this,"form")?!1:void n.event.remove(this,"._submit")}}),l.change||(n.event.special.change={setup:function(){return ka.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(n.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._justChanged=!0)}),n.event.add(this,"click._change",function(a){this._justChanged&&!a.isTrigger&&(this._justChanged=!1),n.event.simulate("change",this,a)})),!1):void n.event.add(this,"beforeactivate._change",function(a){var b=a.target;ka.test(b.nodeName)&&!n._data(b,"change")&&(n.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||n.event.simulate("change",this.parentNode,a)}),n._data(b,"change",!0))})},handle:function(a){var b=a.target;return this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return n.event.remove(this,"._change"),!ka.test(this.nodeName)}}),l.focusin||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a))};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=n._data(d,b);e||d.addEventListener(a,c,!0),n._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=n._data(d,b)-1;e?n._data(d,b,e):(d.removeEventListener(a,c,!0),n._removeData(d,b))}}}),n.fn.extend({on:function(a,b,c,d){return sa(this,a,b,c,d)},one:function(a,b,c,d){return sa(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof b||(c=b,b=void 0),c===!1&&(c=qa),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}});var ta=/ jQuery\d+="(?:null|\d+)"/g,ua=new RegExp("<(?:"+ba+")[\\s/>]","i"),va=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wa=/<script|<style|<link/i,xa=/checked\s*(?:[^=]|=\s*.checked.)/i,ya=/^true\/(.*)/,za=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Aa=ca(d),Ba=Aa.appendChild(d.createElement("div"));function Ca(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Da(a){return a.type=(null!==n.find.attr(a,"type"))+"/"+a.type,a}function Ea(a){var b=ya.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Fa(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Ga(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}"script"===c&&b.text!==a.text?(Da(b).text=a.text,Ea(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&Z.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}}function Ha(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof q&&!l.checkClone&&xa.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),Ha(f,b,c,d)});if(o&&(k=ja(b,a[0].ownerDocument,!1,a,d),e=k.firstChild,1===k.childNodes.length&&(k=e),e||d)){for(i=n.map(ea(k,"script"),Da),h=i.length;o>m;m++)g=k,m!==p&&(g=n.clone(g,!0,!0),h&&n.merge(i,ea(g,"script"))),c.call(a[m],g,m);if(h)for(j=i[i.length-1].ownerDocument,n.map(i,Ea),m=0;h>m;m++)g=i[m],_.test(g.type||"")&&!n._data(g,"globalEval")&&n.contains(j,g)&&(g.src?n._evalUrl&&n._evalUrl(g.src):n.globalEval((g.text||g.textContent||g.innerHTML||"").replace(za,"")));k=e=null}return a}function Ia(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(ea(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&mofa(ea(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(va,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!ua.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(Ba.innerHTML=a.outerHTML,Ba.removeChild(f=Ba.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=ea(f),h=ea(a),g=0;null!=(e=h[g]);++g)d[g]&&Ga(e,d[g]);if(b)if(c)for(h=h||ea(a),d=d||ea(f),g=0;null!=(e=h[g]);g++)Fa(e,d[g]);else Fa(a,f);return d=ea(f,"script"),d.length>0&&mofa(d,!i&&ea(a,"script")),d=h=e=null,f},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.attributes,m=n.event.special;null!=(d=a[h]);h++)if((b||M(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k||"undefined"==typeof d.removeAttribute?d[i]=void 0:d.removeAttribute(i),c.push(f))}}}),n.fn.extend({domManip:Ha,detach:function(a){return Ia(this,a,!0)},remove:function(a){return Ia(this,a)},text:function(a){return Y(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||d).createTextNode(a))},null,a,arguments.length)},append:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.appendChild(a)}})},prepend:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(ea(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return Y(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(ta,""):void 0;if("string"==typeof a&&!wa.test(a)&&(l.htmlSerialize||!ua.test(a))&&(l.leadingWhitespace||!aa.test(a))&&!da[($.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ea(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ha(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(ea(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],f=n(a),h=f.length-1;h>=d;d++)c=d===h?this:this.clone(!0),n(f[d])[b](c),g.apply(e,c.get());return this.pushStack(e)}});var Ja,Ka={HTML:"block",BODY:"block"};function La(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function Ma(a){var b=d,c=Ka[a];return c||(c=La(a,b),"none"!==c&&c||(Ja=(Ja||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Ja[0].contentWindow||Ja[0].contentDocument).document,b.write(),b.close(),c=La(a,b),Ja.detach()),Ka[a]=c),c}var Na=/^margin/,Oa=new RegExp("^("+T+")(?!px)[a-z%]+$","i"),Pa=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e},Qa=d.documentElement;!function(){var b,c,e,f,g,h,i=d.createElement("div"),j=d.createElement("div");if(j.style){j.style.cssText="float:left;opacity:.5",l.opacity="0.5"===j.style.opacity,l.cssFloat=!!j.style.cssFloat,j.style.backgroundClip="content-box",j.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===j.style.backgroundClip,i=d.createElement("div"),i.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",j.innerHTML="",i.appendChild(j),l.boxSizing=""===j.style.boxSizing||""===j.style.MozBoxSizing||""===j.style.WebkitBoxSizing,n.extend(l,{reliableHiddenOffsets:function(){return null==b&&k(),f},boxSizingReliable:function(){return null==b&&k(),e},pixelMarginRight:function(){return null==b&&k(),c},pixelPosition:function(){return null==b&&k(),b},reliableMarginRight:function(){return null==b&&k(),g},reliableMarginLeft:function(){return null==b&&k(),h}});function k(){var k,l,m=d.documentElement;m.appendChild(i),j.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",b=e=h=!1,c=g=!0,a.getComputedStyle&&(l=a.getComputedStyle(j),b="1%"!==(l||{}).top,h="2px"===(l||{}).marginLeft,e="4px"===(l||{width:"4px"}).width,j.style.marginRight="50%",c="4px"===(l||{marginRight:"4px"}).marginRight,k=j.appendChild(d.createElement("div")),k.style.cssText=j.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",k.style.marginRight=k.style.width="0",j.style.width="1px",g=!parseFloat((a.getComputedStyle(k)||{}).marginRight),j.removeChild(k)),j.style.display="none",f=0===j.getClientRects().length,f&&(j.style.display="",j.innerHTML="<table><tr><td></td><td>t</td></tr></table>",j.childNodes[0].style.borderCollapse="separate",k=j.getElementsByTagName("td"),k[0].style.cssText="margin:0;border:0;padding:0;display:none",f=0===k[0].offsetHeight,f&&(k[0].style.display="",k[1].style.display="none",f=0===k[0].offsetHeight)),m.removeChild(i)}}}();var Ra,Sa,Ta=/^(top|right|bottom|left)$/;a.getComputedStyle?(Ra=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)},Sa=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ra(a),g=c?c.getPropertyValue(b)||c[b]:void 0,""!==g&&void 0!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),c&&!l.pixelMarginRight()&&Oa.test(g)&&Na.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f),void 0===g?g:g+""}):Qa.currentStyle&&(Ra=function(a){return a.currentStyle},Sa=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ra(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Oa.test(g)&&!Ta.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Ua(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Va=/alpha\([^)]*\)/i,Wa=/opacity\s*=\s*([^)]*)/i,Xa=/^(none|table(?!-c[ea]).+)/,Ya=new RegExp("^("+T+")(.*)$","i"),Za={position:"absolute",visibility:"hidden",display:"block"},$a={letterSpacing:"0",fontWeight:"400"},_a=["Webkit","O","Moz","ms"],ab=d.createElement("div").style;function bb(a){if(a in ab)return a;var b=a.charAt(0).toUpperCase()+a.slice(1),c=_a.length;while(c--)if(a=_a[c]+b,a in ab)return a}function cb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=n._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&W(d)&&(f[g]=n._data(d,"olddisplay",Ma(d.nodeName)))):(e=W(d),(c&&"none"!==c||!e)&&n._data(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function db(a,b,c){var d=Ya.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function eb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+V[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+V[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+V[f]+"Width",!0,e))):(g+=n.css(a,"padding"+V[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+V[f]+"Width",!0,e)));return g}function fb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ra(a),g=l.boxSizing&&"border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Sa(a,b,f),(0>e||null==e)&&(e=a.style[b]),Oa.test(e))return e;d=g&&(l.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+eb(a,b,c||(g?"border":"content"),d,f)+"px"}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Sa(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":l.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;if(b=n.cssProps[h]||(n.cssProps[h]=bb(h)||h),g=n.cssHooks[b]||n.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=U.exec(c))&&e[1]&&(c=X(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(n.cssNumber[h]?"":"px")),l.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=bb(h)||h),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Sa(a,b,d)),"normal"===f&&b in $a&&(f=$a[b]),""===c||c?(e=parseFloat(f),c===!0||isFinite(e)?e||0:f):f}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?Xa.test(n.css(a,"display"))&&0===a.offsetWidth?Pa(a,Za,function(){return fb(a,b,d)}):fb(a,b,d):void 0},set:function(a,c,d){var e=d&&Ra(a);return db(a,c,d?eb(a,b,d,l.boxSizing&&"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),l.opacity||(n.cssHooks.opacity={get:function(a,b){return Wa.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=n.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===n.trim(f.replace(Va,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Va.test(f)?f.replace(Va,e):f+" "+e)}}),n.cssHooks.marginRight=Ua(l.reliableMarginRight,function(a,b){return b?Pa(a,{display:"inline-block"},Sa,[a,"marginRight"]):void 0}),n.cssHooks.marginLeft=Ua(l.reliableMarginLeft,function(a,b){return b?(parseFloat(Sa(a,"marginLeft"))||(n.contains(a.ownerDocument,a)?a.getBoundingClientRect().left-Pa(a,{
|
4 |
+
marginLeft:0},function(){return a.getBoundingClientRect().left}):0))+"px":void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+V[d]+b]=f[d]||f[d-2]||f[0];return e}},Na.test(a)||(n.cssHooks[a+b].set=db)}),n.fn.extend({css:function(a,b){return Y(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=Ra(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return cb(this,!0)},hide:function(){return cb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){W(this)?n(this).show():n(this).hide()})}});function gb(a,b,c,d,e){return new gb.prototype.init(a,b,c,d,e)}n.Tween=gb,gb.prototype={constructor:gb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||n.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=gb.propHooks[this.prop];return a&&a.get?a.get(this):gb.propHooks._default.get(this)},run:function(a){var b,c=gb.propHooks[this.prop];return this.options.duration?this.pos=b=n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):gb.propHooks._default.set(this),this}},gb.prototype.init.prototype=gb.prototype,gb.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[n.cssProps[a.prop]]&&!n.cssHooks[a.prop]?a.elem[a.prop]=a.now:n.style(a.elem,a.prop,a.now+a.unit)}}},gb.propHooks.scrollTop=gb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},n.fx=gb.prototype.init,n.fx.step={};var hb,ib,jb=/^(?:toggle|show|hide)$/,kb=/queueHooks$/;function lb(){return a.setTimeout(function(){hb=void 0}),hb=n.now()}function mb(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=V[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function nb(a,b,c){for(var d,e=(qb.tweeners[b]||[]).concat(qb.tweeners["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function ob(a,b,c){var d,e,f,g,h,i,j,k,m=this,o={},p=a.style,q=a.nodeType&&W(a),r=n._data(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,m.always(function(){m.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=n.css(a,"display"),k="none"===j?n._data(a,"olddisplay")||Ma(a.nodeName):j,"inline"===k&&"none"===n.css(a,"float")&&(l.inlineBlockNeedsLayout&&"inline"!==Ma(a.nodeName)?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",l.shrinkWrapBlocks()||m.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],jb.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||n.style(a,d)}else j=void 0;if(n.isEmptyObject(o))"inline"===("none"===j?Ma(a.nodeName):j)&&(p.display=j);else{r?"hidden"in r&&(q=r.hidden):r=n._data(a,"fxshow",{}),f&&(r.hidden=!q),q?n(a).show():m.done(function(){n(a).hide()}),m.done(function(){var b;n._removeData(a,"fxshow");for(b in o)n.style(a,b,o[b])});for(d in o)g=nb(q?r[d]:0,d,m),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function pb(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function qb(a,b,c){var d,e,f=0,g=qb.prefilters.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=hb||lb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{},easing:n.easing._default},c),originalProperties:b,originalOptions:c,startTime:hb||lb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(pb(k,j.opts.specialEasing);g>f;f++)if(d=qb.prefilters[f].call(j,a,k,j.opts))return n.isFunction(d.stop)&&(n._queueHooks(j.elem,j.opts.queue).stop=n.proxy(d.stop,d)),d;return n.map(k,nb,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(qb,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return X(c.elem,a,U.exec(b),c),c}]},tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.match(G);for(var c,d=0,e=a.length;e>d;d++)c=a[d],qb.tweeners[c]=qb.tweeners[c]||[],qb.tweeners[c].unshift(b)},prefilters:[ob],prefilter:function(a,b){b?qb.prefilters.unshift(a):qb.prefilters.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,null!=d.queue&&d.queue!==!0||(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(W).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=qb(this,n.extend({},a),f);(e||n._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=n._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&kb.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=n._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(mb(b,!0),a,d,e)}}),n.each({slideDown:mb("show"),slideUp:mb("hide"),slideToggle:mb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=n.timers,c=0;for(hb=n.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||n.fx.stop(),hb=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){ib||(ib=a.setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){a.clearInterval(ib),ib=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(b,c){return b=n.fx?n.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a,b=d.createElement("input"),c=d.createElement("div"),e=d.createElement("select"),f=e.appendChild(d.createElement("option"));c=d.createElement("div"),c.setAttribute("className","t"),c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",a=c.getElementsByTagName("a")[0],b.setAttribute("type","checkbox"),c.appendChild(b),a=c.getElementsByTagName("a")[0],a.style.cssText="top:1px",l.getSetAttribute="t"!==c.className,l.style=/top/.test(a.getAttribute("style")),l.hrefNormalized="/a"===a.getAttribute("href"),l.checkOn=!!b.value,l.optSelected=f.selected,l.enctype=!!d.createElement("form").enctype,e.disabled=!0,l.optDisabled=!f.disabled,b=d.createElement("input"),b.setAttribute("value",""),l.input=""===b.getAttribute("value"),b.value="t",b.setAttribute("type","radio"),l.radioValue="t"===b.value}();var rb=/\r/g,sb=/[\x20\t\r\n\f]+/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(rb,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a)).replace(sb," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],(c.selected||i===e)&&(l.optDisabled?!c.disabled:null===c.getAttribute("disabled"))&&(!c.parentNode.disabled||!n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)if(d=e[g],n.inArray(n.valHooks.option.get(d),f)>-1)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>-1:void 0}},l.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var tb,ub,vb=n.expr.attrHandle,wb=/^(?:checked|selected)$/i,xb=l.getSetAttribute,yb=l.input;n.fn.extend({attr:function(a,b){return Y(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),e=n.attrHooks[b]||(n.expr.match.bool.test(b)?ub:tb)),void 0!==c?null===c?void n.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=n.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!l.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(G);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)?yb&&xb||!wb.test(c)?a[d]=!1:a[n.camelCase("default-"+c)]=a[d]=!1:n.attr(a,c,""),a.removeAttribute(xb?c:d)}}),ub={set:function(a,b,c){return b===!1?n.removeAttr(a,c):yb&&xb||!wb.test(c)?a.setAttribute(!xb&&n.propFix[c]||c,c):a[n.camelCase("default-"+c)]=a[c]=!0,c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=vb[b]||n.find.attr;yb&&xb||!wb.test(b)?vb[b]=function(a,b,d){var e,f;return d||(f=vb[b],vb[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,vb[b]=f),e}:vb[b]=function(a,b,c){return c?void 0:a[n.camelCase("default-"+b)]?b.toLowerCase():null}}),yb&&xb||(n.attrHooks.value={set:function(a,b,c){return n.nodeName(a,"input")?void(a.defaultValue=b):tb&&tb.set(a,b,c)}}),xb||(tb={set:function(a,b,c){var d=a.getAttributeNode(c);return d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c)?b:void 0}},vb.id=vb.name=vb.coords=function(a,b,c){var d;return c?void 0:(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},n.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:tb.set},n.attrHooks.contenteditable={set:function(a,b,c){tb.set(a,""===b?!1:b,c)}},n.each(["width","height"],function(a,b){n.attrHooks[b]={set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):void 0}}})),l.style||(n.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var zb=/^(?:input|select|textarea|button|object)$/i,Ab=/^(?:a|area)$/i;n.fn.extend({prop:function(a,b){return Y(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return a=n.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),n.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&n.isXMLDoc(a)||(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=n.find.attr(a,"tabindex");return b?parseInt(b,10):zb.test(a.nodeName)||Ab.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),l.hrefNormalized||n.each(["href","src"],function(a,b){n.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),l.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this}),l.enctype||(n.propFix.enctype="encoding");var Bb=/[\t\r\n\f]/g;function Cb(a){return n.attr(a,"class")||""}n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,Cb(this)))});if("string"==typeof a&&a){b=a.match(G)||[];while(c=this[i++])if(e=Cb(c),d=1===c.nodeType&&(" "+e+" ").replace(Bb," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=n.trim(d),e!==h&&n.attr(c,"class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,Cb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(G)||[];while(c=this[i++])if(e=Cb(c),d=1===c.nodeType&&(" "+e+" ").replace(Bb," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=n.trim(d),e!==h&&n.attr(c,"class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):n.isFunction(a)?this.each(function(c){n(this).toggleClass(a.call(this,c,Cb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=n(this),f=a.match(G)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=Cb(this),b&&n._data(this,"__className__",b),n.attr(this,"class",b||a===!1?"":n._data(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+Cb(c)+" ").replace(Bb," ").indexOf(b)>-1)return!0;return!1}}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Db=a.location,Eb=n.now(),Fb=/\?/,Gb=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;n.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=n.trim(b+"");return e&&!n.trim(e.replace(Gb,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():n.error("Invalid JSON: "+b)},n.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new a.DOMParser,c=d.parseFromString(b,"text/xml")):(c=new a.ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||n.error("Invalid XML: "+b),c};var Hb=/#.*$/,Ib=/([?&])_=[^&]*/,Jb=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Kb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Lb=/^(?:GET|HEAD)$/,Mb=/^\/\//,Nb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ob={},Pb={},Qb="*/".concat("*"),Rb=Db.href,Sb=Nb.exec(Rb.toLowerCase())||[];function Tb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(G)||[];if(n.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Ub(a,b,c,d){var e={},f=a===Pb;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Vb(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&n.extend(!0,a,c),a}function Wb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Xb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Rb,type:"GET",isLocal:Kb.test(Sb[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Vb(Vb(a,n.ajaxSettings),b):Vb(n.ajaxSettings,a)},ajaxPrefilter:Tb(Ob),ajaxTransport:Tb(Pb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var d,e,f,g,h,i,j,k,l=n.ajaxSetup({},c),m=l.context||l,o=l.context&&(m.nodeType||m.jquery)?n(m):n.event,p=n.Deferred(),q=n.Callbacks("once memory"),r=l.statusCode||{},s={},t={},u=0,v="canceled",w={readyState:0,getResponseHeader:function(a){var b;if(2===u){if(!k){k={};while(b=Jb.exec(g))k[b[1].toLowerCase()]=b[2]}b=k[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===u?g:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return u||(a=t[c]=t[c]||a,s[a]=b),this},overrideMimeType:function(a){return u||(l.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>u)for(b in a)r[b]=[r[b],a[b]];else w.always(a[w.status]);return this},abort:function(a){var b=a||v;return j&&j.abort(b),y(0,b),this}};if(p.promise(w).complete=q.add,w.success=w.done,w.error=w.fail,l.url=((b||l.url||Rb)+"").replace(Hb,"").replace(Mb,Sb[1]+"//"),l.type=c.method||c.type||l.method||l.type,l.dataTypes=n.trim(l.dataType||"*").toLowerCase().match(G)||[""],null==l.crossDomain&&(d=Nb.exec(l.url.toLowerCase()),l.crossDomain=!(!d||d[1]===Sb[1]&&d[2]===Sb[2]&&(d[3]||("http:"===d[1]?"80":"443"))===(Sb[3]||("http:"===Sb[1]?"80":"443")))),l.data&&l.processData&&"string"!=typeof l.data&&(l.data=n.param(l.data,l.traditional)),Ub(Ob,l,c,w),2===u)return w;i=n.event&&l.global,i&&0===n.active++&&n.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!Lb.test(l.type),f=l.url,l.hasContent||(l.data&&(f=l.url+=(Fb.test(f)?"&":"?")+l.data,delete l.data),l.cache===!1&&(l.url=Ib.test(f)?f.replace(Ib,"$1_="+Eb++):f+(Fb.test(f)?"&":"?")+"_="+Eb++)),l.ifModified&&(n.lastModified[f]&&w.setRequestHeader("If-Modified-Since",n.lastModified[f]),n.etag[f]&&w.setRequestHeader("If-None-Match",n.etag[f])),(l.data&&l.hasContent&&l.contentType!==!1||c.contentType)&&w.setRequestHeader("Content-Type",l.contentType),w.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+Qb+"; q=0.01":""):l.accepts["*"]);for(e in l.headers)w.setRequestHeader(e,l.headers[e]);if(l.beforeSend&&(l.beforeSend.call(m,w,l)===!1||2===u))return w.abort();v="abort";for(e in{success:1,error:1,complete:1})w[e](l[e]);if(j=Ub(Pb,l,c,w)){if(w.readyState=1,i&&o.trigger("ajaxSend",[w,l]),2===u)return w;l.async&&l.timeout>0&&(h=a.setTimeout(function(){w.abort("timeout")},l.timeout));try{u=1,j.send(s,y)}catch(x){if(!(2>u))throw x;y(-1,x)}}else y(-1,"No Transport");function y(b,c,d,e){var k,s,t,v,x,y=c;2!==u&&(u=2,h&&a.clearTimeout(h),j=void 0,g=e||"",w.readyState=b>0?4:0,k=b>=200&&300>b||304===b,d&&(v=Wb(l,w,d)),v=Xb(l,v,w,k),k?(l.ifModified&&(x=w.getResponseHeader("Last-Modified"),x&&(n.lastModified[f]=x),x=w.getResponseHeader("etag"),x&&(n.etag[f]=x)),204===b||"HEAD"===l.type?y="nocontent":304===b?y="notmodified":(y=v.state,s=v.data,t=v.error,k=!t)):(t=y,!b&&y||(y="error",0>b&&(b=0))),w.status=b,w.statusText=(c||y)+"",k?p.resolveWith(m,[s,y,w]):p.rejectWith(m,[w,y,t]),w.statusCode(r),r=void 0,i&&o.trigger(k?"ajaxSuccess":"ajaxError",[w,l,k?s:t]),q.fireWith(m,[w,y]),i&&(o.trigger("ajaxComplete",[w,l]),--n.active||n.event.trigger("ajaxStop")))}return w},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax(n.extend({url:a,type:b,dataType:e,data:c,success:d},n.isPlainObject(a)&&a))}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){if(n.isFunction(a))return this.each(function(b){n(this).wrapAll(a.call(this,b))});if(this[0]){var b=n(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return n.isFunction(a)?this.each(function(b){n(this).wrapInner(a.call(this,b))}):this.each(function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}});function Yb(a){return a.style&&a.style.display||n.css(a,"display")}function Zb(a){if(!n.contains(a.ownerDocument||d,a))return!0;while(a&&1===a.nodeType){if("none"===Yb(a)||"hidden"===a.type)return!0;a=a.parentNode}return!1}n.expr.filters.hidden=function(a){return l.reliableHiddenOffsets()?a.offsetWidth<=0&&a.offsetHeight<=0&&!a.getClientRects().length:Zb(a)},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var $b=/%20/g,_b=/\[\]$/,ac=/\r?\n/g,bc=/^(?:submit|button|image|reset|file)$/i,cc=/^(?:input|select|textarea|keygen)/i;function dc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||_b.test(a)?d(a,e):dc(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)dc(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)dc(c,a[c],b,e);return d.join("&").replace($b,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&cc.test(this.nodeName)&&!bc.test(a)&&(this.checked||!Z.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(ac,"\r\n")}}):{name:b.name,value:c.replace(ac,"\r\n")}}).get()}}),n.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return this.isLocal?ic():d.documentMode>8?hc():/^(get|post|head|put|delete|options)$/i.test(this.type)&&hc()||ic()}:hc;var ec=0,fc={},gc=n.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",function(){for(var a in fc)fc[a](void 0,!0)}),l.cors=!!gc&&"withCredentials"in gc,gc=l.ajax=!!gc,gc&&n.ajaxTransport(function(b){if(!b.crossDomain||l.cors){var c;return{send:function(d,e){var f,g=b.xhr(),h=++ec;if(g.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(f in b.xhrFields)g[f]=b.xhrFields[f];b.mimeType&&g.overrideMimeType&&g.overrideMimeType(b.mimeType),b.crossDomain||d["X-Requested-With"]||(d["X-Requested-With"]="XMLHttpRequest");for(f in d)void 0!==d[f]&&g.setRequestHeader(f,d[f]+"");g.send(b.hasContent&&b.data||null),c=function(a,d){var f,i,j;if(c&&(d||4===g.readyState))if(delete fc[h],c=void 0,g.onreadystatechange=n.noop,d)4!==g.readyState&&g.abort();else{j={},f=g.status,"string"==typeof g.responseText&&(j.text=g.responseText);try{i=g.statusText}catch(k){i=""}f||!b.isLocal||b.crossDomain?1223===f&&(f=204):f=j.text?200:404}j&&e(f,i,j,g.getAllResponseHeaders())},b.async?4===g.readyState?a.setTimeout(c):g.onreadystatechange=fc[h]=c:c()},abort:function(){c&&c(void 0,!0)}}}});function hc(){try{return new a.XMLHttpRequest}catch(b){}}function ic(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=d.head||n("head")[0]||d.documentElement;return{send:function(e,f){b=d.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||f(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var jc=[],kc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=jc.pop()||n.expando+"_"+Eb++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(kc.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&kc.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(kc,"$1"+e):b.jsonp!==!1&&(b.url+=(Fb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?n(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,jc.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||d;var e=x.exec(a),f=!c&&[];return e?[b.createElement(e[1])]:(e=ja([a],b,f),f&&f.length&&n(f).remove(),n.merge([],e.childNodes))};var lc=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&lc)return lc.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=n.trim(a.slice(h,a.length)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};function mc(a){return n.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&n.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,n.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,n.contains(b,e)?("undefined"!=typeof e.getBoundingClientRect&&(d=e.getBoundingClientRect()),c=mc(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===n.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(c=a.offset()),c.top+=n.css(a[0],"borderTopWidth",!0),c.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-n.css(d,"marginTop",!0),left:b.left-c.left-n.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Qa})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);n.fn[a]=function(d){return Y(this,function(a,d,e){var f=mc(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?n(f).scrollLeft():e,c?e:n(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=Ua(l.pixelPosition,function(a,c){return c?(c=Sa(a,b),Oa.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({
|
5 |
+
padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return Y(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b)
|