403Webshell
Server IP : 38.190.208.107  /  Your IP : 216.73.217.1
Web Server : nginx/1.28.1
System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64
User : root ( 0)
PHP Version : 8.2.28
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wwwroot/wp.12/wp-content/themes/dt-the7/inc/admin/theme-options/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/wp.12/wp-content/themes/dt-the7/inc/admin/theme-options/options-contact-form.php
<?php
/**
 * Contact form settings.
 *
 * @package The7
 */

defined( 'ABSPATH' ) || exit;

$options[] = array(
	'name' => _x( 'Contact Form Appearance', 'theme-options', 'the7mk2' ),
	'type' => 'heading',
	'id'   => 'contact-form-appearance',
);

$options[] = array(
	'name' => _x( 'Contact form appearance', 'theme-options', 'the7mk2' ),
	'type' => 'block',
);

$options['input_height'] = array(
	'name'  => _x( 'Input height', 'theme-options', 'the7mk2' ),
	'id'    => 'input_height',
	'std'   => '38px',
	'type'  => 'number',
	'units' => 'px',
);

$options['input_color'] = array(
	'name' => _x( 'Input font color', 'theme-options', 'the7mk2' ),
	'id'   => 'input_color',
	'std'  => '#787d85',
	'type' => 'color',
);

$options['input_bg_color'] = array(
	'name' => _x( 'Background color', 'theme-options', 'the7mk2' ),
	'id'   => 'input_bg_color',
	'std'  => '#fcfcfc',
	'type' => 'alpha_color',
);

$options['input_border_radius'] = array(
	'name'  => _x( 'Input border radius', 'theme-options', 'the7mk2' ),
	'id'    => 'input_border_radius',
	'std'   => '0px',
	'type'  => 'number',
	'units' => 'px',
);

$options['input_border_width'] = array(
	'name' => _x( 'Border width', 'theme-options', 'the7mk2' ),
	'id'   => 'input_border_width',
	'std'  => '1px 1px 1px 1px',
	'type' => 'spacing',
);

$options['input_border_color'] = array(
	'name' => _x( 'Border color', 'theme-options', 'the7mk2' ),
	'id'   => 'input_border_color',
	'std'  => 'rgba(173, 176, 182, 0.3)',
	'type' => 'alpha_color',
);
$options['input_padding']      = array(
	'id'   => 'input_padding',
	'name' => _x( 'Input paddings', 'theme-options', 'the7mk2' ),
	'type' => 'spacing',
	'std'  => '5px 15px 5px 15px',
);

$options[] = array(
	'name' => _x( 'Contact form messages', 'theme-options', 'the7mk2' ),
	'type' => 'block',
);

$options['contact_form_message'] = array(
	'id'      => 'contact_form_message',
	'name'    => _x( 'Display messages', 'theme-options', 'the7mk2' ),
	'type'    => 'radio',
	'class'   => 'small',
	'std'     => '1',
	'desc'    => _x( 'Also affects WooCommerce messages.', 'theme-options', 'the7mk2' ),
	'options' => array(
		'1' => _x( 'Pop-up', 'theme-options', 'the7mk2' ),
		'0' => _x( 'Inline', 'theme-options', 'the7mk2' ),
	),
);

$options['message_color'] = array(
	'name' => _x( 'Message font color', 'theme-options', 'the7mk2' ),
	'id'   => 'message_color',
	'std'  => '#fff',
	'type' => 'color',
	'desc' => _x( 'Also affects WooCommerce messages.', 'theme-options', 'the7mk2' ),
);

$options['message_bg_color'] = array(
	'name'     => _x( 'Message background color', 'theme-options', 'the7mk2' ),
	'id'       => 'message_bg_color',
	'std'      => '',
	'type'     => 'alpha_color',
	'sanitize' => 'empty_alpha_color',
	'desc'     => _x( 'Leave empty to use accent color. Also affects WooCommerce messages.', 'theme-options', 'the7mk2' ),
);

$options['custom_error_messages_validation'] = array(
	'name'     => _x( 'Field error message', 'theme-options', 'the7mk2' ),
	'id'       => 'custom_error_messages_validation',
	'std'      => 'One or more fields have an error. Please check and try again.',
	'type'     => 'textarea',
	'desc'     => _x( 'Leave empty to show default message.', 'theme-options', 'the7mk2' ),
	'sanitize' => 'text',
);

$options['custom_error_messages'] = array(
	'name'     => _x( 'Form error message', 'theme-options', 'the7mk2' ),
	'id'       => 'custom_error_messages',
	'std'      => 'The message has not been sent. Please try again.',
	'type'     => 'textarea',
	'desc'     => _x( 'Leave empty to show default message.', 'theme-options', 'the7mk2' ),
	'sanitize' => 'text',
);

$options['custom_success_messages'] = array(
	'name'     => _x( 'Form success message', 'theme-options', 'the7mk2' ),
	'id'       => 'custom_success_messages',
	'std'      => 'Your message has been sent.',
	'type'     => 'textarea',
	'desc'     => _x( 'Leave empty to show default message.', 'theme-options', 'the7mk2' ),
	'sanitize' => 'text',
);

$options[] = array(
	'name' => _x( 'Contact form sends emails to', 'theme-options', 'the7mk2' ),
	'type' => 'block',
);

$options['general-contact_form_send_mail_to'] = array(
	'name'     => _x( 'E-mail', 'theme-options', 'the7mk2' ),
	'desc'     => _x( 'Leave empty to use admin e-mail.', 'theme-options', 'the7mk2' ),
	'id'       => 'general-contact_form_send_mail_to',
	'std'      => '',
	'type'     => 'text',
	'sanitize' => 'email',
);

$options[] = array(
	'name' => _x( 'Security', 'theme-options', 'the7mk2' ),
	'type' => 'block',
);

$options['contact_form_security_token'] = array(
	'name'     => _x( 'Security token', 'theme-options', 'the7mk2' ),
	'id'       => 'contact_form_security_token',
	'std'      => '',
	'type'     => 'text',
	'class'    => 'wide',
	'sanitize' => 'random_double_nonce',
);

$options[] = array(
	'type' => 'info',
	'desc' => sprintf( _x( 'Enter valid API keys below to enable Google ReCaptcha v2 (checkbox) on all The7 contact forms (widgets and shortcodes). %s.', 'theme-options', 'the7mk2' ), '<a href="https://developers.google.com/recaptcha/intro" target="_blank">' . _x( 'Documentation', 'theme-options', 'the7mk2' ) . '</a>' ),
);

$options['contact_form_recaptcha_site_key'] = array(
	'name'       => _x( 'Google ReCaptcha v2 site key', 'theme-options', 'the7mk2' ),
	'id'         => 'contact_form_recaptcha_site_key',
	'std'        => '',
	'type'       => 'text',
	'class'      => 'wide',
	'exportable' => false,
);

$options['contact_form_recaptcha_secret_key'] = array(
	'name'       => _x( 'Google ReCaptcha v2 secret key', 'theme-options', 'the7mk2' ),
	'id'         => 'contact_form_recaptcha_secret_key',
	'std'        => '',
	'type'       => 'password',
	'class'      => 'wide',
	'exportable' => false,
);

Youez - 2016 - github.com/yon3zu
LinuXploit