403Webshell
Server IP : 213.186.33.2  /  Your IP : 216.73.216.39
Web Server : Apache
System : Linux webm005.cluster102.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : symetry ( 21728)
PHP Version : 8.2.31
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/symetry/www/wp-content/plugins/contact-form-7-honeypot/src/components/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/symetry/www/wp-content/plugins/contact-form-7-honeypot/src/components/CF7AppsRadioField.js
import CF7AppsSelectField from './CF7AppsSelectField';
import CF7AppsTextField from './CF7AppsTextField';

const CF7AppsRadioField = ( { label, className, options, name, onChange, value, subFields, disabled } ) => {
    return (
        <div className={ 'cf7apps-form-group' }>
            <div className={ 'cf7apps-settings-radio' }>
                <label>{ label }</label>
                <div className={ `cf7apps-app-switch ${ className }` }>
                    {
                        Object.keys( options ).map( ( optionKey ) => {

                            return (
                                <div className={ 'cf7apps__radio-container' }>
                                    <label htmlFor={ optionKey }>
                                        <input
                                            type="radio"
                                            id={ optionKey }
                                            name={ name }
                                            value={ optionKey }
                                            onChange={ onChange }
                                            checked={ value === optionKey }
                                            disabled={ disabled }
                                        />
                                        { options[ optionKey ] }
                                    </label>
                                </div>
                            );
                        } )
                    }
                    {
                        subFields && (
                            <div style={ { marginTop: '5px' } }>
                                {
                                    'select' === subFields.type && (
                                        <>
                                            <CF7AppsSelectField
                                                options={ subFields.options }
                                                selected={ subFields.selected }
                                                name={ value }
                                                onChange={ onChange }
                                                className={ 'regular-text' }
                                                disabled={ disabled }
                                                description={ subFields.help }
                                                required={ subFields.required }
                                            />
                                        </>
                                    )
                                }

                                {
                                    'text' === subFields.type && (
                                        <CF7AppsTextField
                                            name={ value }
                                            value={ subFields.value }
                                            onChange={ onChange }
                                            className={ 'regular-text' }
                                            placeholder={ subFields.placeholder }
                                            disabled={ disabled }
                                            description={ subFields.help }
                                            required={ subFields.required }
                                        />
                                    )
                                }
                            </div>
                        )
                    }
                </div>
            </div>
        </div>
    );
}

export default CF7AppsRadioField;

Youez - 2016 - github.com/yon3zu
LinuXploit