403Webshell
Server IP : 192.158.238.246  /  Your IP : 18.118.27.44
Web Server : LiteSpeed
System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64
User : jenniferflocom ( 1321)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/7779/task/7779/cwd/plugins/give/src/DonationForms/V2/resources/components/Migration/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/7779/task/7779/cwd/plugins/give/src/DonationForms/V2/resources/components/Migration/index.tsx
import {__, sprintf} from "@wordpress/i18n";
import {createInterpolateElement} from "@wordpress/element";
import {CheckVerified} from "@givewp/components/AdminUI/Icons";

/**
 * @since 3.16.0
 */
export const UpgradeModalContent = () => {

    const {supportedAddons, supportedGateways} = window.GiveDonationForms;

    return <p style={{maxWidth: '400px'}}>
        {createInterpolateElement(
            sprintf(__('GiveWP 3.0 introduces an enhanced forms experience powered by the new Visual Donation Form Builder. The team is still working on add-on and gateway compatibility. If you need to use an add-on or gateway that isn\'t listed, use the "%sAdd form%s" option for now.', 'give'), '<b>', '</b>'),
            {
                b: <strong />,
            }
        )}
        <br />
        {supportedAddons.length > 0 && (
            <SupportedItemsList title={__('Supported add-ons', 'give')} items={supportedAddons} />
        )}
        <br />
        {supportedGateways.length > 0 && (
            <SupportedItemsList title={__('Supported gateways', 'give')} items={supportedGateways} />
        )}
        <div>
            <a href="https://docs.givewp.com/compat-guide" rel="noopener noreferrer" target="_blank">
                {__('Read more on Add-ons and Gateways compatibility', 'give')}
            </a>
        </div>
    </p>
}

const SupportedItemsList = ({title, items}) => {
    return (
        <>
            <h3>{title}</h3>
            <ul>
                {items.map((item) => (
                    <li key={item}>
                        <CheckVerified /> {item}
                    </li>
                ))}
            </ul>
        </>
    )
}

Youez - 2016 - github.com/yon3zu
LinuXploit